LaTex Tutorials
Create lists in LaTeX
1. How to create different types of lists in LaTeX?
Sometimes, we need to add a list of items in the document. In LaTeX, there are two different types of lists: Unordered lists and Ordered lists. If the list of items follows an order, then it is called ordered lists. If the lists of items has no particular order we can use unordered list.
The following is an example of an unordered list. An unordered list environment is created using ‘itemize’ and each item in the list is indicated using the \item command.
The products you purchased are: \begin{itemize} \item Apples \item Oranges \item Watermelon \item Bananas \end{itemize}
To get different lists you can use [label = ]. For example, to get squared bullet you have to use \FillSmallSquare command ( [label=\FilledSmallSquare]). You need to include the package ‘ifsym‘ to change the style of the list and you get the output shown below.
\usepackage[geometry]{ifsym}
The information required for filing the application is: \begin{itemize}[label=\FilledSmallSquare] \item Name of the student \item Gender \item Course registered \item Joining date \end{itemize}
The students will be studying the subjects given below. \begin{itemize}[label=$\circ$] \item Data structures \item Design of algorithms \item Statistics \item Machine learning \end{itemize}
To get different lists you can use [label = ]. You need to include the package ‘pifont’ to change the style of the list and you get the output shown below.
\usepackage{pifont}
You have filled the following items: \begin{itemize}[label=\ding{51}] \item Name of the student \item Gender \item Course registered \item Joining date \end{itemize}
The following items are not provided by the user: \begin{itemize}[label=\ding{56}] \item Present address \item School joined \item Last year grade \item Active courses \item Country \end{itemize}
The following packages are required to handle data science projects \begin{itemize}[label=\ding{118}] \item Python \item Pandas \item Numpy \item Scipy \item Matplotlib \end{itemize}
other tutorials
Need Help?
If you need any further clarification or assistance in LaTeX coding, you are free to contact us.