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 11525 for NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc/latex/global/styles.tex – NEMO

Ignore:
Timestamp:
2019-09-10T16:18:42+02:00 (5 years ago)
Author:
smasson
Message:

dev_r10984_HPC-13 : merge with trunk@,11524 see #2285

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc/latex/global/styles.tex

    r11512 r11525  
    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 
    1718%% Caption 
    1819\captionsetup{font = footnotesize, justification = justified} 
    19  
    20 %% Additional fonts 
    21 \DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it} 
    2220 
    2321%% Bibliography 
     
    3331\global\let\tikz@ensure@dollar@catcode=\relax 
    3432 
    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 %} 
     33%% Apply engine color for chapter headings: tweaking snippets from fncychap.sty 
     34\renewcommand{\DOCH}{% 
     35  \settowidth{\py}{\CNoV\thechapter} 
     36  \addtolength{\py}{-10pt}      % Amount of space by which the 
     37%                                  % number is shifted right 
     38  \fboxsep=0pt% 
     39  \colorbox{manualcolor}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}% 
     40  \kern-\py\raise20pt% 
     41  \hbox{\color{manualcolorshaded}\CNoV\thechapter}\\% 
     42} 
     43\renewcommand{\DOTI}[1]{% 
     44  \nointerlineskip\raggedright% 
     45  \fboxsep=\myhi% 
     46  \vskip-1ex% 
     47  \colorbox{manualcolor}{\parbox[t]{\mylen}{\color{white}\CTV\FmTi{#1}}}\par\nobreak% 
     48  \vskip 40\p@% 
     49} 
     50\renewcommand{\DOTIS}[1]{% 
     51  \fboxsep=0pt 
     52  \colorbox{manualcolor}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}\\% 
     53  \nointerlineskip\raggedright% 
     54  \fboxsep=\myhi% 
     55  \vskip-1ex% Remove white 1pt line 
     56  \colorbox{manualcolor}{\parbox[t]{\mylen}{\color{white}\CTV\FmTi{#1}}}\par\nobreak% 
     57  \vskip 40\p@% 
     58} 
    4359 
    4460\makeatother 
Note: See TracChangeset for help on using the changeset viewer.