\DeclareNewSectionCommand
definiert.
Hat jemand eine Idee?
Vielen Dank schonmal!
Hier das Minimalbeispiel:
\documentclass[a4paper]{scrbook} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{csquotes} \DeclareNewSectionCommand[% counterwithin=subparagraph, level=6, indent=\parindent, beforeskip=-3.25ex plus -1ex minus -.2ex, afterskip=1.5ex plus .2ex, font=\rmfamily\normalsize, tocindent=2em, tocnumwidth=2em, ]{abschnitt} \DeclareNewSectionCommand[% counterwithin=abschnitt, level=7, indent=\parindent, beforeskip=-3.25ex plus -1ex minus -.2ex, afterskip=1.5ex plus .2ex, font=\normalsize, tocindent=12em, tocnumwidth=6em, ]{subabschnitt} \makeatletter \AfterPackage*{hyperref}{% hyperref die Ebenen ebenfalls beibringen \let\toclevel@abschnitt\abschnitttocdepth \let\toclevel@subabschnitt\subabschnitttocdepth } \makeatother %--------------------------------------------------------------------------------------------------------- % Einzug Inhaltsverzeichnis %--------------------------------------------------------------------------------------------------------- \RedeclareSectionCommand[tocindent=0em,tocnumwidth=6em]{chapter} \RedeclareSectionCommand[tocindent=1.5em,tocnumwidth=1.5em]{section} \RedeclareSectionCommand[tocindent=3em,tocnumwidth=1.7em]{subsection} \RedeclareSectionCommand[tocindent=4.5em,tocnumwidth=1.5em]{subsubsection} \RedeclareSectionCommand[tocindent=6em,tocnumwidth=1.5em]{paragraph} \RedeclareSectionCommand[tocindent=7.5em,tocnumwidth=2em]{subparagraph} \RedeclareSectionCommand[tocindent=9em,tocnumwidth=1.5em]{abschnitt} \RedeclareSectionCommand[tocindent=11em,tocnumwidth=1.5em]{subabschnitt} \usepackage{alnumsec} \alnumsectionlevels{1}{chapter,section,subsection,subsubsection,paragraph,subparagraph,abschnitt,subabschnitt} \surroundarabic[(][)]{}{.} \otherseparators{7} \alnumsecstyle{nLRnldnl} \setcounter{secnumdepth}{7} \setcounter{tocdepth}{7} \usepackage{hyperref} \begin{document} \tableofcontents \chapter{Hier fängt alles an} \section{Dann geht es weiter} \subsection{Dann geht es noch weiter} \subsubsection{Dann geht es immer noch weiter} \paragraph{Dann geht es tiefer} \subparagraph{und bald am Ziel} \abschnitt{Vorletzter Abschnitt} Vorletzter Text \subabschnitt{Letzter Abschnitt} Letzter TExt \end{document}