How to Create a Numbered List in LaTeX

In LaTeX, you can create a numbered list using the enumerate environment.

The following examples show how to create a numbered list in LaTeX.

How to Create a Numbered List

We can use the enumerate environment to create a numbered list in LaTeX document.

Suppose we want to create a numbered list.

We can use the following LaTeX code to do so:

\documentclass{article}
\begin{document}

This is an example of a numbered list:
\begin{enumerate}
    \item First item
    \item Second item
    \item Third item
\end{enumerate}

\end{document}

Output: 👇️

This is an example of a numbered list:
1. First item
2. Second item
3. Third item

In this example, we use the enumerate environment to create a numbered list with three items.

How to Create a Nested Numbered List

We can also create nested numbered lists by using the enumerate environment within another enumerate environment.

Suppose we want to create a nested numbered list.

We can use the following LaTeX code to do so:

\documentclass{article}
\begin{document}

This is an example of a nested numbered list:
\begin{enumerate}
    \item First item
    \item Second item
    \begin{enumerate}
        \item Subitem 1
        \item Subitem 2
    \end{enumerate}
    \item Third item
\end{enumerate}

\end{document}

Output: 👇️

This is an example of a nested numbered list:
1. First item
2. Second item
    1. Subitem 1
    2. Subitem 2
3. Third item

In this example, we use the enumerate environment within another enumerate environment to create a nested numbered list.

Conclusion

We can use the enumerate environment to create both simple and nested numbered lists.