Changeset 14257 for NEMO/trunk/doc/latex/global/document.tex
- Timestamp:
- 2021-01-04T16:13:36+01:00 (3 years ago)
- Location:
- NEMO/trunk/doc/latex/global
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/global
-
Property
svn:ignore
set to
*.aux
*.bbl
*.blg
*.fdb*
*.fls
*.idx
*.ilg
*.ind
*.lo*
*.out
*.toc
*.xdv
cache*
-
Property
svn:ignore
set to
-
NEMO/trunk/doc/latex/global/document.tex
r14113 r14257 1 2 1 %% ================================================================================================= 3 %% Template structure for reference manuals2 %% Manual structure 4 3 %% ================================================================================================= 5 4 6 %% NEMO release version 7 \def \version{trunk} 8 9 %% Preamble 5 %% Preamble: global configuration 10 6 %% ================================================================================================= 11 7 12 %% Document layout 13 \documentclass[fontsize = 10pt, twoside, abstract]{scrreprt} 8 %% Layout 9 %\documentclass[fontsize=10pt,twoside,abstract,draft]{scrreprt} 10 \documentclass[fontsize=10pt,twoside,abstract ]{scrreprt} 14 11 15 %% Load manual configuration16 \input{../../global/pr ologue}12 %% Overall configuration 13 \input{../../global/preamble} 17 14 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]{} 15 %% Special cmds around to {in,ex}clude content only in subfile 16 \newcommand{\subinc}[1]{#1} 17 \newcommand{\subexc}[1]{ } 22 18 23 19 \begin{document} 24 20 25 \renewcommand{\subinc}[1]{ }21 \renewcommand{\subinc}[1]{ } 26 22 \renewcommand{\subexc}[1]{#1} 27 23 28 29 %% Frontmatter24 %% Frontmatter: covers 25 %% ({sub}title, DOI, authors, abstract and color theme are specific to each manual) 30 26 %% ================================================================================================= 31 27 28 %\frontmatter %% Not recognized in 'scrreprt' document class 32 29 \pagenumbering{gobble} %% Disable page numbering temporarily 30 \pagestyle{empty} 33 31 34 %% Title page35 32 \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 33 \input{../../global/info_page} 42 34 35 \cleardoublepage 36 37 \pagenumbering{Roman} %% Reactivate page numbering (uppercase roman numbers) 38 \pagestyle{plain} 39 %\lastpageref{pagesLTS.0} 40 41 \tableofcontents 43 42 \listoffigures 44 43 \listoflistings 45 44 \listoftables 45 %\listoftodos 46 %\lastpageref{pagesLTS.Roman} 46 47 47 \clear page48 \cleardoublepage 48 49 49 \pagenumbering{roman} 50 \ofoot[]{\engine\ Reference Manual} \ifoot[]{\pagemark} 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} 51 56 52 57 \input{introduction} 53 58 54 %% Table of Contents 55 \tableofcontents 59 \cleardoublepage 56 60 57 \clearpage 61 \pagestyle{scrheadings} 62 \renewcommand{\chapterpagestyle}{empty} 58 63 64 \input{chapters} 59 65 60 %% Mainmatter66 %% Appendix: subordinate chapters 61 67 %% ================================================================================================= 62 68 63 %% Headings for document body 64 \pagenumbering{arabic} 65 \lohead{Chap.\ \thechapter\ \leftmark} \rehead{Sect.\ \thesection\ \rightmark} 66 \ifoot[]{Page\ \pagemark\ of \pageref*{LastPage}} 69 \appendix %% Chapter numbering with letters by now 70 \lohead{Apdx \thechapter\ \leftmark} 67 71 68 \in clude{chapters}72 \input{appendices} 69 73 74 \input{../../global/coding_rules} %% Add coding rules on every manual 70 75 71 %% Appendix 76 %\lastpageref{pagesLTS.arabic} 77 \cleardoublepage 78 79 %% Backmatter: bibliography, glossaries and indices 72 80 %% ================================================================================================= 73 81 74 \appendix %% Chapter numbering with letters by now 75 \ lohead{Apdx\ \thechapter\ \leftmark}76 \ include{appendices}82 %\backmatter %% Not recognized in 'scrreprt' document class 83 \pagenumbering{roman} %% Lowercase roman numbers 84 \pagestyle{plain} 77 85 78 %% Append coding rules for every manual79 \input{../../global/coding_rules}80 81 82 %% Backmatter83 %% =================================================================================================84 85 %% Bibliography and indexes86 86 \input{../../global/epilogue} 87 87 88 %\lastpageref{pagesLTS.roman} 89 88 90 \end{document}
Note: See TracChangeset
for help on using the changeset viewer.