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