Changeset 11515 for NEMO/trunk/doc/latex/global/styles.tex
- Timestamp:
- 2019-09-09T16:07:20+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/global/styles.tex
r11433 r11515 3 3 %% ============================================================================== 4 4 5 \setcolor 6 %\definecolor{ghcolor}{HTML}{000333} 5 %% Colors 6 \setmanualcolor 7 \colorlet{manualcolorshaded}{manualcolor!60} 7 8 \definecolor{orcidcolor}{HTML}{A6CE39} 8 %\definecolor{wpcolor}{HTML}{464646}9 9 10 10 %% Page layout … … 13 13 \addtokomafont{pagefoot}{ \sffamily \footnotesize} 14 14 \addtokomafont{pagenumber}{\sffamily \slshape } 15 \addtokomafont{chapter}{\color{white}} 15 16 \ohead{} \ofoot{} %% Clear defaults 16 17 17 18 %% Caption 18 19 \captionsetup{font = footnotesize, justification = justified} 19 20 %% Additional fonts21 \DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it}22 20 23 21 %% Bibliography … … 33 31 \global\let\tikz@ensure@dollar@catcode=\relax 34 32 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 } 43 59 44 60 \makeatother
Note: See TracChangeset
for help on using the changeset viewer.