3 \usepackage[left=2.5cm,right=2.5cm,top=3cm,bottom=3cm]{geometry}
15 \renewcommand\thepage{\roman{page}}
16 \newcommand\pagefoot{\thepage}
18 %% Set various lengths.
19 \setlength{\parskip}{\medskipamount}
20 \setlength{\parindent}{0pt}
22 %% Set section numbering depth.
23 \setcounter{secnumdepth}{0}
25 %% Set up headers and footers.
29 \renewcommand{\headrulewidth}{0.0pt}
30 \renewcommand{\footrulewidth}{0.0pt}
32 %% Add page break before each section.
33 \newcommand{\sectionbreak}{\clearpage}
35 %% Revert to original table of contents.
37 \renewcommand{\tableofcontents}{\py@OldTableofcontents}
44 \textbf{\Huge ${title}}\par
46 \textbf{\LARGE ${author}}\par
48 \includegraphics[width=\textwidth]{${image}}\par
50 \textit{\large ${edition}}\par
52 \textbf{\large ${extra}}\par
60 \fancyfoot[C]{\pagefoot}
63 Authors: ${author}\par
66 Cover: \textit{${imagetitle}} ${imageinfo}
74 \fancyfoot[C]{\pagefoot}
80 \fancyfoot[C]{\pagefoot}
81 \pagenumbering{arabic}
82 \renewcommand\thepage{\arabic{page}}
86 %% Start the main chapter text.
88 \setcounter{secnumdepth}{1}
91 %% Start the appendices
93 \setcounter{secnumdepth}{0}
96 %% Disable standard title (but keep PDF info).
97 \renewcommand{\maketitle}{
100 % These \defs are required to deal with multi-line authors; it
101 % changes \\ to ', ' (comma-space), making it pass muster for
102 % generating document info in the PDF file.
113 %% Fix up index and references.
116 \renewcommand{\theindex}{
120 \addcontentsline{toc}{section}{Index}
123 \renewcommand{\thebibliography}[1]{
126 \py@OldThebibliography{1}
127 \addcontentsline{toc}{section}{References}
132 %% For picture alphabet drop caps
133 \newcommand{\dropcap}[1]{\lettrine[lines=3]{\ECFAPicture{\fontsize{50}{60}\selectfont #1}\normalfont}{}}