Change the list numbering format of enumerate in LaTeX
In this tutorial, I will show you how to change the list numbering format of the enumerate in LaTeX.
These are the available list numbering formats:
\arabic*
: This is the default numbering format.\roman*
: You can use it to get the small roman letter for list numbering.\Roman*
: This is used to get the capital roman letter for list numbering.\alph*
: This is used to get the small alphabets for list numbering.\Alph*
: To get capital alphabets for list numbering.
Change list numbering in all formats in LaTeX
You can use those formats with \begin{enumerate}[label=<format>]
to get your preferred list numbering. But first, you have to load the enumitem
package in the preamble of your document.
\documentclass{article} \usepackage{enumitem} \begin{document} \noindent list with small Roman letters with \verb|[label=\roman*]|: \begin{enumerate}[label=\roman*] \item First item \item Second item \item Third item \end{enumerate} list with capital Roman letters with \verb|[label=\Roman*]|: \begin{enumerate}[label=\Roman*] \item First item \item Second item \item Third item \end{enumerate} list with small alphabets with \verb|[label=\alph*]|: \begin{enumerate}[label=\alph*] \item First item \item Second item \item Third item \end{enumerate} list with capital alphabets with \verb|[label=\Alph*]|: \begin{enumerate}[label=\Alph*] \item First item \item Second item \item Third item \end{enumerate} \end{document}
Output:
Also, you can put those formats with (<format>)
, <format>)
, and <format>.
to get this type of output (a), i), and ii..
\documentclass{article} \usepackage{enumitem} \begin{document} \noindent list with small Roman letters with \verb|[label=(\roman*)]|: \begin{enumerate}[label=(\roman*)] \item First item \item Second item \item Third item \end{enumerate} list with capital Roman letters with \verb|[label=\Roman*)]|: \begin{enumerate}[label=\Roman*)] \item First item \item Second item \item Third item \end{enumerate} list with small alphabets with \verb|[label=\alph*.]|: \begin{enumerate}[label=\alph*.] \item First item \item Second item \item Third item \end{enumerate} list with capital alphabets with \verb|[label=\Alph*:]|: \begin{enumerate}[label=\Alph*:] \item First item \item Second item \item Third item \end{enumerate} \end{document}
Output:
Leave a Reply