3
0
Fork 0
mirror of https://github.com/fsr/nopanic synced 2024-11-15 00:43:12 +01:00

Weniger aggressive Link-Keys, tauchen im Text nun mehr unter.

This commit is contained in:
Sebastian J. Mielke 2015-09-08 14:27:18 +05:30
parent f86c60856e
commit 204ade916a
3 changed files with 8 additions and 7 deletions

View file

@ -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}%
}

View file

@ -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}%
}

View file

@ -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}