mirror of
https://github.com/fsr/nopanic
synced 2025-04-11 04:46:13 +02:00
Lila als Farbe.
Hab alles mal durchgesehen, kein grün gefunden (abgesehen vom Zeitplan), das da nicht hingehört. Ich finds gut so.
This commit is contained in:
parent
eab580da41
commit
c8f2ec7874
1 changed files with 11 additions and 8 deletions
19
nopanic.tex
19
nopanic.tex
|
@ -15,7 +15,7 @@
|
||||||
\usepackage{fancyhdr}
|
\usepackage{fancyhdr}
|
||||||
\usepackage{eso-pic}
|
\usepackage{eso-pic}
|
||||||
\usepackage{caption}
|
\usepackage{caption}
|
||||||
\usepackage{hyperref}
|
\usepackage[colorlinks=false, pdfborder={0 0 0}]{hyperref}
|
||||||
\usepackage{wrapfig}
|
\usepackage{wrapfig}
|
||||||
\usepackage{menukeys}
|
\usepackage{menukeys}
|
||||||
\usepackage{url}
|
\usepackage{url}
|
||||||
|
@ -31,15 +31,18 @@
|
||||||
\newcommand{\glqq}{„}
|
\newcommand{\glqq}{„}
|
||||||
\newcommand{\grqq}{“}
|
\newcommand{\grqq}{“}
|
||||||
|
|
||||||
|
\definecolor{ese_bg_color}{rgb}{0.34, 0.23, 0.46} % 87, 59, 117
|
||||||
|
\definecolor{ese_fg_color}{rgb}{1, 1, 1}
|
||||||
|
|
||||||
\definecolor{ifsrgreen}{rgb}{0.69, 0.88, 0.11} % 177, 225, 28
|
\definecolor{ifsrgreen}{rgb}{0.69, 0.88, 0.11} % 177, 225, 28
|
||||||
\definecolor{ifsrgray}{rgb}{0.6, 0.6, 0.6} % 153, 153, 153
|
\definecolor{ifsrgray}{rgb}{0.6, 0.6, 0.6} % 153, 153, 153
|
||||||
|
|
||||||
\changemenucolor{gray}{bg}{named}{ifsrgreen} %background of the menukeys
|
\changemenucolor{gray}{bg}{named}{ese_bg_color} %background of the menukeys
|
||||||
\changemenucolor{gray}{br}{named}{white} %border of the menukeys
|
\changemenucolor{gray}{br}{named}{ese_fg_color} %border of the menukeys
|
||||||
%\changemenucolor{gray}{txt}{named}{white} %text of the menukeys
|
\changemenucolor{gray}{txt}{named}{ese_fg_color} %text of the menukeys
|
||||||
|
|
||||||
\setmainfont{PT Sans}
|
\setmainfont{PT Sans}
|
||||||
\setkomafont{chapter}{\color{ifsrgreen}\fontspec[BoldFont={* Bold}]{Exo}\huge}
|
\setkomafont{chapter}{\color{ese_bg_color}\fontspec[BoldFont={* Bold}]{Exo}\huge}
|
||||||
\setkomafont{chapterentry}{\normalfont\bfseries}
|
\setkomafont{chapterentry}{\normalfont\bfseries}
|
||||||
\setkomafont{minisec}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Exo}\large}
|
\setkomafont{minisec}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Exo}\large}
|
||||||
\setkomafont{paragraph}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Exo}}
|
\setkomafont{paragraph}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Exo}}
|
||||||
|
@ -51,8 +54,8 @@
|
||||||
\newcommand{\link}[1]{%
|
\newcommand{\link}[1]{%
|
||||||
\edef\tmptoken{\detokenize{#1}}%
|
\edef\tmptoken{\detokenize{#1}}%
|
||||||
\@ifundefined{nopanic@link@\tmptoken}{%
|
\@ifundefined{nopanic@link@\tmptoken}{%
|
||||||
\edef\@linknumber{\arabic{linkcounter}}
|
\edef\@linknumber{\arabic{linkcounter}}%
|
||||||
\protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\@linknumber}}}%
|
\protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\textcolor{ese_fg_color}{\@linknumber}}}}%
|
||||||
\expandafter\global\expandafter\edef\csname nopanic@link@\tmptoken\endcsname{\arabic{linkcounter}}%
|
\expandafter\global\expandafter\edef\csname nopanic@link@\tmptoken\endcsname{\arabic{linkcounter}}%
|
||||||
%
|
%
|
||||||
% Standard print output:
|
% Standard print output:
|
||||||
|
@ -65,7 +68,7 @@
|
||||||
%
|
%
|
||||||
\stepcounter{linkcounter}%
|
\stepcounter{linkcounter}%
|
||||||
}{%
|
}{%
|
||||||
\protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\csname nopanic@link@\tmptoken\endcsname}}}%
|
\protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\textcolor{ese_fg_color}{\csname nopanic@link@\tmptoken\endcsname}}}}%
|
||||||
}%
|
}%
|
||||||
\href{#1}{\@tmpkey}%
|
\href{#1}{\@tmpkey}%
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue