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.
Changeset 3218 for branches/2011/dev_NEMO_MERGE_2011/DOC/NEMO_book.tex – NEMO

Ignore:
Timestamp:
2011-12-13T11:31:24+01:00 (13 years ago)
Author:
agn
Message:

agn: changes to documentation in dev_NEMO_MERGE_2011

--Reordered NEMO_book.tex, changed from 11pt->12pt,

only needs pstricks for logos

--more abbreviations in mathabbrev.sty
--Corrected bug in Abstracts_Foreword.tex that put whole

text into small

--Clarified discussion of LDF operator rotation in
Chap_Model_Basics.tex, Chap_LDF.tex, Annex_B.tex
--Discuss surface tapering of Griffies triads, how they

work in s-coordinates, eddy-induced velocities in
Annex_ISO.tex. Extra ref in Biblio.bib
Extra figures Fig_bdry_triads.pdf, Fig_triad_MLB.pdf
Modified namelist section namtra_ldf

--Minor corrections to Chap_DIA.tex, Chap_CFG.tex,

Chap_SBC.tex, Annex_A.tex, Chap_DOM.tex, Chap_ASM.tex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NEMO_MERGE_2011/DOC/NEMO_book.tex

    r2541 r3218  
    44% (C) Xavier Perseguers 2002 - xavier.perseguers@epfl.ch 
    55 
    6 \documentclass[a4paper,12pt]{book} 
     6\documentclass[a4paper,11pt]{book} 
    77 
    88%  makeindex NEMO_book     <== to regenerate the index 
     
    1414 
    1515\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 
    2227\usepackage[               % 
    2328  pdftitle={NEMO ocean engine},  % 
     
    3136  linkcolor=blue,anchorcolor=blue,  % 
    3237  citecolor=blue,filecolor=blue,    % 
    33   menucolor=blue,pagecolor=blue, % 
     38 menucolor=blue,                    % 
    3439  urlcolor=blue]{hyperref} 
    3540%  usage of exteranl hyperlink :  \href{mailto:my_address@wikibooks.org}{my\_address@wikibooks.org} 
     
    3944 
    4045 
    41  
    42 %\usepackage{amssymb} 
     46%%%% page styles etc................ 
     47\usepackage{fancyhdr} 
    4348\pagestyle{fancy} 
    4449% with this we ensure that the chapter and section 
     
    5964} 
    6065 
     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 
    6174% Leave blank pages completely empty, w/o header 
    6275\makeatletter 
     
    7083\makeatother 
    7184 
    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} 
    7687%\usepackage{mtcoff}          % invalidate the use of minitocs 
    77 \usepackage[latin1]{inputenc} 
    78 \usepackage{graphics}            % allows insertion of pictures 
    79 \usepackage{times}               % use vector fonts instead of bitmap 
    8088\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 
    10490\makeatletter 
    10591\def\LigneVerticale{\vrule height 5cm depth 2cm\hspace{0.1cm}\relax} 
     
    10894\def\GrosCarreAvecUnChiffre#1{% 
    10995  \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}}% 
    11197  \vrule height 0pt width 1cm depth 0pt} 
    11298\def\GrosCarreAvecTroisChiffre#1{% 
    11399  \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}}% 
    115101  \vrule height 0pt width 1cm depth 0pt} 
    116102 
    117103\def\@makechapterhead#1{\hbox{% 
    118     \huge  
     104   \huge 
    119105    \LignesVerticales 
    120106    \hspace{-0.5cm}% 
     
    126112}\par\vskip 1cm} 
    127113\def\@makeschapterhead#1{\hbox{% 
    128     \huge  
     114   \huge 
    129115    \LignesVerticales 
    130116    %\hspace{0.5cm}% 
    131117    \hbox{#1}% 
    132118}\par\vskip 2cm} 
     119\makeatother 
    133120 
    134121%\def\thechapter{\Roman{chapter}}      % chapter number to be Roman 
    135122 
    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) 
    141137 
    142138 
    143139%%% 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 
    147175\newcommand{\mdl} [1] {\textit{#1.F90}\index{Modules!#1}}         %module (mdl) 
    148176\newcommand{\rou} [1] {\textit{#1}\index{Routines!#1}}            %module (routine) 
     
    153181\newcommand{\ifile} [1] {\textit{#1.nc}\index{Input NetCDF files!#1.nc}}   %input NetCDF files (.nc) 
    154182\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   ............. 
    183186\usepackage[nottoc, notlof, notlot]{tocbibind} 
    184187\usepackage[square, comma]{natbib} 
    185188\bibpunct{[}{]}{,}{a}{}{;}                           %suppress "," after "et al." 
    186189\providecommand{\bibfont}{\small} 
    187 %-------------------------------------------------------------------------------------------------------------- 
     190 
    188191 
    189192% ================================================================ 
     
    191194% ================================================================ 
    192195 
    193 \title{  
     196\usepackage{pstricks} 
     197\title{ 
    194198\psset{unit=1.1in,linewidth=4pt}    %parameters of the units for pstricks 
    195199\rput(-1.4,2){ \includegraphics[width=0.2\textwidth]{./TexFiles/Figures/logo_CNRS.pdf}           } 
     
    205209\rule{345pt}{1.5pt} \\ 
    206210\vspace{0.45cm} 
    207  {\Huge NEMO ocean engine}  
    208 \rule{345pt}{1.5pt} \\  
     211{\Huge NEMO ocean engine} 
     212\rule{345pt}{1.5pt} \\ 
    209213 } 
    210214%{ -- Draft --}   } 
     
    220224 
    221225 
    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{ 
    231227\Large Gurvan Madec, and the NEMO team  \\ 
    232228 \texttt{\small gurvan.madec@locean-ipsl.umpc.fr} \\ 
     
    257253\frontmatter 
    258254 
    259 \tableofcontents              % generate a table of content 
    260 %\listoffigures               % generate a table of content 
    261 %\listoftables             % generate a table of content 
     255\tableofcontents              % generate a table of contents 
     256%\listoffigures               % generate a list  of figures 
     257%\listoftables                     % generate a list of tables 
    262258 
    263259\mainmatter 
     
    283279\include{./TexFiles/Chapters/Chap_STP}       % Time discretisation (time stepping strategy) 
    284280 
    285 \include{./TexFiles/Chapters/Chap_DOM}       % Space discretisation  
     281\include{./TexFiles/Chapters/Chap_DOM}       % Space discretisation 
    286282 
    287283\include{./TexFiles/Chapters/Chap_TRA}       % Tracer advection/diffusion equation 
     
    318314\include{./TexFiles/Chapters/Annex_C}        % Discrete invariants of the eqs. 
    319315\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) 
    324320 
    325321% ================================================================ 
Note: See TracChangeset for help on using the changeset viewer.