So apparently the suggestion in here doesn't work in my document. I want that all enumerate and nested ones always uses arabic numerals, from 1,2,etc.
My preamble is this.
\documentclass{article}
\usepackage[version=3]{mhchem} % Package for chemical equation typesetting
\usepackage{siunitx} % Provides the \SI{}{} and \si{} command for typesetting SI units
\usepackage{graphicx} % Required for the inclusion of images
\usepackage{amsmath} % Required for some math elements
\setlength\parindent{0pt} % Removes all indentation from paragraphs
\usepackage{colortbl}
\newcommand{\comrem}[1]{\textcolor{red}{#1}}
\renewcommand{\labelenumi}{\alph{enumi}.} % Make numbering in the enumerate environment by letter rather than number (e.g. section 6)
\renewcommand{\labelenumii}{\Roman{enumii}}
Best Answer
The most convenient way to achieve this would be via
enumitem
's\setlist
:The first list (without any settings) displays the default settings for each (nested) list (level 1 =
\arabic
, level 2 =(\alph*)
, level 3 =\roman*.
):The second list displays the updated settings, with each level set as
\arabic*.
:Control over individual
<level>
formatting is also possible usingYour example code would use
If you plan on referencing list items, you may also consider specifying a separate
ref
key-value that doesn't use the trailing period.
: