Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
%% =================================================================================================
%% Manual structure
%% =================================================================================================
%% Preamble: global configuration
%% =================================================================================================
%% Layout
\documentclass[fontsize=10pt,twoside,abstract,draft]{scrreprt}
%% Overall configuration
\input{../../global/preamble}
%% Special cmds around to {in,ex}clude content only in subfile
\newcommand{\subinc}[1]{#1}
\newcommand{\subexc}[1]{ }
\begin{document}
\renewcommand{\subinc}[1]{ }
\renewcommand{\subexc}[1]{#1}
%% Frontmatter: covers
%% ({sub}title, DOI, authors, abstract and color theme are specific to each manual)
%% =================================================================================================
%\frontmatter %% Not recognized in 'scrreprt' document class
\pagenumbering{gobble} %% Disable page numbering temporarily
\pagestyle{empty}
\input{../../global/frontpage}
\input{../../global/info_page}
\cleardoublepage
\pagenumbering{Roman} %% Reactivate page numbering (uppercase roman numbers)
\pagestyle{plain}
\tableofcontents
\listoffigures
\listoflistings
\listoftables
%\listoftodos
\cleardoublepage
%% Mainmatter: toc, lists, introduction and primary chapters
%% =================================================================================================
%\mainmatter %% Not recognized in 'scrreprt' document class
\pagenumbering{arabic} %% Standard page numbering
\pagestyle{plain}
\input{introduction}
\cleardoublepage
\pagestyle{scrheadings}
\renewcommand{\chapterpagestyle}{empty}
\input{chapters}
%% Appendix: subordinate chapters
%% =================================================================================================
\appendix %% Chapter numbering with letters by now
\lohead{Apdx \thechapter\ \leftmark}
\input{appendices}
\input{../../global/coding_rules} %% Add coding rules on every manual

Tomas Lovato
committed
\label{manuallastpage}
\cleardoublepage
%% Backmatter: bibliography, glossaries and indices
%% =================================================================================================
%\backmatter %% Not recognized in 'scrreprt' document class
\pagenumbering{roman} %% Lowercase roman numbers
\pagestyle{plain}
\input{../../global/epilogue}
\end{document}