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
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
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: 9201
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.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
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: 9201
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.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Post Reply