[11187] | 1 | |
---|
[11148] | 2 | %% Styles |
---|
| 3 | %% ============================================================================== |
---|
[11170] | 4 | |
---|
[11515] | 5 | %% Colors |
---|
| 6 | \setmanualcolor |
---|
| 7 | \colorlet{manualcolorshaded}{manualcolor!60} |
---|
[11433] | 8 | \definecolor{orcidcolor}{HTML}{A6CE39} |
---|
[11148] | 9 | |
---|
[11433] | 10 | %% Page layout |
---|
| 11 | \pagestyle{scrheadings} |
---|
| 12 | \addtokomafont{pagehead}{ \sffamily } |
---|
| 13 | \addtokomafont{pagefoot}{ \sffamily \footnotesize} |
---|
| 14 | \addtokomafont{pagenumber}{\sffamily \slshape } |
---|
[11515] | 15 | \addtokomafont{chapter}{\color{white}} |
---|
[11433] | 16 | \ohead{} \ofoot{} %% Clear defaults |
---|
| 17 | |
---|
| 18 | %% Caption |
---|
| 19 | \captionsetup{font = footnotesize, justification = justified} |
---|
| 20 | |
---|
[11563] | 21 | %% Footnote |
---|
| 22 | \renewcommand{\thefootnote}{\fnsymbol{footnote}} |
---|
| 23 | |
---|
[11433] | 24 | %% Bibliography |
---|
| 25 | \bibliographystyle{../../global/ametsoc} |
---|
| 26 | \renewcommand{\bibfont}{\small} |
---|
| 27 | \renewcommand{\bibpreamble }{\begin{multicols}{2}} |
---|
| 28 | \renewcommand{\bibpostamble}{ \end{multicols} } |
---|
[11148] | 29 | |
---|
[11433] | 30 | %% Catcodes |
---|
| 31 | \makeatletter |
---|
[11148] | 32 | |
---|
[11433] | 33 | %% Prevent error with tikz and namelist inclusion |
---|
| 34 | \global\let\tikz@ensure@dollar@catcode=\relax |
---|
| 35 | |
---|
[11572] | 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 | |
---|
[11515] | 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 | } |
---|
[11187] | 73 | |
---|
[11687] | 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"} |
---|
| 84 | |
---|
[11433] | 85 | \makeatother |
---|