# Itemize, Enumerate, and To-do-list in Latex

Tags:

Categories:

Updated:

In this post we will learn how to use itemized lists in Latex.

## Unordered List

Unordered lists are created using the \begin{itemize}...\end{itemize} environment. Normally, an item is added using the \item command inside the environment.

\begin{itemize}
\item first item
\item second item
\end{itemize}


Usually, the command \item creates a bullet point list. If you want to use different notations, you need to use [] to customize the target notation.

\begin{itemize}
\item[Q1.] first item
\item[Q2.] second item
\end{itemize}


## Ordered List

Ordered list can be created using the \begin{enumerate}...\end{enumerate} environment. This simply adds $1,2,3,\dots$ to the items.

However, you can use [i.] with the environment to convert the number to appear as Roman numbers.

\usepackage{enumerate}
\begin{enumerate}[i.]
\item first item
\item second item
\end{enumerate}



## To-do Items

### Combining fontawesome and itemize

This is the best way to create and customize to-do lists. You can check the fontawesome handbook for more symbols.

\usepackage{fontawesome}
\begin{itemize}
\item[\faCheckSquareO] This is done
\item[\faSquareO] To be done
\item[\faSquareO] To be done
\end{itemize}


Here are some other example icons:

\faCalendarCheckO, \faCalendarPlusO, \faCalendarMinusO,
\faCheck, \faCheckCircleO, \faClone,
\faClose, \faCut, \faEdit, \faMailForward,
\faPencilSquareO, \faRemove


### Creating new todolist environment

Based on the thread in StackExchange: How to create checkbox todo list?, here is another way to create such lists.

% enumitem clashes with enumerate
\usepackage{enumitem,amssymb}
\newlist{todolist}{itemize}{2}
\setlist[todolist]{label=$\square$}

\usepackage{pifont}
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
\newcommand{\done}{\rlap{$\square$}{\raisebox{2pt}{\large\hspace{1pt}\cmark}}%
\hspace{-2.5pt}}
\newcommand{\wontfix}{\rlap{$\square$}{\large\hspace{1pt}\xmark}}


And then-

 \begin{todolist}
\item[\done] Frame the problem
\item Write solution
\item[\wontfix] profit
\end{todolist}


That’s all. Cheers!!!