I am currently writing my dissertation in latex using turabian-formatting's thesis class,
https://ctan.org/pkg/turabian-formatting. By default, the class does not show section and subsection numbers. I have figured out how to get it to show these by commenting out the line in the package that disables them. However, in the table of contents it now tries to write the section (and subsection) numbers *over* the names, making a mess. Here is the (I think) relevant part of the package that controls how the table of contents looks:
Code: Select all
\renewcommand*{\l@chapter}[2]{%
\ifnum \c@tocdepth >\m@ne
\addpenalty{-\@highpenalty}%
\setlength\@tempdima{1.25in}%
\vskip 1\baselineskip
{ \parindent \z@
\rightskip \@tocrmarg
\parfillskip -\rightskip
\leavevmode
\advance\leftskip\@tempdima
\hskip -\leftskip
#1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
\penalty\@highpenalty}
\fi}
\renewcommand*{\l@section}{%
\ifnum \c@tocdepth >\z@ \vskip \tf@singlelineskip \fi
\@dottedtocline{1}{1.5in}{\z@}}
\renewcommand*{\l@subsection}{%
\ifnum \c@tocdepth >1 \vskip \tf@singlelineskip \fi
\@dottedtocline{2}{1.75in}{\z@}}
Sadly, this is all Greek to me. The chapters look fine in the table of contents. Does anyone have any ideas about how to fix the section and subsection formattings so that it displays properly?