mirror of
https://github.com/fsr/nopanic
synced 2025-04-27 01:58:27 +02:00
Weniger aggressive Link-Keys, tauchen im Text nun mehr unter.
This commit is contained in:
parent
f86c60856e
commit
204ade916a
3 changed files with 8 additions and 7 deletions
|
@ -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}%
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue