Changeset 14789 for NEMO/branches/2021/dev_r13747_HPC-11_mcastril_HPDAonline_DiagGPU/doc/latex/global/new_cmds.tex
- Timestamp:
- 2021-05-05T13:18:04+02:00 (3 years ago)
- Location:
- NEMO/branches/2021/dev_r13747_HPC-11_mcastril_HPDAonline_DiagGPU
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r13747_HPC-11_mcastril_HPDAonline_DiagGPU
- Property svn:externals
-
old new 3 3 ^/utils/build/mk@HEAD mk 4 4 ^/utils/tools@HEAD tools 5 ^/vendors/AGRIF/dev _r12970_AGRIF_CMEMSext/AGRIF5 ^/vendors/AGRIF/dev@HEAD ext/AGRIF 6 6 ^/vendors/FCM@HEAD ext/FCM 7 7 ^/vendors/IOIPSL@HEAD ext/IOIPSL 8 ^/vendors/PPR@HEAD ext/PPR 8 9 9 10 # SETTE 10 ^/utils/CI/sette@1 3559sette11 ^/utils/CI/sette@14244 sette
-
- Property svn:externals
-
NEMO/branches/2021/dev_r13747_HPC-11_mcastril_HPDAonline_DiagGPU/doc/latex/global
- Property svn:ignore
-
old new 1 1 *.aux 2 *.bbl 3 *.blg 4 *.fdb* 5 *.fls 6 *.idx 7 *.ilg 8 *.ind 9 *.lo* 10 *.out 11 *.toc 12 *.xdv 13 cache*
-
- Property svn:ignore
-
NEMO/branches/2021/dev_r13747_HPC-11_mcastril_HPDAonline_DiagGPU/doc/latex/global/new_cmds.tex
r12377 r14789 1 %% Global custom commands: \newcommand{<name>}[<args>][<first argument value>]{<code>} 2 %% ============================================================================== 1 %% ================================================================================================= 2 %% Global custom commands 3 %% ================================================================================================= 3 4 4 %% Include references and index for compilation of single subfile 5 \newcommand{\mtoc}{\minitoc} 6 \newcommand{\biblio}{\bibliography{../main/bibliography}} 7 \newcommand{\pindex}{\printindex} 5 %% \newcommand{<name>}[<args>][<first argument value>]{<code>} 8 6 9 %% NEMO and Fortran in small capitals 10 \newcommand{\NEMO}{\textsc{nemo}~} 11 \newcommand{\fortran}{\textsc{Fortran}~} 12 \newcommand{\fninety}{\textsc{Fortran 90}~} 7 %% Same font for NEMO and its core engines 8 \newcommand{\NEMO }{\textsl{NEMO}} 9 \newcommand{\OPA }{\textsl{OPA}} 10 \newcommand{\SIcube }{\textsl{SI$^3$}} 11 \newcommand{\TOP }{\textsl{TOP}} 12 \newcommand{\PISCES }{\textsl{PISCES}} 13 \newcommand{\NEMOVAR}{\textsl{NEMOVAR}} 14 15 %% URL links for consortium institutes and external components 16 \newcommand{\CMCC }{\href{http://www.cmcc.it} } 17 \newcommand{\CNRS }{\href{http://www.cnrs.fr} } 18 \newcommand{\MOI }{\href{http://www.mercator-ocean.fr}} 19 \newcommand{\UKMO }{\href{http://www.metoffice.gov.uk} } 20 \newcommand{\NERC }{\href{http://nerc.ukri.org} } 21 \newcommand{\AGRIF}{\href{http://agrif.imag.fr }{AGRIF}} 22 \newcommand{\BFM }{\href{http://bfm-community.eu }{BFM}} 23 \newcommand{\CICE }{\href{http://github.com/CICE-Consortium/CICE}{CICE}} 24 \newcommand{\OASIS}{\href{http://portal.enes.org/oasis }{OASIS}} 25 \newcommand{\XIOS }{\href{http://forge.ipsl.jussieu.fr/ioserver }{XIOS}} 26 27 %% Fortran in small capitals 28 \newcommand{\fortran}{\textsc{Fortran}} 29 \newcommand{\fninety}{\textsc{Fortran 90}} 13 30 14 31 %% Common aliases 15 32 \renewcommand{\deg}[1][]{\ensuremath{^{\circ}#1}} 33 \newcommand{\eg }{\ensuremath{e.g.}} 34 \newcommand{\ie }{\ensuremath{i.e.}} 16 35 \newcommand{\zstar }{\ensuremath{z^\star}} 17 36 \newcommand{\sstar }{\ensuremath{s^\star}} 18 37 \newcommand{\ztilde}{\ensuremath{\tilde z}} 19 38 \newcommand{\stilde}{\ensuremath{\tilde s}} 20 \newcommand{\ie}{\ensuremath{i.e.}~}21 \newcommand{\eg}{\ensuremath{e.g.}~}22 39 23 %% Inline maths 24 \newcommand{\fractext}[2]{\textstyle \frac{#1}{#2}} 40 %% Gurvan's comments 41 \newcommand{\cmtgm}[1]{} 42 43 %% Maths: reduce equation 44 \newcommand{\fractext}[2]{\textstyle\frac{#1}{#2}} 45 \newcommand{\lt}{\left} 46 \newcommand{\pd}[2][]{\ensuremath{\frac{\partial #1}{\partial #2}}} 25 47 \newcommand{\rdt}{\Delta t} 48 \newcommand{\rt}{\right} 49 \newcommand{\vect}[1][]{\ensuremath{\mathbf{#1}}} 26 50 27 %% Text env. for Gurvan 28 \newcommand{\gmcomment}[1]{} 51 %% Retrieve month name 52 \renewcommand{\today}{ 53 \ifcase \month\or January\or February\or March\or April\or 54 May\or June\or July\or August\or 55 September\or October\or November\or December 56 \fi, \number \year 57 } 29 58 30 %% Maths 31 \newcommand{\lt}{\left} 32 \newcommand{\rt}{\right} 33 \newcommand{\vect}[1]{\ensuremath{\mathbf{#1}}} 34 \newcommand{\pd}[2][]{\ensuremath{\frac{\partial #1}{\partial #2}}} 59 %% Custom aliases 60 \newcommand{\cf}{\ensuremath{C\kern-0.14em f}} 61 \newcommand{\rML}[1][i]{\ensuremath{_{\mathrm{ML}\,#1}}} 62 \newcommand{\rMLt}[1][i]{\tilde{r}_{\mathrm{ML}\,#1}} 63 \newcommand{\triad}[6][]{\ensuremath{{}_{#2}^{#3}{\mathbb{#4}_{#1}}_{#5}^{\,#6}}} 64 \newcommand{\triadd}[5]{\ensuremath{{}_{#1}^{#2}{\mathbb{#3}}_{#4}^{\,#5}}} 65 \newcommand{\triadt}[5]{\ensuremath{{}_{#1}^{#2}{\tilde{\mathbb{#3}}}_{#4}^{\,#5}}} 66 \newcommand{\rtriad}[2][]{\ensuremath{\triad[#1]{i}{k}{#2}{i_p}{k_p}}} 67 \newcommand{\rtriadt}[1]{\ensuremath{\triadt{i}{k}{#1}{i_p}{k_p}}} 35 68 36 %% Workaround for issue with \listoffigures 37 \DeclareRobustCommand{\triad}[6][]{\ensuremath{{}_{#2}^{#3}{\mathbb{#4}_{#1}}_{#5}^{\,#6}}} 69 %% New command for ToC (?) 70 \newcommand{\chaptertoc}[1][Table of contents]{ 71 \etocsettocstyle{\addsec*{#1}}{} 72 \localtableofcontents 73 \vfill 74 } 75 76 %% ORCID links 77 \newcommand{\orcid}[1]{\href{http://orcid.org/#1}{\textcolor{orcidclr}\aiOrcidSquare}}
Note: See TracChangeset
for help on using the changeset viewer.