From a5bffbf7ed2dd7eb78ebe43cc103e0b05e236170 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Tue, 5 Sep 2017 17:32:14 +0200 Subject: new 'starred' \aemph* command which always puts the stroke over its argument --- arabluatex.dtx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arabluatex.dtx b/arabluatex.dtx index 18293eb..89b051e 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx @@ -3362,9 +3362,13 @@ wa-ya.sIru ta.hta 'l-jild-i % \begin{macrocode} \AtBeginDocument{\ifdef{\aemph}% {\RenewDocumentCommand{\aemph}{m}{% - \luadirect{tex.sprint(aemph(\luastringN{#1}))}}} - {\NewDocumentCommand{\aemph}{m}{% - \luadirect{tex.sprint(aemph(\luastringN{#1}))}}}} + \IfBooleanTF{#1}{% + $\overline{\text{#2}}$} + {\luadirect{tex.sprint(aemph(\luastringN{#2}))}}}} + {\NewDocumentCommand{\aemph}{s m}{% + \IfBooleanTF{#1}{% + $\overline{\text{#2}}$} + {\luadirect{tex.sprint(aemph(\luastringN{#2}))}}}}} % \end{macrocode} % \begin{macro}{\SetInputScheme} % \changes{v1.4}{2016/07/05}{\cs{SetInputScheme} may be used to -- cgit v1.2.3