Text FormattingAlter Enumerate Style from "1." to "i." or "(i)"

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
iHubble
Posts: 2
Joined: Fri Oct 14, 2011 4:19 am

Alter Enumerate Style from "1." to "i." or "(i)"

Post by iHubble »

Hi,

I'm new with LaTeX. I'm using LyX, and I would like to change the enumeration style. At the moment, the enumeration style is :

1. ABC
2. DEF
3. GHI
...

And I would like it to be :

i. ABC
ii. DEF
iii. GHI
...

Is there an easy way to fix it ?
Thanks!

Joey

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Alter Enumerate Style from "1." to "i." or "(i)"

Post by Montag »

http://www.latex-community.org/forum/vi ... f=4&t=9632
=>
Put

Code: Select all

\renewcommand{\theenumi}{\roman{enumi}}
in the preamble.
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
timd
Posts: 8
Joined: Tue Aug 12, 2008 7:45 pm

Alter Enumerate Style from "1." to "i." or "(i)"

Post by timd »

Or you could use

Code: Select all

\begin{enumerate[(i.)]
to change for that list only
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Alter Enumerate Style from "1." to "i." or "(i)"

Post by localghost »

timd wrote:Or you could use

Code: Select all

\begin{enumerate[(i.)]
to change for that list only
Since the default enumerate environment does not accept any optional arguments, this won't work.
timd
Posts: 8
Joined: Tue Aug 12, 2008 7:45 pm

Alter Enumerate Style from "1." to "i." or "(i)"

Post by timd »

Sorry localghost you are very right, i've been using it so long I forgot to add the proviso:

Code: Select all

\usepackage{enumerate}
then you have the option of setting the enumeration style quite easily for individual lists.

sorry again
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Alter Enumerate Style from "1." to "i." or "(i)"

Post by localghost »

This package is superseded by the enumitem package with more capabilities but different syntax.
Post Reply