I'm currently struggling with a modification of a custom class, created for thesis on my university. I have been able to modify the ToC so that I obtain indentations for section etc. But would like to develop this further so that each chapter is bold and that content of each chapter is separated by a blank line.
Got:
Want it like:Abstract
1. Introduction
1.1 Background
2. The main things
2.1 Something else
2.1.1 Something very specific
3. Conclusions
I think you get it...Abstract
1. Introduction
1.1 Background
2. The main things
2.1 Something else
2.1.1 Something very specific
3. Conclusions
My addition so far:
Code: Select all
\renewcommand\tableofcontents{% \ev is used for temporary storage of \parskip
\newlength\ev
\setlength{\ev}{\parskip}
\parskip0pt
\clearpage \global\@topnum\z@
\presectiontitle{\contentsname}
\@afterindenttrue
\begin{center}
{ \normalfont
\interlinepenalty\@M
\vskip21pt \vskip0.8\baselineskip
}\end{center}
\@afterheading
\vskip 1em
\@starttoc{toc}%
\parskip\ev}
\renewcommand\l@chapter[2]{%
\ifnum \c@tocdepth >\m@ne
\addpenalty{-\@highpenalty}
\setlength\@tempdima{1.5em}%
\begingroup
\parindent \z@ \rightskip \@pnumwidth
\parfillskip -\@pnumwidth
\leavevmode
\advance\leftskip@tempdima
\hskip -\leftskip
\nobreak\leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep
mu$}\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
\penalty\@highpenalty
\endgroup
\fi}
\renewcommand*\l@chapter{\@dottedtocline{1}{1.5em}{2.em}}
\renewcommand*\l@section{\@dottedtocline{2}{3.8em}{2.9em}}
\renewcommand*\l@subsection{\@dottedtocline{3}{7em}{3.8em}}
\renewcommand*\l@paragraph{\@dottedtocline{4}{11.1em}{4.7em}}
\renewcommand*\l@subparagraph{\@dottedtocline{5}{16.1em}{5.7em}}
Thanks in advance!