LyXChange enumerate/itemize to A, B, C, ...

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Christopher
Posts: 7
Joined: Sat Oct 04, 2008 4:02 pm

Change enumerate/itemize to A, B, C, ...

Post by Christopher »

Hi,

I would like to change the points that start the itemizing or the numbers that start the enumerating to A),B),C) and so on. I'm suspecting the solution to be changing the nesting preferences or sth. like that. But I don't know how to proceed.

Thanks in advance!
Christopher

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Change enumerate/itemize to A, B, C, ...

Post by Stefan Kottwitz »

Hi Christopher,

welcome to the board!

Concerning the itemize environment you could redefine \labelitemi to get a different symbol for its labels, for example:

Code: Select all

\renewcommand*\labelitemi{$\star$}
The macros for deeper levels are \labelitemii, \labelitemiii and \labelitemiv.

Concerning the enumerate environment you could redefine \theenumi to change the output of the counter and \labelenumi to change the label, for example:

Code: Select all

\renewcommand*\theenumi{\Alph{enumi}}
\renewcommand*\labelenumi{\theenumi)}
Deeper levels similar like above.

There are packages helping to customize list environments, for instance enumitem, have a look at its documentation.

Stefan
LaTeX.org admin
Christopher
Posts: 7
Joined: Sat Oct 04, 2008 4:02 pm

Re: Change enumerate/itemize to A, B, C, ...

Post by Christopher »

Hi Stefan_K,

thanks for the fast answer. I am new to Latex/Lyx. Hence I have problems to install the package. First of all: I am using a mac, so I don't know how to open this tar.izma file I download as the package. Where should I install this?

Cheers,
C
User avatar
Maksi
Posts: 52
Joined: Sun Mar 16, 2008 12:12 pm

Change enumerate/itemize to A, B, C, ...

Post by Maksi »

Christopher wrote:Hi Stefan_K,

thanks for the fast answer. I am new to Latex/Lyx. Hence I have problems to install the package. First of all: I am using a mac, so I don't know how to open this tar.izma file I download as the package. Where should I install this?

Cheers,
C
I suppose you use MacTeX, enumitem is part of MacTeX (as it is based on TeXlive), you do not need to install it. Just try to put the commands in LyX -> Document -> Settings -> LaTeX Preamble and see if they work. If not, put \usepackage{enumitem} in the Preamble and some needed setups (check the package documentation) in [] befores as in: \usepackage[options]{enumitem}
A Humanities user of LaTeX :)
spiegboy
Posts: 120
Joined: Thu Dec 06, 2007 9:58 am

Re: Change enumerate/itemize to A, B, C, ...

Post by spiegboy »

user enumerate package, wherein an the label can be set as an optional parameter in the enumerate environment
Post Reply