mirror of
https://github.com/fsr/nopanic
synced 2024-11-15 08:53:11 +01:00
Weniger aggressive Link-Keys, tauchen im Text nun mehr unter.
This commit is contained in:
parent
f86c60856e
commit
204ade916a
|
@ -27,7 +27,7 @@
|
|||
\edef\tmptoken{\detokenize{#1}}%
|
||||
\@ifundefined{nopanic@link@\tmptoken}{%
|
||||
\edef\@linknumber{\Roman{linkcounter}}%
|
||||
\protected@edef\@tmpkey{{\fontsize{6pt}{0}\selectfont\keys{\textcolor{ese_fg_color}{\@linknumber}}}}%
|
||||
\protected@edef\@tmpkey{{\fontsize{6pt}{0}\selectfont\keys{\@linknumber}}}%
|
||||
\expandafter\global\expandafter\edef\csname nopanic@link@\tmptoken\endcsname{\arabic{linkcounter}}%
|
||||
%
|
||||
% Standard print output:
|
||||
|
@ -40,7 +40,7 @@
|
|||
%
|
||||
\stepcounter{linkcounter}%
|
||||
}{%
|
||||
\protected@edef\@tmpkey{{\fontsize{6pt}{0}\selectfont\keys{\textcolor{ese_fg_color}{\csname nopanic@link@\tmptoken\endcsname}}}}%
|
||||
\protected@edef\@tmpkey{{\fontsize{6pt}{0}\selectfont\keys{\csname nopanic@link@\tmptoken\endcsname}}}%
|
||||
}%
|
||||
\href{#1}{\@tmpkey}%
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
\edef\tmptoken{\detokenize{#1}}%
|
||||
\@ifundefined{nopanic@link@\tmptoken}{%
|
||||
\edef\@linknumber{\arabic{linkcounter}}%
|
||||
\protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\textcolor{ese_fg_color}{\@linknumber}}}}%
|
||||
\protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\@linknumber}}}%
|
||||
\expandafter\global\expandafter\edef\csname nopanic@link@\tmptoken\endcsname{\arabic{linkcounter}}%
|
||||
%
|
||||
% Standard print output:
|
||||
|
@ -31,7 +31,7 @@
|
|||
%
|
||||
\stepcounter{linkcounter}%
|
||||
}{%
|
||||
\protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\textcolor{ese_fg_color}{\csname nopanic@link@\tmptoken\endcsname}}}}%
|
||||
\protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\csname nopanic@link@\tmptoken\endcsname}}}%
|
||||
}%
|
||||
\href{#1}{\@tmpkey}%
|
||||
}
|
||||
|
|
|
@ -25,12 +25,13 @@
|
|||
\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{ifsrgray}{rgb}{0.6, 0.6, 0.6} % 153, 153, 153
|
||||
|
||||
\changemenucolor{gray}{bg}{named}{ese_bg_color} %background of the menukeys
|
||||
\changemenucolor{gray}{br}{named}{ese_fg_color} %border of the menukeys
|
||||
\changemenucolor{gray}{txt}{named}{ese_fg_color} %text of the menukeys
|
||||
\changemenucolor{gray}{bg}{named}{ese_fg_color} %background of the menukeys
|
||||
\changemenucolor{gray}{br}{named}{ese_bg_color} %border of the menukeys
|
||||
\changemenucolor{gray}{txt}{named}{ese_bg_color} %text of the menukeys
|
||||
|
||||
\setmainfont{PT Sans}
|
||||
\setkomafont{chapter}{\color{ese_bg_color}\fontspec[BoldFont={* Bold}]{Exo}\huge}
|
||||
|
|
Loading…
Reference in a new issue