summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls17
1 files changed, 12 insertions, 5 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 04c909f70f5..f05a2f66404 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}[2019/04/30 v3.0 Thesis class for Eszterhazy Karoly University (Eger, Hungary)]
+\ProvidesClass{thesis-ekf}[2019/05/06 v3.1 Thesis class for Eszterhazy Karoly University (Eger, Hungary)]
\@ifundefined{pdffontattr}{}{\ifnum\pdfoutput>0\RequirePackage{cmap}\fi}
\RequirePackage{lmodern,fixcmex,kvoptions,etoolbox,ifpdf,setspace,graphicx}
@@ -38,8 +38,8 @@
\DeclareStringOption[15mm]{authorsep}
\DeclareStringOption[10mm]{authorxmargin}
\DeclareStringOption[0mm]{captionsep}
-\DeclareStringOption[l]{authoralign}
-\DeclareStringOption[r]{supervisoralign}
+\DeclareStringOption[left]{authoralign}
+\DeclareStringOption[left]{supervisoralign}
\DeclareStringOption[\large\scshape]{institutefont}
\DeclareStringOption[\large\scshape]{logofont}
\DeclareStringOption[\Huge\bfseries]{titlefont}
@@ -251,12 +251,19 @@
\ifx\thesisekf@supervisor\@empty\ifx\thesisekf@author\@empty\@thesisekf@noempty@author@supervisor@false\fi\fi
\if@thesisekf@noempty@author@supervisor@
{\normalfont\normalsize\thesisekf@authorfont
-\begin{tabular}[t]{@{\hspace{\thesisekf@authorxmargin}}\thesisekf@authoralign @{}}
+\def\thesisekf@align@center{center}%
+\def\thesisekf@align@left{left}%
+\def\thesisekf@align@right{right}%
+\ifx\thesisekf@authoralign\thesisekf@align@center\begin{tabular}[t]{@{\hspace{\thesisekf@authorxmargin}}c@{}}\fi
+\ifx\thesisekf@authoralign\thesisekf@align@left\begin{tabular}[t]{@{\hspace{\thesisekf@authorxmargin}}l@{}}\fi
+\ifx\thesisekf@authoralign\thesisekf@align@right\begin{tabular}[t]{@{\hspace{\thesisekf@authorxmargin}}r@{}}\fi
{\normalfont\normalsize\thesisekf@captionfont\thesisekf@authorcaption@}\\[\thesisekf@captionsep]
\thesisekf@author@
\end{tabular}
\hfill
-\begin{tabular}[t]{@{}\thesisekf@supervisoralign @{\hspace{\thesisekf@authorxmargin}}}
+\ifx\thesisekf@supervisoralign\thesisekf@align@center\begin{tabular}[t]{@{}c@{\hspace{\thesisekf@authorxmargin}}}\fi
+\ifx\thesisekf@supervisoralign\thesisekf@align@left\begin{tabular}[t]{@{}l@{\hspace{\thesisekf@authorxmargin}}}\fi
+\ifx\thesisekf@supervisoralign\thesisekf@align@right\begin{tabular}[t]{@{}r@{\hspace{\thesisekf@authorxmargin}}}\fi
{\normalfont\normalsize\thesisekf@captionfont\thesisekf@supervisorcaption@}\\[\thesisekf@captionsep]
\thesisekf@supervisor@
\end{tabular}