You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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}
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]
The text was updated successfully, but these errors were encountered: