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 11433 for NEMO/trunk/doc/latex/global/indexes.tex – NEMO

Ignore:
Timestamp:
2019-08-12T21:44:18+02:00 (5 years ago)
Author:
nicolasmartin
Message:

Pre-implementation of new cover page and new headings style for reference manuals

Cover page

The layout of the frontpage has been completely redesigned,
a coloured banner has been added to emphasize the title and easily identify each manual
between them.
The chosen color for each document (blue for NEMO, gray for SI3 and green for TOP) will be
used throughout the manual for the links and in the chapter headings.
The list of authors (writers/editors/reviewers) for the version of the manual is given next to
the abstract, which is now included in the frontpage.
A link to an existing ORCID profile for the author precedes its name.
Few settings have been added to each definitions.tex in order to adjust the rendering of the cover page (vertical spaces above and below the title, a subtitle, the width for authors list and
abstract section)

Headings

  • header: chapter number and title for even pages, same infos for section otherwise
  • footer: name of the manual and page numbering with the total number of pages (reverse order between odd/even pages)

For the chapter heading, a new style 'Bjornstrup' from fncychap package is now use.

Abstract

Split the section in two paragraphs for all manuals

  1. Common description with almost the same sentences only customized by the general infos of the model
  2. Specific part for the characteristics of the model

Troubleshooting

As announced, I have introduced some icons from academicons and fontawesome packages.
It required to switch from pdflatex to xelatex for the compilation and it prevents from now
the building of the whole document.
Also the PDF generated does not look nice due to the font

Work in progress...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/latex/global/indexes.tex

    r11212 r11433  
    88\newcommand{\key}[1]{\index[keys]{#1}        \texttt{\textbf{key\_#1}}} 
    99\newcommand{\mdl}[1]{\index[modules]{#1}     \textit{#1.F90}          } 
    10 \newcommand{\ngn}[1]{\index[blocks]{#1}      \texttt{#1}              } 
     10\newcommand{\nam}[1]{\index[blocks]{#1}      \texttt{nam#1}           } 
    1111\newcommand{\np}[1]{ \index[parameters]{#1}  \texttt{#1}              } 
    1212\newcommand{\rou}[1]{\index[subroutines]{#1} \texttt{#1}              } 
     
    1414\indexsetup{toclevel=section, othercode=\small} 
    1515 
    16 \makeindex[intoc=true, name=keys       , title=CPP keys                      ] 
    17 \makeindex[intoc=true, name=modules    , title=Modules                       ] 
    18 \makeindex[intoc=true, name=blocks     , title=Namelist blocks               ] 
    19 \makeindex[intoc=true, name=parameters , title=Namelist parameters, columns=3] 
    20 \makeindex[intoc=true, name=subroutines, title=Subroutines                   ] 
    21  
    22  
    23 %% Load hyperref at the end of the preamble to make it work with other pkgs 
    24 \usepackage{hyperref}                    %% hyper 
    25 \hypersetup{ 
    26 %  pdftitle={\heading}, 
    27 %  pdfauthor={\firstauthor and \secondauthor}, 
    28   colorlinks, 
    29   citecolor=olive, 
    30   linkcolor=blue, 
    31   urlcolor=gray 
    32 } 
     16\makeindex[intoc=true, name=keys       , title=CPP keys            ({\em key\_     } prefix)           ] 
     17\makeindex[intoc=true, name=modules    , title=\fortran modules                                        ] 
     18\makeindex[intoc=true, name=blocks     , title=Namelist blocks     ({\em nam       } prefix), columns=3] 
     19\makeindex[intoc=true, name=parameters , title=Namelist parameters ({\em [cdlnr]n\_}       ), columns=3] 
     20\makeindex[intoc=true, name=subroutines, title=Subroutines                                             ] 
Note: See TracChangeset for help on using the changeset viewer.