Document ClassesSpringer's svmono does not respect tocdepth

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
lem
Posts: 2
Joined: Sat May 16, 2009 1:44 pm

Springer's svmono does not respect tocdepth

Post by lem »

Hi All,
it was mentioned recently by Stephan_K (http://www.latex-community.org/forum/vi ... 363&p=9252) that Springer Verlag's svmono document class doesn't respect tocdepth.
Unfortunetely, that is true. As a result, I can not include subparagraphs in TOC (which include only chapters, sections, subsections, subsubsections, and paragraphs but not subparagraphs).
Would you be so kind to provide any hint how to solve that problem?

Kind regards,
lem

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

lem
Posts: 2
Joined: Sat May 16, 2009 1:44 pm

Springer's svmono does not respect tocdepth

Post by lem »

OK, it was a bug in the class and the solution is as follows:

Code: Select all

\makeatletter
\renewcommand\subparagraph{%
  \@startsection{subparagraph}{4}{\z@}%
  {-18\p@}% \p@lus -4\p@ \@minus -4\p@}%
  {6\p@}% \p@lus 4\p@ \@minus 4\p@}%
  {\normalfont\normalsize\itshape\rightskip=\z@ \@plus 8em\pretolerance=10000}%
}
\makeatother
Regards
lem
Post Reply