pdf: Format lists for directives to sit on the next line.

This commit is contained in:
Chris Johns 2016-11-08 15:26:25 +11:00
parent cffdb6024c
commit daea85e3b2
3 changed files with 7 additions and 2 deletions

View File

@ -90,7 +90,6 @@ pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting. # A list of ignored prefixes for module index sorting.
#modindex_common_prefix = [] #modindex_common_prefix = []
# -- Options for HTML output --------------------------------------------------- # -- Options for HTML output ---------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for

View File

@ -25,6 +25,7 @@ package_tests = {
'cmap' : ['\\usepackage{cmap}'], 'cmap' : ['\\usepackage{cmap}'],
'color' : ['\\usepackage{color}'], 'color' : ['\\usepackage{color}'],
'eqparbox' : ['\\usepackage{eqparbox}'], 'eqparbox' : ['\\usepackage{eqparbox}'],
'enumitem' : ['\\usepackage{enumitem}'],
'etoolbox' : ['\\usepackage{etoolbox}'], 'etoolbox' : ['\\usepackage{etoolbox}'],
'fancybox' : ['\\usepackage{fancybox}'], 'fancybox' : ['\\usepackage{fancybox}'],
'fancyhdr' : ['\\usepackage{fancyhdr}'], 'fancyhdr' : ['\\usepackage{fancyhdr}'],

View File

@ -23,7 +23,6 @@ numbersep=5pt,
gobble=0, gobble=0,
} }
\renewcommand{\maketitle}{% \renewcommand{\maketitle}{%
\begin{titlepage}% \begin{titlepage}%
\let\footnotesize\small \let\footnotesize\small
@ -93,6 +92,12 @@ gobble=0,
\ChNumVar{\raggedleft \bfseries\Large} \ChNumVar{\raggedleft \bfseries\Large}
\ChTitleVar{\raggedleft \rm\Huge} \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\thepart{\@Roman\c@part}
\renewcommand\part{% \renewcommand\part{%
\pagestyle{normal} \pagestyle{normal}