source:
NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/doc/latex/global/indices.tex
@
14644
Last change on this file since 14644 was 14644, checked in by sparonuz, 3 years ago | |
---|---|
File size: 1.2 KB |
Rev | Line | |
---|---|---|
[14644] | 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.