Lists

Last updated on 2026-07-24 | Edit this page

Overview

Questions

  • How can I create a list in LaTeX?
  • What are some variations of lists I can use?

Objectives

  • Create a list within a LaTeX document.
  • Customize the appearance of a list in LaTeX.

Lists


In LaTeX, as in markdown, there are two types of lists: ordered and unordered. They are both defined with \begin{...} and \end{...} commands, as we saw with the document body. Let’s add an ordered list to our document.

We’ll replace our “Second Section” with one for “Lists” and add an ordered list:

LATEX

% This command defines the kind of document we are creating (article).
\documentclass{article}


% Everything before \begin{document} is called preamble.
\begin{document} % The document body starts here

\tableofcontents

% The section command automatically numbers and formats the section heading.
\section{Sections}

Hello World!

This is my first LaTeX document.

I can add content to my first section!

% The subsection command does the same thing, but for sections within sections.
\subsection{Subsection}

I can put a subsection inside my first section.

\section{Lists}

There are two types of lists: ordered and unordered.

\subsection{Ordered}

Ordered lists have a number or letter associated with each item.

\begin{enumerate}
  \item Item 1
  \item Item 2
  \item Item 3
\end{enumerate}

\end{document}

When you compile this document, you should see something like this in the preview pane:

Our document with an enumerated list.
Callout

Note that the \item commands do not need to be enclosed in braces. These commands do not take any arguments, so they can be used as standalone commands. The text that follows the \item command will be treated as the content of the list item. However, you are able to specify your own bullet point symbols with \item[] manually. For instance, you can use > if you want a list with this symbol you can use the following LaTeX code:

LATEX

% This command tells LaTeX what kind of document we are creating (article).
\documentclass{article}


% Everything before the \begin{document} command is called the preamble.
\begin{document} % The document body starts here

% List with custom bullet point symbols
\begin{itemize}
  \item[>] Item 1
  \item[>] Item 2
  \item[>] Item 3
\end{itemize}

\end{document}
Callout

The enumitem package enables us to customize bullet-points globally or for a specific list:

LATEX

\documentclass{article}

\usepackage{enumitem} % package for lists
\setlist{label=\Roman*} % globally defining enumeration

\begin{document}

% ordered list with capitalize roman numbering
\begin{enumerate}
  \item First
  \item Second
  \item Third
  \item Fourth
\end{enumerate}

% ordered list with local changes
\begin{enumerate}[
  label=\emph{\roman*}, % local change of labeling system
  leftmargin=5cm, % change indent on the left
]
  \item First
  \item Seconds
  \item Third
  \item Fourth
\end{enumerate}

% unordered list
\begin{itemize}[label=>]
  \item Item 1
  \item Item 2
  \item Item 3
\end{itemize}

\end{document}

Notice also that an unordered list is just as easy. We can use the exact same syntax, but replace the enumerate environment with itemize.

Challenge

Challenge 1: What needs to change?

We have the following in our LaTeX document:

LATEX

\documentclass{article}

\begin{document}

\begin{enumerate}
  \item Banana Bread
  \item Carrot Muffins
  \item Apple Cake
\end{enumerate}

\end{document}

How would we modify this to change this ordered list to an unordered list?

You would need to change the enumerate environment to itemize:

LATEX

\documentclass{article}

\begin{document}

\begin{itemize}
  \item Banana Bread
  \item Carrot Muffins
  \item Apple Cake
\end{itemize}

\end{document}
Challenge

Challenge 2: Can you do it?

We would like to have the following appear in our LaTeX document:

  • Apples
    1. Gala
    2. Fuji
    3. Granny Smith
  • Bananas
  • Oranges

How would you write this in LaTeX?

LATEX

\documentclass{article}

\begin{document}

\begin{itemize}
  \item Apples
  \begin{enumerate}
    \item Gala
    \item Fuji
    \item Granny Smith
  \end{enumerate}
  \item Bananas
  \item Oranges
\end{itemize}

\end{document}
Challenge

Challenge 3: Can you nest your list counter?

We would like to have the following appear in our LaTeX document:

  1. Introduction
  2. Main
    1. 2.1 Theory
    2. 2.2 Real World
  3. Discussion

How would you write this in LaTeX?

The enumitem package provides commands to reference counters at different nesting levels of a list. To refer to the counter at the first level, use \theenumi, where the trailing i indicates the first level. The levels are denoted using Roman numerals, so the second level uses \theenumii, the third \theenumiii, and the fourth \theenumiv.

LATEX

\documentclass{article}

\usepackage{enumitem} % package for lists

\begin{document}

\begin{enumerate}
  \item Introduction
  \item Main
    \begin{enumerate}[label=\theenumi.\arabic*]
      \item Theory
      \item Real World
    \end{enumerate}
  \item Discussion
\end{enumerate}

\end{document}

In this case we customized the second level list locally, meaning the changes only apply to this specific list. \theenumi retrieves the current parent number, the . adds the dot between the two numbers and \arabic* adds the sub item number in arabic format, where * serves as a placeholder for the current list level’s counter.

Key Points
  • Lists in LaTeX are created using the enumerate and itemize environments.
  • Using the enumitem package to customize bullet points.