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_book.tex in branches/DEV_r2191_3partymerge2010/DOC – NEMO

source: branches/DEV_r2191_3partymerge2010/DOC/NEMO_book.tex @ 2205

Last change on this file since 2205 was 2205, checked in by acc, 14 years ago

#733 DEV_r2191_3partymerge2010. Merged in changes from DEV_r1924_nocs_latphys

  • Property svn:executable set to *
File size: 10.5 KB
Line 
1%description: Book template
2
3% template of document for LaTeX
4% (C) Xavier Perseguers 2002 - xavier.perseguers@epfl.ch
5
6\documentclass[a4paper,12pt]{book}
7
8%  makeindex NEMO_book     <== to regenerate the index
9%  bibtex         NEMO_book   <== to generate  the bibliography
10
11% ================================================================
12% HEADERS DEFINITION
13% ================================================================
14
15\usepackage[french]{babel}
16\usepackage{fancyhdr}
17
18\usepackage{alltt}      %%  alltt for namelist
19\usepackage{verbatim}   %%  alltt for namelist
20
21%hyperref  ===>>>  don't work.....
22%\usepackage[a4paper=true,ps2pdf=true,pagebackref=true,breaklinks=true]{hyperref}
23\usepackage[%
24  pdftitle={NEMO ocean engine},%
25  pdfauthor={Gurvan Madec},% pdfsubject={The preprint document class
26                           % elsart},% pdfkeywords={diapycnal diffusion,numerical mixing,z-level models},%
27  pdfstartview=FitH,%
28  bookmarks=true,%
29  bookmarksopen=true,%
30  breaklinks=true,%
31  colorlinks=true,%
32  linkcolor=blue,anchorcolor=blue,%
33  citecolor=blue,filecolor=blue,%
34  menucolor=blue,pagecolor=blue,%
35  urlcolor=blue]{hyperref}
36
37%\usepackage{amssymb}
38\pagestyle{fancy}
39% with this we ensure that the chapter and section
40% headings are in lowercase.
41\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
42\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
43\fancyhf{}             % delete current setting for header and footer
44\fancyhead[LE,RO]{\bfseries\thepage}
45\fancyhead[LO]{\bfseries\hspace{-0em}\rightmark}
46\fancyhead[RE]{\bfseries\leftmark}
47\renewcommand{\headrulewidth}{0.5pt}
48\renewcommand{\footrulewidth}{0pt}
49\addtolength{\headheight}{2.6pt}   % make space for the rule
50%\addtolength{\headheight}{1.6pt}   % make space for the rule
51\fancypagestyle{plain}{
52  \fancyhead{}         % get rid of headers on plain pages
53  \renewcommand{\headrulewidth}{0pt}  % and the line
54}
55
56% Leave blank pages completely empty, w/o header
57\makeatletter
58\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
59  \hbox{}
60  \vspace*{\fill}
61  \vspace{\fill}
62  \thispagestyle{empty}
63  \newpage
64  \if@twocolumn\hbox{}\newpage\fi\fi\fi}
65\makeatother
66
67\usepackage{makeidx}
68
69\usepackage{minitoc}          %in french : \usepackage[french]{minitoc}
70
71%\usepackage{mtcoff}          % invalidate the use of minitocs
72\usepackage[latin1]{inputenc}
73\usepackage{times}               % use vector fonts instead of bitmap
74\usepackage{fancybox}
75\usepackage[table]{xcolor}
76
77%%%% add by Word2Tex
78%\documentclass{amsart}
79\usepackage{latexsym}
80\usepackage{amssymb}
81\usepackage{amsmath}
82\usepackage{graphicx}
83%%%%
84
85%%%%
86%\usepackage{mathtime}      % font for illustrator to work (belleek fonts )
87%%%%
88
89%\usepackage{showidx}            % show the index entry
90
91
92
93%%%% define the style of title for chapter  %%%
94\makeatletter
95\def\LigneVerticale{\vrule height 5cm depth 2cm\hspace{0.1cm}\relax}
96\def\LignesVerticales{%
97  \let\LV\LigneVerticale\LV\LV\LV\LV\LV\LV\LV\LV\LV\LV}
98\def\GrosCarreAvecUnChiffre#1{%
99  \rlap{\vrule height 0.8cm width 1cm depth 0.2cm}%
100  \rlap{\hbox to 1cm{\hss\mbox{\textcolor{white} {#1}}\hss}}%
101  \vrule height 0pt width 1cm depth 0pt}
102\def\GrosCarreAvecTroisChiffre#1{%
103  \rlap{\vrule height 0.8cm width 1.6cm depth 0.2cm}%
104  \rlap{\hbox to 1.5cm{\hss\mbox{\textcolor{white} {#1}}\hss}}%
105  \vrule height 0pt width 1cm depth 0pt}
106
107\def\@makechapterhead#1{\hbox{%
108    \huge 
109    \LignesVerticales
110    \hspace{-0.5cm}%
111    \GrosCarreAvecUnChiffre{\thechapter}
112    \hspace{0.2cm}\hbox{#1}%
113%    \GrosCarreAvecTroisChiffre{\thechapter}
114%    \hspace{1cm}\hbox{#1}%
115%}\par\vskip 2cm}
116}\par\vskip 1cm}
117\def\@makeschapterhead#1{\hbox{%
118    \huge 
119    \LignesVerticales
120    %\hspace{0.5cm}%
121    \hbox{#1}%
122}\par\vskip 2cm}
123
124%\def\thechapter{\Roman{chapter}}      % chapter number to be Roman
125
126%%%% end style chapter %%%
127
128%%% eqution shortcut:
129\newcommand{\vect} [1] { \rm{\textbf{#1}} }    % vector style:
130                                % non-italic bold
131%% agn use maths shortcuts
132\usepackage{math_abbrev}
133
134%%% essai commande
135\newcommand{\nl} [1] {\texttt{\small {\textcolor{blue}{#1}} } } 
136
137%essai commande 
138\newcommand{\mdl} [1] {\textit{#1.F90}\index{Modules!#1}}         %module (mdl)
139\newcommand{\rou} [1] {\textit{#1}\index{Routines!#1}}         %module (routine)
140\newcommand{\hf} [1] {\textit{#1.h90}\index{h90 file!#1}}         %module (h90 files)
141\newcommand{\np} [1] {\textit{#1}\index{Namelist parameters!#1}}%namelist parameter (nampar)
142\newcommand{\jp} [1] {\textit{#1}\index{Model parameters!#1}}%model parameter (jp)
143\newcommand{\pp} [1] {\textit{#1}\index{Model parameters!#1}}%namelist parameter (pp)
144\newcommand{\key} [1] {\textbf{key\_#1}\index{CPP keys!key\_#1}}  %key_cpp (key)
145\newcommand{\NEMO} {\textit{NEMO }}                %NEMO (nemo)
146\newcommand{\amtcomment}[1]{#1}     % command to allow "commented out" portions of
147\newcommand{\gmcomment}[1]{}     % command to allow "commented out" portions of
148%                                               % text that span line breaks
149
150%--------------------------------------------namlist---------------------------------------------------------
151\newcommand{\namdisplay} [1] {\begin{alltt}  {{\tiny \verbatiminput{./TexFiles/Namelist/#1}}}  \end{alltt}  \vspace{-10pt} }
152%---------------------------------------------------------------------------------------------------------
153
154%Red (NR) or Yellow(WARN)
155%\newcommand{\NR} {\colorbox{red}{#1}}
156%\newcommand{\WARN} {{ \colorbox{yellow}{#1}} }
157
158%---------------------%%%%%  Section number in Margin  %%%%%-----------------------------
159% typeset the number of each section in the left margin, with the start of each instance of
160% sectional heading text aligned with the left hand edge of  the body text.
161\makeatletter 
162\def\@seccntformat#1{\protect\makebox[0pt][r]{\csname the#1\endcsname\quad}} 
163\makeatother 
164%--------------------------------------------------------------------------------------------------------------
165
166%----------------------------%%%%%   Bilbiography   %%%%%%-------------------------------%
167\usepackage[nottoc, notlof, notlot]{tocbibind}
168\usepackage[square, comma]{natbib}
169\bibpunct{[}{]}{,}{a}{}{;}                           %suppress "," after "et al."
170\providecommand{\bibfont}{\small}
171%--------------------------------------------------------------------------------------------------------------
172
173% ================================================================
174% FRONT PAGE
175% ================================================================
176
177\title{ 
178\includegraphics[width=0.2\textwidth]{./TexFiles/Figures/logo_CNRS} 
179\quad
180\includegraphics[width=0.2\textwidth]{./TexFiles/Figures/logo_MERCATOR} 
181\quad
182\includegraphics[width=0.1\textwidth]{./TexFiles/Figures/logo_UKMO} 
183\quad
184\includegraphics[width=0.2\textwidth]{./TexFiles/Figures/logo_NERC} \\
185\vspace{3.0cm}
186\includegraphics[width=0.3\textwidth]{./TexFiles/Figures/NEMO_logo_Black} \\
187\vspace{1.0cm}
188\rule{345pt}{1.5pt} \\
189\vspace{0.45cm}
190 {\Huge NEMO ocean engine} 
191\rule{345pt}{1.5pt} \\ 
192%{\small NEMO v2.3} \\
193{\small  -- version 3.1 --}   }
194%{ -- Draft --}   }
195%\date{\today}
196\date{
197May 2008  \\
198\textit{\small Note du P\^ole de mod\'{e}lisation de l'Institut Pierre-Simon Laplace No 27 }\\
199\vspace{0.45cm}
200{ ISSN No 1288-1619.}
201}
202
203
204%%\includegraphics[width=0.2\textwidth]{./TexFiles/Figures/logo_NERC} \\
205
206%%    \hbox{\mbox{%
207%%       \hspace{4pt}%
208%%         \fbox{\includegraphics[width=3em]{./TexFiles/Figures/logo_CNRS}}%
209%%        \hspace{4pt}
210%%        }  }%
211
212\author{ \Large Gurvan Madec \\
213 \texttt{\small gurvan.madec@locean-ipsl.umpc.fr} \\
214{\small Laboratoire d'Oc\'{e}anographie  et du Climat: Exp\'{e}rimentation et Approches Num\'{e}riques}
215}
216
217\dominitoc
218\makeindex        %type this first :     makeindex -s NEMO.ist NEMO_book.idx
219
220% ================================================================
221% ================================================================
222%      Include ONLY order
223% ================================================================
224
225%\includeonly{}
226%\includeonly{./TexFiles/Chapters/Chap_MISC}
227%\includeonly{./TexFiles/Chapters/Annex_ISO}
228%\includeonly{./TexFiles/Chapters/Annex_E}
229%\includeonly{./TexFiles/Chapters/Chap_LBC,./TexFiles/Chapters/Chap_MISC}
230%\includeonly{./TexFiles/Chapters/Chap_Model_Basics_zstar}
231%\includeonly{./TexFiles/Chapters/Annex_A,./TexFiles/Chapters/Annex_B,./TexFiles/Chapters/Annex_C,./TexFiles/Chapters/Annex_D}
232
233% ================================================================
234% ================================================================
235\begin{document}
236
237\maketitle                 % generate the title
238
239\frontmatter
240
241\tableofcontents              % generate a table of content
242%\listoffigures               % generate a table of content
243%\listoftables             % generate a table of content
244
245\mainmatter
246
247% ================================================================
248% Abstract - Foreword
249% ================================================================
250
251\include{./TexFiles/Chapters/Abstracts_Foreword}
252
253% ================================================================
254% INTRODUCTION
255% ================================================================
256
257\include{./TexFiles/Chapters/Introduction}
258
259% ================================================================
260% CHAPTERS
261% ================================================================
262
263\include{./TexFiles/Chapters/Chap_Model_Basics}
264
265%\include{./TexFiles/Chapters/Chap_Model_Basics_zstar}   % attent to describe z*-s*
266
267\include{./TexFiles/Chapters/Chap_DOM}
268
269\include{./TexFiles/Chapters/Chap_TRA}
270
271\include{./TexFiles/Chapters/Chap_DYN}
272
273\include{./TexFiles/Chapters/Chap_SBC}
274
275\include{./TexFiles/Chapters/Chap_LBC}
276
277\include{./TexFiles/Chapters/Chap_LDF}
278
279\include{./TexFiles/Chapters/Chap_ZDF}
280
281\include{./TexFiles/Chapters/Chap_MISC}
282
283% ================================================================
284% APPENDIX
285% ================================================================
286
287\appendix
288
289%\include{./TexFiles/Chapters/Chap_Conservation}
290\include{./TexFiles/Chapters/Annex_A}
291\include{./TexFiles/Chapters/Annex_B}
292\include{./TexFiles/Chapters/Annex_C}
293%\include{./TexFiles/Chapters/Annex_D}
294%\include{./TexFiles/Chapters/Annex_E}
295\include{./TexFiles/Chapters/Annex_ISO}
296
297% ================================================================
298% INDEX
299% ================================================================
300
301\addcontentsline{toc}{chapter}{Index}
302\printindex
303
304% ================================================================
305% BIBLIOGRAPHY
306% ================================================================
307
308%%\bibliographystyle{plainat}
309\bibliographystyle{./TexFiles/ametsoc}       % AMS biblio style (JPO)
310\bibliography{./TexFiles/Biblio/Biblio}
311
312% ================================================================
313\end{document}
314
315%%% Local Variables:
316%%% TeX-PDF-mode: t
317%%% End:
Note: See TracBrowser for help on using the repository browser.