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 11692 for NEMO/branches/2019/dev_r11514_HPC-02_single-core-extrahalo/doc/latex/global/styles.tex – NEMO

Ignore:
Timestamp:
2019-10-12T16:08:18+02:00 (5 years ago)
Author:
francesca
Message:

Update branch to integrate the development starting from the current v4.01 ready trunk

Location:
NEMO/branches/2019/dev_r11514_HPC-02_single-core-extrahalo/doc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11514_HPC-02_single-core-extrahalo/doc

    • Property svn:externals set to
      ^/utils/badges badges
      ^/utils/logos logos
  • NEMO/branches/2019/dev_r11514_HPC-02_single-core-extrahalo/doc/latex

    • Property svn:ignore deleted
  • NEMO/branches/2019/dev_r11514_HPC-02_single-core-extrahalo/doc/latex/global

    • Property svn:ignore deleted
  • NEMO/branches/2019/dev_r11514_HPC-02_single-core-extrahalo/doc/latex/global/styles.tex

    r11433 r11692  
    33%% ============================================================================== 
    44 
    5 \setcolor 
    6 %\definecolor{ghcolor}{HTML}{000333} 
     5%% Colors 
     6\setmanualcolor 
     7\colorlet{manualcolorshaded}{manualcolor!60} 
    78\definecolor{orcidcolor}{HTML}{A6CE39} 
    8 %\definecolor{wpcolor}{HTML}{464646} 
    99 
    1010%% Page layout 
     
    1313\addtokomafont{pagefoot}{  \sffamily \footnotesize} 
    1414\addtokomafont{pagenumber}{\sffamily \slshape     } 
     15\addtokomafont{chapter}{\color{white}} 
    1516\ohead{} \ofoot{}   %% Clear defaults 
    1617 
     
    1819\captionsetup{font = footnotesize, justification = justified} 
    1920 
    20 %% Additional fonts 
    21 \DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it} 
     21%% Footnote 
     22\renewcommand{\thefootnote}{\fnsymbol{footnote}} 
    2223 
    2324%% Bibliography 
     
    3334\global\let\tikz@ensure@dollar@catcode=\relax 
    3435 
    35 %% Apply engine color for chapter boxes (code from fncychap.sty) 
    36 %\renewcommand{\DOTI}[1]{ 
    37 %  \nointerlineskip\raggedright 
    38 %  \fboxsep=\myhi 
    39 %  \vskip-1ex 
    40 %  \colorbox[manualcolor]{.85}{\parbox[t]{\mylen}{\CTV\FmTi{#1}}}\par\nobreak 
    41 %  \vskip 40\p@ 
    42 %} 
     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} 
     46 
     47%% Apply engine color for chapter headings: tweaking snippets from fncychap.sty 
     48\renewcommand{\DOCH}{% 
     49  \settowidth{\py}{\CNoV\thechapter} 
     50  \addtolength{\py}{-10pt}      % Amount of space by which the 
     51%                                  % number is shifted right 
     52  \fboxsep=0pt% 
     53  \colorbox{manualcolor}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}% 
     54  \kern-\py\raise20pt% 
     55  \hbox{\color{manualcolorshaded}\CNoV\thechapter}\\% 
     56} 
     57\renewcommand{\DOTI}[1]{% 
     58  \nointerlineskip\raggedright% 
     59  \fboxsep=\myhi% 
     60  \vskip-1ex% 
     61  \colorbox{manualcolor}{\parbox[t]{\mylen}{\color{white}\CTV\FmTi{#1}}}\par\nobreak% 
     62  \vskip 40\p@% 
     63} 
     64\renewcommand{\DOTIS}[1]{% 
     65  \fboxsep=0pt 
     66  \colorbox{manualcolor}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}\\% 
     67  \nointerlineskip\raggedright% 
     68  \fboxsep=\myhi% 
     69  \vskip-1ex% Remove white 1pt line 
     70  \colorbox{manualcolor}{\parbox[t]{\mylen}{\color{white}\CTV\FmTi{#1}}}\par\nobreak% 
     71  \vskip 40\p@% 
     72} 
     73 
     74%% Temporary fix 
     75\def\set@curr@file#1{% 
     76  \begingroup 
     77    \escapechar\m@ne 
     78    \xdef\@curr@file{\expandafter\string\csname #1\endcsname}% 
     79  \endgroup 
     80} 
     81\def\quote@name#1{"\quote@@name#1\@gobble""} 
     82\def\quote@@name#1"{#1\quote@@name} 
     83\def\unquote@name#1{\quote@@name#1\@gobble"} 
    4384 
    4485\makeatother 
Note: See TracChangeset for help on using the changeset viewer.