Changeset 3294 for trunk/DOC/NEMO_book.tex
- Timestamp:
- 2012-01-28T17:44:18+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DOC/NEMO_book.tex
- Property svn:executable deleted
r2541 r3294 4 4 % (C) Xavier Perseguers 2002 - xavier.perseguers@epfl.ch 5 5 6 \documentclass[a4paper,12pt]{book} 6 \documentclass[a4paper,11pt]{book} 7 %\documentclass[a4paper,11pt,makeidx]{book} <== may need this to generate index 7 8 8 9 % makeindex NEMO_book <== to regenerate the index … … 14 15 15 16 \usepackage[french]{babel} 16 \usepackage{fancyhdr} 17 18 \usepackage{alltt} %% alltt for namelist 19 \usepackage{verbatim} %% alltt for namelist 20 21 %hyperref 17 %\usepackage{color} 18 \usepackage{xcolor} 19 %\usepackage{graphics} % allows insertion of pictures 20 \usepackage{graphicx} % allows insertion of pictures 21 \usepackage[capbesideposition={top,center}]{floatrow} % allows captions 22 \floatsetup[table]{style=plaintop} % beside pictures 23 \usepackage[margin=10pt,font={small},labelsep=colon,labelfont={bf}]{caption} % Gives small font for captions 24 \usepackage{enumitem} % allows non-bold description items 25 %\usepackage{colortbl} % gives coloured panels behind table columns 26 27 %hyperref 22 28 \usepackage[ % 23 29 pdftitle={NEMO ocean engine}, % … … 31 37 linkcolor=blue,anchorcolor=blue, % 32 38 citecolor=blue,filecolor=blue, % 33 menucolor=blue,pagecolor=blue,%39 menucolor=blue, % 34 40 urlcolor=blue]{hyperref} 35 41 % usage of exteranl hyperlink : \href{mailto:my_address@wikibooks.org}{my\_address@wikibooks.org} … … 39 45 40 46 41 42 %\usepackage{amssymb}47 %%%% page styles etc................ 48 \usepackage{fancyhdr} 43 49 \pagestyle{fancy} 44 50 % with this we ensure that the chapter and section … … 59 65 } 60 66 67 68 %%%% Section number in Margin....... 69 % typeset the number of each section in the left margin, with the start of each instance of 70 % sectional heading text aligned with the left hand edge of the body text. 71 \makeatletter 72 \def\@seccntformat#1{\protect\makebox[0pt][r]{\csname the#1\endcsname\quad}} 73 \makeatother 74 61 75 % Leave blank pages completely empty, w/o header 62 76 \makeatletter … … 70 84 \makeatother 71 85 72 \usepackage{makeidx} 73 74 \usepackage{minitoc} %in french : \usepackage[french]{minitoc} 75 86 %%%% define the chapter style ................ 87 \usepackage{minitoc} %In French : \usepackage[french]{minitoc} 76 88 %\usepackage{mtcoff} % invalidate the use of minitocs 77 \usepackage[latin1]{inputenc}78 \usepackage{graphics} % allows insertion of pictures79 \usepackage{times} % use vector fonts instead of bitmap80 89 \usepackage{fancybox} 81 \usepackage{graphicx} 82 %\usepackage{color} 83 %\usepackage{colortbl} 84 85 %%%% add by Word2Tex 86 %\documentclass{amsart} 87 \usepackage{latexsym} 88 \usepackage{amssymb} 89 \usepackage{amsmath} 90 \usepackage{graphicx} 91 \allowdisplaybreaks[1] % allow page breaks in the middle of equations 92 %%%% 93 94 %%%% 95 %\usepackage{mathtime} % font for illustrator to work (belleek fonts ) 96 %%%% 97 98 %\usepackage{showidx} % show the index entry 99 100 101 102 %%%% define the style of title for chapter %%% 103 \usepackage{pstricks} 90 104 91 \makeatletter 105 92 \def\LigneVerticale{\vrule height 5cm depth 2cm\hspace{0.1cm}\relax} … … 108 95 \def\GrosCarreAvecUnChiffre#1{% 109 96 \rlap{\vrule height 0.8cm width 1cm depth 0.2cm}% 110 \rlap{\hbox to 1cm{\hss\mbox{\white#1}\hss}}%97 \rlap{\hbox to 1cm{\hss\mbox{\color{white} #1}\hss}}% 111 98 \vrule height 0pt width 1cm depth 0pt} 112 99 \def\GrosCarreAvecTroisChiffre#1{% 113 100 \rlap{\vrule height 0.8cm width 1.6cm depth 0.2cm}% 114 \rlap{\hbox to 1.5cm{\hss\mbox{\white#1}\hss}}%101 \rlap{\hbox to 1.5cm{\hss\mbox{\color{white} #1}\hss}}% 115 102 \vrule height 0pt width 1cm depth 0pt} 116 103 117 104 \def\@makechapterhead#1{\hbox{% 118 \huge105 \huge 119 106 \LignesVerticales 120 107 \hspace{-0.5cm}% … … 126 113 }\par\vskip 1cm} 127 114 \def\@makeschapterhead#1{\hbox{% 128 \huge115 \huge 129 116 \LignesVerticales 130 117 %\hspace{0.5cm}% 131 118 \hbox{#1}% 132 119 }\par\vskip 2cm} 120 \makeatother 133 121 134 122 %\def\thechapter{\Roman{chapter}} % chapter number to be Roman 135 123 136 %%%% end style chapter %%% 137 138 %%% use maths shortcuts : 139 %\newcommand{\vect} [1] { \rm{\textbf{#1}} } % vector style: non-italic bold 140 \usepackage{./TexFiles/math_abbrev} 124 125 %%%% Mathematics............... 126 %\documentclass{amsart} 127 \usepackage{xspace} % helpd ensure correct spacing after macros 128 \usepackage{latexsym} 129 \usepackage{amssymb} 130 \usepackage{amsmath} 131 \allowdisplaybreaks[1] % allow page breaks in the middle of equations 132 \usepackage{./TexFiles/math_abbrev} % use maths shortcuts 133 134 135 \usepackage{times} % use times font for text 136 %\usepackage{mathtime} % font for illustrator to work (belleek fonts ) 137 %\usepackage[latin1]{inputenc} % allows some unicode removed (agn) 141 138 142 139 143 140 %%% essai commande 144 \newcommand{\nl} [1] {\texttt{\small {\textcolor{blue}{#1}} } } 145 146 %%% index commands : 141 \newcommand{\nl} [1] {\texttt{\small {\textcolor{blue}{#1}} } } 142 \newcommand{\nlv} [1] {\texttt{\footnotesize#1}\xspace} 143 \newcommand{\smnlv} [1] {\texttt{\scriptsize#1}\xspace} 144 145 %%%% namelist & code display................................ 146 \usepackage{alltt} %% alltt for namelist 147 \usepackage{verbatim} %% alltt for namelist 148 % namelists 149 \newcommand{\namdisplay} [1] { 150 \begin{alltt} 151 {\tiny \verbatiminput{./TexFiles/Namelist/#1}} 152 \end{alltt} 153 \vspace{-10pt} 154 } 155 % code display 156 %\newcommand{\codedisplay} [1] { \begin{alltt} {\tiny {\begin{verbatim} {#1}} \end{verbatim} } \end{alltt} } 157 158 159 160 %%%% commands for working with text................................ 161 % command to "comment out" portions of text ({} argument) or not ({#1} argument) 162 \newcommand{\amtcomment}[1]{} % command to "commented out" portions of text or not (#1 in argument) 163 \newcommand{\sgacomment}[1]{} % command to "commented out" portions of 164 \newcommand{\gmcomment}[1]{} % command to "commented out" portions of 165 % % text that span line breaks 166 %Red (NR) or Yellow(WARN) 167 %\newcommand{\NR} {\colorbox{red}{#1}} 168 %\newcommand{\WARN} {{ \colorbox{yellow}{#1}} } 169 170 171 172 %%% index commands...................... 173 \usepackage{makeidx} 174 %\usepackage{showidx} % show the index entry 175 147 176 \newcommand{\mdl} [1] {\textit{#1.F90}\index{Modules!#1}} %module (mdl) 148 177 \newcommand{\rou} [1] {\textit{#1}\index{Routines!#1}} %module (routine) … … 153 182 \newcommand{\ifile} [1] {\textit{#1.nc}\index{Input NetCDF files!#1.nc}} %input NetCDF files (.nc) 154 183 \newcommand{\key} [1] {\textbf{key\_#1}\index{CPP keys!key\_#1}} %key_cpp (key) 155 \newcommand{\NEMO} {\textit{NEMO }} %NEMO (nemo) 156 % command to "commented out" portions of text ({} argument) or not ({#1} argument) 157 \newcommand{\amtcomment}[1]{} % command to "commented out" portions of text or not (#1 in argument) 158 \newcommand{\sgacomment}[1]{} % command to "commented out" portions of 159 \newcommand{\gmcomment}[1]{} % command to "commented out" portions of 160 % % text that span line breaks 161 \newcommand{\alpbet} {\left(\alpha / \beta \right)} % alpha/beta for slp computation 162 163 %--------------------------------------------namlist--------------------------------------------------------- 164 \newcommand{\namdisplay} [1] { 165 \begin{alltt} {{\tiny \verbatiminput{./TexFiles/Namelist/#1}}} \end{alltt} 166 \vspace{-10pt} } 167 %--------------------------------------------code display--------------------------------------------------------- 168 %\newcommand{\codedisplay} [1] { \begin{alltt} {\tiny {\begin{verbatim} {#1}} \end{verbatim} } \end{alltt} } 169 %-------------------------------------------------------------------------------------------------------------- 170 %Red (NR) or Yellow(WARN) 171 %\newcommand{\NR} {\colorbox{red}{#1}} 172 %\newcommand{\WARN} {{ \colorbox{yellow}{#1}} } 173 174 %---------------------%%%%% Section number in Margin %%%%%----------------------------- 175 % typeset the number of each section in the left margin, with the start of each instance of 176 % sectional heading text aligned with the left hand edge of the body text. 177 \makeatletter 178 \def\@seccntformat#1{\protect\makebox[0pt][r]{\csname the#1\endcsname\quad}} 179 \makeatother 180 %-------------------------------------------------------------------------------------------------------------- 181 182 %----------------------------%%%%% Bilbiography %%%%%%-------------------------------% 184 \newcommand{\NEMO} {\textit{NEMO}\xspace} %NEMO (nemo) 185 186 %%%% Bibliography ............. 183 187 \usepackage[nottoc, notlof, notlot]{tocbibind} 184 188 \usepackage[square, comma]{natbib} 185 189 \bibpunct{[}{]}{,}{a}{}{;} %suppress "," after "et al." 186 190 \providecommand{\bibfont}{\small} 187 %-------------------------------------------------------------------------------------------------------------- 191 188 192 189 193 % ================================================================ … … 191 195 % ================================================================ 192 196 193 \title{ 194 \psset{unit=1.1in,linewidth=4pt} %parameters of the units for pstricks 195 \rput(-1.4,2){ \includegraphics[width=0.2\textwidth]{./TexFiles/Figures/logo_CNRS.pdf} } 196 \quad 197 \rput(-.15,2){ \includegraphics[width=0.2\textwidth]{./TexFiles/Figures/logo_MERCATOR.pdf} } 198 \quad 199 \rput(.85,2){ \includegraphics[width=0.1\textwidth]{./TexFiles/Figures/logo_UKMO.pdf} } 200 \quad 201 \rput(1.85,2){ \includegraphics[width=0.2\textwidth]{./TexFiles/Figures/logo_NERC.pdf} } \\ 202 \vspace{0.1cm} 197 %\usepackage{pstricks} 198 \title{ 199 %\psset{unit=1.1in,linewidth=4pt} %parameters of the units for pstricks 200 % \rput(0,2){ \includegraphics[width=1.1\textwidth]{./TexFiles/Figures/logo_ALL.pdf} } \\ 201 % \vspace{0.1cm} 202 \vspace{-6.0cm} 203 \includegraphics[width=1.1\textwidth]{./TexFiles/Figures/logo_ALL.pdf}\\ 204 \vspace{5.1cm} 203 205 \includegraphics[width=0.9\textwidth]{./TexFiles/Figures/NEMO_logo_Black.pdf} \\ 204 206 \vspace{1.4cm} 205 207 \rule{345pt}{1.5pt} \\ 206 208 \vspace{0.45cm} 207 {\Huge NEMO ocean engine} 208 \rule{345pt}{1.5pt} \\ 209 {\Huge NEMO ocean engine} 210 \rule{345pt}{1.5pt} \\ 209 211 } 210 212 %{ -- Draft --} } 211 213 %\date{\today} 212 214 \date{ 213 January 201 1\\214 {\small -- version 3. 3--} \\215 January 2012 \\ 216 {\small -- version 3.4 --} \\ 215 217 ~ \\ 216 218 \textit{\small Note du P\^ole de mod\'{e}lisation de l'Institut Pierre-Simon Laplace No 27 }\\ … … 220 222 221 223 222 %%\includegraphics[width=0.2\textwidth]{./TexFiles/Figures/logo_NERC.pdf} \\ 223 224 %% \hbox{\mbox{% 225 %% \hspace{4pt}% 226 %% \fbox{\includegraphics[width=3em]{./TexFiles/Figures/logo_CNRS.pdf}}% 227 %% \hspace{4pt} 228 %% } }% 229 230 \author{ 224 \author{ 231 225 \Large Gurvan Madec, and the NEMO team \\ 232 226 \texttt{\small gurvan.madec@locean-ipsl.umpc.fr} \\ … … 257 251 \frontmatter 258 252 259 \tableofcontents % generate a table of content 260 %\listoffigures % generate a table of content261 %\listoftables % generate a table of content253 \tableofcontents % generate a table of contents 254 %\listoffigures % generate a list of figures 255 %\listoftables % generate a list of tables 262 256 263 257 \mainmatter … … 283 277 \include{./TexFiles/Chapters/Chap_STP} % Time discretisation (time stepping strategy) 284 278 285 \include{./TexFiles/Chapters/Chap_DOM} % Space discretisation 279 \include{./TexFiles/Chapters/Chap_DOM} % Space discretisation 286 280 287 281 \include{./TexFiles/Chapters/Chap_TRA} % Tracer advection/diffusion equation … … 318 312 \include{./TexFiles/Chapters/Annex_C} % Discrete invariants of the eqs. 319 313 \include{./TexFiles/Chapters/Annex_D} % Coding rules 320 \include{./TexFiles/Chapters/Annex_ISO} % Isoneutral diffusion using triads 321 %\include{./TexFiles/Chapters/Annex_E} % Notes on some on going staff (no included in the DOC) 322 %\include{./TexFiles/Chapters/Annex_Fox-Kemper} % Notes on Fox-Kemper (no included in the DOC) 323 %\include{./TexFiles/Chapters/Annex_EVP} % Notes on EVP (no included in the DOC) 314 \include{./TexFiles/Chapters/Annex_ISO} % Isoneutral diffusion using triads 315 %\include{./TexFiles/Chapters/Annex_E} % Notes on some on going staff (no included in the DOC) 316 %\include{./TexFiles/Chapters/Annex_Fox-Kemper} % Notes on Fox-Kemper (no included in the DOC) 317 %\include{./TexFiles/Chapters/Annex_EVP} % Notes on EVP (no included in the DOC) 324 318 325 319 % ================================================================
Note: See TracChangeset
for help on using the changeset viewer.