summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/thesis-ekf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-18 19:49:26 +0000
committerKarl Berry <karl@freefriends.org>2024-04-18 19:49:26 +0000
commit3643ad0fd9aaf38dbcaad86812f1ae916529034b (patch)
treea6f97e5428a9bf5feecd3047bd29cf6c4545c0b6 /Master/texmf-dist/tex/latex/thesis-ekf
parent789e14b9cbe8af9d3151e941da56d645bf321423 (diff)
thesis-ekf (18apr24)
git-svn-id: svn://tug.org/texlive/trunk@70980 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/thesis-ekf')
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls18
1 files changed, 14 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls b/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls
index ae5a75878d3..d2796944997 100644
--- a/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls
+++ b/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls
@@ -19,7 +19,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesClass{thesis-ekf}[2024/04/14 v4.4 Thesis class for Eszterhazy Karoly Catholic University (Eger, Hungary)]
+\ProvidesClass{thesis-ekf}[2024/04/18 v4.5 Thesis class for Eszterhazy Karoly Catholic University (Eger, Hungary)]
\RequirePackage{kvoptions}
\SetupKeyvalOptions{family=thesis-ekf,prefix=thesisekf@}
@@ -87,14 +87,16 @@
\RequirePackage{cmupint}
\fi
\fi
-\RequirePackage{etoolbox,graphicx,iftex}
+\RequirePackage{graphicx,iftex}
\onehalfspacing
-\AtEndPreamble{
+\AddToHook{begindocument/before}{
+
\ifthesisekf@times
\RequirePackage{newtxtext,newtxmath}
\fi
+
\ifx\thesisekf@fontsize\@empty
\else
\ifx\thesisekf@fontsize\thesisekf@ten
@@ -108,10 +110,12 @@
\fi
\fi
\fi
+
\RequirePackage{upquote}
+
}
-\AfterEndPreamble{
+\AddToHook{begindocument/end}{
\ifthesisekf@tocnopagenum
\hypersetup{pageanchor=false}
@@ -178,6 +182,8 @@
\if@thesisekf@nochanged@authorcaption@%
\@ifundefined{l@magyar}{}{%
\iflanguage{magyar}{\gdef\thesisekf@authorcaption{K\'{e}sz\'{\i}tette}}{}}%
+ \@ifundefined{l@hungarian}{}{%
+ \iflanguage{hungarian}{\gdef\thesisekf@authorcaption{K\'{e}sz\'{\i}tette}}{}}%
\@ifundefined{l@ngerman}{}{%
\iflanguage{ngerman}{\gdef\thesisekf@authorcaption{Autor}}{}}%
\@ifundefined{l@german}{}{%
@@ -187,6 +193,8 @@
\if@thesisekf@nochanged@supervisorcaption@%
\@ifundefined{l@magyar}{}{%
\iflanguage{magyar}{\gdef\thesisekf@supervisorcaption{T\'{e}mavezet\H{o}}}{}}%
+ \@ifundefined{l@hungarian}{}{%
+ \iflanguage{hungarian}{\gdef\thesisekf@supervisorcaption{T\'{e}mavezet\H{o}}}{}}%
\@ifundefined{l@ngerman}{}{%
\iflanguage{ngerman}{\gdef\thesisekf@supervisorcaption{Betreuer}}{}}%
\@ifundefined{l@german}{}{%
@@ -196,6 +204,8 @@
\if@thesisekf@nochanged@logo@%
\@ifundefined{l@magyar}{}{%
\iflanguage{magyar}{\if@thesisekf@exists@logo@hu@\gdef\thesisekf@logo{\includegraphics{eszterhazy-logo-hu}}\fi}{}}%
+ \@ifundefined{l@hungarian}{}{%
+ \iflanguage{hungarian}{\if@thesisekf@exists@logo@hu@\gdef\thesisekf@logo{\includegraphics{eszterhazy-logo-hu}}\fi}{}}%
\@ifundefined{l@ngerman}{}{%
\iflanguage{ngerman}{\if@thesisekf@exists@logo@de@\gdef\thesisekf@logo{\includegraphics{eszterhazy-logo-de}}\fi}{}}%
\@ifundefined{l@german}{}{%