diff --git a/liuthesis.cls b/liuthesis.cls index 46a7f3c4fabf72cca1552aef8257132c39c01a4d..2d2f4a4a9481eb391bc1c69b667266ceb07a2968 100644 --- a/liuthesis.cls +++ b/liuthesis.cls @@ -6,9 +6,9 @@ %% Maintainer: %% Created: Fri Mar 20 08:25:23 2009 (CET) %% Version: -%% Last-Updated: Tue Mar 15 14:36:19 2022 (+0100) +%% Last-Updated: Fri Sep 23 13:35:11 2022 (+0200) %% By: Ola -%% Update #: 1631 +%% Update #: 1632 %% URL: %% Keywords: %% Compatibility: @@ -394,6 +394,9 @@ \RequirePackage[T1]{fontenc} \fi +% For failsafe ISRN management +\RequirePackage{xstring} + \ifphd \gdef\@degreetype{\@degreeprefix {} doktorsexamen} @@ -756,7 +759,7 @@ \fi \ifstudent -\newcommand{\isrn}{LIU-\@departmentshort{}/\@area{}-EX-\@level{}-{}-\@publicationyear/\@currentyearthesisnumber-{}-SE} +\newcommand{\isrn}{LIU-\@departmentshort{}/\@area{}-EX-\@level{}-{}-\StrRight{\@publicationyear}{2}/\@currentyearthesisnumber-{}-SE} \fi \newcommand\makeundergraduatetitle{%