diff options
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r-- | arabluatex.dtx | 10 |
1 files 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 | |||
3362 | % \begin{macrocode} | 3362 | % \begin{macrocode} |
3363 | \AtBeginDocument{\ifdef{\aemph}% | 3363 | \AtBeginDocument{\ifdef{\aemph}% |
3364 | {\RenewDocumentCommand{\aemph}{m}{% | 3364 | {\RenewDocumentCommand{\aemph}{m}{% |
3365 | \luadirect{tex.sprint(aemph(\luastringN{#1}))}}} | 3365 | \IfBooleanTF{#1}{% |
3366 | {\NewDocumentCommand{\aemph}{m}{% | 3366 | $\overline{\text{#2}}$} |
3367 | \luadirect{tex.sprint(aemph(\luastringN{#1}))}}}} | 3367 | {\luadirect{tex.sprint(aemph(\luastringN{#2}))}}}} |
3368 | {\NewDocumentCommand{\aemph}{s m}{% | ||
3369 | \IfBooleanTF{#1}{% | ||
3370 | $\overline{\text{#2}}$} | ||
3371 | {\luadirect{tex.sprint(aemph(\luastringN{#2}))}}}}} | ||
3368 | % \end{macrocode} | 3372 | % \end{macrocode} |
3369 | % \begin{macro}{\SetInputScheme} | 3373 | % \begin{macro}{\SetInputScheme} |
3370 | % \changes{v1.4}{2016/07/05}{\cs{SetInputScheme} may be used to | 3374 | % \changes{v1.4}{2016/07/05}{\cs{SetInputScheme} may be used to |