New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11967 for NEMO/branches/2019/ENHANCE-02_ISF_nemo_TEST_MERGE/doc/latex/global/new_cmds.tex – NEMO

Ignore:
Timestamp:
2019-11-26T15:11:43+01:00 (4 years ago)
Author:
davestorkey
Message:

2019/ENHANCE-02_ISF_nemo_TEST_MERGE : Update to rev 11953.

Location:
NEMO/branches/2019/ENHANCE-02_ISF_nemo_TEST_MERGE/doc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/ENHANCE-02_ISF_nemo_TEST_MERGE/doc

    • Property svn:externals set to
      ^/utils/badges badges
      ^/utils/logos logos
  • NEMO/branches/2019/ENHANCE-02_ISF_nemo_TEST_MERGE/doc/latex

    • Property svn:ignore deleted
  • NEMO/branches/2019/ENHANCE-02_ISF_nemo_TEST_MERGE/doc/latex/global

    • Property svn:ignore deleted
  • NEMO/branches/2019/ENHANCE-02_ISF_nemo_TEST_MERGE/doc/latex/global/new_cmds.tex

    r11212 r11967  
    22%% ============================================================================== 
    33 
    4 %% Include references and index for compilation of single subfile  
    5 \newcommand{\mtoc}{\minitoc} 
    6 \newcommand{\biblio}{\bibliography{../main/bibliography}} 
    7 \newcommand{\pindex}{\printindex} 
     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}} 
     10\newcommand{\NEMOVAR}{\textsl{NEMOVAR}} 
    811 
    9 %% NEMO and Fortran in small capitals 
    10 \newcommand{\NEMO}{\textsc{nemo}~} 
    11 \newcommand{\fortran}{\textsc{Fortran}~} 
    12 \newcommand{\fninety}{\textsc{Fortran 90}~} 
     12%% Links for external components 
     13\newcommand{\AGRIF}{\href{http://agrif.imag.fr}{AGRIF}} 
     14\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}} 
     17 
     18%% Fortran in small capitals 
     19\newcommand{\fortran}{\textsc{Fortran}} 
     20\newcommand{\fninety}{\textsc{Fortran 90}} 
    1321 
    1422%% Common aliases 
     
    1826\newcommand{\ztilde}{\ensuremath{\tilde z}} 
    1927\newcommand{\stilde}{\ensuremath{\tilde s}} 
    20 \newcommand{\ie}{\ensuremath{i.e.}~} 
    21 \newcommand{\eg}{\ensuremath{e.g.}~} 
     28\newcommand{\ie}{\ensuremath{i.e.}} 
     29\newcommand{\eg}{\ensuremath{e.g.}} 
    2230 
    2331%% Inline maths 
     
    2533\newcommand{\rdt}{\Delta t} 
    2634 
    27 %% Text env. for Gurvan 
    28 \newcommand{\gmcomment}[1]{} 
     35%% Gurvan's comments 
     36\newcommand{\cmtgm}[1]{} 
    2937 
    3038%% Maths 
    3139\newcommand{\lt}{\left} 
    3240\newcommand{\rt}{\right} 
    33 \newcommand{\vect}[1]{\ensuremath{\mathbf{#1}}} 
     41\newcommand{\vect}[1]{\ensuremath{ \mathbf{#1} }} 
    3442\newcommand{\pd}[2][]{\ensuremath{\frac{\partial #1}{\partial #2}}} 
    3543 
    36 %% Workaround for issue with \listoffigures 
    37 \DeclareRobustCommand{\triad}[6][]{\ensuremath{{}_{#2}^{#3}{\mathbb{#4}_{#1}}_{#5}^{\,#6}}} 
     44%% Convert chapter/section headings to lowercase 
     45\renewcommand{\chaptermark}[1]{\markboth{#1}{}} 
     46\renewcommand{\sectionmark}[1]{\markright{#1}{}} 
     47 
     48%% Retrieve month name 
     49\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 
     54  \fi, \number \year 
     55} 
     56 
     57%% Link to orcid profile 
     58\newcommand{\orcid}[1]{\href{http://orcid.org/#1}{\textcolor{orcidcolor}\aiOrcidSquare}} 
     59 
     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% 
     68  \vfill 
     69} 
Note: See TracChangeset for help on using the changeset viewer.