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

source: NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc/latex/global/styles.tex @ 11525

Last change on this file since 11525 was 11525, checked in by smasson, 5 years ago

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

File size: 1.8 KB
Line 
1
2%% Styles
3%% ==============================================================================
4
5%% Colors
6\setmanualcolor
7\colorlet{manualcolorshaded}{manualcolor!60}
8\definecolor{orcidcolor}{HTML}{A6CE39}
9
10%% Page layout
11\pagestyle{scrheadings}
12\addtokomafont{pagehead}{  \sffamily              }
13\addtokomafont{pagefoot}{  \sffamily \footnotesize}
14\addtokomafont{pagenumber}{\sffamily \slshape     }
15\addtokomafont{chapter}{\color{white}}
16\ohead{} \ofoot{}   %% Clear defaults
17
18%% Caption
19\captionsetup{font = footnotesize, justification = justified}
20
21%% Bibliography
22\bibliographystyle{../../global/ametsoc}
23\renewcommand{\bibfont}{\small}
24\renewcommand{\bibpreamble }{\begin{multicols}{2}}
25\renewcommand{\bibpostamble}{  \end{multicols}   }
26
27%% Catcodes
28\makeatletter
29
30%% Prevent error with tikz and namelist inclusion
31\global\let\tikz@ensure@dollar@catcode=\relax
32
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}
59
60\makeatother
Note: See TracBrowser for help on using the repository browser.