wannesm / adsphd

KU Leuven Arenberg Doctoral School PhD dissertation latex class
http://set.kuleuven.be/phd/
73 stars 46 forks source link

After Windows update, problems with template #101

Open JulieVastmans opened 4 years ago

JulieVastmans commented 4 years ago

After a Windows update, my table of contents and list of figures&tables suddenly had a completely different layout. The tocloft package was suddenly not functioning properly anymore. I changed the package I use to titletoc. More specifically I changed the following lines in the adsphd.cls: \usepackage[titles]{tocloft} \renewcommand{\cftchapfont}{\sffamily\bfseries\selectfont} \renewcommand{\cftchappagefont}{\sffamily\bfseries\selectfont}

to

\usepackage{titletoc}

\titlecontents{chapter}[0pt]{\protect\addvspace{10\p@}\sffamily\bfseries\selectfont} {\thecontentslabel \hspace{10pt}} {\hspace{0.0em}} { \hfill\contentspage}[\vskip 0pt]