diff options
author | Robert Alessi <alessi@robertalessi.net> | 2017-09-05 17:32:14 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2017-09-05 17:32:14 +0200 |
commit | a5bffbf7ed2dd7eb78ebe43cc103e0b05e236170 (patch) | |
tree | 5ebbbb11966c14f676682548e5b1987f25d4fde9 | |
parent | 945113620ca5de402bb6d63b9fd8573281da37cd (diff) | |
download | arabluatex-a5bffbf7ed2dd7eb78ebe43cc103e0b05e236170.tar.gz |
new 'starred' \aemph* command which always puts the stroke over its argument
-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 |