From 09a5786adb89c75cfb06a78f58109c6b2cc565e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hilbig?= Date: Fri, 31 Mar 2017 10:45:05 +0200 Subject: [PATCH] Short urls im Titel --- ahilbig-presentation.sty | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ahilbig-presentation.sty b/ahilbig-presentation.sty index f5fc1f9..b41ae3f 100644 --- a/ahilbig-presentation.sty +++ b/ahilbig-presentation.sty @@ -69,6 +69,9 @@ \providecommand\insertlecture{Vortrag} \providecommand\lecturename{Vortragtitel} +\def\insertshrtpr{null} +\def\insertshrtscr{null} + \ifgitinfo \RequirePackage{gitinfo2} \providecommand\versionsinfo{% @@ -801,6 +804,15 @@ \begin{tiny} %\versionsinfo Quellen: \url{\inserturl} + \ifthenelse{\equal{\insertshrtpr}{null}}{}{% + + Präsentation: \url{\insertshrtpr} + } + \ifthenelse{\equal{\insertshrtscr}{null}}{}{% + + Skript: \url{\insertshrtscr} + } + \end{tiny} \vfill }