[Tex/LaTex] Section symbol in table of contents

sectioningtable of contents

I'd like sections in the table of contents to have not only the number, but also the symbol ยง before them. How can I make it?

Best Answer

Here's one option using the tocloft package:

\documentclass{report}
\usepackage{tocloft}

\addtolength\cftsecnumwidth{0.7em} 
\renewcommand\cftsecpresnum{\S}

\begin{document}

\tableofcontents
\chapter{Test Chapter}
\section{Test Section One}
\section{Test Section Two}
\section{Test Section Three}
\section{Test Section Fout}

\end{document}

enter image description here

Related Question