diff options
-rw-r--r-- | arabluatex.dtx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 89ab60a..eef91e5 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -4348,7 +4348,6 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4348 | \RequirePackage{etoolbox} | 4348 | \RequirePackage{etoolbox} |
4349 | \RequirePackage{arabluatex-patch} | 4349 | \RequirePackage{arabluatex-patch} |
4350 | \RequirePackage{fontspec} | 4350 | \RequirePackage{fontspec} |
4351 | \RequirePackage{amsmath} | ||
4352 | \RequirePackage{luacode} | 4351 | \RequirePackage{luacode} |
4353 | \RequirePackage{xparse} | 4352 | \RequirePackage{xparse} |
4354 | \RequirePackage{environ} | 4353 | \RequirePackage{environ} |
@@ -4435,7 +4434,9 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4435 | % and manual hyphenation for transliterated Arabic. | 4434 | % and manual hyphenation for transliterated Arabic. |
4436 | % \begin{macrocode} | 4435 | % \begin{macrocode} |
4437 | \def\oline{\@ifstar\@oline\@@oline} | 4436 | \def\oline{\@ifstar\@oline\@@oline} |
4438 | \newcommand{\@oline}[1]{$\overline{\text{#1}}$} | 4437 | % with |amsmath|, was: |
4438 | % \newcommand{\@oline}[1]{$\overline{\text{#1}}$} | ||
4439 | \newcommand{\@oline}{\bgroup \ULdepth=-3ex \ULset} | ||
4439 | \def\@@oline{\bgroup \ULdepth=-3ex \ULset} | 4440 | \def\@@oline{\bgroup \ULdepth=-3ex \ULset} |
4440 | \AtBeginDocument{\ifdef{\aemph}% | 4441 | \AtBeginDocument{\ifdef{\aemph}% |
4441 | {\RenewDocumentCommand{\aemph}{s m}{% | 4442 | {\RenewDocumentCommand{\aemph}{s m}{% |