New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
document.tex in NEMO/trunk/doc/latex/global – NEMO

source: NEMO/trunk/doc/latex/global/document.tex

Last change on this file was 14527, checked in by nicolasmartin, 3 years ago

Various minor changes

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