2 minute read

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.

    \item first item
    \item second item

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.

    \item[Q1.] first item
    \item[Q2.] second item

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.

    \item first item
    \item second item

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.

    \item[\faCheckSquareO] This is done
    \item[\faSquareO] To be done 
    \item[\faSquareO] To be done 

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


And then-

	  \item[\done] Frame the problem
	  \item Write solution
	  \item[\wontfix] profit

That’s all. Cheers!!!

You can find a comprehensive list of Latex resources in the following post:

Latex Resources in a Nutshell

If you are a new Latex user, check out this post: 20 Most Common Mistakes Made by New Latex Users

You can find all Latex oriented posts of mine in: https://shantoroy.com/categories/#latex

Leave a comment