Lists

This page provides a basic introduction to typesetting and customizing various types of list in LaTeX.

The common guideline for creating a list in LaTeX\LaTeX is create a list environment with the \begin \end pair, then each item must be typeset after the \item command. All list environments can be nested. Here is the list of available list environments in LaTeX\LaTeX:

  • the itemize environment for creating a bulleted (unordered) list

  • the enumerate environment for creating a numbered (ordered) list

  • the description environment for creating a list of descriptions

Itemize

Lists are easy to create:
\begin{itemize}
  \item List entries start with the \verb|\item| command.
  \item Individual entries are indicated with a black dot, a so-called bullet.
  \item The text in the entries may be of any length.
\end{itemize}

Enumerate

Description

The only difference between description and other list environments is the (optional) label for each entry is enclosed in square brackets after the \item command:

Let's take a look at this example:

Changing the label of individual entries

As shown in the description environment example, the \item command takes an optional parameter, in square brackets. You can use this feature within itemize and enumerate environments to change the default label of individual entries in your list:

Here is an example of how this works (thanks Overleaf):

Nested Lists

In this section, I will show the default behaviour of LaTeX\LaTeX when it comes to nesting itemize and enumerate.

Nesting itemize list

Regarding itemize, here is the LaTeX\LaTeX commands used for label-generation at each level of the itemize:

  • \labelitemi - the black dot

  • \labelitemii - the dash symbol

  • \labelitemiii - the star symbol

  • \labelitemiv - the small dot

Nesting enumerate list

Here is the LaTeX\LaTeX commands used for label-generation at each level of the enumerate:

  • \labelenumi - it's the number and the dot

  • \labelenumii - the parentheses

  • \labelenumiii - the small dot (which stands after i and ii)

  • \labelenumiv - the small dot (which stands after A and B)

And also counter variables which keep track of the current label value for each level:

  • \enumi - level 1

  • \enumii - level 2

  • \enumiii - level 3

  • \enumiv - level 4

circle-info

The reason why there is only 4 levels in every list environments is the fact that LaTeX\LaTeX lists are limited to a depth of 4 levels.

Customizing Lists

circle-info

LaTeX’s lists are highly configurable, providing plenty of scope for the creation of many different types of customized list. You can either make direct modifications to LaTeX’s standard list types or, preferably, use the highly versatile enumitem packagearrow-up-right to do it for you.

CTAN hosts a number of list-related packagesarrow-up-right which may be worth investigating if you have particular customization requirements. In addition, tex.stackexchange provides a wealth of list-related questionsarrow-up-right with answers that provide useful insights and great examples!

Customizing labels of enumerate lists

First, we need to know various ways of typesetting a number as a counter in a numbered list:

  • \arabic{counter variable} - normal number

  • \roman{counter variable} - lowercase Roman numeral

  • \Roman{counter variable} - uppercase Roman numeral

  • \Alph{counter variable} - uppercase letter

  • \alph{counter variable} - lowercase letter

Here is the example:

Combine the knowledge of label-generation commands and how numbers can be typeset, we can create our own way of numbering in a enumerate list:

Last updated