summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls')
-rw-r--r--Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls34
1 files changed, 22 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls b/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls
index ee80ce7d855..d361f8affe9 100644
--- a/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls
+++ b/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls
@@ -27,22 +27,29 @@
%% se2colors.sty, and
%% se2fonts.sty
\@ifundefined{ExplLoaderFileDate}
-{\RequirePackage{expl3}}
-{}
+ { \RequirePackage{expl3} }
+ {}
\@ifl@t@r\ExplLoaderFileDate{2020-01-09}
-{}
-{%
- \PackageError{se2colors}{Support package expl3 too old}
+ {}
{%
- You need to update your installation of the bundles 'l3kernel' and
- 'l3packages'.\MessageBreak
- Loading~se2colors~will~abort!%
+ \PackageError{se2colors}{Support package expl3 too old}
+ {%
+ You need to update your installation of the bundles 'l3kernel' and
+ 'l3packages'.\MessageBreak
+ Loading~se2colors~will~abort!%
+ }%
+ \endinput
}%
- \endinput
-}%
\providecommand \IfFormatAtLeastTF { \@ifl@t@r \fmtversion }
-\ProvidesExplClass {se2thesis} {2022-09-09} {1.0.0}
+\ProvidesExplClass {se2thesis} {2022-09-12} {1.1.0}
{A thesis class for the Chair of Software Engineering II}
+\prg_new_conditional:Nnn \slcd_package_if_loaded:n { p, T, F, TF }
+ {
+ \use:c { @ifpackageloaded }
+ { #1 }
+ { \prg_return_true: }
+ { \prg_return_false: }
+ }
\RequirePackage{graphicx}
\RequirePackage{translations}
\LoadDictionary{se2translations}
@@ -687,7 +694,10 @@
\rule{\linewidth}{.3pt}\\\makebox[0pt][c]{#2}
}
}
-\PassOptionsToPackage{amsmath}{ntheorem}
+\slcd_package_if_loaded:nT { amsmath }
+ {
+ \PassOptionsToPackage{amsmath}{ntheorem}
+ }
\RequirePackage{ntheorem}
\theoremseparator{:}
\newtheorem{resq}{Research Question}