aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-12-13 08:34:39 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-12-13 08:34:39 +0100
commit6fd591423c4fb66a6d07dff777e0578b942f8fe3 (patch)
tree36fbb8378fb5d612edaeafead3910cf9d2a031d2
parent2252d2c7172ba6dc6f11575d3a060ad950ed6cfe (diff)
downloadarabluatex-6fd591423c4fb66a6d07dff777e0578b942f8fe3.tar.gz
verse: allow footnotes if 'footnote' package is loaded
-rw-r--r--arabluatex.dtx3
1 files changed, 2 insertions, 1 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 78e8832..f728dc4 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -3018,6 +3018,7 @@ wa-ya.sIru ta.hta 'l-jild-i
3018\NewDocumentCommand{\SetHemistichDelim}{m}{\def\al@hemistich@delim{#1}} 3018\NewDocumentCommand{\SetHemistichDelim}{m}{\def\al@hemistich@delim{#1}}
3019\def\al@verse@stroke{\leavevmode\xleaders\hbox{\arb{--}}\hfill\kern0pt} 3019\def\al@verse@stroke{\leavevmode\xleaders\hbox{\arb{--}}\hfill\kern0pt}
3020\NewDocumentCommand{\bayt}{m o m}{% 3020\NewDocumentCommand{\bayt}{m o m}{%
3021 \ifdefined\savenotes\savenotes\else\fi%
3021 \edef\al@tatweel{--}% 3022 \edef\al@tatweel{--}%
3022 \adjustbox{width=\al@bayt@width, height=\Height}{\arb{#1}}% 3023 \adjustbox{width=\al@bayt@width, height=\Height}{\arb{#1}}%
3023 \IfNoValueTF{#2}{% 3024 \IfNoValueTF{#2}{%
@@ -3028,13 +3029,13 @@ wa-ya.sIru ta.hta 'l-jild-i
3028 \ifx\al@mode\al@mode@trans% 3029 \ifx\al@mode\al@mode@trans%
3029 \hspace{\al@tadwir@width}% 3030 \hspace{\al@tadwir@width}%
3030 \else% 3031 \else%
3031 % \adjustbox{width=\al@tadwir@width, height=\Height}{\arb{--}}%
3032 \makebox[\al@tadwir@width][s]{\al@verse@stroke}% 3032 \makebox[\al@tadwir@width][s]{\al@verse@stroke}%
3033 \fi% 3033 \fi%
3034 \else% 3034 \else%
3035 \adjustbox{center=\al@tadwir@width, height=\Height}{\arb{#2}} 3035 \adjustbox{center=\al@tadwir@width, height=\Height}{\arb{#2}}
3036 \fi}% 3036 \fi}%
3037 \adjustbox{width=\al@bayt@width, height=\Height}{\arb{#3}}% 3037 \adjustbox{width=\al@bayt@width, height=\Height}{\arb{#3}}%
3038 \ifdefined\spewnotes\spewnotes\else\fi%
3038} 3039}
3039% \end{macrocode} 3040% \end{macrocode}
3040% 3041%