Minitocs für einzelne Sections mit dem minitoc Paket

Mit dem minitoc Paket lassen sich einfach Inhaltsverzeichnisse für einzelne Sections erzeugen. Hier ein Minimalbeispiel aus der Paket-Dokumentation:

minit (PDF)

\documentclass[]{scrartcl}
 
\title{Test Requirements Document  for Some Project}
\author{My name}
 
\usepackage[]{minitoc}
\setcounter{secttocdepth}{2}
\setlength{\stcindent}{24pt}
\renewcommand{\stcfont}{\small\rm}
\renewcommand{\stcSSfont}{\small\bf} 
\dosecttoc
\dosectlof
\dosectlot
 
\begin{document}
\maketitle
 
\tableofcontents
 
\section{Overview}
\section{Tests}
\secttoc 
 
\subsection{Some first test}
 
\subsubsection{Prerequisites}
 
\subsection{A second test}
 
\section{Some other section of the document}
 
\end{document}

Uwe

Uwe Ziegenhagen likes LaTeX and Python, sometimes even combined. Do you like my content and would like to thank me for it? Consider making a small donation to my local fablab, the Dingfabrik Köln. Details on how to donate can be found here Spenden für die Dingfabrik.

More Posts - Website