Text FormattingCustomization of enumerated Lists

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
paulosousa
Posts: 90
Joined: Sun Jun 24, 2012 8:48 pm

Customization of enumerated Lists

Post by paulosousa »

Hi all,

for this
1. text
1.1. text
1.2. text

I am using this

Code: Select all

\renewcommand*{\theenumii}{\arabic{enumii}}
\renewcommand*{\labelenumii}{\theenumi.\theenumii.}
but how should I proceed to do:
1. text
1.1. text
1.1.1. ...
1.1.2. ...
1.2. text
1.2.1. ...
1.2.2. ...

thanks in advance
Paulo

Recommended reading 2024:

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

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

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Customization of enumerated Lists

Post by cgnieder »

This should do:

Code: Select all

\renewcommand*{\theenumii}{\arabic{enumii}}
\renewcommand*{\labelenumii}{\theenumi.\arabic{enumii}.}
\renewcommand*{\labelenumiii}{\theenumi.\theenumii.\arabic{enumiii}.}
Regards
site moderator & package author
paulosousa
Posts: 90
Joined: Sun Jun 24, 2012 8:48 pm

Re: Customization of enumerated Lists

Post by paulosousa »

thanks a lot Clemens for your great help
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Customization of enumerated Lists

Post by localghost »

For a general customization of list environments it is worth to take a look at the enumitem package.


Thorsten
Post Reply