\documentclass{article} \title{A Test for TeXstudio} \author{Dale} \begin{document} \maketitle \tableofcontents \section{First} First Test \subsection{Second} Second Test \subsubsection{Third} Third Test \paragraph{One} plus one equals two \subparagraph{Two} plus one equals three\end{document}