1 | %% ============================================================================== |
---|
2 | %% Reference Manual |
---|
3 | %% ============================================================================== |
---|
4 | |
---|
5 | %% NEMO release version |
---|
6 | \def\version{X.X~} |
---|
7 | |
---|
8 | %% Preamble |
---|
9 | %% ============================================================================== |
---|
10 | |
---|
11 | %% Document layout |
---|
12 | \documentclass[draft]{scrreport} |
---|
13 | |
---|
14 | %% Custom style (.sty) |
---|
15 | \usepackage{../../global/packages} |
---|
16 | |
---|
17 | %% Engine name and Zenodo DOI |
---|
18 | \input{definitions} |
---|
19 | |
---|
20 | %% Include references and index for single subfile compilation |
---|
21 | \newcommand{\biblio}{\bibliography{../main/bibliography}} |
---|
22 | \newcommand{\pindex}{\printindex} |
---|
23 | |
---|
24 | \makeindex |
---|
25 | |
---|
26 | %% End of common preamble between main and sub-files |
---|
27 | \begin{document} |
---|
28 | \pagenumbering{gobble} |
---|
29 | |
---|
30 | %% Override custom cmds for full manual compilation |
---|
31 | \renewcommand{\biblio}{} |
---|
32 | \renewcommand{\pindex}{} |
---|
33 | |
---|
34 | |
---|
35 | %% Frontmatter |
---|
36 | %% ============================================================================== |
---|
37 | |
---|
38 | %% Title and information pages |
---|
39 | \input{../../global/frontpages} |
---|
40 | |
---|
41 | %% Engine citation |
---|
42 | \input{../../global/citation} |
---|
43 | |
---|
44 | %% Foreword |
---|
45 | \newpage |
---|
46 | %\frontmatter %% Chapter numbering off and Roman numerals for page numbers |
---|
47 | \pagenumbering{roman} |
---|
48 | \subfile{../subfiles/foreword} |
---|
49 | |
---|
50 | %% ToC i.e. Table of Contents |
---|
51 | \newpage |
---|
52 | \dominitoc\tableofcontents |
---|
53 | |
---|
54 | \clearpage |
---|
55 | %\end{document} |
---|
56 | |
---|
57 | |
---|
58 | %% Mainmatter |
---|
59 | %% ============================================================================== |
---|
60 | |
---|
61 | %\mainmatter %% Chapter numbering on, page numbering is reset with Arabic numerals |
---|
62 | \pagenumbering{arabic} |
---|
63 | |
---|
64 | \graphicspath{{../../figures/\engine/}} |
---|
65 | \input{chapters} |
---|
66 | |
---|
67 | |
---|
68 | %% Appendix |
---|
69 | %% ============================================================================== |
---|
70 | |
---|
71 | %% Chapter numbering is reset with letters now |
---|
72 | \appendix |
---|
73 | |
---|
74 | \input{appendices} |
---|
75 | |
---|
76 | |
---|
77 | %% Backmatter |
---|
78 | %% ============================================================================== |
---|
79 | |
---|
80 | %\backmatter %% Chapter numbering off |
---|
81 | |
---|
82 | %% Bibliography |
---|
83 | \phantomsection\addcontentsline{toc}{chapter}{Bibliography} |
---|
84 | \bibliography{../main/bibliography} |
---|
85 | |
---|
86 | %% Index |
---|
87 | \clearpage |
---|
88 | \phantomsection\addcontentsline{toc}{chapter}{Index} |
---|
89 | \printindex |
---|
90 | |
---|
91 | \end{document} |
---|