Text Formatting ⇒ Enumerate
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: Enumerate
Enumerate
Code: Select all
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}[label=\arabic*]
\item Complex numbers
\begin{enumerate}[label*={.\arabic*}]
\item Introduction
\item Properties
\end{enumerate}
\item Complex functions
\begin{enumerate}[label*={.\arabic*}]
\item One item
\item Another
\end{enumerate}
\end{enumerate}
\end{document}
For the ToC, I think this is the default for many document classes, but we'd need to know what document class you were using, whether these are chapters and sections, or sections and subsections, or what, and see a minimal example, per board rules.