- Timestamp:
- 2018-03-06T17:12:34+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/DOC/texfiles/styles/NEMO_manual.sty
r9373 r9376 1 %% ============================================================================== 2 %% macros.sty: 3 %% ============================================================================== 4 5 6 \def\deg{$^{\circ}$} 7 \def\degC{$^{\circ}C$} 8 \def\degK{$^{\circ}K$} 9 \def\degN{$^{\circ}N$} 10 \def\degS{$^{\circ}S$} 11 1 12 \def\half{\textstyle\frac{1}{2}} 2 13 \def\hhalf{\scriptstyle\frac{1}{2}} 14 3 15 \def\quarter{\textstyle\frac{1}{4}} 4 16 \def\qquarter{\scriptstyle\frac{1}{4}} … … 6 18 \def\stwelfth{\sfrac{1}{12}} 7 19 \def\sthirtysixth{\sfrac{1}{36}} 8 % \newcommand{\grad}{\boldsymbol{\nabla}} 9 % \newcommand{\gradh}{\boldsymbol{\nabla}_h} 20 21 \def\bgamma\boldsymbol{\gamma} 22 \def\rdt{\Delta t} 23 24 \newcommand{ \gmcomment}[1]{} 25 \newcommand{ \sfcomment}[1]{} 26 \newcommand{\sgacomment}[1]{} 27 28 \newcommand{\nl}[1]{\texttt{\small{\textcolor{blue}{#1}}}} 29 \newcommand{\NEMO}{\textit{NEMO}\xspace} 30 31 \newcommand{ \ifile}[1]{\textit{ #1.nc}\index{Input NetCDF files!#1.nc}} 32 \newcommand{ \jp}[1]{\textit{ #1}\index{ Model parameters!#1}} 33 \newcommand{ \hf}[1]{\textit{ #1.h90}\index{ h90 file!#1}} 34 \newcommand{ \key}[1]{\textbf{key\_#1}\index{ CPP keys!key\_#1}} 35 \newcommand{ \mdl}[1]{\textit{ #1.F90}\index{ Modules!#1}} 36 \newcommand{ \ngn}[1]{\textit{ #1}\index{ Namelist Group Name!#1}} 37 \newcommand{ \np}[1]{\textit{ #1}\index{ Namelist variables!#1}} 38 \newcommand{ \pp}[1]{\textit{ #1}\index{ Model parameters!#1}} 39 \newcommand{ \rou}[1]{\textit{ #1}\index{ Routines!#1}} 40 10 41 \newcommand{\grad}{\nabla} 11 42 \newcommand{\gradh}{\nabla_h} 12 \def\bgamma\boldsymbol{\gamma} 13 \def\rdt{\Delta t} 43 14 44 \newcommand{\ew}[3]{{e_{3#1}}_{\,#2}^{\,#3} } 15 \newcommand{\vect}[1]{\ensuremath{\mathbf{#1}}} % for vectors % non-italic bold45 \newcommand{\vect}[1]{\ensuremath{\mathbf{#1}}} 16 46 \newcommand{\Div}{\grad\cdot} 17 % \newcommand{\curl}{\boldsymbol{\nabla} \times} % for curl 18 \newcommand{\curl}{\nabla \times} % for curl 47 \newcommand{\curl}{\nabla \times} 19 48 \newcommand{\pd}[2][]{\frac{\partial #1}{\partial #2}} 20 \def\deg{$^{\circ}$} % degrees (NB: \r{} can % % also be used) 21 \def\degC{$^{\circ}C$} 22 \def\degK{$^{\circ}K$} 23 \def\degN{$^{\circ}N$} 24 \def\degS{$^{\circ}S$} 25 \newcommand{\alpbet} {\left(\alpha / \beta \right)} % alpha/beta for slp computation 49 \newcommand{\alpbet} {\left(\alpha / \beta \right)} 50 26 51 \newcommand{\triad}[6][]{\ensuremath{{}_{#2}^{#3}{\mathbb{#4}_{#1}}_{#5}^{\,#6}}} 27 52 \newcommand{\triadd}[5]{\ensuremath{{}_{#1}^{#2}{\mathbb{#3}}_{#4}^{\,#5}}} … … 29 54 \newcommand{\rtriad}[2][]{\ensuremath{\triad[#1]{i}{k}{#2}{i_p}{k_p}}} 30 55 \newcommand{\rtriadt}[1]{\ensuremath{\triadt{i}{k}{#1}{i_p}{k_p}}} 56 31 57 \newcommand{\Alts}{{A}} 32 58 \newcommand{\Alt}{{A^{lT}}} 59 33 60 \newcommand{\rMLt}[1][i]{\tilde{r}_{\mathrm{ML}\,#1}} 34 61 \newcommand{\rML}[1][i]{r_{\mathrm{ML}\,#1}} 62 35 63 \newcommand{\mygstrut}[2]{\rule[#1 em]{0pt}{#2 em}} 36 64 \newcommand{\mystrut}{\rule[-.9 em]{0pt}{1.79 em}}
Note: See TracChangeset
for help on using the changeset viewer.