From ad663d667ddb9c1e5b6b729eb3840b0040c6ebf0 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 24 May 2021 23:17:57 +0200 Subject: Fixed some QR-code issues --- zeitung/parts/studenttemplate.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'zeitung/parts') diff --git a/zeitung/parts/studenttemplate.tex b/zeitung/parts/studenttemplate.tex index 04eeaf3..08df0c0 100644 --- a/zeitung/parts/studenttemplate.tex +++ b/zeitung/parts/studenttemplate.tex @@ -61,8 +61,9 @@ \oddflip[keepaspectratio=true, width=\framewidth]{rahmen.png} } \put(\textwidth - \qrcodex, \framey - 25pt){ + \def\stdqrcode{#2} \ifdefempty{\stdqrcode}{}{ - \qrcode[nolink, height=0.7in]{\stdqrcode} + \qrcode[nolink, height=0.7in]{#2} } } } -- cgit v1.2.3