mirror of
https://github.com/fsr/nopanic
synced 2024-11-15 08:53:11 +01:00
Jetzt auch in funktionsfähig!
Hätte eigentlich klar sein müssen, dass das \edef nicht mit LaTeX-Makros klarkommt. Dafür weiß ich jetzt, was makeatletter/other tun! \o/
This commit is contained in:
parent
61e5998f9e
commit
72469c21bf
|
@ -20,12 +20,14 @@
|
||||||
\newcommand{\grqq}{“}
|
\newcommand{\grqq}{“}
|
||||||
|
|
||||||
\newcounter{linkcounter}
|
\newcounter{linkcounter}
|
||||||
\def\linklist{}
|
\newcommand\linklist{}
|
||||||
|
\makeatletter
|
||||||
\newcommand{\link}[1]{
|
\newcommand{\link}[1]{
|
||||||
{\fontsize{13pt}{0}\selectfont\keys{\arabic{linkcounter}}}
|
{\fontsize{13pt}{0}\selectfont\keys{\arabic{linkcounter}}}
|
||||||
\stepcounter{linkcounter}
|
\stepcounter{linkcounter}
|
||||||
\edef\linklist{\linklist{} #1}
|
\g@addto@macro\linklist{ #1}
|
||||||
}
|
}
|
||||||
|
\makeatother
|
||||||
|
|
||||||
\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
|
||||||
|
|
|
@ -32,4 +32,4 @@
|
||||||
\item
|
\item
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
\link{\textcolor{red}{NONE}}list
|
\linklist
|
||||||
|
|
Loading…
Reference in a new issue