From 009d8e35bc4401a7543037868c855e882d19e4ea Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Thu, 31 May 2018 18:33:36 +0200 Subject: started documenting the new features --- arabluatex.dtx | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 51 insertions(+), 3 deletions(-) diff --git a/arabluatex.dtx b/arabluatex.dtx index 471ff5a..07f4f54 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx @@ -180,6 +180,11 @@ \usepackage[toc,lot]{multitoc} \usepackage{paralist} \setdefaultitem{\textendash}{\textendash}{\textendash}{\textendash} +\usepackage{enumitem} +\setlist{nosep} +\newlist{enumabjad}{enumerate}{10} +\setlist[enumabjad]{label={\aemph*{\abjad{\arabic*}}}} +\usepackage{multicol} \usepackage{cleveref} \usepackage{quoting} \quotingsetup{noorphans, rightmargin=0pt} @@ -694,9 +699,9 @@ vowels (see ยง~3). %<*example> % \fi \begin{arabluacode} - \begin{enumerate}[XVI.] + \begin{enumerate}[label=\Roman*., start=16] \item \indent\arb{fawA`ilu}*. - \begin{enumerate}[1.] + \begin{enumerate}[label=\arabic*.] \item \indent\arb{fA`aluN}; as \arb{_hAtamuN} \emph{a signet-ring}, ... \end{enumerate} @@ -3342,7 +3347,50 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... % % \label{ref:abjad-list} % As a third example, abjad-numbered lists can be typeset in -% conjunction with the \package{enumitem} package, like so:--- +% conjunction with the \package{enumitem} package,\footnote{See the +% documentation of \package{enumitem} for more details: +% \url{https://ctan.org/pkg/enumitem}} like so:--- +% \iffalse +%<*example> +% \fi +\begin{arabluaverbatim} + % preamble:--- + \usepackage{enumitem} + \newlist{enumabjad}{enumerate}{10} + \setlist[enumabjad]{nosep, label={\aemph*{\abjad{\arabic*}}}} + \usepackage{multicol} +\end{arabluaverbatim} +\begin{arabluacode} + From \textcite[i. 29 B--C]{Wright}:--- The derived forms of the + triliteral verb are usually reckoned fifteen in number, but the + learner may pass over the last four, because (with the exception + of the twelfth) they are of very rare occurrence. + \RLmulticolcolumns + \begin{multicols}{3} + \begin{arab}[fullvoc] + \begin{enumabjad} + \item fa`ala + \item fa``ala + \item fA`ala + \item 'af`ala + \item tafa``ala + \item tafA`ala + \item infa`ala + \item ifta`ala + \item if`alla + \item istaf`ala + \item if`Alla + \item if`aw`ala + \item if`awwala + \item if`anlala + \item if`anl_A + \end{enumabjad} + \end{arab} + \end{multicols} +\end{arabluacode} +% \iffalse +% +% \fi % % \paragraph{Caveat} % The various French definition files of the \package{babel} package -- cgit v1.2.3