Changeset 11572
- Timestamp:
- 2019-09-19T10:47:06+02:00 (5 years ago)
- Location:
- NEMO/trunk/doc/latex/global
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/global/document.tex
r11563 r11572 11 11 12 12 %% Document layout 13 \documentclass[fontsize = 10pt, twoside, abstract ]{scrreprt}13 \documentclass[fontsize = 10pt, twoside, abstract, draft]{scrreprt} 14 14 15 15 %% Load configurations … … 99 99 \addcontentsline{toc}{chapter}{Indexes} 100 100 \lohead{Indexes} \rehead{Indexes} 101 \printindex[blocks] 101 102 \printindex[keys] 102 103 \printindex[modules] 103 \printindex[blocks]104 104 \printindex[parameters] 105 105 \printindex[subroutines] -
NEMO/trunk/doc/latex/global/highlighting.tex
r11567 r11572 2 2 %% ============================================================================== 3 3 4 \usepackage[outputdir=../build, chapter ]{minted}4 \usepackage[outputdir=../build, chapter, newfloat]{minted} 5 5 6 6 %% Global highlighting style -
NEMO/trunk/doc/latex/global/index.ist
r11176 r11572 1 1 headings_flag 1 2 heading_prefix "{\\medskip\\hfill\\large \\textsf{\\textbf{"3 heading_suffix "}}\\hfill}\\ medskip\\nopagebreak\n"2 heading_prefix "{\\medskip\\hfill\\large{" 3 heading_suffix "}}\\hfill}\\smallskip\n" 4 4 5 5 delim_0 "\\dotfill~" 6 delim_1 "\\dotfill~"7 delim_2 "\\dotfill~"8 -
NEMO/trunk/doc/latex/global/indexes.tex
r11567 r11572 3 3 4 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} }5 \newcommand{\hf}[1]{ \index{h90 files!#1} \textit{#1.h90} } 6 \newcommand{\ifile}[1]{\index{Input NetCDF files!#1.nc} \textit{#1.nc} } 7 \newcommand{\jp}[1]{ \index{Model parameters!#1} \texttt{#1} } 8 \newcommand{\key}[1]{ \index[keys]{#1@\texttt{\textbf{key\_#1}}} \texttt{\textbf{key\_#1}}} 9 \newcommand{\mdl}[1]{ \index[modules]{#1@\textit{#1.F90}} \textit{#1.F90} } 10 \newcommand{\nam}[1]{ \index[blocks]{#1@\texttt{\&nam#1}} \forcode{&nam#1} } 11 \newcommand{\np}[1]{ \index[parameters]{#1@\texttt{#1}} \texttt{#1} } 12 \newcommand{\npnew}[2][]{\index[parameters]{#2@\texttt{#2}} \forcode{#2#1} } 13 \newcommand{\rou}[1]{ \index[subroutines]{#1@\texttt{#1}} \texttt{#1} } 14 14 15 15 \indexsetup{toclevel=section, othercode=\small} 16 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 } ), 20 columns=3] 21 \makeindex[intoc=true, name=blocks , title=Namelist blocks ({\em nam } prefix), 22 columns=3] 23 \makeindex[intoc=true, name=parameters , title=Namelist parameters ({\em [cdlnr]n\_} ), 24 columns=3] 25 \makeindex[intoc=true, name=subroutines, title=Subroutines 26 ] 17 \makeindex[intoc=true, name=blocks , title=Namelist blocks , columns=3] 18 \makeindex[intoc=true, name=keys , title=CPP keys ] 19 \makeindex[intoc=true, name=modules , title=\fortran\ modules , columns=3] 20 \makeindex[intoc=true, name=parameters , title=Namelist parameters , columns=3] 21 \makeindex[intoc=true, name=subroutines, title=\fortran\ subroutines ] -
NEMO/trunk/doc/latex/global/packages.tex
r11562 r11572 6 6 7 7 %% KOMA-script 8 %\usepackage{scrhack} 9 \usepackage[footsepline=0.25pt, 10 headsepline=0.25pt]{scrlayer-scrpage} 8 \usepackage[footsepline=0.25pt, headsepline=0.25pt]{scrlayer-scrpage} 11 9 12 10 %% customization (layout, header/footer styles & contents, background) 13 11 \usepackage{draftwatermark} 14 \usepackage[margin = 2cm]{geometry} %% 'pass' to enable \restoregeometry only12 \usepackage[margin = 2cm]{geometry} 15 13 \usepackage[pages = some]{background} %% 'some' for title page 16 14 \usepackage[Bjornstrup]{fncychap} 17 15 18 %% fonts16 %% Fonts 19 17 \usepackage{fontspec} 20 18 %% Issue with fontawesome pkg: path to FontAwesome.otf has to be hard-coded … … 24 22 \usepackage{academicons, fontawesome, newtxtext} 25 23 26 %% formatting27 \usepackage{ tabularx, etoc, xcolor}24 %% Formatting 25 \usepackage{etoc, tabularx, xcolor} 28 26 29 %% graphics27 %% Graphics 30 28 \usepackage{caption, graphicx} 31 29 32 %% labels33 \usepackage{ bookmark,lastpage, natbib}30 %% Labels 31 \usepackage{lastpage, natbib} 34 32 35 %% mathematics33 %% Mathematics 36 34 \usepackage{amsmath, amssymb} 37 35 38 %% versatility36 %% Versatility 39 37 \usepackage{subfiles} 40 38 -
NEMO/trunk/doc/latex/global/preamble.tex
r11515 r11572 16 16 colorlinks, 17 17 citecolor = manualcolor, linkcolor = manualcolor, urlcolor = manualcolor, 18 final = true %% Links even with draft building18 final %% Links even in draft mode 19 19 } 20 20 21 \backgroundsetup{ 22 firstpage = true, 23 scale = 1, angle = 0, opacity = 1, 24 contents = { 25 \begin{tikzpicture}[remember picture, overlay] 26 \path [fill = manualcolor] (-0.5\paperwidth, 7) rectangle (0.5\paperwidth, 10); 27 \end{tikzpicture} 28 } 29 } 21 %% `\autoref` uncapitalization 22 \renewcommand{\appendixautorefname}{appendix} 23 \renewcommand{\equationautorefname}{equation} 24 \renewcommand{\figureautorefname}{figure} 25 %\renewcommand{\listingautorefname}{namelist} 26 \renewcommand{\tableautorefname}{table} -
NEMO/trunk/doc/latex/global/styles.tex
r11567 r11572 19 19 \captionsetup{font = footnotesize, justification = justified} 20 20 21 %% `\autoref` names (uncapitalize)22 \renewcommand{\appendixautorefname}{appendix}23 \renewcommand{\equationautorefname}{equation}24 \renewcommand{\figureautorefname}{figure}25 %\renewcommand{\listingautorefname}{namelist}26 \renewcommand{\tableautorefname}{table}27 28 21 %% Footnote 29 22 \renewcommand{\thefootnote}{\fnsymbol{footnote}} … … 40 33 %% Prevent error with tikz and namelist inclusion 41 34 \global\let\tikz@ensure@dollar@catcode=\relax 35 36 %% First page 37 \backgroundsetup{ 38 firstpage = true, 39 scale = 1, angle = 0, opacity = 1, 40 contents = { 41 \begin{tikzpicture}[remember picture, overlay] 42 \path [fill = manualcolor] (-0.5\paperwidth, 7) rectangle (0.5\paperwidth, 10); 43 \end{tikzpicture} 44 } 45 } 42 46 43 47 %% Apply engine color for chapter headings: tweaking snippets from fncychap.sty
Note: See TracChangeset
for help on using the changeset viewer.