Lists
This page provides a basic introduction to typesetting and customizing various types of list in LaTeX.
Last updated
This page provides a basic introduction to typesetting and customizing various types of list in LaTeX.
Last updated
The common guideline for creating a list in 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 :
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
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:
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):
In this section, I will show the default behaviour of when it comes to nesting itemize
and enumerate
.
Regarding itemize, here is the 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
Here is the 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
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:
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 to do it for you.
CTAN hosts a number of which may be worth investigating if you have particular customization requirements. In addition, tex.stackexchange provides a wealth of with answers that provide useful insights and great examples!
Combine the knowledge of and , we can create our own way of numbering in a enumerate
list:
TODO:
itemize
listenumerate
list