Funktionalität für mehr Farben in sections...
This commit is contained in:
parent
8768f27008
commit
fb91fc5a85
@ -31,15 +31,21 @@
|
|||||||
\newif\ifcd
|
\newif\ifcd
|
||||||
\newif\ifschule
|
\newif\ifschule
|
||||||
\newif\ifpalatino
|
\newif\ifpalatino
|
||||||
|
\newif\ifcolorsec
|
||||||
|
|
||||||
\DeclareOption{draft}{\draftversiontrue}
|
\DeclareOption{draft}{\draftversiontrue}
|
||||||
\DeclareOption{blackandwhite}{\bwtrue}
|
\DeclareOption{blackandwhite}{\bwtrue}
|
||||||
\DeclareOption{cd}{\cdtrue}
|
\DeclareOption{cd}{\cdtrue}
|
||||||
\DeclareOption{schule}{\schuletrue}
|
\DeclareOption{schule}{\schuletrue}
|
||||||
\DeclareOption{palatino}{\palatinotrue}
|
\DeclareOption{palatino}{\palatinotrue}
|
||||||
|
\DeclareOption{colorsec}{\colorsectrue}
|
||||||
|
|
||||||
\ProcessOptions
|
\ProcessOptions
|
||||||
|
|
||||||
|
\ifbw
|
||||||
|
\colorsecfalse
|
||||||
|
\fi
|
||||||
|
|
||||||
\RequirePackage[german=guillemets]{csquotes}
|
\RequirePackage[german=guillemets]{csquotes}
|
||||||
|
|
||||||
% Automatische Skalierung zu grosser (breiter) Grafiken
|
% Automatische Skalierung zu grosser (breiter) Grafiken
|
||||||
@ -166,7 +172,17 @@
|
|||||||
|
|
||||||
% Basic colors
|
% Basic colors
|
||||||
|
|
||||||
|
\definecolor{oceangreen}{cmyk}{1,0,.2,.78}
|
||||||
|
|
||||||
\colorlet{structure.fg}{orange!80!red}
|
\colorlet{structure.fg}{orange!80!red}
|
||||||
|
\ifcolorsec
|
||||||
|
\colorlet{sec.fg}{OliveGreen}
|
||||||
|
\colorlet{subsubsec.fg}{oceangreen}
|
||||||
|
\else
|
||||||
|
\colorlet{sec.fg}{black}
|
||||||
|
\colorlet{subsubsec.fg}{black}
|
||||||
|
\fi
|
||||||
|
|
||||||
\definecolor{black50}{rgb}{.50,.50,.51}
|
\definecolor{black50}{rgb}{.50,.50,.51}
|
||||||
|
|
||||||
\definecolor{black90}{rgb}{.90,.90,.91}
|
\definecolor{black90}{rgb}{.90,.90,.91}
|
||||||
@ -183,7 +199,6 @@
|
|||||||
% \RequirePackage[mixedgreek,textlf]{Myriad}
|
% \RequirePackage[mixedgreek,textlf]{Myriad}
|
||||||
\RequirePackage{microtype}
|
\RequirePackage{microtype}
|
||||||
\let\sfdefault\rmdefault
|
\let\sfdefault\rmdefault
|
||||||
\definecolor{oceangreen}{cmyk}{1,0,.2,.78}
|
|
||||||
\colorlet{structure.fg}{oceangreen!75!white}
|
\colorlet{structure.fg}{oceangreen!75!white}
|
||||||
\colorlet{head.bg}{oceangreen}
|
\colorlet{head.bg}{oceangreen}
|
||||||
\def\headingfont{\sffamily}
|
\def\headingfont{\sffamily}
|
||||||
@ -382,7 +397,7 @@
|
|||||||
\@startsection {section}{1}{\z@}%
|
\@startsection {section}{1}{\z@}%
|
||||||
{-3.5ex \@plus -1ex \@minus -.2ex}%
|
{-3.5ex \@plus -1ex \@minus -.2ex}%
|
||||||
{1.5ex \@plus.2ex}%
|
{1.5ex \@plus.2ex}%
|
||||||
{\normalfont\Large\bfseries}}
|
{\normalfont\color{sec.fg}\Large\bfseries}}
|
||||||
\renewcommand\subsection{\avoidwiddow{3cm}{300}\@startsection{subsection}{2}{\z@}%
|
\renewcommand\subsection{\avoidwiddow{3cm}{300}\@startsection{subsection}{2}{\z@}%
|
||||||
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
||||||
{.5ex \@plus .2ex}%
|
{.5ex \@plus .2ex}%
|
||||||
@ -390,7 +405,7 @@
|
|||||||
\renewcommand\subsubsection{\avoidwiddow{3cm}{250}\@startsection{subsubsection}{3}{\z@}%
|
\renewcommand\subsubsection{\avoidwiddow{3cm}{250}\@startsection{subsubsection}{3}{\z@}%
|
||||||
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
||||||
{1.5ex \@plus .2ex}%
|
{1.5ex \@plus .2ex}%
|
||||||
{\normalfont\normalsize\bfseries}}
|
{\normalfont\color{subsubsec.fg}\normalsize\bfseries}}
|
||||||
|
|
||||||
% Theorems and such
|
% Theorems and such
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user