mirror of
https://git.rtems.org/rtems-docs/
synced 2025-07-23 04:00:39 +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
|
\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}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user