aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r--arabluatex.dtx20
1 files changed, 18 insertions, 2 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 995be49..2e3dc7e 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -2144,8 +2144,8 @@ wa-ya.sIru ta.hta 'l-jildi
2144% \end{macro} 2144% \end{macro}
2145% \end{macro} 2145% \end{macro}
2146% \begin{macro}{\SetTranslitStyle} By default any transliterated 2146% \begin{macro}{\SetTranslitStyle} By default any transliterated
2147% Arabic text is printed in italics. This can be changed globally in 2147% Arabic text is printed in italics. This can be changed either
2148% the preamble or at any point of the document: 2148% globally in the preamble or at any point of the document:
2149% \begin{macrocode} 2149% \begin{macrocode}
2150\def\al@trans@style{\itshape}% 2150\def\al@trans@style{\itshape}%
2151\NewDocumentCommand{\SetTranslitStyle}{m}{\def\al@trans@style{#1}} 2151\NewDocumentCommand{\SetTranslitStyle}{m}{\def\al@trans@style{#1}}
@@ -2159,6 +2159,22 @@ wa-ya.sIru ta.hta 'l-jildi
2159\NewDocumentCommand{\SetTranslitConvention}{m}{\def\al@trans@convention{#1}} 2159\NewDocumentCommand{\SetTranslitConvention}{m}{\def\al@trans@convention{#1}}
2160% \end{macrocode} 2160% \end{macrocode}
2161% \end{macro} 2161% \end{macro}
2162% \begin{macro}{\arbup}
2163% \begin{macro}{\SetArbUp}
2164% By default, \cs{arbup} is set to \cs{textsuperscript}. This is how
2165% the \arb[trans]{tanwIn} that takes place at the end of a word
2166% should be displayed in |dmg| mode. \cs{SetArbUp} may be used
2167% either in the preamble or at any point of the document to change
2168% the default definition.
2169% \begin{macrocode}
2170\NewDocumentCommand{\al@arbup@dflt}{m}{\textsuperscript{\thinspace#1}}%
2171\NewDocumentCommand{\al@arbup}{m}{\al@arbup@dflt{#1}}
2172\NewDocumentCommand{\arbup}{m}{\al@arbup{#1}}
2173\NewDocumentCommand{\ArbUpDflt}{}{\let\al@arbup=\al@arbup@dflt}
2174\NewDocumentCommand{\NoArbUp}{}{\RenewDocumentCommand{\al@arbup}{m}{##1}}
2175% \end{macrocode}
2176% \end{macro}
2177% \end{macro}
2162% \begin{macro}{\cap} Proper Arabic names or book titles should be 2178% \begin{macro}{\cap} Proper Arabic names or book titles should be
2163% passed to the command \cs{cap} so that they have their first letters 2179% passed to the command \cs{cap} so that they have their first letters
2164% uppercased. \cs{cap} is actually coded in Lua. 2180% uppercased. \cs{cap} is actually coded in Lua.