aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabluatex.dtx42
1 files changed, 38 insertions, 4 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index bfd42ba..a83cd73 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -890,6 +890,13 @@ vowels (see ยง~3).
890% \arb[voc]{al-mal_a'ikaT-u 'l-ra.hm_an-u}, |.hu_dayfaT-u| |bn-u| 890% \arb[voc]{al-mal_a'ikaT-u 'l-ra.hm_an-u}, |.hu_dayfaT-u| |bn-u|
891% |'l-yamAn_i| \arb[fullvoc]{.hu_dayfaT-u bn-u 'l-yamAn_i} for 891% |'l-yamAn_i| \arb[fullvoc]{.hu_dayfaT-u bn-u 'l-yamAn_i} for
892% \arb[trans]{\cap{.hu_dayfaT-u} bn-u 'l-\cap{yamAn_i}}, etc. 892% \arb[trans]{\cap{.hu_dayfaT-u} bn-u 'l-\cap{yamAn_i}}, etc.
893%
894% \textsc{Rem.}~\emph{c.} The letter \arb[novoc]{y} with two points
895% below, \arb{al-yA'u 'l-mu_tannATu min ta.hti-hA}, may also be
896% written without diacritical points as \arb[novoc]{Y}. When it is
897% used as a long vowel, it is encoded |iY| because a
898% \arb[trans]{kasraT} has to be placed below the preceding letter in
899% vocalized Arabic: \arb[fullvoc]{liY} \arb{qay"|'uN. ^say'uN}
893% \end{quoting} 900% \end{quoting}
894% 901%
895% \subsubsection{Short vowels} 902% \subsubsection{Short vowels}
@@ -2795,8 +2802,9 @@ al-muqAtil-Ina.}, wa-kAnat 'ummI min `u.zamA'-i buyUt-i
2795% \cs{LR}\marg{arg}, but typesets its argument from right to left. Even 2802% \cs{LR}\marg{arg}, but typesets its argument from right to left. Even
2796% in an Arabic environment, this command may be useful. 2803% in an Arabic environment, this command may be useful.
2797% 2804%
2798% For example, to distinguish words with a different color, one may 2805% For example, to distinguish words with a different
2799% proceed like so:--- 2806% color,\footnote{See below \vref{sec:textcolor} for more information
2807% on two-argument commands.} one may proceed like so:--- %
2800% \iffalse 2808% \iffalse
2801%<*example> 2809%<*example>
2802% \fi 2810% \fi
@@ -3042,9 +3050,35 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a...
3042% \subsection{Two-argument commands} 3050% \subsection{Two-argument commands}
3043% \label{sec:two-arg-cmds} 3051% \label{sec:two-arg-cmds}
3044% 3052%
3045% \paragraph{\cs{textcolor}\marg{color}\marg{Arabic text}} 3053% \paragraph{Color}
3046% \label{sec:textcolor} 3054% \label{sec:textcolor}
3047% This command 3055% The two-argument command \cs{textcolor}\marg{color}\marg{Arabic
3056% text} is supported inside \cs{begin}|{arab}| \ldots\
3057% \cs{end}|{arab}|. One simple example follows:--- %
3058% \iffalse
3059%<*example>
3060% \fi
3061\begin{arabluacode}
3062\begin{arab}
3063 \textcolor{red}{\cap{m}uha_d_dabu \cap{'l-d}Ini \cap{`a}bdu
3064 \cap{'l-r}a.hImi bni \cap{`a}liyyiN} huwa ^say_hu-nA 'l-'imAmu
3065 'l-.sadru 'l-kabIru 'l-`Alimu 'l-fA.dilu \cap{m}uha_d_dabu
3066 \cap{'l-d}Ini \cap{'a}bU \cap{m}u.hammadiN \cap{`a}bdu
3067 \cap{'l-r}a.hImi bni \cap{`a}liyyi bni \cap{.h}AmidiN wa-yu`rafu
3068 bi-\cap{'l-d}a_hwari.
3069\end{arab}
3070\begin{arab}[trans]
3071 \textcolor{red}{\cap{m}uha_d_dabu \cap{'l-d}Ini \cap{`a}bdu
3072 \cap{'l-r}a.hImi bni \cap{`a}liyyiN} huwa ^say_hu-nA 'l-'imAmu
3073 'l-.sadru 'l-kabIru 'l-`Alimu 'l-fA.dilu \cap{m}uha_d_dabu
3074 \cap{'l-d}Ini \cap{'a}bU \cap{m}u.hammadiN \cap{`a}bdu
3075 \cap{'l-r}a.hImi bni \cap{`a}liyyi bni \cap{.h}AmidiN wa-yu`rafu
3076 bi-\cap{'l-d}a_hwari.
3077\end{arab}
3078\end{arabluacode}
3079% \iffalse
3080%</example>
3081% \fi
3048% 3082%
3049% \paragraph{\package{reledmac}} 3083% \paragraph{\package{reledmac}}
3050% \label{sec:reledmac} 3084% \label{sec:reledmac}