Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

customizing enumeration list label

72 views
Skip to first unread message

brownh

unread,
Sep 13, 2009, 8:14:22 AM9/13/09
to
I create an enumeration list with:

\renewcommand\theenumi {\alph{enumi})}
\begin{enumerate}
\item
...

And get a). XXX

Do do I remove the period so that I get

a) XXX

Couldn't find it in the documentation.

Haines Brown

Joost Kremers

unread,
Sep 13, 2009, 8:27:30 AM9/13/09
to
brownh wrote:
> I create an enumeration list with:
>
> \renewcommand\theenumi {\alph{enumi})}
> \begin{enumerate}
> \item
> ...
>
> And get a). XXX
>
> Do do I remove the period so that I get
>
> a) XXX

i *think* the command to be redefined is \labelenumi, not \theenumi:

\renewcommand{\labelenumi}{\alph{enumi})}

otherwise:

\usepackage{enumitem}

and then check out the manual how to do it exactly.


--
Joost Kremers joostk...@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)

Ulrich D i e z

unread,
Sep 13, 2009, 8:27:41 AM9/13/09
to
Haines Brown wrote:

> I create an enumeration list with:
>
> \renewcommand\theenumi {\alph{enumi})}
> \begin{enumerate}
> \item
> ...
>
> And get a). XXX
>
> Do do I remove the period so that I get
>
> a) XXX

The item-labels for enumeration-lists of first nesting-level
are formed by means of the macro \labelenumi which e.g.
with book-class is defined as

\def\labelenumi{\theenumi .}

There is a period at the end of \labelenumi's replacement-text.

Therefore I guess that you need to redefine both \theenumi and
\labelenumi - e.g.,

\renewcommand*\labelenumi{\theenumi}
\renewcommand*\theenumi {\alph{enumi})}
\begin{enumerate}
\item

Ulrich

Dan

unread,
Sep 13, 2009, 11:51:50 PM9/13/09
to
On Sep 13, 7:27 am, Ulrich D i e z <eu_angel...@web.de> wrote:

> Haines Brown wrote:
>
> Therefore I guess that you need to redefine both \theenumi and
> \labelenumi - e.g.,
>
>   \renewcommand*\labelenumi{\theenumi}
>   \renewcommand*\theenumi {\alph{enumi})}
>   \begin{enumerate}
>   \item

You also have to decide if you want the parenthesis to appear in
\ref's.
If not:
\renewcommand \theenumi{\alph{enumi}}
\renewcommand\labelenumi{\theenumi)}

\label picks up \theenumi.


Dan

0 new messages