source: NEMO/trunk/doc/latex/global/preamble.tex @ 11433

Last change on this file since 11433 was 11433, checked in by nicolasmartin, 16 months ago

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 size: 777 bytes
RevLine 
[11176]1
[11433]2%% Specific configuration
3\input{../main/definitions}
4
5%% Global configuration
[11176]6\input{../../global/packages}
7\input{../../global/highlighting}
[11433]8\input{../../global/indexes}
9\input{../../global/styles}
10\backgroundsetup{
11  firstpage = true,
12  scale = 1, angle = 0, opacity = 1,
13  contents = {
14    \begin{tikzpicture}[remember picture, overlay]
15      \path [fill = manualcolor] (-0.5\paperwidth, 7) rectangle (0.5\paperwidth, 10);
16    \end{tikzpicture}
17  }
18}
[11176]19\input{../../global/new_cmds}
[11187]20%\input{../../global/todonotes}
[11176]21
[11433]22%% Load hyperref at the end of the preamble to make it work with other pkgs
23\usepackage{hyperref}   %% links
24\hypersetup{
25  colorlinks,
26  citecolor = manualcolor, linkcolor = manualcolor, urlcolor = manualcolor,
27  final   %% Links even with draft building
28}
Note: See TracBrowser for help on using the repository browser.