Changeset 14328 for NEMO/branches/2020/dev_14237_KERNEL-01_IMMERSE_SEAMOUNT/doc/latex/global/new_cmds.tex
- Timestamp:
- 2021-01-22T12:09:05+01:00 (3 years ago)
- Location:
- NEMO/branches/2020/dev_14237_KERNEL-01_IMMERSE_SEAMOUNT
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_14237_KERNEL-01_IMMERSE_SEAMOUNT
- Property svn:externals
-
old new 9 9 10 10 # SETTE 11 ^/utils/CI/sette _wave@13990sette11 ^/utils/CI/sette@14244 sette
-
- Property svn:externals
-
NEMO/branches/2020/dev_14237_KERNEL-01_IMMERSE_SEAMOUNT/doc/latex/global
-
Property
svn:ignore
set to
*.aux
*.bbl
*.blg
*.fdb*
*.fls
*.idx
*.ilg
*.ind
*.lo*
*.out
*.toc
*.xdv
cache*
-
Property
svn:ignore
set to
-
NEMO/branches/2020/dev_14237_KERNEL-01_IMMERSE_SEAMOUNT/doc/latex/global/new_cmds.tex
r14113 r14328 1 %% Global custom commands: \newcommand{<name>}[<args>][<first argument value>]{<code>} 2 %% ============================================================================== 1 %% ================================================================================================= 2 %% Global custom commands 3 %% ================================================================================================= 3 4 4 %% Same slanted font for NEMO and its core engines 5 \newcommand{\NEMO }{\textsl{NEMO}} 6 \newcommand{\OPA }{\textsl{OPA}} 7 \newcommand{\SIcube}{\textsl{SI$^3$}} 8 \newcommand{\TOP }{\textsl{TOP}} 9 \newcommand{\PISCES}{\textsl{PISCES}} 5 %% \newcommand{<name>}[<args>][<first argument value>]{<code>} 6 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}} 10 13 \newcommand{\NEMOVAR}{\textsl{NEMOVAR}} 11 14 12 %% Links for external components 13 \newcommand{\AGRIF}{\href{http://agrif.imag.fr}{AGRIF}} 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}} 14 23 \newcommand{\CICE }{\href{http://github.com/CICE-Consortium/CICE}{CICE}} 15 \newcommand{\OASIS}{\href{http://portal.enes.org/oasis }{OASIS}}16 \newcommand{\XIOS }{\href{http://forge.ipsl.jussieu.fr/ioserver }{XIOS}}24 \newcommand{\OASIS}{\href{http://portal.enes.org/oasis }{OASIS}} 25 \newcommand{\XIOS }{\href{http://forge.ipsl.jussieu.fr/ioserver }{XIOS}} 17 26 18 27 %% Fortran in small capitals … … 22 31 %% Common aliases 23 32 \renewcommand{\deg}[1][]{\ensuremath{^{\circ}#1}} 33 \newcommand{\eg }{\ensuremath{e.g.}} 34 \newcommand{\ie }{\ensuremath{i.e.}} 24 35 \newcommand{\zstar }{\ensuremath{z^\star}} 25 36 \newcommand{\sstar }{\ensuremath{s^\star}} 26 37 \newcommand{\ztilde}{\ensuremath{\tilde z}} 27 38 \newcommand{\stilde}{\ensuremath{\tilde s}} 28 \newcommand{\ie}{\ensuremath{i.e.}}29 \newcommand{\eg}{\ensuremath{e.g.}}30 31 %% Inline maths32 \newcommand{\fractext}[2]{\textstyle \frac{#1}{#2}}33 \newcommand{\rdt}{\Delta t}34 39 35 40 %% Gurvan's comments 36 41 \newcommand{\cmtgm}[1]{} 37 42 38 %% Maths 43 %% Maths: reduce equation 44 \newcommand{\fractext}[2]{\textstyle\frac{#1}{#2}} 39 45 \newcommand{\lt}{\left} 46 \newcommand{\pd}[2][]{\ensuremath{\frac{\partial #1}{\partial #2}}} 47 \newcommand{\rdt}{\Delta t} 40 48 \newcommand{\rt}{\right} 41 \newcommand{\vect}[1]{\ensuremath{ \mathbf{#1} }} 42 \newcommand{\pd}[2][]{\ensuremath{\frac{\partial #1}{\partial #2}}} 43 44 %% Convert chapter/section headings to lowercase 45 \renewcommand{\chaptermark}[1]{\markboth{#1}{}} 46 \renewcommand{\sectionmark}[1]{\markright{#1}{}} 49 \newcommand{\vect}[1][]{\ensuremath{\mathbf{#1}}} 47 50 48 51 %% Retrieve month name 49 52 \renewcommand{\today}{ 50 \ifcase \month\or January\or February\or March\or 51 April\or May\or June\or 52 July\or August\or September\or 53 October\or November\or December 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 54 56 \fi, \number \year 55 57 } 56 58 57 %% Link to orcid profile 58 \newcommand{\orcid}[1]{\href{http://orcid.org/#1}{\textcolor{orcidcolor}\aiOrcidSquare}} 59 %% Workaround for \listoffigures issue 60 \DeclareRobustCommand{\triad}[6]{ 61 \ensuremath{{}_{#2}^{#3}{\mathbb{#4}_{#1}}_{#5}^{\,#6}} 62 } 59 63 60 %% Workaround for \listoffigures 61 \DeclareRobustCommand{\triad}[6][]{\ensuremath{ {}_{#2}^{#3} { \mathbb{#4}_{#1} }_{#5}^{\,#6} }} 62 63 %% New command for ToC 64 \newcommand{\chaptertoc}[1][Table of contents]{% 65 \thispagestyle{empty} 66 \etocsettocstyle{\addsec*{#1}}{}% 67 \localtableofcontents% 64 %% New command for ToC (?) 65 \newcommand{\chaptertoc}[1][Table of contents]{ 66 \etocsettocstyle{\addsec*{#1}}{} 67 \localtableofcontents 68 68 \vfill 69 69 } 70 71 %% ORCID links 72 \newcommand{\orcid}[1]{\href{http://orcid.org/#1}{\textcolor{orcidclr}\aiOrcidSquare}}
Note: See TracChangeset
for help on using the changeset viewer.