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

source: NEMO/trunk/doc/latex/global/indexes.tex @ 11187

Last change on this file since 11187 was 11187, checked in by nicolasmartin, 5 years ago

Modifications and bugfixes

  • Correction of the layout standard Right: scrreprt instead of scrreport
  • Switch to 2-columns for the bibliography
  • Update svn:ignore property for list of figures and tables
  • Update LaTeX dependencies
  • Move \triad command declaration to ./global/latex/new_cmds.tex with \DeclareRobustCommand specific prefix to prevent issue with \listoffigures
  • LaTeX typos
  • Ignore todonotes.tex for time being
File size: 1.1 KB
Line 
1
2\usepackage{imakeidx}
3
4%% Index entries (italic font for files, preformat for code)
5\newcommand{\hf}[1]{\textit{#1.h90}   \index{h90 files!#1}}
6\newcommand{\ifile}[1]{\textit{#1.nc} \index{Input NetCDF files!#1.nc}}
7\newcommand{\jp}[1]{\texttt{#1}       \index{Model parameters!#1}}
8\newcommand{\key}[1]{\index[keys]{#1}        \texttt{\textbf{key\_#1}}}
9\newcommand{\mdl}[1]{\index[modules]{#1}     \textit{#1.F90}          }
10\newcommand{\ngn}[1]{\index[blocks]{#1}      \texttt{#1}              }
11\newcommand{\np}[1]{ \index[parameters]{#1}  \texttt{#1}              }
12\newcommand{\rou}[1]{\index[subroutines]{#1} \texttt{#1}              }
13
14\indexsetup{toclevel=section, othercode=\small}
15
16\makeindex[intoc=true, name=keys       , title=CPP keys                      ]
17\makeindex[intoc=true, name=modules    , title=Modules                       ]
18\makeindex[intoc=true, name=blocks     , title=Namelist blocks               ]
19\makeindex[intoc=true, name=parameters , title=Namelist parameters, columns=3]
20\makeindex[intoc=true, name=subroutines, title=Subroutines                   ]
21
Note: See TracBrowser for help on using the repository browser.