aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-11-20 09:55:53 +0100
committerRobert Alessi <alessi@robertalessi.net>2018-11-20 09:55:53 +0100
commite648b6b468b91bbfed6f8e42ff98b24696e0d408 (patch)
tree9c80a0ca069d5643669c758b1d250aba1f2ba9df
parent17be6d449481e7580f18825b342fbef97d13b067 (diff)
downloadarabluatex-e648b6b468b91bbfed6f8e42ff98b24696e0d408.tar.gz
do not load amsmath anymore
-rw-r--r--arabluatex.dtx5
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}{%