Skip to content

Instantly share code, notes, and snippets.

@enaeseth
Created September 24, 2009 02:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enaeseth/192456 to your computer and use it in GitHub Desktop.
Save enaeseth/192456 to your computer and use it in GitHub Desktop.
Nested lists in LaTeX

This is how you create DLN-style nested lists in LaTeX.

\begin{enumerate}
\setcounter{enumi}{-1} % make counting start at zero instead of one
\item I spent five minutes preparing this example. (0)
\item \begin{enumerate}
\item First sub-problem (1a)
\item Second sub-problem (1b)
\end{enumerate}
\item An answer to a problem with no sub-parts (2)
\item \begin{enumerate}
\item Another sub-problem (3a)
\item Yet another sub-problem (3b)
\end{enumerate}
\end{enumerate}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment