[texhax] List numbering change

Philip G. Ratcliffe philipratcliffe at tiscali.it
Sun Nov 14 18:19:24 CET 2004


> I have the following question. I use enumerate environment to generate
> lists like this:
> \begin{enumerate}
> \item One Thing
> \item Another Thing
> \item Yet Another Thing
> \end{enumerate}
>
> and produce the list
> 1. One Thing
> 2. Another Thing
> 3. Yet Another Thing
>
> I want to change list numbering in the following way
> S1. One Thing
> S2. Another Thing
> S3. Yet Another Thing

Try this:

\begin{enumerate}
\renewcommand\makelabel[1]{\hss\llap{S#1}}
\item One Thing
\item Another Thing
\item Yet Another Thing
\end{enumerate}

Also a look at Robin Fairbairns' FAQ would also find reference to the
enumerate and enumitem packages, which allow flexibility in lists.

Cordialmente,  Philip G. Ratcliffe
-----------------------------------------
Professor of Nuclear & Subnuclear Physics
Dipartimento di Fisica e Matematica
Universita degli Studi dell'Insubria
via Valleggio 11
22100 Como (CO)
Italy

Tel. +39 (039) 238.6231
Fax  +39 (039) 238.6119
Cell +39 (340) 2346580
Web  http://www.unico.it/~pgr
-----------------------------------------



More information about the texhax mailing list