summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/thesis-ekf/thesis-ekf.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/thesis-ekf/thesis-ekf.dtx')
-rw-r--r--macros/latex/contrib/thesis-ekf/thesis-ekf.dtx21
1 files changed, 15 insertions, 6 deletions
diff --git a/macros/latex/contrib/thesis-ekf/thesis-ekf.dtx b/macros/latex/contrib/thesis-ekf/thesis-ekf.dtx
index 5c97dbe0ea..b8e38e8f7d 100644
--- a/macros/latex/contrib/thesis-ekf/thesis-ekf.dtx
+++ b/macros/latex/contrib/thesis-ekf/thesis-ekf.dtx
@@ -20,7 +20,7 @@
\ProvidesFile{thesis-ekf.dtx}
%</driver>
%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-%<class>\ProvidesClass{thesis-ekf}[2024/04/14 v4.4 Thesis class for Eszterhazy Karoly Catholic University (Eger, Hungary)]
+%<class>\ProvidesClass{thesis-ekf}[2024/04/18 v4.5 Thesis class for Eszterhazy Karoly Catholic University (Eger, Hungary)]
%<class>
%<*driver>
\documentclass[nohyperref]{ltxdoc}
@@ -62,7 +62,7 @@
% Right brace \} Tilde \~}
%
% \GetFileInfo{thesis-ekf.cls}
-% \title{Thesis class for\\ Eszterházy Károly Catholic University\\\textsf{thesis-ekf.cls}\\[2mm]{\normalsize v4.4 (2024/04/14)}}
+% \title{Thesis class for\\ Eszterházy Károly Catholic University\\\textsf{thesis-ekf.cls}\\[2mm]{\normalsize v4.5 (2024/04/18)}}
% \author{Tibor Tómács\\{\normalsize\href{mailto:tomacs.tibor@gmail.com}{\texttt{tomacs.tibor@gmail.com}}}}
% \date{}
% \maketitle
@@ -98,7 +98,6 @@
% \item[lmodern] Latin Modern fontkészlethez. |times| opció esetén nem töltődik be.
% \item[fixcmex] Latin Modern fontkészlet esetén a nagy operátor jeleket méretezhetővé teszi. |times| opció esetén nem töltődik be.
% \item[cmupint] Latin Modern fontkészlet esetén az integráljelek álló alakúak. Csak az |upint| és |times=false| opciók esetén töltődik be.
-% \item[etoolbox] Dokumentumkapcsokhoz.
% \item[setspace] Sortávolság beállításához.
% \item[graphicx] Képek betöltéséhez.
% \item[newtxtext] Times fontkészlethez. |times| opció esetén töltődik be.
@@ -448,14 +447,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
@@ -469,10 +470,12 @@
\fi
\fi
\fi
+
\RequirePackage{upquote}
+
}
-\AfterEndPreamble{
+\AddToHook{begindocument/end}{
\ifthesisekf@tocnopagenum
\hypersetup{pageanchor=false}
@@ -539,6 +542,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}{}{%
@@ -548,6 +553,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}{}{%
@@ -557,6 +564,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}{}{%