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

Last change on this file since 11693 was 11693, checked in by nicolasmartin, 12 months ago

Macros renaming

File size: 2.2 KB
Line 
1
2%% =================================================================================================
3%% Template structure for reference manuals
4%% =================================================================================================
5
6%% NEMO release version
7\def \version{trunk}
8
9%% Preamble
10%% =================================================================================================
11
12%% Document layout
13\documentclass[fontsize = 10pt, twoside, abstract]{scrreprt}
14
15%% Load manual configuration
16\input{../../global/prologue}
17
18%% End of common preamble between main and sub-files
19%% Override custom cmds for full manual compilation
20\newcommand{\subinc}[1]{#1}
21\newcommand{\subexc}[1]{}
22
23\begin{document}
24
25\renewcommand{\subinc}[1]{}
26\renewcommand{\subexc}[1]{#1}
27
28
29%% Frontmatter
30%% =================================================================================================
31
32\pagenumbering{gobble}   %% Disable page numbering temporarily
33
34%% Title page
35\input{../../global/frontpage}
36
37%% Footer for introductory parts (no header by cleaning default)
38\ofoot[]{\engine\ Reference Manual} \ifoot[]{\pagemark}
39
40%% Information page (2nd page)
41\input{../../global/info_page}
42
43\listoffigures
44\listoflistings
45\listoftables
46
47\clearpage
48
49\pagenumbering{roman}
50\ofoot[]{\engine\ Reference Manual} \ifoot[]{\pagemark}
51
52\input{introduction}
53
54%% Table of Contents
55\tableofcontents
56
57\clearpage
58
59
60%% Mainmatter
61%% =================================================================================================
62
63%% Headings for document body
64\pagenumbering{arabic}
65\lohead{Chap.\ \thechapter\ \leftmark} \rehead{Sect.\ \thesection\ \rightmark}
66\ifoot[]{Page\ \pagemark\ of \pageref*{LastPage}}
67
68\include{chapters}
69
70
71%% Appendix
72%% =================================================================================================
73
74\appendix   %% Chapter numbering with letters by now
75\lohead{Apdx\ \thechapter\ \leftmark}
76\include{appendices}
77
78%% Append coding rules for every manual
79\input{../../global/coding_rules}
80
81
82%% Backmatter
83%% =================================================================================================
84
85%% Bibliography and indexes
86\input{../../global/epilogue}
87
88\end{document}
Note: See TracBrowser for help on using the repository browser.