Sarmate.net Sarmate.net
Home Features Pricing Documentation Contact
Log in Sign up

Lists

Two lists cover almost every need: itemize (bullets) and enumerate (numbered). Each element begins with \item.

Compile Compile to see a bulleted list and a numbered list. Notice the role of \begin{...}, \item and \end{...}.

Adding and nesting

You add an element with a new \item. You can also nest one list inside another.

Modify Your turn: add a third \item to the list, then compile.
Show the solution
\documentclass{article}
\begin{document}
\begin{itemize}
  \item Bread
  \item Cheese
  \item Wine
\end{itemize}
\end{document}
Complete Complete the task: turn this bulleted list into a numbered list (replace itemize with enumerate, in both places), then compile.
Show the solution
\documentclass{article}
\begin{document}
\begin{enumerate}
  \item Introduction
  \item Body
  \item Conclusion
\end{enumerate}
\end{document}
Key takeaway: itemize = bullets, enumerate = numbers. Each line begins with \item, and you always close with \end{...}.