Changeset 11433 for NEMO/trunk/doc/latex/global/new_cmds.tex
- Timestamp:
- 2019-08-12T21:44:18+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/global/new_cmds.tex
r11212 r11433 2 2 %% ============================================================================== 3 3 4 %% Include references and index for compilation of single subfile 4 %% Include references and index for compilation of single subfile 5 5 \newcommand{\mtoc}{\minitoc} 6 \newcommand{\biblio}{ \bibliography{../main/bibliography}}6 \newcommand{\biblio}{ \bibliography{../main/bibliography} } 7 7 \newcommand{\pindex}{\printindex} 8 8 9 9 %% NEMO and Fortran in small capitals 10 \newcommand{\NEMO}{\textsc{nemo}~} 11 \newcommand{\fortran}{\textsc{Fortran}~} 12 \newcommand{\fninety}{\textsc{Fortran 90}~} 10 \newcommand{\NEMO }{\textsc{nemo}} 11 \newcommand{\SIcube }{\textsc{si$^3$}} 12 \newcommand{\TOP }{\textsc{top}} 13 \newcommand{\fortran}{\textsc{Fortran}} 14 \newcommand{\fninety}{\textsc{Fortran 90}} 13 15 14 16 %% Common aliases … … 18 20 \newcommand{\ztilde}{\ensuremath{\tilde z}} 19 21 \newcommand{\stilde}{\ensuremath{\tilde s}} 20 \newcommand{\ie}{\ensuremath{i.e.} ~}21 \newcommand{\eg}{\ensuremath{e.g.} ~}22 \newcommand{\ie}{\ensuremath{i.e.}} 23 \newcommand{\eg}{\ensuremath{e.g.}} 22 24 23 25 %% Inline maths … … 25 27 \newcommand{\rdt}{\Delta t} 26 28 27 %% Text env. for Gurvan29 %% Gurvan's comments 28 30 \newcommand{\gmcomment}[1]{} 29 31 … … 31 33 \newcommand{\lt}{\left} 32 34 \newcommand{\rt}{\right} 33 \newcommand{\vect}[1]{\ensuremath{ \mathbf{#1}}}35 \newcommand{\vect}[1]{\ensuremath{ \mathbf{#1} }} 34 36 \newcommand{\pd}[2][]{\ensuremath{\frac{\partial #1}{\partial #2}}} 35 37 38 %% Convert chapter/section headings to lowercase 39 \renewcommand{\chaptermark}[1]{\markboth{#1}{}} 40 \renewcommand{\sectionmark}[1]{\markright{#1}{}} 41 42 %% Retrieve month name 43 \renewcommand{\today}{ 44 \ifcase \month\or January\or February\or March\or 45 April\or May\or June\or 46 July\or August\or September\or 47 October\or November\or December 48 \fi, \number \year 49 } 50 51 %% Macro for link to orcid profile 52 \newcommand{\orcid}[1]{ \href{http://orcid.org/#1}{\textcolor{orcidcolor} \aiOrcidSquare} } 53 36 54 %% Workaround for issue with \listoffigures 37 \DeclareRobustCommand{\triad}[6][]{\ensuremath{ {}_{#2}^{#3}{\mathbb{#4}_{#1}}_{#5}^{\,#6}}}55 \DeclareRobustCommand{\triad}[6][]{\ensuremath{ {}_{#2}^{#3} { \mathbb{#4}_{#1} }_{#5}^{\,#6} }}
Note: See TracChangeset
for help on using the changeset viewer.