Section, subsection, subsubsection?

Added by Christoph Kappel about 6 years ago

Someone might say, when you need more than tree levels you are screwed or should use another doc class, but sometimes it's really useful. To enable more than the three default levels just add the following to your preamble:

Numbers: on /offsetcounter{secnumdepth}{5} % Enable level 4-5
setcounter{tocdepth}{5}    % Include level 4-5 in TOC

This enables this hierarchy:

% Default levels
section{}       % Level 1
subsection{}    % Level 2
subsubsection{} % Level 3

% New levels
paragraph{}     % Level 4
subparagraph{}  % Level 5

Also available in: Atom RSS