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