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.
indices.tex in NEMO/trunk/doc/latex/global – NEMO

source: NEMO/trunk/doc/latex/global/indices.tex

Last change on this file was 14257, checked in by nicolasmartin, 3 years ago

Overall review of LaTeX sources (not tested completely as of now):

  • Reworking global files: main document.tex, add glossary.tex, cosmetic changes...
  • Ignore missing namelists (namsbc_isf, namsbc_iscpl and namptr)
  • Removal of references for unused indices (\hfile, \ifile and \jp)
  • Update of .svnignore and svn:ignore properties accordingly
  • Split of manual abstract into a common NEMO abs for all and a specific one for each engine
  • Shrinking variables names used in the frontmatter
File size: 1.2 KB
Line 
1%% =================================================================================================
2%% Indices
3%% =================================================================================================
4
5%% Index entries (italic font for files, preformat for code)
6\newcommand{\key}[1]{
7   \index[keys]{       #1@\texttt{\textbf{key\_#1}}} \texttt{\textbf{key\_#1}}
8}             
9\newcommand{\mdl}[1]{
10   \index[modules]{    #1@\textit{#1.F90}          } \textit{#1.F90}
11}
12\newcommand{\nam}[2]{
13   \index[blocks]{     #1@\texttt{\&nam#2}         } \forcode{&nam#1} (\autoref{lst:nam#1})
14}
15\newcommand{\np}[3][]{
16   \index[parameters]{ #3@\texttt{#3}              } \forcode{#2#1}
17}
18\newcommand{\rou}[1]{
19   \index[subroutines]{#1@\texttt{#1}              } \texttt{#1}
20}
21
22\indexsetup{toclevel=section,othercode=\small}
23
24\makeindex[intoc=true,name=blocks     ,title=Namelist blocks      ,columns=3]
25\makeindex[intoc=true,name=keys       ,title=CPP keys                       ]
26\makeindex[intoc=true,name=modules    ,title=\fortran\ modules    ,columns=3]
27\makeindex[intoc=true,name=parameters ,title=Namelist parameters  ,columns=3]
28\makeindex[intoc=true,name=subroutines,title=\fortran\ subroutines          ]
Note: See TracBrowser for help on using the repository browser.