summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/thesis-ekf/README17
-rw-r--r--Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.pdfbin162347 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.tex44
-rw-r--r--Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.pdfbin1541992 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.tex44
-rw-r--r--Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat3.pdfbin372762 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eke-logo.pdfbin0 -> 782103 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eku-logo.pdfbin0 -> 16457 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-en.tex36
-rw-r--r--Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-hu.tex (renamed from Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat3.tex)16
-rw-r--r--Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf.pdfbin217581 -> 412148 bytes
-rw-r--r--Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.dtx643
-rw-r--r--Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.ins4
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo1.pngbin56204 -> 0 bytes
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo2.pdfbin1434115 -> 0 bytes
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo3.pdfbin260127 -> 0 bytes
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo4.pdfbin1442654 -> 0 bytes
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo5.pdfbin258214 -> 0 bytes
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls263
19 files changed, 670 insertions, 397 deletions
diff --git a/Master/texmf-dist/doc/latex/thesis-ekf/README b/Master/texmf-dist/doc/latex/thesis-ekf/README
index da26cfc0121..1c89e35d336 100644
--- a/Master/texmf-dist/doc/latex/thesis-ekf/README
+++ b/Master/texmf-dist/doc/latex/thesis-ekf/README
@@ -1,22 +1,17 @@
-thesis-ekf class, 2014 by Tibor Tomacs
+thesis-ekf class, 2014-2016 by Tibor Tomacs
This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
version 1.2 of this license or (at your option) any later
version. The latest version of this license is in:
- http://www.latex-project.org/lppl.txt
+http://www.latex-project.org/lppl.txt
and version 1.2 or later is part of all distributions of
LaTeX version 1999/12/01 or later.
Install:
- - run 'latex thesis-ekf.ins' for the cls file
- - run twice 'pdflatex thesis-ekf.dtx' to get the documentation
-
-Thesis class for the Eszterhazy Karoly College (Eger, Hungary).
-Since the college is in Hungary,
-the documentation is given in Hungarian only.
-
-LaTeX-osztaly szakdolgozat keszitesehez
-az Eszterhazy Karoly Foiskola hallgatoi reszere. \ No newline at end of file
+ - Run 'latex thesis-ekf.ins' for the cls file.
+ - Run twice 'pdflatex thesis-ekf.dtx' to get the documentation.
+
+Thesis class for the Eszterhazy Karoly University (Eger, Hungary). \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.pdf b/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.pdf
deleted file mode 100644
index 358a26bfb7e..00000000000
--- a/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.tex b/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.tex
deleted file mode 100644
index 4f59f4b78b6..00000000000
--- a/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.tex
+++ /dev/null
@@ -1,44 +0,0 @@
-\documentclass{thesis-ekf}
-\usepackage[T1]{fontenc}
-\usepackage[utf8]{inputenc}
-\PassOptionsToPackage{defaults=hu-min}{magyar.ldf}
-\usepackage[magyar]{babel}
-\usepackage{graphicx,amsmath,amssymb,amsthm}
-\graphicspath{{./images/}}
-\footnotestyle{rule=fourth}
-
-\newtheorem{tetel}{Tétel}[chapter]
-\newtheorem{lemma}[tetel]{Lemma}
-\theoremstyle{definition}
-\newtheorem{definicio}[tetel]{Definíció}
-\newtheorem{feladat}[tetel]{Feladat}
-\theoremstyle{remark}
-\newtheorem{megjegyzes}[tetel]{Megjegyzés}
-\newtheorem*{megoldas}{Megoldás}
-
-\logo{\includegraphics[width=8cm]{ekf-logo1}}
-\institute{Eszterházy Károly Főiskola\\ Matematikai és Informatikai Intézet}
-\title{A szakdolgozat címe}
-\authorcaption{Készítette:}
-\author{Szerző neve\\ szak}
-\supervisorcaption{Témavezető:}
-\supervisor{Tanár neve\\ beosztás}
-\city{Eger}
-\date{2015}
-
-\begin{document}
-\maketitle
-\tableofcontents
-
-\chapter*{Bevezetés}
-
-\chapter{Fejezet címe}
-
-\section{Szakasz címe}
-
-\subsection{Alszakasz címe}
-
-\begin{thebibliography}{1}
-\bibitem{cimke} \textsc{Szerző}: Cím, Kiadó, Hely, évszám.
-\end{thebibliography}
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.pdf b/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.pdf
deleted file mode 100644
index 28a79cee72f..00000000000
--- a/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.tex b/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.tex
deleted file mode 100644
index 28af8f5fde5..00000000000
--- a/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.tex
+++ /dev/null
@@ -1,44 +0,0 @@
-\documentclass[logodown]{thesis-ekf}
-\usepackage[T1]{fontenc}
-\usepackage[utf8]{inputenc}
-\PassOptionsToPackage{defaults=hu-min}{magyar.ldf}
-\usepackage[magyar]{babel}
-\usepackage{graphicx,amsmath,amssymb,amsthm}
-\graphicspath{{./images/}}
-\footnotestyle{rule=fourth}
-
-\newtheorem{tetel}{Tétel}[chapter]
-\newtheorem{lemma}[tetel]{Lemma}
-\theoremstyle{definition}
-\newtheorem{definicio}[tetel]{Definíció}
-\newtheorem{feladat}[tetel]{Feladat}
-\theoremstyle{remark}
-\newtheorem{megjegyzes}[tetel]{Megjegyzés}
-\newtheorem*{megoldas}{Megoldás}
-
-\logo{\includegraphics[width=3cm]{ekf-logo2}}
-\institute{Eszterházy Károly Főiskola\\ Matematikai és Informatikai Intézet}
-\title{A szakdolgozat címe}
-\authorcaption{Készítette:}
-\author{Szerző neve\\ szak}
-\supervisorcaption{Témavezető:}
-\supervisor{Tanár neve\\ beosztás}
-\city{Eger}
-\date{2015}
-
-\begin{document}
-\maketitle
-\tableofcontents
-
-\chapter*{Bevezetés}
-
-\chapter{Fejezet címe}
-
-\section{Szakasz címe}
-
-\subsection{Alszakasz címe}
-
-\begin{thebibliography}{1}
-\bibitem{cimke} \textsc{Szerző}: Cím, Kiadó, Hely, évszám.
-\end{thebibliography}
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat3.pdf b/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat3.pdf
deleted file mode 100644
index fe6e7d9fca6..00000000000
--- a/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat3.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eke-logo.pdf b/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eke-logo.pdf
new file mode 100644
index 00000000000..29800637720
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eke-logo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eku-logo.pdf b/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eku-logo.pdf
new file mode 100644
index 00000000000..f54f6c23965
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eku-logo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-en.tex b/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-en.tex
new file mode 100644
index 00000000000..9b929ce4109
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-en.tex
@@ -0,0 +1,36 @@
+\documentclass[colorlinks]{thesis-ekf}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage[english]{babel}
+\usepackage{graphicx,amsmath,amssymb,amsthm}
+\graphicspath{{./figures/}}
+
+\newtheorem{thm}{Theorem}[chapter]
+\newtheorem{lemma}[thm]{Lemma}
+\theoremstyle{definition}
+\newtheorem{defin}[thm]{Definition}
+\newtheorem{exercise}[thm]{Exercise}
+\theoremstyle{remark}
+\newtheorem{remark}[thm]{Remark}
+\newtheorem*{answer}{Answer}
+
+\begin{document}
+\logo{\includegraphics[width=9cm]{eku-logo}}
+\institute{Institute of Mathematics and Informatics}
+\title{Title}
+\author{John Smith\\ Mathematics B.Sc.}
+\supervisor{Dr.~John Brown\\ associate professor}
+\city{Eger}
+\date{2016}
+\maketitle
+\tableofcontents
+
+\chapter*{Introduction}
+\chapter{Chapter title}
+\section{Section title}
+\subsection{Subsection title}
+
+\begin{thebibliography}{1}
+\bibitem{Birkel} \textsc{Birkel, T.}, Moment bounds for associated sequences, Ann.\ Probab.\ 16, 1988.
+\end{thebibliography}
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat3.tex b/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-hu.tex
index 76586a67a5d..82a3c989984 100644
--- a/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat3.tex
+++ b/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-hu.tex
@@ -1,10 +1,10 @@
-\documentclass[centeredchapter]{thesis-ekf}
+\documentclass[colorlinks]{thesis-ekf}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\PassOptionsToPackage{defaults=hu-min}{magyar.ldf}
\usepackage[magyar]{babel}
\usepackage{graphicx,amsmath,amssymb,amsthm}
-\graphicspath{{./images/}}
+\graphicspath{{./figures/}} % A képfájlokat a [figures] mappába kell tenni!
\footnotestyle{rule=fourth}
\newtheorem{tetel}{Tétel}[chapter]
@@ -16,26 +16,20 @@
\newtheorem{megjegyzes}[tetel]{Megjegyzés}
\newtheorem*{megoldas}{Megoldás}
-\logo{\includegraphics[width=9cm]{ekf-logo3}}
+\begin{document}
+\logo{\includegraphics[width=9cm]{eke-logo}}
\institute{Matematikai és Informatikai Intézet}
\title{A szakdolgozat címe}
-\authorcaption{Készítette:}
\author{Szerző neve\\ szak}
-\supervisorcaption{Témavezető:}
\supervisor{Tanár neve\\ beosztás}
\city{Eger}
-\date{2015}
-
-\begin{document}
+\date{2016}
\maketitle
\tableofcontents
\chapter*{Bevezetés}
-
\chapter{Fejezet címe}
-
\section{Szakasz címe}
-
\subsection{Alszakasz címe}
\begin{thebibliography}{1}
diff --git a/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf.pdf b/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf.pdf
index 6bb2ee0802e..dc263b5697e 100644
--- a/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf.pdf
+++ b/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.dtx b/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.dtx
index d7b9093b399..f7708ad298e 100644
--- a/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.dtx
+++ b/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
-% Copyright (C) 2014 by Tibor Tomacs
+% Copyright (C) 2014-2016 by Tibor Tomacs
%
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.2
@@ -18,22 +18,29 @@
% \iffalse
%<*driver>
\ProvidesFile{thesis-ekf.dtx}
-\newcommand{\eifiledate}{2015/04/19}
-\newcommand{\eifilever}{v1.1}
+\newcommand{\eifiledate}{2016/07/01}
+\newcommand{\eifilever}{Version 2.0}
%</driver>
%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-%<class>\ProvidesClass{thesis-ekf}[2015/04/19 v1.1 class for EKF thesis]
-%
+%<class>\ProvidesClass{thesis-ekf}[2016/07/01 v2.0 Thesis class for Eszterhazy Karoly University (Eger, Hungary)]
+%<class>
%<*driver>
\documentclass[a4paper]{ltxdoc}
-
+\usepackage[pdfstartview=FitH,bookmarks=false,allcolors=teal,colorlinks]{hyperref}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
-\usepackage[unicode,pdfstartview=FitH,bookmarksnumbered,urlcolor=blue,pdfborder={0 0 0}]{hyperref}
-\usepackage[hungarian]{babel}
-\usepackage{xcolor}
-\colorlet{pelda}{red!50!black}
+\usepackage[english,magyar]{babel}
\frenchspacing
+\usepackage{xcolor,paralist,etoolbox,textcomp}
+\colorlet{example}{green!40!black}
+\colorlet{code}{blue!40!black}
+\colorlet{comment}{gray}
+\AtBeginEnvironment{macro}{\color{code}}
+\def\comm#1{\emph{\color{comment}#1}}
+\flushbottom
+\makeatletter
+\preto{\@verbatim}{\topsep=0pt \partopsep=0pt }
+\makeatother
\begin{document}
\DocInput{./thesis-ekf.dtx}
@@ -41,7 +48,7 @@
%</driver>
% \fi
%
-% \CheckSum{276}
+% \CheckSum{508}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -60,228 +67,358 @@
% Right brace \} Tilde \~}
%
% \GetFileInfo{thesis-ekf.cls}
-%
-% \title{Thesis class for the Eszterházy Károly College\\ Osztályfájl szakdolgozat készítéséhez az Eszterházy Károly Főiskola részére\\\textsf{thesis-ekf.cls}\\\eifilever}
-% \author{Tómács Tibor\\{\color{blue}\normalsize\href{mailto:tomacs@ektf.hu}{\nolinkurl{tomacs@ektf.hu}}}}
-% \date{2015. április 19.}
+% \title{Thesis class for the\\ Eszterházy Károly University\\\textsf{thesis-ekf.cls}\\[2mm]{\normalsize\eifilever\\\eifiledate\\}}
+% \author{Tibor Tómács\\{\small\href{mailto:tomacs@ektf.hu}{\texttt{tomacs@ektf.hu}}}}
+% \date{}
% \maketitle
%
-% Since the Eszterházy Károly College is in Hungary (Eger), the documentation is given in Hungarian only.
-%
-% \section*{Verziótörténet}
-% \begin{description}
-% \item[v1.0] (2014/05/21) Ez az első hivatalos verzió.
-% \item[v1.1] (2015/04/19) \texttt{centeredchapter} opció létrehozása; új példa hozzáadása; dokumentáció frissítése.
-% \end{description}
+% \selectlanguage{english}
+% \begin{abstract}
+% This is a class file for theses and dissertations in the Eszterházy Károly University (Eger, Hungary). The \texttt{thesis-ekf} is based on the \texttt{report} class. The documentation is given in Hungarian only, but you can download an English template from \href{http://tomacstibor.uni-eger.hu/tananyagok/thesis-ekf-templates.zip}{here}.
+% \end{abstract}
%
+% \selectlanguage{magyar}
% \section{Bevezető}
-% Ez az osztály a \texttt{report} osztályra építve ad lehetőséget olyan szakdolgozatok megírására, amely megfelel az Eszterházy Károly Főiskola szabályzatának. Az oldalparaméterek beállításán túl a címoldal elkészítését is megkönnyíti. A formai követelmények a következők:
-% \begin{itemize}
-% \item A4-es lapméret;
-% \item 12 pontos betűméret;
-% \item Sorkizárt igazítás, másfeles sortávolság;
-% \item Margók:
-% \begin{itemize}
-% \item belső: 30\,mm
-% \item külső: 25\,mm
-% \item alsó: 25\,mm
-% \item felső: 25\,mm
-% \end{itemize}
-% \item Oldalszámozás a láblécben arab számozással.
-% \end{itemize}
-%
-% \section{Egy példa a használatra}
-% A következő kódhoz szükség van a \texttt{magyar.ldf} 1.5 verziójára. Ha ezt nem tartalmazza a rendszere, akkor töltse le innen: {\color{blue}\url{http://www.math.bme.hu/latex/}}.
-%
-%{\color{pelda}
+% A \texttt{thesis-ekf}\footnote{Az \texttt{ekf} az Eszterházy Károly Főiskola rövidítése, ugyanis ez a dokumentumosztály 2014-től létezik, amikor az intézmény még főiskola volt.} dokumentumosztály a \texttt{report} osztályra építve ad lehetőséget olyan szakdolgozat megírására, amely megfelel az Eszterházy Károly Egyetem szabályzatának. A formai követelmények a következők:
+%
+% \medskip
+% \begin{compactitem}
+% \item A4-es lap- és 12\,pt betűméret;
+% \item a margó a kötés oldalon 30\,mm, a többi 25\,mm;
+% \item oldalszámozás a láblécben középen, arab számozással;
+% \item a fejezetcímek középre, a további szintek címei balra igazítva;
+% \item a főszöveg antikva betűcsaláddal kiszedve;
+% \item sorkizárt igazítás, másfeles sortávolság.
+% \end{compactitem}
+%
+% \medskip\noindent
+% A \texttt{thesis-ekf} ezeket a paramétereket automatikusan beállítja, továbbá a megfelelő címoldal elkészítését is elvégzi.
+%
+% \section{A dokumentumosztály betöltése és opciói}
+% A dokumentumosztály használata a szokásos módon történik:
+%
+% \begin{macro}{\documentclass}
+% \hspace*{-8pt}{\small\oarg{opciók}|{thesis-ekf}|}\\
+% \color{black}Ennek hatására a \texttt{kvoptions}, \texttt{etoolbox}, \texttt{setspace}, \texttt{hyperref} és \texttt{geometry} csomagok is betöltődnek. Az \meta{opciók} a következők lehetnek:
+% \end{macro}
+%
+% \begin{macro}{twoside}\color{black}
+% Ha a szakdolgozatot kétoldalasan szeretné kinyomtatni, akkor ezt az opciót alkalmazza! Ne használja egyoldalas nyomtatáshoz illetve elektronikus verzióhoz!
+% \end{macro}
+% \begin{macro}{colorlinks}\color{black}
+% A linkek színes karakterekkel jelenjenek meg a PDF-ben! Ezt csak a szakdolgozat elektronikus verziójához használja, a nyomtatott verzióhoz nem kell!
+% \end{macro}
+%
+% \section{Címoldal létrehozása}
+% \begin{macro}{\maketitle}\color{black}
+% Címoldal ezzel a paranccsal hozható létre. Ehhez előtte az adatokat a következő parancsokkal lehet megadni:
+% \end{macro}
+%
+% \begin{macro}{\logo}
+% \hspace*{-8pt}{\small\marg{kép vagy szöveg}}
+% \color{black}Ezzel kell megadni annak az intézménynek a logóját, ahol a szakdolgozat készült. Pl.: |\logo{\includegraphics[width=9cm]{logo}}| (Ezelőtt be kell tölteni a \texttt{graphicx} csomagot!) Ha nem akar logót, akkor hagyja el ezt a parancsot.
+% \end{macro}
+%
+% \begin{macro}{\institute}
+% \hspace*{-8pt}{\small\marg{intézmény neve}}
+% \color{black}Ezzel kell megadni annak az intézménynek a nevét, ahol a szakdolgozat készült.
+% \end{macro}
+%
+% \begin{macro}{\title}
+% \hspace*{-8pt}{\small\marg{szakdolgozat címe}}
+% \color{black}Ezzel kell megadni a szakdolgozat címét.
+% \end{macro}
+%
+% \begin{macro}{\authorcaption}
+% \hspace*{-8pt}{\small\marg{szerző neve feletti felirat}}
+% \color{black}Ezzel adhatjuk meg a szakdolgozat szerzőjének neve feletti feliratot. Ha nem adjuk meg, akkor a felirat \textbf{Author}, illetve magyar nyelv esetén \textbf{Készítette}.
+% \end{macro}
+%
+% \begin{macro}{\author}
+% \hspace*{-8pt}{\small|{|\meta{szerző neve}|\\ |\meta{szakja}|}|}
+% \color{black}Ezzel kell megadni a szakdolgozat szerzőjének a nevét és szakját.
+% \end{macro}
+%
+% \begin{macro}{\supervisorcaption}
+% \hspace*{-8pt}{\small\marg{témavezető neve feletti felirat}}
+% \color{black}Ezzel adhatjuk meg a szakdolgozat témavezetőjének neve feletti feliratot. Ha nem adjuk meg, akkor a felirat \textbf{Supervisor}, illetve magyar nyelv esetén \textbf{Témavezető}.
+% \end{macro}
+%
+% \begin{macro}{\supervisor}
+% \hspace*{-8pt}{\small|{|\meta{témavezető neve}|\\ |\meta{beosztása}|}|}
+% \color{black}Ezzel kell megadni a szakdolgozat témavezetőjének a nevét és beosztását.
+% \end{macro}
+%
+% \begin{macro}{\city}
+% \hspace*{-8pt}{\small\marg{város}}
+% \color{black}Ezzel kell megadni annak a városnak a nevét, ahol az intézmény található.
+% \end{macro}
+%
+% \begin{macro}{\date}
+% \hspace*{-8pt}{\small\marg{dolgozat leadásának éve}}
+% \color{black}Ezzel kell megadni a szakdolgozat leadásának az évét. Ha nem adjuk meg, akkor az aktuális évszám fog megjelenni.
+% \end{macro}
+%
+% \section{Példa a használatra}\label{pelda}
+% Egy magyar- és egy angolnyelvű sablon a logókkal együtt letölthető \href{http://tomacstibor.uni-eger.hu/tananyagok/thesis-ekf-templates.zip}{innen}. Itt csak egy minimális példát mutatunk:
+%
+% \medskip
+% {\color{example}
%\begin{verbatim}
-%\documentclass[colorlinks,centeredchapter]{thesis-ekf}
+%\documentclass[colorlinks]{thesis-ekf}
%\usepackage[T1]{fontenc}
%\usepackage[utf8]{inputenc}
%\PassOptionsToPackage{defaults=hu-min}{magyar.ldf}
%\usepackage[magyar]{babel}
%\usepackage{graphicx}
%
-%\logo{\includegraphics[width=8cm]{ekf-logo}}
-%\institute{Eszterházy Károly Főiskola\\ Matematikai és Informatikai Intézet}
-%\title{A szakdolgozat címe}
-%\authorcaption{Készítette:}
-%\author{Szerző neve\\ szak}
-%\supervisorcaption{Témavezető:}
-%\supervisor{Tanár neve\\ beosztás}
-%\city{Eger}
-%\date{2015}
-%
%\begin{document}
+%\logo{\includegraphics[width=9cm]{logo}}
+%\institute{Eszterházy Károly Egyetem\\ Matematikai és Informatikai Intézet}
+%\title{A valószínűségszámítás mértékelméleti alapjai}
+%\author{Szabó János\\ matematika BSc}
+%\supervisor{Dr. Nagy János\\ egyetemi docens}
+%\city{Eger}
+%\date{2016}
%\maketitle
%\tableofcontents
+%
%\chapter{Fejezet címe}
%\section{Szakasz címe}
+%
%\begin{thebibliography}{1}
%\bibitem{cimke} \textsc{Szerző}: Cím, Kiadó, Hely, évszám.
%\end{thebibliography}
%\end{document}
%\end{verbatim}}
%
-% \noindent Néhány teljes példa letölthető innen:\\
-% {\color{blue}\url{http://ektf.hu/tanszek/matematika/tomacs/tananyagok/thesis-ekf.zip}}
+% \section{A dokumentumosztály átparaméterezése}
+% A \texttt{thesis-ekf} dokumentumosztály más főiskolák, egyetemek részére is átparaméterezhető.
+% \subsection*{A dokumentumosztály átparaméterező opciói}
+% \begin{macro}{logodown}\color{black}
+% Alapbeállítás esetén a logó az intézmény neve felett van. Ezzel a logó az intézmény neve alá kerül. Ez akkor célszerű, ha a logó pajzs alakú.
+% \end{macro}
%
-% \section{A dokumentumosztály betöltése és opciói}
-% A dokumentumosztály betöltése a szokásos módon történik:
-% \par\bigskip\noindent
-% |\documentclass|\oarg{opciók}|{thesis-ekf}|
-% \par\bigskip\noindent
-% A lehetséges opciók listája:
-% \begin{macro}{oneside}
-% (alapopció) Egyoldalas nyomtatáshoz. Ekkor a belső margó mindig a bal oldalon van.
+% \begin{macro}{centeredchapter=false}\color{black}
+% Ezzel a fejezetcímek nem középre, hanem balra zártan lesznek kiszedve.
% \end{macro}
-% \begin{macro}{twoside}
-% Kétoldalas nyomtatáshoz. Ha van módja kétoldalas nyomtatásra alkalmas printert használni, akkor mindenképpen ezt az opciót alkalmazza. Ekkor a belső margó aszerint van a bal illetve jobb oldalon, hogy páratlan, vagy páros oldalszámú.
+%
+% \begin{macro}{fontsize=}
+% \hspace*{-8pt}{\small\meta{betűméret}}
+% \color{black}A \meta{betűméret} lehetséges értékei |10pt|, |11pt| és |12pt|. Ez adja meg az alapbetűméretet. Például: |fontsize=11pt|
% \end{macro}
-% \begin{macro}{nocolorlinks}
-% (alapopció) A linkek működnek a PDF-ben, de nincsenek kiemelve színes karakterrel. Ezt használja a dolgozat nyomtatott verziójához!
+%
+% \begin{macro}{institutesep=}
+% \hspace*{-8pt}{\small\meta{méret}}
+% \color{black} Az intézmény neve és a logó közötti távolság, ha a \texttt{logodown} opció be van kapcsolva. Például |institutesep=5mm|
% \end{macro}
-% \begin{macro}{colorlinks}
-% A linkek színes karakterekkel jelennek meg a PDF-ben. Ezt használja a dolgozat elektronikus verziójához!
+%
+% \begin{macro}{logosep=}
+% \hspace*{-8pt}{\small\meta{méret}}
+% \color{black}Az intézmény neve és a logó közötti távolság, ha a \texttt{logodown} opció nincs bekapcsolva. Például |logosep=5mm|
% \end{macro}
-% \begin{macro}{logoup}
-% (alapopció) A logó az intézet neve felett van.
+%
+% \begin{macro}{titlesep=}
+% \hspace*{-8pt}{\small\meta{méret}}
+% \color{black}A cím alatti térköz mérete. Ha például azt szeretnénk, hogy a cím feletti és alatti térközök aránya $1:2$ legyen, akkor a következőt kell beírni: |titlesep=\stretch{2}|.\footnote{Azok az opciók, melyekben parancs is van, csak a \texttt{\textbackslash setkeys\{ekf\}\{$\langle${\it opciók}$\rangle$\}} parancsba írhatók! Ilyenek még a betűtípusra vonatkozó opciók is.} Fix méret is beírható, például |titlesep=7cm|
% \end{macro}
-% \begin{macro}{logodown}
-% A logó az intézet neve alatt van.
+%
+% \begin{macro}{captionsep=}
+% \hspace*{-8pt}{\small\meta{méret}}
+% \color{black}A szerző neve és a felette lévő felirat távolsága. Például |captionsep=2mm|
% \end{macro}
-% \begin{macro}{logono}
-% Nincs logó.
+%
+% \begin{macro}{authorsep=}
+% \hspace*{-8pt}{\small\meta{méret}}
+% \color{black}Az évszám távolsága a szerző szakjától. Például |authorsep=20mm|
% \end{macro}
-% \begin{macro}{centeredchapter}
-% A fejezetek címe középre van igazítva.
+%
+% \begin{macro}{xmargin=}
+% \hspace*{-8pt}{\small\meta{méret}}
+% \color{black}Ezzel a szerzőnél és a témavezetőnél egy extra margóméret adható meg, azaz a normál margó ennyivel nő. Például |xmargin=5mm|
% \end{macro}
%
-% \section{Címoldal létrehozása}
-% A címoldal a szokásos módon, a |\maketitle| paranccsal hozható létre. Ehhez előtte az adatokat a következő parancsokkal lehet megadni:
+% \begin{macro}{institutefont=}
+% \hspace*{-8pt}{\small\meta{betűtípus}}
+% \color{black}Az intézmény nevének betűtípusa. Pl. |institutefont=\large\scshape|
+% \end{macro}
%
-% \begin{macro}{\logo}
-% Logó betöltéséhez kell használni.\\ Használata: |\logo|\marg{képbetöltés}.\\ Pl.: |\logo{\includegraphics[width=8cm]{ekf-logo}}|. (Előtte a \texttt{graphicx} csomagot töltse be.) Ha nem akar logót, akkor használja az osztály \texttt{logono} opcióját. Ilyenkor ennek a parancsnak nincs hatása. Az osztály \texttt{logoup} opciója a logót az intézet neve fölé, míg a \texttt{logodown} opciója a logót az intézet neve alá teszi.
+% \begin{macro}{logofont=}
+% \hspace*{-8pt}{\small\meta{betűtípus}}
+% \color{black}Ha a logó helyére szöveget írunk, akkor ez lesz a betűtípusa. Például |logofont=\large\scshape|
% \end{macro}
%
-% \begin{macro}{\institute}
-% Ezzel adjuk meg az intézet nevét.\\ Használata: |\institute|\marg{intézet neve}.\\ Pl.:
-% |\institute{Eszterházy Károly Főiskola\\|\\
-% | Matematikai és Informatikai Intézet}|
+% \begin{macro}{titlefont=}
+% \hspace*{-8pt}{\small\meta{betűtípus}}
+% \color{black}A dolgozat címének betűtípusa. Például |titlefont=\Huge\sffamily|
% \end{macro}
%
-% \begin{macro}{\title}
-% Ezzel adjuk meg a dolgozat címét.\\ Használata: |\title|\marg{dolgozat címe}.
+% \begin{macro}{captionfont=}
+% \hspace*{-8pt}{\small\meta{betűtípus}}
+% \color{black}A szerző és témavezető nevei feletti feliratok betűtípusa. Például\\ |captionfont=\large\bfseries|
% \end{macro}
%
-% \begin{macro}{\authorcaption}
-% Ezzel adjuk meg a szerző neve feletti feliratot.\\ Használata: |\authorcaption|\marg{felirat}.\\ Pl.: |\authorcaption{Készítette:}|
+% \begin{macro}{authorfont=}
+% \hspace*{-8pt}{\small\meta{betűtípus}}
+% \color{black}A szerző nevének és szakjának, illetve a témavezető nevének és beosztásának betűtípusa. Például |authorfont=\large\normalfont|
% \end{macro}
%
-% \begin{macro}{\author}
-% Ezzel adjuk meg a szerző nevét és a szakot.\\ Használata: |\author|\marg{név és szak}.\\ Pl.: |\author{Tóth István\\ matematika BSc}|
+% \begin{macro}{cityfont=}
+% \hspace*{-8pt}{\small\meta{betűtípus}}
+% \color{black}A város és az évszám betűtípusa. Például |cityfont=\large\scshape|
% \end{macro}
%
-% \begin{macro}{\supervisorcaption}
-% Ezzel adjuk meg a témavezető neve feletti feliratot.\\ Használata: |\supervisorcaption|\marg{felirat}.\\ Pl.: |\supervisorcaption{Témavezető:}|
+% \subsection*{Parancsok}
+% \begin{macro}{\setkeys}
+% \hspace*{-8pt}{\small|{ekf}|\marg{opciók}}
+% \color{black}A \texttt{thesis-ekf} opciói, a |fontsize| kivételével, ezzel a paranccsal is beállíthatók. Például |\setkeys{ekf}{logodown,centeredchapter=false}|
+%
+% \noindent Ha a |\setkeys| parancsot a konfigurációs fájlba írjuk (lásd később), akkor abba a |fontsize| opció is beírható. Azok az opciók, melyekben parancs van, mint például a betűtípusra vonatkozók, csak a |\setkeys| parancsba írhatók!
% \end{macro}
%
-% \begin{macro}{\supervisor}
-% Ezzel adjuk meg a témavezető nevét és beosztását.\\ Használata: |\supervisor|\marg{név és beosztás}.\\ Pl.: |\supervisor{Dr. Nagy János\\ főiskolai docens}|
+% \begin{macro}{\hypersetup}
+% \hspace*{-8pt}{\small\marg{hyperref opciók}}
+% \color{black}A \texttt{hyperref} csomag opciói ezzel állíthatók be. Például, ha a linkek színét pirosra akarjuk állítani: |\hypersetup{allcolors=red}|
% \end{macro}
%
-% \begin{macro}{\city}
-% Ezzel adjuk meg a város nevét, ahol az intézet található.\\ Használata: |\city|\marg{város}.\\ Pl.: |\city{Eger}|
+% \begin{macro}{\geometry}
+% \hspace*{-8pt}{\small\marg{geometry opciók}}
+% \color{black}A \texttt{geometry} csomag opciói ezzel állíthatók be. Például, ha B5 lapméretet szeretnénk, 20\,mm margókkal, kivéve a belső margót, amely 25\,mm:\\ |\geometry{b5paper,top=20mm,bottom=20mm,inner=25mm,outer=20mm}|
% \end{macro}
%
-% \begin{macro}{\date}
-% Ezzel adjuk meg a dolgozat leadásának évét. Az évszám után ne tegyen pontot!\\ Használata: |\date|\marg{évszám}.\\ Pl.: |\date{2014}|
+% \begin{macro}{\ekf@sep}\color{black}
+% A város és az évszám közötti elválasztás. Ha például a város alá akarjuk tenni az évszámot: |\def\ekf@sep{\\}|
% \end{macro}
%
-% \section{A dokumentumosztály által betöltött csomagok}
-% A \texttt{geometry} és \texttt{hyperref} csomagok automatikusan betöltődnek, így ezeket nem szabad ismét betölteni!
+% \begin{macro}{\singlespacing}\color{black}
+% Alapbeállítás esetén a sortávolság másfeles. A \texttt{setspace} csomag |\singlespacing| parancsával visszaállítható a normál méretű sortávolság.
+% \end{macro}
%
-% \StopEventually{}
+% \subsection*{Konfigurációs fájl}
+% \begin{macro}{thesis-ekf.cfg}\color{black}
+% Az átparaméterező opciókat és parancsokat célszerű egy \texttt{thesis-ekf.cfg} fájlba írni, amit a \texttt{tex} forrásfájl mellé kell tenni. A dokumentumosztály betöltésekor ez a fájl automatikusan betöltődik. Ügyeljen arra, hogy a konfigurációs fájlban előforduló ékezetes betűket repülő ékezettel kell beírni!
+% \end{macro}
+%
+% \begin{macro}{\AtEndOfClass}
+% \hspace*{-8pt}{\small\marg{parancsok}}
+% \color{black}A konfigurációs fájlba minden parancsot, a |\setkeys| kivételével, ebbe a parancsba kell írni. Például\\ |\AtEndOfClass{\hypersetup{allcolors=red}\authorcaption{\|\textquotesingle|{I}rta}}|
+% \end{macro}
+%
+% \subsection*{Példa az átparaméterezésre}
+% A következőket írjuk be a \texttt{thesis-ekf.cfg} fájlba, majd tegyük \aref{pelda}.~szakaszban található \texttt{tex} forrásfájl mellé.
%
+% \medskip
+%{\color{example}\small
+%\begin{verbatim}
+%\setkeys{ekf}{
+% fontsize=11pt,
+% logodown,
+% centeredchapter=false,
+% institutesep=5mm,
+% titlesep=\stretch{2},
+% authorsep=15mm,
+% xmargin=5mm,
+% captionsep=2mm,
+% institutefont=\large\rmfamily,
+% titlefont=\Huge\sffamily,
+% authorfont=\large\rmfamily,
+% captionfont=\large\rmfamily\bfseries,
+% cityfont=\large\scshape
+%}
+%\AtEndOfClass{
+% \hypersetup{allcolors=red}
+% \geometry{b5paper,top=20mm,bottom=20mm,inner=25mm,outer=20mm}
+% \singlespacing
+% \def\ekf@sep{\\}
+%\end{verbatim}
+%\noindent
+%| \authorcaption{\|\textquotesingle|{I}rta}|\\
+%|}|}
+%
+% \StopEventually{}
% \section{Az osztályfájl tartalma}
-% A \texttt{report} osztály betöltése A4-es lap- és 12\,pt-os betűmérettel.
+% \comm{Opciók definiálása.}
% \begin{macrocode}
-\LoadClass[a4paper,12pt]{report}
+\RequirePackage{kvoptions,etoolbox,setspace}
+\SetupKeyvalOptions{family=ekf,prefix=ekf@}
+\DeclareVoidOption{twoside}{\PassOptionsToClass{twoside}{report}}
+\DeclareVoidOption{colorlinks}{\PassOptionsToPackage{colorlinks}{hyperref}}
+\DeclareBoolOption{logodown}
+\DeclareBoolOption[true]{centeredchapter}
+\DeclareStringOption[12pt]{fontsize}
+\DeclareStringOption[10mm]{institutesep}
+\DeclareStringOption[0mm]{logosep}
+\DeclareStringOption[\stretch{1.5}]{titlesep}
+\DeclareStringOption[15mm]{authorsep}
+\DeclareStringOption[10mm]{xmargin}
+\DeclareStringOption[1mm]{captionsep}
+\DeclareStringOption[\large\normalfont\scshape]{institutefont}
+\DeclareStringOption[\large\normalfont\scshape]{logofont}
+\DeclareStringOption[\Huge\normalfont\sffamily\bfseries]{titlefont}
+\DeclareStringOption[\large\normalfont]{authorfont}
+\DeclareStringOption[\large\normalfont\bfseries]{captionfont}
+\DeclareStringOption[\large\normalfont\scshape]{cityfont}
+\ProcessKeyvalOptions{ekf}
+\InputIfFileExists{thesis-ekf.cfg}{}{}
+
+\def\ekf@ten{10pt}
+\def\ekf@eleven{11pt}
+\def\ekf@twelve{12pt}
+
+\ifx\ekf@fontsize\ekf@ten\else
+\ifx\ekf@fontsize\ekf@eleven\else
+\ifx\ekf@fontsize\ekf@twelve\else
+\ClassWarning{thesis-ekf}{
+Unused option: fontsize=\ekf@fontsize.
+Use fontsize=10pt, fontsize=11pt or fontsize=12pt!}
+\def\ekf@fontsize{12pt}
+\fi\fi\fi
+
+\PassOptionsToClass{\ekf@fontsize}{report}
+
% \end{macrocode}
-% ~\\Margók beállítása.
+% \comm{{\tt report} osztály betöltése.}
% \begin{macrocode}
-\RequirePackage[top=25mm,bottom=25mm,inner=30mm,outer=25mm]{geometry}
+\LoadClass{report}
% \end{macrocode}
-% ~\\PDF tulajdonságainak beállítása (linkszínek, könyvjelző, indítási nézet).
+% \comm{PDF tulajdonságainak beállítása.}
% \begin{macrocode}
-\RequirePackage[unicode,linktocpage,linkcolor=blue,citecolor=blue,urlcolor=blue,
-pdfstartview=FitH,bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
+\RequirePackage[unicode,linktocpage,allcolors=blue,pdfstartview=FitH,
+bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
% \end{macrocode}
-% ~\\Másfeles sortávolság.
+% \comm{Oldalméret és margók beállítása.}
% \begin{macrocode}
-\linespread{1.24}
+\RequirePackage[a4paper,top=25mm,bottom=25mm,inner=30mm,outer=25mm]{geometry}
% \end{macrocode}
-% ~\\Túlcsordulást a sor végén PDF-ben is jelezze.
+% \comm{Másfeles sortávolság.}
% \begin{macrocode}
-\overfullrule10pt
+\onehalfspacing
% \end{macrocode}
-% ~\\Telített oldalak alsó igazítása.
+% \comm{Telített oldalak alsó igazítása.}
% \begin{macrocode}
\flushbottom
% \end{macrocode}
-% ~\\Fattyúsor tiltása.
+% \comm{Fattyúsorok tiltása.}
% \begin{macrocode}
\widowpenalty=10000
\clubpenalty=10000
% \end{macrocode}
-% ~\\Egyoldalas dokumentum esetén az oldalszám a láblécben középen van. Kétoldalas dokumentum esetén páros oldalon a láblécben bal oldalon, míg páratlan oldalon a láblécben jobb oldalon van az oldalszám. Kétoldalas dokumentum esetén a címoldal hátoldala üres. A fejléc minden esetben üres.
-% \begin{macrocode}
-\if@twoside
-\def\ps@plain{}
-\def\@oddfoot{\hbox{}\hfill\normalsize\textnormal\thepage}
-\def\@evenfoot{\normalsize\textnormal\thepage}
-\def\@aftertitlepage{\thispagestyle{empty}\hbox{}\newpage}
-\else
-\def\@aftertitlepage{}
-\fi
-
-% \end{macrocode}
-% ~\\A tartalomjegyzékben a fejezet, szakasz és alszakasz számai után nagyobb helyet hagy, hogy két jegy esetén se tapadjon össze a címmel.
+% \comm{Fejezetcím középre helyezéséhez szükséges parancsok.}
% \begin{macrocode}
-\renewcommand*\l@chapter[2]{%
- \ifnum \c@tocdepth >\z@
- \addpenalty\@secpenalty
- \addvspace{1.0em \@plus\p@}%
- \setlength\@tempdima{1.8em}%
- \begingroup
- \parindent \z@ \rightskip \@pnumwidth
- \parfillskip -\@pnumwidth
- \leavevmode \bfseries
- \advance\leftskip\@tempdima
- \hskip -\leftskip
- #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
- \endgroup
- \fi}
-\renewcommand*\l@section{\@dottedtocline{1}{1.8em}{2.5em}}
-\renewcommand*\l@subsection{\@dottedtocline{2}{4.1em}{3.2em}}
-
-% \end{macrocode}
-% ~\\A \texttt{centeredchapter} opció esetén a |\@makechapterhead| és |\@makeschapterhead| parancsok átdefiniálása.
-% \begin{macrocode}
-\def\thesisekf@chapternumber{%
+\def\ekf@chapternumber{%
\@ifundefined{l@magyar}
{\@chapapp\space \thechapter}
{\iflanguage{magyar}
{\magyar@huordinal@chapterheaddot \@chapapp}
{\@chapapp\space \thechapter}}}
-\def\thesisekf@centeredchapter{%
+\def\ekf@centeredchapter{%
\def\@makechapterhead##1{%
\vspace*{50\p@}%
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
- {\centering\huge\bfseries \thesisekf@chapternumber
+ {\centering\huge\bfseries \ekf@chapternumber
\par\nobreak}
\vskip 20\p@
\fi
@@ -299,73 +436,171 @@ pdfstartview=FitH,bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
}}}
% \end{macrocode}
-% ~\\Címoldal adatait megadó makrók.
+% \comm{Az {\tt\textbackslash AfterEndPreamble} parancsbeli kódok a {\tt magyar.ldf} kifejtése után aktiválódnak.}
% \begin{macrocode}
-\def\logo#1{\def\@logo{#1}}\logo{LOGO}
-\def\institute#1{\def\@institute{#1}}\institute{INSTITUTE}
-\def\authorcaption#1{\def\@authorcaption{#1}}\authorcaption{Author:}
-\def\supervisorcaption#1{\def\@supervisorcaption{#1}}\supervisorcaption{Supervisor:}
-\def\supervisor#1{\def\@supervisor{#1}}\supervisor{}
-\def\city#1{\def\@city{#1}}\city{}
+\AfterEndPreamble{
+% \end{macrocode}
+% \comm{Fejezetcím középre helyezése még akkor is, ha nyelvet váltunk.}
+% \begin{macrocode}
+\ifekf@centeredchapter
+ \ekf@centeredchapter
+ \let\original@selectlanguage\selectlanguage
+ \def\selectlanguage#1{\original@selectlanguage{#1}\ekf@centeredchapter}\fi
% \end{macrocode}
-% ~\\A |\maketitle| címoldalt készítő parancs átdefiniálása.
+% \comm{{\tt dottedtocline=fix} opció hatástalanítása {\tt magyar.ldf} használatakor.}
% \begin{macrocode}
-\def\maketitle{
-\if@centeredchapter
-\thesisekf@centeredchapter
-\let\oldselectlanguage\selectlanguage
-\def\selectlanguage##1{\oldselectlanguage{##1}\thesisekf@centeredchapter}
-\fi
-\thispagestyle{empty}
-\begin{large}
-\centering
-\if@logono{\scshape\@institute\\}\fi
-\if@logoup{\scshape\@logo\\\@institute\\}\fi
-\if@logodown{\scshape\@institute\\[10mm]\@logo\\}\fi
-\vfill{\Huge\sffamily\bfseries\@title\\}\vspace{\stretch{1.8}}
-\begin{tabular}[t]{@{\hspace{10mm}}l@{}}
-{\bfseries\@authorcaption}\\[1mm]
-\@author
-\end{tabular}
-\hfill
-\begin{tabular}[t]{@{}l@{\hspace{10mm}}}
-{\bfseries\@supervisorcaption}\\[1mm]
-\@supervisor
-\end{tabular}
-\par\vspace{15mm}
-{\scshape\@city\if\@city\empty\else,~\fi\@date\par}
-\end{large}
-\newpage\@aftertitlepage}
+\def\@dottedtocline#1#2#3#4#5{%
+ \ifnum #1>\c@tocdepth \else
+ \vskip \z@ \@plus.2\p@
+ {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
+ \parindent #2\relax\@afterindenttrue
+ \interlinepenalty\@M
+ \leavevmode
+ \@tempdima #3\relax
+ \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
+ {#4}\nobreak
+ \leaders\hbox{$\m@th
+ \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
+ mu$}\hfill
+ \nobreak
+ \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
+ \par}%
+ \fi}
+
+% \end{macrocode}
+% \comm{Tartalomjegyzékben a fejezet, szakasz és alszakasz számai után nagyobb helyet hagy, hogy két számjegy esetén se tapadjon össze a címmel.}
+% \begin{macrocode}
+\renewcommand*\l@chapter[2]{%
+ \ifnum \c@tocdepth >\z@
+ \addpenalty\@secpenalty
+ \addvspace{1.0em \@plus\p@}%
+ \setlength\@tempdima{1.8em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \leavevmode \bfseries
+ \advance\leftskip\@tempdima
+ \hskip -\leftskip
+ #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+ \endgroup
+ \fi}
+\renewcommand*\l@section{\@dottedtocline{1}{1.8em}{2.5em}}
+\renewcommand*\l@subsection{\@dottedtocline{2}{4.3em}{3.2em}}
% \end{macrocode}
-% ~\\A logó helyét vizsgáló logikai értékek definiálása.
+% \comm{Magyar nyelv esetén az {\tt\textbackslash ekf@authorcaption} alapértéke.}
% \begin{macrocode}
-\newif\if@logono
-\newif\if@logoup
-\newif\if@logodown
+\if@nochanged@authorcaption@%
+ \@ifundefined{l@magyar}{}{%
+ \iflanguage{magyar}{\gdef\ekf@authorcaption{K\'{e}sz\'{\i}tette}}{}}\fi
+
+% \end{macrocode}
+% \comm{Magyar nyelv esetén az {\tt\textbackslash ekf@supervisorcaption} alapértéke.}
+% \begin{macrocode}
+\if@nochanged@supervisorcaption@%
+ \@ifundefined{l@magyar}{}{%
+ \iflanguage{magyar}{\gdef\ekf@supervisorcaption{T\'{e}mavezet\H{o}}}{}}\fi
% \end{macrocode}
-% ~\\A \texttt{centeredchapter} opciót vizsgáló logikai érték definiálása.
+% \comm{Az {\tt\textbackslash AfterEndPreamble} lezárása.}
% \begin{macrocode}
-\newif\if@centeredchapter
+}
% \end{macrocode}
-% ~\\Opciók definiálása.
+% \comm{Címoldal adatait megadó makrók.}
% \begin{macrocode}
-\DeclareOption{nocolorlinks}{\hypersetup{colorlinks=false}}
-\DeclareOption{colorlinks}{\hypersetup{colorlinks}}
-\DeclareOption{oneside}{\@twosidefalse\@mparswitchfalse}
-\DeclareOption{twoside}{\@twosidetrue\@mparswitchtrue}
-\DeclareOption{logono}{\@logonotrue\@logoupfalse\@logodownfalse}
-\DeclareOption{logoup}{\@logonofalse\@logouptrue\@logodownfalse}
-\DeclareOption{logodown}{\@logonofalse\@logoupfalse\@logodowntrue}
-\DeclareOption{centeredchapter}{\@centeredchaptertrue}
+\def\logo#1{\gdef\ekf@logo{#1}}
+\logo{}
+\def\ekf@logo@{\ifx\ekf@logo\@empty%
+ \ClassWarning{thesis-ekf}{There isn't logo!}%
+ \else\ekf@logo\fi}
+
+\def\institute#1{\gdef\ekf@institute{#1}}
+\institute{}
+\def\ekf@institute@{\ifx\ekf@institute\@empty%
+ \ClassWarning{thesis-ekf}{There isn't institute!}%
+ \else\ekf@institute\fi}
+
+\def\title#1{\gdef\ekf@title{#1}}
+\title{}
+\def\ekf@title@{\ifx\ekf@title\@empty
+ \ClassWarning{thesis-ekf}{There isn't title!}~%
+ \else\ekf@title\fi}
+
+\def\author#1{\gdef\ekf@author{#1}}
+\author{}
+\def\ekf@author@{\ifx\ekf@author\@empty
+ \ClassWarning{thesis-ekf}{There isn't author!}~%
+ \else\ekf@author\fi}
+
+\newif\if@nochanged@authorcaption@\@nochanged@authorcaption@true
+\def\authorcaption#1{\@nochanged@authorcaption@false\gdef\ekf@authorcaption{#1}}
+\def\ekf@authorcaption{Author}
+\def\ekf@authorcaption@{\ifx\ekf@author\@empty~%
+ \else
+ \ifx\ekf@authorcaption\@empty
+ \ClassWarning{thesis-ekf}{There isn't authorcaption!}~%
+ \else\ekf@authorcaption\fi\fi}
+
+\def\supervisor#1{\gdef\ekf@supervisor{#1}}
+\supervisor{}
+\def\ekf@supervisor@{\ifx\ekf@supervisor\@empty
+ \ClassWarning{thesis-ekf}{There isn't supervisor!}~%
+ \else\ekf@supervisor\fi}
+
+\newif\if@nochanged@supervisorcaption@\@nochanged@supervisorcaption@true
+\def\supervisorcaption#1{\@nochanged@supervisorcaption@false\gdef\ekf@supervisorcaption{#1}}
+\def\ekf@supervisorcaption{Supervisor}
+\def\ekf@supervisorcaption@{\ifx\ekf@supervisor\@empty~%
+ \else
+ \ifx\ekf@supervisorcaption\@empty
+ \ClassWarning{thesis-ekf}{There isn't supervisorcaption!}~%
+ \else\ekf@supervisorcaption\fi\fi}
+
+\def\city#1{\gdef\ekf@city{#1}}
+\city{}
+\def\ekf@city@{\ekf@city\ifx\ekf@city\@empty%
+ \ClassWarning{thesis-ekf}{There isn't city!}\fi}
+
+\def\date#1{\gdef\ekf@date{#1}}
+\date{\number\year}
+\def\ekf@date@{\ekf@date\ifx\ekf@date\@empty%
+ \ClassWarning{thesis-ekf}{There isn't date!}\fi}
+
+\def\ekf@sep{,~}
+\def\ekf@sep@{\ifx\ekf@city\@empty\else\ifx\ekf@date\@empty\else\ekf@sep\fi\fi}
+
% \end{macrocode}
-% ~\\Alapopciók megadása.
+% \comm{Címoldalt készítő parancs átdefiniálása.}
% \begin{macrocode}
-\ExecuteOptions{nocolorlinks,oneside,logoup}
-\ProcessOptions
+\def\maketitle{
+\thispagestyle{empty}
+{\centering
+\ifekf@logodown
+{\ekf@institutefont\ekf@institute@\ifx\ekf@institute\@empty\else\\
+\vspace{\ekf@institutesep}\fi}
+{\ekf@logofont\ekf@logo@\ifx\ekf@logo\@empty~\\\else\\\fi}
+\else
+{\ekf@logofont\ekf@logo@\ifx\ekf@logo\@empty\else\\\vspace{\ekf@logosep}\fi}
+{\ekf@institutefont\ekf@institute@\ifx\ekf@institute\@empty~\\\else\\\fi}
+\fi
+\vfill{\ekf@titlefont\ekf@title@\\}\vspace{\ekf@titlesep}
+{\ekf@authorfont
+\begin{tabular}[t]{@{\hspace{\ekf@xmargin}}l@{}}
+{\ekf@captionfont\ekf@authorcaption@}\\[\ekf@captionsep]
+\ekf@author@
+\end{tabular}
+\hfill
+\begin{tabular}[t]{@{}l@{\hspace{\ekf@xmargin}}}
+{\ekf@captionfont\ekf@supervisorcaption@}\\[\ekf@captionsep]
+\ekf@supervisor@
+\end{tabular}}
+\par\vspace{\ekf@authorsep}
+{\ekf@cityfont\ekf@city@\ekf@sep@\ekf@date@\par}
+}
+\newpage
+\if@twoside\thispagestyle{empty}\hbox{}\newpage\fi}
+
% \end{macrocode}
-%
% \Finale
-\endinput
+\endinput \ No newline at end of file
diff --git a/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.ins b/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.ins
index ba85d109e13..c6e64a2b07b 100644
--- a/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.ins
+++ b/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.ins
@@ -1,5 +1,5 @@
-% Copyright (C) 2014 Tibor Tomacs
+% Copyright (C) 2014-2016 Tibor Tomacs
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.2 of this license or (at your option) any later
@@ -15,7 +15,7 @@
\usedir{tex/latex/thesis-ekf}
\preamble
This is a generated file.
-Copyright (C) 2014 Tibor Tomacs
+Copyright (C) 2014-2016 Tibor Tomacs
This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
version 1.2 of this license or (at your option) any later
diff --git a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo1.png b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo1.png
deleted file mode 100644
index ff80e2604d7..00000000000
--- a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo1.png
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo2.pdf b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo2.pdf
deleted file mode 100644
index a5d9a6e3166..00000000000
--- a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo2.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo3.pdf b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo3.pdf
deleted file mode 100644
index b74394e3d2d..00000000000
--- a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo3.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo4.pdf b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo4.pdf
deleted file mode 100644
index fe5b9fe846b..00000000000
--- a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo4.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo5.pdf b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo5.pdf
deleted file mode 100644
index f7a51e4a84b..00000000000
--- a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo5.pdf
+++ /dev/null
Binary files differ
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 402003feed4..248a855d1bb 100644
--- a/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls
+++ b/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls
@@ -6,7 +6,7 @@
%%
%% ./thesis-ekf.dtx (with options: `class')
%% This is a generated file.
-%% Copyright (C) 2014 Tibor Tomacs
+%% Copyright (C) 2014-2016 Tibor Tomacs
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.2 of this license or (at your option) any later
@@ -19,56 +19,67 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesClass{thesis-ekf}[2015/04/19 v1.1 class for EKF thesis]
-\LoadClass[a4paper,12pt]{report}
-\RequirePackage[top=25mm,bottom=25mm,inner=30mm,outer=25mm]{geometry}
-\RequirePackage[unicode,linktocpage,linkcolor=blue,citecolor=blue,urlcolor=blue,
-pdfstartview=FitH,bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
-\linespread{1.24}
-\overfullrule10pt
+\ProvidesClass{thesis-ekf}[2016/07/01 v2.0 Thesis class for Eszterhazy Karoly University (Eger, Hungary)]
+
+\RequirePackage{kvoptions,etoolbox,setspace}
+\SetupKeyvalOptions{family=ekf,prefix=ekf@}
+\DeclareVoidOption{twoside}{\PassOptionsToClass{twoside}{report}}
+\DeclareVoidOption{colorlinks}{\PassOptionsToPackage{colorlinks}{hyperref}}
+\DeclareBoolOption{logodown}
+\DeclareBoolOption[true]{centeredchapter}
+\DeclareStringOption[12pt]{fontsize}
+\DeclareStringOption[10mm]{institutesep}
+\DeclareStringOption[0mm]{logosep}
+\DeclareStringOption[\stretch{1.5}]{titlesep}
+\DeclareStringOption[15mm]{authorsep}
+\DeclareStringOption[10mm]{xmargin}
+\DeclareStringOption[1mm]{captionsep}
+\DeclareStringOption[\large\normalfont\scshape]{institutefont}
+\DeclareStringOption[\large\normalfont\scshape]{logofont}
+\DeclareStringOption[\Huge\normalfont\sffamily\bfseries]{titlefont}
+\DeclareStringOption[\large\normalfont]{authorfont}
+\DeclareStringOption[\large\normalfont\bfseries]{captionfont}
+\DeclareStringOption[\large\normalfont\scshape]{cityfont}
+\ProcessKeyvalOptions{ekf}
+\InputIfFileExists{thesis-ekf.cfg}{}{}
+
+\def\ekf@ten{10pt}
+\def\ekf@eleven{11pt}
+\def\ekf@twelve{12pt}
+
+\ifx\ekf@fontsize\ekf@ten\else
+\ifx\ekf@fontsize\ekf@eleven\else
+\ifx\ekf@fontsize\ekf@twelve\else
+\ClassWarning{thesis-ekf}{
+Unused option: fontsize=\ekf@fontsize.
+Use fontsize=10pt, fontsize=11pt or fontsize=12pt!}
+\def\ekf@fontsize{12pt}
+\fi\fi\fi
+
+\PassOptionsToClass{\ekf@fontsize}{report}
+
+\LoadClass{report}
+\RequirePackage[unicode,linktocpage,allcolors=blue,pdfstartview=FitH,
+bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
+\RequirePackage[a4paper,top=25mm,bottom=25mm,inner=30mm,outer=25mm]{geometry}
+\onehalfspacing
\flushbottom
\widowpenalty=10000
\clubpenalty=10000
-\if@twoside
-\def\ps@plain{}
-\def\@oddfoot{\hbox{}\hfill\normalsize\textnormal\thepage}
-\def\@evenfoot{\normalsize\textnormal\thepage}
-\def\@aftertitlepage{\thispagestyle{empty}\hbox{}\newpage}
-\else
-\def\@aftertitlepage{}
-\fi
-
-\renewcommand*\l@chapter[2]{%
- \ifnum \c@tocdepth >\z@
- \addpenalty\@secpenalty
- \addvspace{1.0em \@plus\p@}%
- \setlength\@tempdima{1.8em}%
- \begingroup
- \parindent \z@ \rightskip \@pnumwidth
- \parfillskip -\@pnumwidth
- \leavevmode \bfseries
- \advance\leftskip\@tempdima
- \hskip -\leftskip
- #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
- \endgroup
- \fi}
-\renewcommand*\l@section{\@dottedtocline{1}{1.8em}{2.5em}}
-\renewcommand*\l@subsection{\@dottedtocline{2}{4.1em}{3.2em}}
-
-\def\thesisekf@chapternumber{%
+\def\ekf@chapternumber{%
\@ifundefined{l@magyar}
{\@chapapp\space \thechapter}
{\iflanguage{magyar}
{\magyar@huordinal@chapterheaddot \@chapapp}
{\@chapapp\space \thechapter}}}
-\def\thesisekf@centeredchapter{%
+\def\ekf@centeredchapter{%
\def\@makechapterhead##1{%
\vspace*{50\p@}%
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
- {\centering\huge\bfseries \thesisekf@chapternumber
+ {\centering\huge\bfseries \ekf@chapternumber
\par\nobreak}
\vskip 20\p@
\fi
@@ -85,55 +96,145 @@ pdfstartview=FitH,bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
\vskip 40\p@
}}}
-\def\logo#1{\def\@logo{#1}}\logo{LOGO}
-\def\institute#1{\def\@institute{#1}}\institute{INSTITUTE}
-\def\authorcaption#1{\def\@authorcaption{#1}}\authorcaption{Author:}
-\def\supervisorcaption#1{\def\@supervisorcaption{#1}}\supervisorcaption{Supervisor:}
-\def\supervisor#1{\def\@supervisor{#1}}\supervisor{}
-\def\city#1{\def\@city{#1}}\city{}
+\AfterEndPreamble{
+\ifekf@centeredchapter
+ \ekf@centeredchapter
+ \let\original@selectlanguage\selectlanguage
+ \def\selectlanguage#1{\original@selectlanguage{#1}\ekf@centeredchapter}\fi
+
+\def\@dottedtocline#1#2#3#4#5{%
+ \ifnum #1>\c@tocdepth \else
+ \vskip \z@ \@plus.2\p@
+ {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
+ \parindent #2\relax\@afterindenttrue
+ \interlinepenalty\@M
+ \leavevmode
+ \@tempdima #3\relax
+ \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
+ {#4}\nobreak
+ \leaders\hbox{$\m@th
+ \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
+ mu$}\hfill
+ \nobreak
+ \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
+ \par}%
+ \fi}
+
+\renewcommand*\l@chapter[2]{%
+ \ifnum \c@tocdepth >\z@
+ \addpenalty\@secpenalty
+ \addvspace{1.0em \@plus\p@}%
+ \setlength\@tempdima{1.8em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \leavevmode \bfseries
+ \advance\leftskip\@tempdima
+ \hskip -\leftskip
+ #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+ \endgroup
+ \fi}
+\renewcommand*\l@section{\@dottedtocline{1}{1.8em}{2.5em}}
+\renewcommand*\l@subsection{\@dottedtocline{2}{4.3em}{3.2em}}
+
+\if@nochanged@authorcaption@%
+ \@ifundefined{l@magyar}{}{%
+ \iflanguage{magyar}{\gdef\ekf@authorcaption{K\'{e}sz\'{\i}tette}}{}}\fi
+
+\if@nochanged@supervisorcaption@%
+ \@ifundefined{l@magyar}{}{%
+ \iflanguage{magyar}{\gdef\ekf@supervisorcaption{T\'{e}mavezet\H{o}}}{}}\fi
+}
+
+\def\logo#1{\gdef\ekf@logo{#1}}
+\logo{}
+\def\ekf@logo@{\ifx\ekf@logo\@empty%
+ \ClassWarning{thesis-ekf}{There isn't logo!}%
+ \else\ekf@logo\fi}
+
+\def\institute#1{\gdef\ekf@institute{#1}}
+\institute{}
+\def\ekf@institute@{\ifx\ekf@institute\@empty%
+ \ClassWarning{thesis-ekf}{There isn't institute!}%
+ \else\ekf@institute\fi}
+
+\def\title#1{\gdef\ekf@title{#1}}
+\title{}
+\def\ekf@title@{\ifx\ekf@title\@empty
+ \ClassWarning{thesis-ekf}{There isn't title!}~%
+ \else\ekf@title\fi}
+
+\def\author#1{\gdef\ekf@author{#1}}
+\author{}
+\def\ekf@author@{\ifx\ekf@author\@empty
+ \ClassWarning{thesis-ekf}{There isn't author!}~%
+ \else\ekf@author\fi}
+
+\newif\if@nochanged@authorcaption@\@nochanged@authorcaption@true
+\def\authorcaption#1{\@nochanged@authorcaption@false\gdef\ekf@authorcaption{#1}}
+\def\ekf@authorcaption{Author}
+\def\ekf@authorcaption@{\ifx\ekf@author\@empty~%
+ \else
+ \ifx\ekf@authorcaption\@empty
+ \ClassWarning{thesis-ekf}{There isn't authorcaption!}~%
+ \else\ekf@authorcaption\fi\fi}
+
+\def\supervisor#1{\gdef\ekf@supervisor{#1}}
+\supervisor{}
+\def\ekf@supervisor@{\ifx\ekf@supervisor\@empty
+ \ClassWarning{thesis-ekf}{There isn't supervisor!}~%
+ \else\ekf@supervisor\fi}
+
+\newif\if@nochanged@supervisorcaption@\@nochanged@supervisorcaption@true
+\def\supervisorcaption#1{\@nochanged@supervisorcaption@false\gdef\ekf@supervisorcaption{#1}}
+\def\ekf@supervisorcaption{Supervisor}
+\def\ekf@supervisorcaption@{\ifx\ekf@supervisor\@empty~%
+ \else
+ \ifx\ekf@supervisorcaption\@empty
+ \ClassWarning{thesis-ekf}{There isn't supervisorcaption!}~%
+ \else\ekf@supervisorcaption\fi\fi}
+
+\def\city#1{\gdef\ekf@city{#1}}
+\city{}
+\def\ekf@city@{\ekf@city\ifx\ekf@city\@empty%
+ \ClassWarning{thesis-ekf}{There isn't city!}\fi}
+
+\def\date#1{\gdef\ekf@date{#1}}
+\date{\number\year}
+\def\ekf@date@{\ekf@date\ifx\ekf@date\@empty%
+ \ClassWarning{thesis-ekf}{There isn't date!}\fi}
+
+\def\ekf@sep{,~}
+\def\ekf@sep@{\ifx\ekf@city\@empty\else\ifx\ekf@date\@empty\else\ekf@sep\fi\fi}
\def\maketitle{
-\if@centeredchapter
-\thesisekf@centeredchapter
-\let\oldselectlanguage\selectlanguage
-\def\selectlanguage##1{\oldselectlanguage{##1}\thesisekf@centeredchapter}
-\fi
\thispagestyle{empty}
-\begin{large}
-\centering
-\if@logono{\scshape\@institute\\}\fi
-\if@logoup{\scshape\@logo\\\@institute\\}\fi
-\if@logodown{\scshape\@institute\\[10mm]\@logo\\}\fi
-\vfill{\Huge\sffamily\bfseries\@title\\}\vspace{\stretch{1.8}}
-\begin{tabular}[t]{@{\hspace{10mm}}l@{}}
-{\bfseries\@authorcaption}\\[1mm]
-\@author
+{\centering
+\ifekf@logodown
+{\ekf@institutefont\ekf@institute@\ifx\ekf@institute\@empty\else\\
+\vspace{\ekf@institutesep}\fi}
+{\ekf@logofont\ekf@logo@\ifx\ekf@logo\@empty~\\\else\\\fi}
+\else
+{\ekf@logofont\ekf@logo@\ifx\ekf@logo\@empty\else\\\vspace{\ekf@logosep}\fi}
+{\ekf@institutefont\ekf@institute@\ifx\ekf@institute\@empty~\\\else\\\fi}
+\fi
+\vfill{\ekf@titlefont\ekf@title@\\}\vspace{\ekf@titlesep}
+{\ekf@authorfont
+\begin{tabular}[t]{@{\hspace{\ekf@xmargin}}l@{}}
+{\ekf@captionfont\ekf@authorcaption@}\\[\ekf@captionsep]
+\ekf@author@
\end{tabular}
\hfill
-\begin{tabular}[t]{@{}l@{\hspace{10mm}}}
-{\bfseries\@supervisorcaption}\\[1mm]
-\@supervisor
-\end{tabular}
-\par\vspace{15mm}
-{\scshape\@city\if\@city\empty\else,~\fi\@date\par}
-\end{large}
-\newpage\@aftertitlepage}
-
-\newif\if@logono
-\newif\if@logoup
-\newif\if@logodown
-\newif\if@centeredchapter
-
-\DeclareOption{nocolorlinks}{\hypersetup{colorlinks=false}}
-\DeclareOption{colorlinks}{\hypersetup{colorlinks}}
-\DeclareOption{oneside}{\@twosidefalse\@mparswitchfalse}
-\DeclareOption{twoside}{\@twosidetrue\@mparswitchtrue}
-\DeclareOption{logono}{\@logonotrue\@logoupfalse\@logodownfalse}
-\DeclareOption{logoup}{\@logonofalse\@logouptrue\@logodownfalse}
-\DeclareOption{logodown}{\@logonofalse\@logoupfalse\@logodowntrue}
-\DeclareOption{centeredchapter}{\@centeredchaptertrue}
-\ExecuteOptions{nocolorlinks,oneside,logoup}
-\ProcessOptions
+\begin{tabular}[t]{@{}l@{\hspace{\ekf@xmargin}}}
+{\ekf@captionfont\ekf@supervisorcaption@}\\[\ekf@captionsep]
+\ekf@supervisor@
+\end{tabular}}
+\par\vspace{\ekf@authorsep}
+{\ekf@cityfont\ekf@city@\ekf@sep@\ekf@date@\par}
+}
+\newpage
+\if@twoside\thispagestyle{empty}\hbox{}\newpage\fi}
+
\endinput
%%
%% End of file `thesis-ekf.cls'.