mirror of
https://git.rtems.org/rtems-docs/
synced 2025-07-22 20:55:42 +08:00
latex: Increase the depth of subsections.
This commit is contained in:
parent
4cb5e55941
commit
a91dd5c695
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user