latex: Increase the depth of subsections.

This commit is contained in:
Chris Johns 2016-11-09 11:41:32 +11:00
parent 4cb5e55941
commit a91dd5c695

View File

@ -98,6 +98,9 @@ gobble=0,
\let\oldsection\section
\renewcommand\section{\clearpage\oldsection}
\usepackage{titlesec}
\setcounter{secnumdepth}{8}
\renewcommand\thepart{\@Roman\c@part}
\renewcommand\part{%
\pagestyle{normal}
@ -107,6 +110,10 @@ gobble=0,
\@afterindentfalse
\secdef\@part\@spart}
% fonts
\usepackage{charter}
\usepackage{rtemsextrafonts}
\def\@part[#1]#2{%
\ifnum \c@secnumdepth >\m@ne
\refstepcounter{part}%
@ -134,7 +141,3 @@ gobble=0,
\nobreak
\vskip 3ex
\@afterheading}
% fonts
\usepackage{charter}
\usepackage{rtemsextrafonts}