diff options
author | Chris Johns <chrisj@rtems.org> | 2016-11-09 11:41:32 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-11-09 11:42:30 +1100 |
commit | a91dd5c69565870ccf85f5971d8956f6629577e6 (patch) | |
tree | 4f7f4aa3ca1a547be620bb8dc44c257291fc5bd7 | |
parent | 4cb5e55941718d48a0f7d592988c187907373e24 (diff) |
latex: Increase the depth of subsections.
-rw-r--r-- | common/rtemsstyle.sty | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty index 5bf5c26..e55bb93 100644 --- a/common/rtemsstyle.sty +++ b/common/rtemsstyle.sty @@ -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} |