Latex: How can I create nested lists which look this 1.1, 1.1.1, 1.1.2, 1.2
latex, list
Solution
You can use `enumitem` package:
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}
\item Topic
\begin{enumerate}[label*=\arabic*.]
\item First Subtopic
\item Second Subtopic
\begin{enumerate}[label*=\arabic*.]
\item First Sub-Subtopic
\item Second Sub-Subtopic
\end{enumerate}
\end{enumerate}
\end{enumerate}
\end{document}
See the catalog entry for enumitem for more.
Problem
How can I create lists which look this: ``` 1. Topic 1.1 First Subtopic 1.2 Second Subtopic ``` I tried using the enumeration list ``` \begin{enumerate} \item Topic \begin{enumerate} \item First Subtopic \item Second Subtopic \end{enumerate} \end{enumerate} ``` But the output looks like: ``` 1. Topic (a) First Subtopic (b) Second Subtopic ``` So how can I get the list? Is there another list evironment or maybe an extra package?