Tag Info

5


3

Use the tocloft package and its \cftsecnumwidth length, which holds the width used for sec(tion)num(bers). It's better to increase the current value it by some other value instead of direct usage of \setlength{\cftsecnumwidth}{...}. (The value of 20pt applied here is a pure guess, however.) Note: The explicit usage of \setcounter is just for demonstration ...

3

A solution without hardcoding or editing the .cls file directly: The O.P. was right in his assumption about \@makechapterhead: \def\@makechapterhead#1{% \vspace*{50\p@}% {\parindent \z@ \raggedright \normalfont \ifnum \c@secnumdepth >\m@ne \huge\bfseries \@chapapp\space \thechapter \par\nobreak \vskip 20\p@ \fi ...

2

You could use the optional argument of the sectioning commands: \subsection[shorter title]{longer title} In this way LaTeX will show the longer title in the main document, using the shorter version for headings and toc entries.

1

Use the plain option for the frame: \documentclass[ ]{beamer} \usetheme{Singapore} \begin{document} \begin{frame}[plain] \tableofcontents \end{frame} \section{A test section} \begin{frame}test \end{frame} \section{Another test section} \begin{frame}test \end{frame} \end{document} The result, showing the frame with the ToC and a regular frame:

1

This is not the answer to the question (Thomas F. Sturm already stated that there was a bug in 3.70 of tcolorbox), but I wanted to suggest to use a separate newtcolorbox for this \l@part command -- it can be changed easier then: \documentclass[12pt,a4paper,openright,twoside]{book} \usepackage[english]{babel} \usepackage[most]{tcolorbox} ...

1


1

Well, this is somewhat a hack... The ordered appearance of \chapter in a ToC is 'messy' considered for the request, so I stored the contentslines in a Atoc, Btoc etc. file, where each author get's his own file, however only with 26 authors. If more is to be done, alphalph package will help ;-) The \chapter macro does no longer write an entry to the ToC, ...

1

More of a comment, but I wanted to include the picture: Have you at least tried my suggestion? (I really cant tell if thats your problem, but it sounds like it), consider the following near to minimal example \documentclass{article} \begin{document} \setcounter{secnumdepth}{1} \section{section} \subsection{subsection} \subsubsection{subsubsection} ...

1

Use the optional argument of \part: \documentclass{article} \begin{document} \tableofcontents \part[the title for the toc] {The title for the document\\[\bigskipamount] \large with a small subtitle} foo \end{document}

1

1

My mistake was a \begin{itemize} and did not close the \end{itemize} part in the main file. This main file has an \include{} . The MWE could not simulate the error on my case. Thanks for all the help and suggestions

1


Only top voted, non community-wiki answers of a minimum length are eligible