Hi all!
I have a problem with enumerating items in the theorem environment.
The output that the enumerate command produce has italic numbers, and
I want them to be without any formatting.
Here you can find my preamble:
\documentclass[12pt, a4paper]{report}
\usepackage{toptesi}
\usepackage{amsmath, amsthm, amssymb, amsfonts, enumerate}
\usepackage{natbib}
\usepackage[italian]{babel}
and here a random theorem with this problem:
\begin{theorem}
Let.....
\begin{enumerate}[(i)]
\item XXXXXXX
\item dafsdaklfjsdfka
\end{enumerate}
\end{theorem}
I would like to get a plain (no formatting at all) numeration as (i),
(ii), (iii) and so on. However, I get italic capital Roman numbers,
shorter than the usual ones (i.e. (I), (II), (III) all of them in
italics and with the I's shorter than usual...). How can is solve this
problem?
I know that I might solve this problem using the description
environment, but I have already written a complete thesis using the
enumerate one, and to rewrite everything will take ages....
Thanks,
Alessandro
General ⇒ enumerating in theorem environment
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
enumerating in theorem environment
You better build a minimum working example (MWE), because I can't really comprehend where your theorem environment comes from. Replace the enumerate package by the enumitem package. Then you are able to build your enumerate environment as you want.
Code: Select all
\begin{enumerate}[label={(\roman*)}]
\item First item
\item Second item
…
\end{enumerate}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
enumerating in theorem environment
Here you find the MWE:
as you can see the numeration in the output is weird, and it is different from what expected.
Using the argument
it generates the same output.
I tried to change the preamble using
but the result is the same.
I guess it is the toptesi package that it is altering the environment, but I need it for other purposes.
To sum up, I'd like to have the following numeration (i), (ii), (iii), ... with everything (brackets included) in roman and not in italic.
Thanks!
Code: Select all
\documentclass[12pt, classica, cucitura]{toptesi}
\usepackage{toptesi}
\usepackage{amsmath, amsthm, amssymb, amsfonts, enumerate, dlfltxbcodetips}
\usepackage{natbib}
\selectlanguage{italian}
\newtheorem{theorem}{Teorema}
\begin{document}
\begin{theorem}
Let
\begin{enumerate}[(i)]
\item if item (i) works...
\item if item (ii) works...
\end{enumerate}
\end{theorem}
\end{document}
Using the argument
Code: Select all
\begin{theorem}
Let
\begin{enumerate}[label={(\roman*)}]
\item if item (i) works...
\item if item (ii) works...
\end{enumerate}
\end{theorem}
I tried to change the preamble using
Code: Select all
\documentclass[12pt, a4paper]{report}
\usepackage{toptesi}
\usepackage{amsmath, amsthm, amssymb, amsfonts, enumerate, dlfltxbcodetips}
\usepackage{natbib}
\usepackage[italian]{babel}
I guess it is the toptesi package that it is altering the environment, but I need it for other purposes.
To sum up, I'd like to have the following numeration (i), (ii), (iii), ... with everything (brackets included) in roman and not in italic.
Thanks!
enumerating in theorem environment
With the enumerate package loaded, try something like this:
Code: Select all
\begin{enumerate}[{\normalfont (i)}]
\item if item (i) works...
\item if item (ii) works...
\end{enumerate}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: enumerating in theorem environment
I had the same problem and the cause was the babel package, the spanish version in my case. Maybe the italian version has the same issue.
For spanish I have fixed this by using the "es-lcroman" option like in:
\usepackage[spanish,es-lcroman]{babel}
Maybe there is some "it-lcroman" also. For more info, read the italian-babel documentation.
I found my solution in this thread:
http://tex.stackexchange.com/questions/ ... nish-babel
For spanish I have fixed this by using the "es-lcroman" option like in:
\usepackage[spanish,es-lcroman]{babel}
Maybe there is some "it-lcroman" also. For more info, read the italian-babel documentation.
I found my solution in this thread:
http://tex.stackexchange.com/questions/ ... nish-babel