summaryrefslogtreecommitdiffstats
path: root/common/rtemsstyle.sty
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-11-08 15:26:25 +1100
committerChris Johns <chrisj@rtems.org>2016-11-08 15:28:32 +1100
commitdaea85e3b23a265dc58c1fdc8d123beff4d92205 (patch)
tree817b7337e8dd29f89107d230e97db35c9add74ef /common/rtemsstyle.sty
parentAdd openSUSE installation hints (diff)
downloadrtems-docs-daea85e3b23a265dc58c1fdc8d123beff4d92205.tar.bz2
pdf: Format lists for directives to sit on the next line.
Diffstat (limited to '')
-rw-r--r--common/rtemsstyle.sty7
1 files changed, 6 insertions, 1 deletions
diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty
index b05dd0e..441c454 100644
--- a/common/rtemsstyle.sty
+++ b/common/rtemsstyle.sty
@@ -23,7 +23,6 @@ numbersep=5pt,
gobble=0,
}
-
\renewcommand{\maketitle}{%
\begin{titlepage}%
\let\footnotesize\small
@@ -93,6 +92,12 @@ gobble=0,
\ChNumVar{\raggedleft \bfseries\Large}
\ChTitleVar{\raggedleft \rm\Huge}
+\usepackage{enumitem}
+\setlist[description]{style=nextline,leftmargin=10pt}
+
+\let\oldsection\section
+\renewcommand\section{\clearpage\oldsection}
+
\renewcommand\thepart{\@Roman\c@part}
\renewcommand\part{%
\pagestyle{normal}