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.
NEMO_manual.tex in NEMO/trunk/doc/latex/NEMO/main – NEMO

source: NEMO/trunk/doc/latex/NEMO/main/NEMO_manual.tex @ 11151

Last change on this file since 11151 was 11151, checked in by nicolasmartin, 5 years ago

New version of NEMO_manual.tex
New class scrreport for the document (KOMA-script version of default report)
Foreword is now placed before ToC.
All figures are configured with 1.0\textwidth as default.
For compatibilty, \frontmatter, \mainmatter and \backmatter cmds have been removed and old fonts in LaTeX subfiles have been replaced

  • \bf -> \mathbf or \bfseries
  • \it -> \itshape
  • \rm -> \mathrm or \rmfamily
  • \tt -> \ttfamily
File size: 3.9 KB
Line 
1%% ==============================================================================
2%% NEMO Reference Manual
3%% ==============================================================================
4
5
6%% Preamble
7%% ==============================================================================
8
9%% Document layout
10\documentclass[draft]{scrreport}
11
12%% Custom style (.sty)
13\usepackage{../../global/packages}
14\hypersetup{
15  pdftitle={NEMO ocean engine},
16  pdfauthor={Gurvan Madec and NEMO System Team},
17  colorlinks
18}
19
20%% Include references and index for single subfile compilation
21\newcommand{\biblio}{\bibliography{../main/NEMO_manual}}
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{NEMO ocean engine}
39\author{Gurvan Madec \and NEMO System Team\thanks{
40    TBD
41  }
42}
43\date{\today}
44
45%% Title and information pages
46\input{../../global/frontpages}
47
48%% Citation embedded
49\textsf{
50``{\bfseries NEMO ocean engine}'',
51Madec Gurvan and NEMO System Team,
52{\em Scientific Notes of Climate Modelling Center (27)}, ISSN 1288-1619,
53Institut Pierre-Simon Laplace (IPSL),
54}
55
56\newpage
57%\frontmatter   %% Chapter numbering off and Roman numerals for page numbers
58\pagenumbering{roman}
59
60\subfile{../subfiles/foreword}            %% Foreword
61
62
63%% ToC i.e. Table of Contents
64\newpage
65\dominitoc
66\tableofcontents
67
68\clearpage
69%\end{document}
70
71%% Mainmatter
72%% ==============================================================================
73
74%\mainmatter   %% Chapter numbering on, page numbering is reset with Arabic numerals
75\pagenumbering{arabic}
76
77\graphicspath{{../../figures/NEMO/}}
78
79\subfile{../subfiles/introduction}        %% Introduction
80
81%% Chapters
82\subfile{../subfiles/chap_model_basics}
83\subfile{../subfiles/chap_time_domain}    %% Time discretisation (time stepping strategy)
84\subfile{../subfiles/chap_DOM}            %% Space discretisation
85\subfile{../subfiles/chap_TRA}            %% Tracer advection/diffusion equation
86\subfile{../subfiles/chap_DYN}            %% Dynamics : momentum equation
87\subfile{../subfiles/chap_SBC}            %% Surface Boundary Conditions
88\subfile{../subfiles/chap_LBC}            %% Lateral Boundary Conditions
89\subfile{../subfiles/chap_LDF}            %% Lateral diffusion
90\subfile{../subfiles/chap_ZDF}            %% Vertical diffusion
91\subfile{../subfiles/chap_DIA}            %% Outputs and Diagnostics
92\subfile{../subfiles/chap_OBS}            %% Observation operator
93\subfile{../subfiles/chap_ASM}            %% Assimilation increments
94\subfile{../subfiles/chap_STO}            %% Stochastic param.
95\subfile{../subfiles/chap_misc}           %% Miscellaneous topics
96\subfile{../subfiles/chap_CONFIG}         %% Predefined configurations
97
98%% Appendix
99%% ==============================================================================
100
101\appendix   % Chapter numbering is reset with letters now
102
103\subfile{../subfiles/annex_A}             %% Generalised vertical coordinate
104\subfile{../subfiles/annex_B}             %% Diffusive operator
105\subfile{../subfiles/annex_C}             %% Discrete invariants of the eqs.
106\subfile{../subfiles/annex_iso}            %% Isoneutral diffusion using triads
107\subfile{../subfiles/annex_D}             %% Coding rules
108
109%% Not included
110%\subfile{../subfiles/chap_model_basics_zstar}
111%\subfile{../subfiles/chap_DIU}
112%\subfile{../subfiles/chap_conservation}
113%\subfile{../subfiles/annex_E}            %% Notes on some on going staff
114
115%% Backmatter
116%% ==============================================================================
117
118%\backmatter   %% Chapter numbering off
119
120%% Bibliography
121\phantomsection
122\addcontentsline{toc}{chapter}{Bibliography}
123\bibliography{../main/NEMO_manual}
124
125%% Index
126\clearpage
127\phantomsection
128\addcontentsline{toc}{chapter}{Index}
129\printindex
130
131\end{document}
Note: See TracBrowser for help on using the repository browser.