source: NEMO/trunk/doc/latex/global/new_cmds.tex @ 12377

Last change on this file since 12377 was 12377, checked in by acc, 10 months ago

The big one. Merging all 2019 developments from the option 1 branch back onto the trunk.

This changeset reproduces 2019/dev_r11943_MERGE_2019 on the trunk using a 2-URL merge
onto a working copy of the trunk. I.e.:

svn merge —ignore-ancestry \

svn+ssh://acc@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/trunk \
svn+ssh://acc@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/branches/2019/dev_r11943_MERGE_2019 ./

The —ignore-ancestry flag avoids problems that may otherwise arise from the fact that
the merge history been trunk and branch may have been applied in a different order but
care has been taken before this step to ensure that all applicable fixes and updates
are present in the merge branch.

The trunk state just before this step has been branched to releases/release-4.0-HEAD
and that branch has been immediately tagged as releases/release-4.0.2. Any fixes
or additions in response to tickets on 4.0, 4.0.1 or 4.0.2 should be done on
releases/release-4.0-HEAD. From now on future 'point' releases (e.g. 4.0.2) will
remain unchanged with periodic releases as needs demand. Note release-4.0-HEAD is a
transitional naming convention. Future full releases, say 4.2, will have a release-4.2
branch which fulfills this role and the first point release (e.g. 4.2.0) will be made
immediately following the release branch creation.

2020 developments can be started from any trunk revision later than this one.

File size: 1.3 KB
Line 
1%% Global custom commands: \newcommand{<name>}[<args>][<first argument value>]{<code>}
2%% ==============================================================================
3
4%% Include references and index for compilation of single subfile
5\newcommand{\mtoc}{\minitoc}
6\newcommand{\biblio}{\bibliography{../main/bibliography}}
7\newcommand{\pindex}{\printindex}
8
9%% NEMO and Fortran in small capitals
10\newcommand{\NEMO}{\textsc{nemo}~}
11\newcommand{\fortran}{\textsc{Fortran}~}
12\newcommand{\fninety}{\textsc{Fortran 90}~}
13
14%% Common aliases
15\renewcommand{\deg}[1][]{\ensuremath{^{\circ}#1}}
16\newcommand{\zstar }{\ensuremath{z^\star}}
17\newcommand{\sstar }{\ensuremath{s^\star}}
18\newcommand{\ztilde}{\ensuremath{\tilde z}}
19\newcommand{\stilde}{\ensuremath{\tilde s}}
20\newcommand{\ie}{\ensuremath{i.e.}~}
21\newcommand{\eg}{\ensuremath{e.g.}~}
22
23%% Inline maths
24\newcommand{\fractext}[2]{\textstyle \frac{#1}{#2}}
25\newcommand{\rdt}{\Delta t}
26
27%% Text env. for Gurvan
28\newcommand{\gmcomment}[1]{}
29
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}}}
35
36%% Workaround for issue with \listoffigures
37\DeclareRobustCommand{\triad}[6][]{\ensuremath{{}_{#2}^{#3}{\mathbb{#4}_{#1}}_{#5}^{\,#6}}}
Note: See TracBrowser for help on using the repository browser.