aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-11-25 15:58:54 +0100
committerRobert Alessi <alessi@robertalessi.net>2018-11-25 15:58:54 +0100
commit7148e4cc6c0dcfb0703f91b4bc9911999de602b8 (patch)
treee23fe1b407f73867f4ba266f7f79687db9d7b02e
parente648b6b468b91bbfed6f8e42ff98b24696e0d408 (diff)
downloadarabluatex-7148e4cc6c0dcfb0703f91b4bc9911999de602b8.tar.gz
\overline is more elegant for ʾabǧad numbers; use it without amsmath's \text though.
-rw-r--r--arabluatex.dtx4
1 files changed, 1 insertions, 3 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index eef91e5..23a2872 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -4434,9 +4434,7 @@ wa-ya.sIru ta.hta 'l-jild-i
4434% and manual hyphenation for transliterated Arabic. 4434% and manual hyphenation for transliterated Arabic.
4435% \begin{macrocode} 4435% \begin{macrocode}
4436\def\oline{\@ifstar\@oline\@@oline} 4436\def\oline{\@ifstar\@oline\@@oline}
4437% with |amsmath|, was: 4437\def\@oline#1{\ensuremath{\overline{\mbox{#1}}}}
4438% \newcommand{\@oline}[1]{$\overline{\text{#1}}$}
4439\newcommand{\@oline}{\bgroup \ULdepth=-3ex \ULset}
4440\def\@@oline{\bgroup \ULdepth=-3ex \ULset} 4438\def\@@oline{\bgroup \ULdepth=-3ex \ULset}
4441\AtBeginDocument{\ifdef{\aemph}% 4439\AtBeginDocument{\ifdef{\aemph}%
4442 {\RenewDocumentCommand{\aemph}{s m}{% 4440 {\RenewDocumentCommand{\aemph}{s m}{%