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/branches/2020/dev_r13787_doc_latex_recovery/doc/latex/global – NEMO

source: NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc/latex/global/document.tex @ 13846

Last change on this file since 13846 was 13841, checked in by nicolasmartin, 4 years ago

Return to the state just before the confusing commit of the mid-year merge

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