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

Last change on this file since 11567 was 11567, checked in by nicolasmartin, 23 months ago

Style improvments

File size: 1.2 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{\nam}[1]{\index[blocks]{#1}      \forcode{&nam#1}         }
11\newcommand{\np}[1]{    \index[parameters]{#1}  \texttt{#1}           }
12\newcommand{\npnew}[2]{ \index[parameters]{#1}  \forcode{#1=#2}       }
13\newcommand{\rou}[1]{\index[subroutines]{#1} \texttt{#1}              }
14
15\indexsetup{toclevel=section, othercode=\small}
16
17\makeindex[intoc=true, name=keys       , title=CPP keys            ({\em key\_     } prefix)
18         ]
19\makeindex[intoc=true, name=modules    , title=\fortran\ modules   ({\em *.F90     }       ),
20columns=3]
21\makeindex[intoc=true, name=blocks     , title=Namelist blocks     ({\em nam       } prefix),
22columns=3]
23\makeindex[intoc=true, name=parameters , title=Namelist parameters ({\em [cdlnr]n\_}       ),
24columns=3]
25\makeindex[intoc=true, name=subroutines, title=Subroutines
26         ]
Note: See TracBrowser for help on using the repository browser.