summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-03-07 03:00:48 +0000
committerNorbert Preining <norbert@preining.info>2021-03-07 03:00:48 +0000
commit6c0a4c9f40ab21e9b7d888d6a13b76b9af2f6c5b (patch)
tree453bc82829acc33af744623f45af7997121a365f /macros/latex/contrib/tuda-ci/tex/tudasciposter.cls
parentd3666774005482ce055e7a76081973af60b670e8 (diff)
CTAN sync 202103070300
Diffstat (limited to 'macros/latex/contrib/tuda-ci/tex/tudasciposter.cls')
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudasciposter.cls32
1 files changed, 27 insertions, 5 deletions
diff --git a/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls b/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls
index 97a1243c4c..cfdd7a73cf 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls
+++ b/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls
@@ -1,4 +1,4 @@
-%% This is file `tudasciposter.cls' version 3.11 (2021/02/22),
+%% This is file `tudasciposter.cls' version 3.12 (2021/03/06),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.11}
-\def\filedate{2021/02/22}
+\def\fileversion{3.12}
+\def\filedate{2021/03/06}
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplPackage{tudasciposter}{\filedate}{\fileversion}{Scientific Poster Layout for TU Darmstadt}
@@ -206,10 +206,32 @@
}
\tl_new:N \g_ptxcd_poster_qrcode_tl
-\newcommand*{\footerqrcode}[1]{
- \tl_gset:Nn \g_ptxcd_poster_qrcode_tl {#1}
+
+\msg_new:nnnn {tudapub} {biblatex-required}{
+ You~tried~to~use~#1.\\
+ This~feature~requires~the~biblatex~package.
+} {
+ Try~to~remove~the~star~or~load~biblatex.
+}
+
+\NewDocumentCommand{\footerqrcode}{sm}{
+ \IfBooleanTF {#1} {
+ \cs_if_exist:NTF \blx@blxinit {
+ \begingroup
+ \blx@blxinit
+ \entrydata{#2}{
+ \tl_gset:Nx \g_ptxcd_poster_qrcode_tl{\thefield{url}}
+ }
+ \endgroup
+ }{
+ \msg_error:nnx {tudapub} {biblatex-required} {\use:c{footerqrcode*}}
+ }
+ }{
+ \tl_gset:Nn \g_ptxcd_poster_qrcode_tl {#2}
+ }
}
+
%%%%%%%%%%%%%%%%%%%
% Begin of PDF/A mode
%%%%%%%%%%%%%%%%%%%