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.
Changeset 14530 – NEMO

Changeset 14530


Ignore:
Timestamp:
2021-02-22T21:19:07+01:00 (3 years ago)
Author:
nicolasmartin
Message:

Revert commit 14526, can't use verbatim envs in macro

Location:
NEMO/trunk/doc/latex
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_ASM.tex

    r14526 r14530  
    148148the ORCA2 grid. 
    149149 
    150 \nlst{nam_asminc} 
     150\begin{listing} 
     151  \nlst{nam_asminc} 
     152  \caption{\forcode{&nam_asminc}} 
     153  \label{lst:nam_asminc} 
     154\end{listing} 
    151155 
    152156The header of an assimilation increments file produced using the NetCDF tool 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_DIA.tex

    r14526 r14530  
    13311331setting the \np{ln_nc4zip}{ln\_nc4zip} logical to false in the \nam{nc4}{nc4} namelist: 
    13321332 
    1333 \nlst{namnc4} 
     1333\begin{listing} 
     1334  \nlst{namnc4} 
     1335  \caption{\forcode{&namnc4}} 
     1336  \label{lst:namnc4} 
     1337\end{listing} 
    13341338 
    13351339If \key{netcdf4} has not been defined, these namelist parameters are not read. 
     
    14251429\label{sec:DIA_trd} 
    14261430 
    1427 \nlst{namtrd} 
     1431\begin{listing} 
     1432  \nlst{namtrd} 
     1433  \caption{\forcode{&namtrd}} 
     1434  \label{lst:namtrd} 
     1435\end{listing} 
    14281436 
    14291437Each trend of the dynamics and/or temperature and salinity time evolution equations can be send to 
     
    14601468\label{sec:DIA_FLO} 
    14611469 
    1462 \nlst{namflo} 
     1470\begin{listing} 
     1471  \nlst{namflo} 
     1472  \caption{\forcode{&namflo}} 
     1473  \label{lst:namflo} 
     1474\end{listing} 
    14631475 
    14641476The on-line computation of floats advected either by the three dimensional velocity field or constraint to 
     
    15591571\label{sec:DIA_diag_dct} 
    15601572 
    1561 \nlst{nam_diadct} 
     1573\begin{listing} 
     1574  \nlst{nam_diadct} 
     1575  \caption{\forcode{&nam_diadct}} 
     1576  \label{lst:nam_diadct} 
     1577\end{listing} 
    15621578 
    15631579A module is available to compute the transport of volume, heat and salt through sections. 
     
    19271943the Indo-Pacific mask been deduced from the sum of the Indian and Pacific mask (\autoref{fig:DIA_mask_subasins}). 
    19281944 
     1945\begin{listing} 
    19291946%  \nlst{namptr} 
     1947  \caption{\forcode{&namptr}} 
     1948  \label{lst:namptr} 
     1949\end{listing} 
    19301950 
    19311951%% ================================================================================================= 
    19321952\subsection{25 hour mean output for tidal models} 
    19331953 
    1934 \nlst{nam_dia25h} 
     1954\begin{listing} 
     1955  \nlst{nam_dia25h} 
     1956  \caption{\forcode{&nam_dia25h}} 
     1957  \label{lst:nam_dia25h} 
     1958\end{listing} 
    19351959 
    19361960A module is available to compute a crudely detided M2 signal by obtaining a 25 hour mean. 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_DIU.tex

    r14526 r14530  
    4343Both the cool skin and warm layer models are controlled through the namelist \nam{diu}{diu}: 
    4444 
    45 \nlst{namdiu} 
     45\begin{listing} 
     46  \nlst{namdiu} 
     47  \caption{\forcode{&namdiu}} 
     48  \label{lst:namdiu} 
     49\end{listing} 
    4650 
    4751This namelist contains only two variables: 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_DOM.tex

    r14526 r14530  
    456456\label{subsec:DOM_zgr} 
    457457 
    458 \nlst{namdom} 
     458\begin{listing} 
     459  \nlst{namdom} 
     460  \caption{\forcode{&namdom}} 
     461  \label{lst:namdom} 
     462\end{listing} 
    459463 
    460464In the vertical, the model mesh is determined by four things: 
     
    666670\label{sec:DOM_DTA_tsd} 
    667671 
    668 \nlst{namtsd} 
     672\begin{listing} 
     673  \nlst{namtsd} 
     674  \caption{\forcode{&namtsd}} 
     675  \label{lst:namtsd} 
     676\end{listing} 
    669677 
    670678Basic initial state options are defined in \nam{tsd}{tsd}. 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_DYN.tex

    r14526 r14530  
    168168\label{sec:DYN_adv_cor_vect} 
    169169 
    170 \nlst{namdyn_adv} 
     170\begin{listing} 
     171  \nlst{namdyn_adv} 
     172  \caption{\forcode{&namdyn_adv}} 
     173  \label{lst:namdyn_adv} 
     174\end{listing} 
    171175 
    172176The vector invariant form of the momentum equations is the one most often used in 
     
    183187\label{subsec:DYN_vor} 
    184188 
    185 \nlst{namdyn_vor} 
     189\begin{listing} 
     190  \nlst{namdyn_vor} 
     191  \caption{\forcode{&namdyn_vor}} 
     192  \label{lst:namdyn_vor} 
     193\end{listing} 
    186194 
    187195Options are defined through the \nam{dyn_vor}{dyn\_vor} namelist variables. 
     
    530538\label{sec:DYN_hpg} 
    531539 
    532 \nlst{namdyn_hpg} 
     540\begin{listing} 
     541  \nlst{namdyn_hpg} 
     542  \caption{\forcode{&namdyn_hpg}} 
     543  \label{lst:namdyn_hpg} 
     544\end{listing} 
    533545 
    534546Options are defined through the \nam{dyn_hpg}{dyn\_hpg} namelist variables. 
     
    733745\label{sec:DYN_spg} 
    734746 
    735 \nlst{namdyn_spg} 
     747\begin{listing} 
     748  \nlst{namdyn_spg} 
     749  \caption{\forcode{&namdyn_spg}} 
     750  \label{lst:namdyn_spg} 
     751\end{listing} 
    736752 
    737753Options are defined through the \nam{dyn_spg}{dyn\_spg} namelist variables. 
     
    10461062\label{sec:DYN_ldf} 
    10471063 
    1048 \nlst{namdyn_ldf} 
     1064\begin{listing} 
     1065  \nlst{namdyn_ldf} 
     1066  \caption{\forcode{&namdyn_ldf}} 
     1067  \label{lst:namdyn_ldf} 
     1068\end{listing} 
    10491069 
    10501070Options are defined through the \nam{dyn_ldf}{dyn\_ldf} namelist variables. 
     
    12461266by setting $\mathrm{ln\_wd\_dl} = \mathrm{.true.}$ and $\mathrm{ln\_wd\_il} = \mathrm{.false.}$. 
    12471267 
    1248 \nlst{namwad} 
     1268\begin{listing} 
     1269  \nlst{namwad} 
     1270  \caption{\forcode{&namwad}} 
     1271  \label{lst:namwad} 
     1272\end{listing} 
    12491273 
    12501274The following terminology is used. The depth of the topography (positive downwards) 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_LBC.tex

    r14528 r14530  
    3030\label{sec:LBC_coast} 
    3131 
    32 \nlst{namlbc} 
     32\begin{listing} 
     33  \nlst{namlbc} 
     34  \caption{\forcode{&namlbc}} 
     35  \label{lst:namlbc} 
     36\end{listing} 
    3337 
    3438%The lateral ocean boundary conditions contiguous to coastlines are Neumann conditions for heat and salt 
     
    226230\label{sec:LBC_mpp} 
    227231 
    228 \nlst{nammpp} 
     232\begin{listing} 
     233  \nlst{nammpp} 
     234  \caption{\forcode{&nammpp}} 
     235  \label{lst:nammpp} 
     236\end{listing} 
    229237 
    230238For massively parallel processing (mpp), a domain decomposition method is used. 
     
    331339\label{sec:LBC_bdy} 
    332340 
    333 \nlst{nambdy} 
    334  
    335 \nlst{nambdy_dta} 
     341\begin{listing} 
     342  \nlst{nambdy} 
     343  \caption{\forcode{&nambdy}} 
     344  \label{lst:nambdy} 
     345\end{listing} 
     346 
     347\begin{listing} 
     348  \nlst{nambdy_dta} 
     349  \caption{\forcode{&nambdy_dta}} 
     350  \label{lst:nambdy_dta} 
     351\end{listing} 
    336352 
    337353Options are defined through the \nam{bdy}{bdy} and \nam{bdy_dta}{bdy\_dta} namelist variables. 
     
    641657\label{subsec:LBC_bdy_tides} 
    642658 
    643 \nlst{nambdy_tide} 
     659\begin{listing} 
     660  \nlst{nambdy_tide} 
     661  \caption{\forcode{&nambdy_tide}} 
     662  \label{lst:nambdy_tide} 
     663\end{listing} 
    644664 
    645665Tidal forcing at open boundaries requires the activation of surface 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_LDF.tex

    r14526 r14530  
    469469\label{sec:LDF_eiv} 
    470470 
    471 \nlst{namtra_eiv} 
     471\begin{listing} 
     472  \nlst{namtra_eiv} 
     473  \caption{\forcode{&namtra_eiv}} 
     474  \label{lst:namtra_eiv} 
     475\end{listing} 
    472476 
    473477%%gm  from Triad appendix  : to be incorporated.... 
     
    528532\label{sec:LDF_mle} 
    529533 
    530 \nlst{namtra_mle} 
     534\begin{listing} 
     535  \nlst{namtra_mle} 
     536  \caption{\forcode{&namtra_mle}} 
     537  \label{lst:namtra_mle} 
     538\end{listing} 
    531539 
    532540If  \np[=.true.]{ln_mle}{ln\_mle} in \nam{tra_mle}{tra\_mle} namelist, a parameterization of the mixing due to unresolved mixed layer instabilities is activated (\citet{fox-kemper.ferrari.ea_JPO08}). Additional transport is computed in \rou{ldf\_mle\_trp} and added to the eulerian transport in \rou{tra\_adv} as done for eddy induced advection. 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_OBS.tex

    r14526 r14530  
    124124the observation files that may be used with the observation operator. 
    125125 
    126 \nlst{namobs} 
     126\begin{listing} 
     127  \nlst{namobs} 
     128  \caption{\forcode{&namobs}} 
     129  \label{lst:namobs} 
     130\end{listing} 
    127131 
    128132The observation operator code uses the feedback observation file format for all data types. 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_SBC.tex

    r14526 r14530  
    2525\clearpage 
    2626 
    27 \nlst{namsbc} 
     27\begin{listing} 
     28  \nlst{namsbc} 
     29  \caption{\forcode{&namsbc}} 
     30  \label{lst:namsbc} 
     31\end{listing} 
    2832 
    2933The ocean needs seven fields as surface boundary condition: 
     
    434438\label{subsec:SBC_SAS} 
    435439 
    436 \nlst{namsbc_sas} 
     440\begin{listing} 
     441  \nlst{namsbc_sas} 
     442  \caption{\forcode{&namsbc_sas}} 
     443  \label{lst:namsbc_sas} 
     444\end{listing} 
    437445 
    438446In some circumstances, it may be useful to avoid calculating the 3D temperature, 
     
    495503% parameterization'' (i.e NCAR, COARE, ECMWF...) 
    496504 
    497 \nlst{namsbc_flx} 
     505\begin{listing} 
     506  \nlst{namsbc_flx} 
     507  \caption{\forcode{&namsbc_flx}} 
     508  \label{lst:namsbc_flx} 
     509\end{listing} 
    498510 
    499511In the flux formulation (\np[=.true.]{ln_flx}{ln\_flx}), 
     
    513525% L. Brodeau, December 2019... % 
    514526 
    515 \nlst{namsbc_blk} 
     527\begin{listing} 
     528  \nlst{namsbc_blk} 
     529  \caption{\forcode{&namsbc_blk}} 
     530  \label{lst:namsbc_blk} 
     531\end{listing} 
    516532 
    517533If the bulk formulation is selected (\np[=.true.]{ln_blk}{ln\_blk}), the air-sea 
     
    868884\label{sec:SBC_cpl} 
    869885 
    870 \nlst{namsbc_cpl} 
     886\begin{listing} 
     887  \nlst{namsbc_cpl} 
     888  \caption{\forcode{&namsbc_cpl}} 
     889  \label{lst:namsbc_cpl} 
     890\end{listing} 
    871891 
    872892In the coupled formulation of the surface boundary condition, 
     
    900920\label{sec:SBC_apr} 
    901921 
    902 \nlst{namsbc_apr} 
     922\begin{listing} 
     923  \nlst{namsbc_apr} 
     924  \caption{\forcode{&namsbc_apr}} 
     925  \label{lst:namsbc_apr} 
     926\end{listing} 
    903927 
    904928The optional atmospheric pressure can be used to force ocean and ice dynamics 
     
    932956\label{sec:SBC_TDE} 
    933957 
    934 \nlst{nam_tide} 
     958\begin{listing} 
     959  \nlst{nam_tide} 
     960  \caption{\forcode{&nam_tide}} 
     961  \label{lst:nam_tide} 
     962\end{listing} 
    935963 
    936964\subsection{Tidal constituents} 
     
    10151043\label{sec:SBC_rnf} 
    10161044 
    1017 \nlst{namsbc_rnf} 
     1045\begin{listing} 
     1046  \nlst{namsbc_rnf} 
     1047  \caption{\forcode{&namsbc_rnf}} 
     1048  \label{lst:namsbc_rnf} 
     1049\end{listing} 
    10181050 
    10191051%River runoff generally enters the ocean at a nonzero depth rather than through the surface. 
     
    11491181\label{sec:SBC_isf} 
    11501182 
    1151 \nlst{namisf} 
     1183\begin{listing} 
     1184  \nlst{namisf} 
     1185  \caption{\forcode{&namisf}} 
     1186  \label{lst:namisf} 
     1187\end{listing} 
    11521188 
    11531189The namelist variable in \nam{isf}{isf}, \np{ln_isf}{ln\_isf}, controls the ice shelf interactions: 
     
    14551491\label{sec:SBC_ICB_icebergs} 
    14561492 
    1457 \nlst{namberg} 
     1493\begin{listing} 
     1494  \nlst{namberg} 
     1495  \caption{\forcode{&namberg}} 
     1496  \label{lst:namberg} 
     1497\end{listing} 
    14581498 
    14591499Icebergs are modelled as lagrangian particles in \NEMO\ \citep{marsh.ivchenko.ea_GMD15}. 
     
    15241564\label{sec:SBC_wave} 
    15251565 
    1526 \nlst{namsbc_wave} 
     1566\begin{listing} 
     1567  \nlst{namsbc_wave} 
     1568  \caption{\forcode{&namsbc_wave}} 
     1569  \label{lst:namsbc_wave} 
     1570\end{listing} 
    15271571 
    15281572Ocean waves represent the interface between the ocean and the atmosphere, so \NEMO\ is extended to incorporate 
     
    17741818\label{subsec:SBC_ssr} 
    17751819 
    1776 \nlst{namsbc_ssr} 
     1820\begin{listing} 
     1821  \nlst{namsbc_ssr} 
     1822  \caption{\forcode{&namsbc_ssr}} 
     1823  \label{lst:namsbc_ssr} 
     1824\end{listing} 
    17771825 
    17781826Options are defined through the \nam{sbc_ssr}{sbc\_ssr} namelist variables. 
     
    18791927\label{subsec:SBC_fwb} 
    18801928 
    1881 \nlst{namsbc_fwb} 
     1929\begin{listing} 
     1930  \nlst{namsbc_fwb} 
     1931  \caption{\forcode{&namsbc_fwb}} 
     1932  \label{lst:namsbc_fwb} 
     1933\end{listing} 
    18821934 
    18831935For global ocean simulations, it can be useful to introduce a control of the 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_STO.tex

    r14526 r14530  
    181181(only the subset for equation of state stochastic parametrisation is listed below): 
    182182 
    183 \nlst{namsto} 
     183\begin{listing} 
     184  \nlst{namsto} 
     185  \caption{\forcode{&namsto}} 
     186  \label{lst:namsto} 
     187\end{listing} 
    184188 
    185189The variables of stochastic paramtetrisation itself (based on the global 2° experiments as in \cite{brankart_OM13} are: 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_TRA.tex

    r14526 r14530  
    7676\label{sec:TRA_adv} 
    7777 
    78 \nlst{namtra_adv} 
     78\begin{listing} 
     79  \nlst{namtra_adv} 
     80  \caption{\forcode{&namtra_adv}} 
     81  \label{lst:namtra_adv} 
     82\end{listing} 
    7983 
    8084When considered (\ie\ when \np{ln_traadv_OFF}{ln\_traadv\_OFF} is not set to \forcode{.true.}), 
     
    452456\label{sec:TRA_ldf} 
    453457 
    454 \nlst{namtra_ldf} 
     458\begin{listing} 
     459  \nlst{namtra_ldf} 
     460  \caption{\forcode{&namtra_ldf}} 
     461  \label{lst:namtra_ldf} 
     462\end{listing} 
    455463 
    456464Options are defined through the \nam{tra_ldf}{tra\_ldf} namelist variables. 
     
    764772\label{subsec:TRA_qsr} 
    765773 
    766 \nlst{namtra_qsr} 
     774\begin{listing} 
     775  \nlst{namtra_qsr} 
     776  \caption{\forcode{&namtra_qsr}} 
     777  \label{lst:namtra_qsr} 
     778\end{listing} 
    767779 
    768780Options are defined through the \nam{tra_qsr}{tra\_qsr} namelist variables. 
     
    882894\label{subsec:TRA_bbc} 
    883895 
    884 \nlst{nambbc} 
     896\begin{listing} 
     897  \nlst{nambbc} 
     898  \caption{\forcode{&nambbc}} 
     899  \label{lst:nambbc} 
     900\end{listing} 
    885901 
    886902\begin{figure} 
     
    919935\label{sec:TRA_bbl} 
    920936 
    921 \nlst{nambbl} 
     937\begin{listing} 
     938  \nlst{nambbl} 
     939  \caption{\forcode{&nambbl}} 
     940  \label{lst:nambbl} 
     941\end{listing} 
    922942 
    923943Options are defined through the \nam{bbl}{bbl} namelist variables. 
     
    10771097\label{sec:TRA_dmp} 
    10781098 
    1079 \nlst{namtra_dmp} 
     1099\begin{listing} 
     1100  \nlst{namtra_dmp} 
     1101  \caption{\forcode{&namtra_dmp}} 
     1102  \label{lst:namtra_dmp} 
     1103\end{listing} 
    10801104 
    10811105In some applications it can be useful to add a Newtonian damping term into 
     
    11641188\label{sec:TRA_eosbn2} 
    11651189 
    1166 \nlst{nameos} 
     1190\begin{listing} 
     1191  \nlst{nameos} 
     1192  \caption{\forcode{&nameos}} 
     1193  \label{lst:nameos} 
     1194\end{listing} 
    11671195 
    11681196%% ================================================================================================= 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_ZDF.tex

    r14526 r14530  
    5353%and thus of the formulation used (see \autoref{chap:TD}). 
    5454 
    55 \nlst{namzdf} 
     55\begin{listing} 
     56  \nlst{namzdf} 
     57  \caption{\forcode{&namzdf}} 
     58  \label{lst:namzdf} 
     59\end{listing} 
    5660 
    5761%% ================================================================================================= 
     
    7983\label{subsec:ZDF_ric} 
    8084 
    81 \nlst{namzdf_ric} 
     85\begin{listing} 
     86  \nlst{namzdf_ric} 
     87  \caption{\forcode{&namzdf_ric}} 
     88  \label{lst:namzdf_ric} 
     89\end{listing} 
    8290 
    8391When \np[=.true.]{ln_zdfric}{ln\_zdfric}, a local Richardson number dependent formulation for the vertical momentum and 
     
    131139\label{subsec:ZDF_tke} 
    132140 
    133 \nlst{namzdf_tke} 
     141\begin{listing} 
     142  \nlst{namzdf_tke} 
     143  \caption{\forcode{&namzdf_tke}} 
     144  \label{lst:namzdf_tke} 
     145\end{listing} 
    134146 
    135147The vertical eddy viscosity and diffusivity coefficients are computed from a TKE turbulent closure model based on 
     
    405417\label{subsec:ZDF_gls} 
    406418 
    407 \nlst{namzdf_gls} 
     419\begin{listing} 
     420  \nlst{namzdf_gls} 
     421  \caption{\forcode{&namzdf_gls}} 
     422  \label{lst:namzdf_gls} 
     423\end{listing} 
    408424 
    409425The Generic Length Scale (GLS) scheme is a turbulent closure scheme based on two prognostic equations: 
     
    520536\label{subsec:ZDF_osm} 
    521537 
    522 \nlst{namzdf_osm} 
     538\begin{listing} 
     539  \nlst{namzdf_osm} 
     540  \caption{\forcode{&namzdf_osm}} 
     541  \label{lst:namzdf_osm} 
     542\end{listing} 
    523543 
    524544%-------------------------------------------------------------------------------------------------------------- 
     
    10551075\label{sec:ZDF_drg} 
    10561076 
    1057 \nlst{namdrg} 
    1058  
    1059 \nlst{namdrg_top} 
    1060  
    1061 \nlst{namdrg_bot} 
     1077\begin{listing} 
     1078  \nlst{namdrg} 
     1079  \caption{\forcode{&namdrg}} 
     1080  \label{lst:namdrg} 
     1081\end{listing} 
     1082 
     1083\begin{listing} 
     1084  \nlst{namdrg_top} 
     1085  \caption{\forcode{&namdrg_top}} 
     1086  \label{lst:namdrg_top} 
     1087\end{listing} 
     1088 
     1089\begin{listing} 
     1090  \nlst{namdrg_bot} 
     1091  \caption{\forcode{&namdrg_bot}} 
     1092  \label{lst:namdrg_bot} 
     1093\end{listing} 
    10621094 
    10631095Options to define the top and bottom friction are defined through the \nam{drg}{drg} namelist variables. 
     
    13131345\label{subsec:ZDF_tmx_new} 
    13141346 
    1315 \nlst{namzdf_iwm} 
     1347\begin{listing} 
     1348  \nlst{namzdf_iwm} 
     1349  \caption{\forcode{&namzdf_iwm}} 
     1350  \label{lst:namzdf_iwm} 
     1351\end{listing} 
    13161352 
    13171353The parameterization of mixing induced by breaking internal waves is a generalization of 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_cfgs.tex

    r14526 r14530  
    3535Configuration is defined manually through the \nam{cfg}{cfg} namelist variables. 
    3636 
    37 \nlst{namcfg} 
     37\begin{listing} 
     38  \nlst{namcfg} 
     39  \caption{\forcode{&namcfg}} 
     40  \label{lst:namcfg} 
     41\end{listing} 
    3842 
    3943%% ================================================================================================= 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_misc.tex

    r14526 r14530  
    112112\label{sec:MISC_closea} 
    113113 
    114 \nlst{namclo} 
     114\begin{listing} 
     115  \nlst{namclo} 
     116  \caption{\forcode{&namclo}} 
     117  \label{lst:namclo} 
     118\end{listing} 
    115119 
    116120Some configurations include inland seas and lakes as ocean 
     
    326330\label{sec:MISC_opt} 
    327331 
    328 \nlst{namctl} 
     332\begin{listing} 
     333  \nlst{namctl} 
     334  \caption{\forcode{&namctl}} 
     335  \label{lst:namctl} 
     336\end{listing} 
    329337 
    330338Options are defined through the  \nam{ctl}{ctl} namelist variables. 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_time_domain.tex

    r14526 r14530  
    302302\label{sec:TD_rst} 
    303303 
    304 \nlst{namrun} 
     304\begin{listing} 
     305  \nlst{namrun} 
     306  \caption{\forcode{&namrun}} 
     307  \label{lst:namrun} 
     308\end{listing} 
    305309 
    306310The first time step of this three level scheme when starting from initial conditions is 
  • NEMO/trunk/doc/latex/global/highlighting.tex

    r14526 r14530  
    2929 
    3030%% Namelists inclusion 
    31 \newcommand{\nlst}[1]{ 
    32    \begin{listing} 
    33       \newmintedfile{fortran}{../../../namelists/#1} 
    34       \caption{\forcode{&#1}} 
    35       \label{lst:#1} 
    36    \end{listing} 
    37 } 
     31\newcommand{\nlst}[1]{\forfile{../../../namelists/#1}} 
     32 
Note: See TracChangeset for help on using the changeset viewer.