summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex')
-rw-r--r--Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex40
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex
index d3555fea43b..6baa65defb6 100644
--- a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex
+++ b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex
@@ -21,6 +21,7 @@
\incsubversion{\makedate{09}{02}{2014}}{Add the section about \texttt{enumerate}. Typos are fixed.}{\upmpublic}
\incsubversion{\makedate{20}{06}{2014}}{Add the class option \texttt{standardlists}. Add the dependency to \texttt{environ}.}{\upmpublic}
\incversion{\makedate{09}{07}{2014}}{Add the environment \texttt{emphbox}.}{\upmpublic}
+\incsubversion{\makedate{10}{09}{2014}}{Complete the documentation of \texttt{enumerate}.}{\upmpublic}
\addauthorvalidator*[galland@arakhne.org]{St{\'e}phane}{Galland}{Original Author}
\addauthor*{Frans}{van Dunn\'e}{Reviewer}
@@ -873,6 +874,15 @@ To change the separator between the description and the rest of the text, you mu
The environment \texttt{enumerate} exists in the standard \LaTeX\ distributions.
The UPM package redefines this environment to provide a behavior similar to the one of the environment \texttt{enumdescription}.
+Additionally, you could specify the format of the counter in the first optional parameter. This format is a text in which the first occurrence of one of the following characters is replaced by the value of the counter with the associated number format:
+\begin{itemize}
+\item \texttt{1}: the counter is an arabic number;
+\item \texttt{a}: the counter is a sequence of lower-case alphabetic letters;
+\item \texttt{A}: the counter is a sequence of upper-case alphabetic letters;
+\item \texttt{i}: the counter is a lower-case roman number;
+\item \texttt{I}: the counter is an upper-case roman number.
+\end{itemize}
+
\paragraph{Example~1:} The following \LaTeX~code produces a list, which is similar to the one generated by the standard \LaTeX\ environment \texttt{enumerate}:
\begin{verbatim}
\begin{enumerate}
@@ -903,6 +913,36 @@ The UPM package redefines this environment to provide a behavior similar to the
\item etc.
\end{enumerate}
+\paragraph{Example~3:} The following \LaTeX~code illustrates the alphabetic counter specification. Note that the parenthesis characters are directly rendered in the list:
+\begin{verbatim}
+\begin{enumerate}[(a)]
+\item this is a text for the first thing;
+\item this is a text for the second thing;
+\item etc.
+\end{enumerate}
+\end{verbatim}
+
+\begin{enumerate}[(a)]
+\item this is a text for the first thing;
+\item this is a text for the second thing;
+\item etc.
+\end{enumerate}
+
+\paragraph{Example~4:} The following \LaTeX~code illustrates the roman counter specification. Note that the dot character is directly rendered in the list:
+\begin{verbatim}
+\begin{enumerate}[I.]
+\item this is a text for the first thing;
+\item this is a text for the second thing;
+\item etc.
+\end{enumerate}
+\end{verbatim}
+
+\begin{enumerate}[I.]
+\item this is a text for the first thing;
+\item this is a text for the second thing;
+\item etc.
+\end{enumerate}
+
\subsection{Environment \texttt{enumdescriptionx}}
The environment \texttt{enumdescriptionx} extends the environment \texttt{enumdescription} by enabling a finer configuration with more parameters.