diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls b/Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls index 97a1243c4c3..cfdd7a73cf7 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls +++ b/Master/texmf-dist/tex/latex/tuda-ci/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 %%%%%%%%%%%%%%%%%%% |