Changeset 14257 for NEMO/trunk/doc/latex/global/indices.tex
- Timestamp:
- 2021-01-04T16:13:36+01:00 (3 years ago)
- Location:
- NEMO/trunk/doc/latex/global
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/global
-
Property
svn:ignore
set to
*.aux
*.bbl
*.blg
*.fdb*
*.fls
*.idx
*.ilg
*.ind
*.lo*
*.out
*.toc
*.xdv
cache*
-
Property
svn:ignore
set to
-
NEMO/trunk/doc/latex/global/indices.tex
r14256 r14257 1 2 \usepackage{imakeidx} 3 4 %% Naming customization 5 \renewcommand{\listingname}{namelist} 6 \renewcommand{\listlistingname}{List of Namelists} 1 %% ================================================================================================= 2 %% Indices 3 %% ================================================================================================= 7 4 8 5 %% Index entries (italic font for files, preformat for code) 9 \newcommand{\hf}[1]{ \index{h90 files!#1} \textit{#1.h90} } 10 \newcommand{\ifile}[1]{\index{Input NetCDF files!#1.nc} \textit{#1.nc} } 11 \newcommand{\jp}[1]{ \index{Model parameters!#1} \texttt{#1} } 12 \newcommand{\key}[1]{ \index[keys]{#1@\texttt{\textbf{key\_#1}}} \texttt{\textbf{key\_#1}}} 13 \newcommand{\mdl}[1]{ \index[modules]{#1@\textit{#1.F90}} \textit{#1.F90} } 14 \newcommand{\nam}[2]{ \index[blocks]{#1@\texttt{\&nam#2}} \forcode{&nam#1} (\autoref{lst:nam#1})} 15 \newcommand{\np}[3][]{ \index[parameters]{#3@\texttt{#3}} \forcode{#2#1} } 16 \newcommand{\rou}[1]{ \index[subroutines]{#1@\texttt{#1}} \texttt{#1} } 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 } 17 21 22 \indexsetup{toclevel=section,othercode=\small} 18 23 19 \indexsetup{toclevel=section, othercode=\small} 20 21 \makeindex[intoc=true, name=blocks , title=Namelist blocks , columns=3] 22 \makeindex[intoc=true, name=keys , title=CPP keys ] 23 \makeindex[intoc=true, name=modules , title=\fortran\ modules , columns=3] 24 \makeindex[intoc=true, name=parameters , title=Namelist parameters , columns=3] 25 \makeindex[intoc=true, name=subroutines, title=\fortran\ subroutines ] 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 TracChangeset
for help on using the changeset viewer.