Skip to content
Snippets Groups Projects
Commit 22c981af authored by Matthias Jung's avatar Matthias Jung
Browse files

Added old expression

parent 52f2ad08
No related branches found
No related tags found
No related merge requests found
......@@ -124,14 +124,14 @@
% Assert value of reference [when used in images]
% Usage: \assertRefEqual{label}{expected number}
%\newcommand{\assertRefEqual}[2]{%
% \begingroup
% \ifnum \pdfstrcmp{\ref{#1}}{#2\hbox{}} = 0
% \relax
% \else
% \errmessage{Reference #1 expected to be #2, but got \ref{#1}}
% \fi
% \endgroup}
\newcommand{\assertRefEqual}[2]{%
\begingroup
\ifnum \pdfstrcmp{\ref{#1}}{#2\hbox{}} = 0
\relax
\else
\errmessage{Reference #1 expected to be #2, but got \ref{#1}}
\fi
\endgroup}
% Titel Generation:
\newcommand*{\subtitle}[1]{\gdef\@subtitle{#1}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment