texlive[41592] Master/texmf-dist: thesis-ekf (1jul16)

commits+karl at tug.org commits+karl at tug.org
Sat Jul 2 00:02:26 CEST 2016


Revision: 41592
          http://tug.org/svn/texlive?view=revision&revision=41592
Author:   karl
Date:     2016-07-02 00:02:25 +0200 (Sat, 02 Jul 2016)
Log Message:
-----------
thesis-ekf (1jul16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/README
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf.pdf
    trunk/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.dtx
    trunk/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.ins
    trunk/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eke-logo.pdf
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eku-logo.pdf
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-en.tex
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-hu.tex

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.pdf
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.tex
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.pdf
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.tex
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat3.pdf
    trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat3.tex
    trunk/Master/texmf-dist/tex/latex/thesis-ekf/images/

Modified: trunk/Master/texmf-dist/doc/latex/thesis-ekf/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thesis-ekf/README	2016-07-01 16:20:47 UTC (rev 41591)
+++ trunk/Master/texmf-dist/doc/latex/thesis-ekf/README	2016-07-01 22:02:25 UTC (rev 41592)
@@ -1,4 +1,4 @@
-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
@@ -5,18 +5,13 @@
 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

Deleted: trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.pdf
===================================================================
(Binary files differ)

Deleted: trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.tex	2016-07-01 16:20:47 UTC (rev 41591)
+++ trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat1.tex	2016-07-01 22:02:25 UTC (rev 41592)
@@ -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}

Deleted: trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.pdf
===================================================================
(Binary files differ)

Deleted: trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.tex	2016-07-01 16:20:47 UTC (rev 41591)
+++ trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat2.tex	2016-07-01 22:02:25 UTC (rev 41592)
@@ -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}

Deleted: trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat3.pdf
===================================================================
(Binary files differ)

Deleted: trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat3.tex	2016-07-01 16:20:47 UTC (rev 41591)
+++ trunk/Master/texmf-dist/doc/latex/thesis-ekf/szakdolgozat3.tex	2016-07-01 22:02:25 UTC (rev 41592)
@@ -1,44 +0,0 @@
-\documentclass[centeredchapter]{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=9cm]{ekf-logo3}}
-\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}
-\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}

Added: trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eke-logo.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eke-logo.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eke-logo.pdf	2016-07-01 16:20:47 UTC (rev 41591)
+++ trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eke-logo.pdf	2016-07-01 22:02:25 UTC (rev 41592)

Property changes on: trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eke-logo.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eku-logo.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eku-logo.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eku-logo.pdf	2016-07-01 16:20:47 UTC (rev 41591)
+++ trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eku-logo.pdf	2016-07-01 22:02:25 UTC (rev 41592)

Property changes on: trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/figures/eku-logo.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-en.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-en.tex	2016-07-01 22:02:25 UTC (rev 41592)
@@ -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}


Property changes on: trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-en.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-hu.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-hu.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-hu.tex	2016-07-01 22:02:25 UTC (rev 41592)
@@ -0,0 +1,38 @@
+\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{{./figures/}} % A képfájlokat a [figures] mappába kell tenni!
+\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}
+
+\begin{document}
+\logo{\includegraphics[width=9cm]{eke-logo}}
+\institute{Matematikai és Informatikai Intézet}
+\title{A szakdolgozat címe}
+\author{Szerző neve\\ szak}
+\supervisor{Tanár neve\\ beosztás}
+\city{Eger}
+\date{2016}
+\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}


Property changes on: trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf-templates/thesis-ekf-template-hu.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/thesis-ekf/thesis-ekf.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.dtx	2016-07-01 16:20:47 UTC (rev 41591)
+++ trunk/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.dtx	2016-07-01 22:02:25 UTC (rev 41592)
@@ -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,42 +67,105 @@
 %     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 at ektf.hu}{\nolinkurl{tomacs at 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 at ektf.hu}{\texttt{tomacs at ektf.hu}}}}
+% \date{}
 % \maketitle
 %
-% Since the Eszterházy Károly College is in Hungary (Eger), the documentation is given in Hungarian only.
+% \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}
 %
-% \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{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}
+% 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:
 %
-% \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/}}.
+% \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}
 %
-%{\color{pelda}
+% \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}
@@ -102,21 +172,20 @@
 %\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}
+%\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{2015}
-%
-%\begin{document}
+%\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}
@@ -123,153 +192,221 @@
 %\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 at 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 at 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}
 %
+% \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 at 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 at ten{10pt}
+\def\ekf at eleven{11pt}
+\def\ekf at twelve{12pt}
+
+\ifx\ekf at fontsize\ekf at ten\else
+\ifx\ekf at fontsize\ekf at eleven\else
+\ifx\ekf at fontsize\ekf at twelve\else
+\ClassWarning{thesis-ekf}{
+Unused option: fontsize=\ekf at fontsize. 
+Use fontsize=10pt, fontsize=11pt or fontsize=12pt!}
+\def\ekf at fontsize{12pt}
+\fi\fi\fi
+
+\PassOptionsToClass{\ekf at 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.
+% \comm{Fejezetcím középre helyezéséhez szükséges parancsok.}
 %    \begin{macrocode}
-\if at twoside
-\def\ps at 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. 
-%    \begin{macrocode}
-\renewcommand*\l at chapter[2]{%
-  \ifnum \c at 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 at xt@\@pnumwidth{\hss #2}\par
-    \endgroup
-  \fi}
-\renewcommand*\l at section{\@dottedtocline{1}{1.8em}{2.5em}}
-\renewcommand*\l at 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 at chapternumber{%
+\def\ekf at chapternumber{%
     \@ifundefined{l at magyar}
        {\@chapapp\space \thechapter}
        {\iflanguage{magyar}
@@ -276,12 +413,12 @@
           {\magyar at huordinal@chapterheaddot \@chapapp}
           {\@chapapp\space \thechapter}}}
 
-\def\thesisekf at centeredchapter{%
+\def\ekf at centeredchapter{%
     \def\@makechapterhead##1{%
       \vspace*{50\p@}%
       {\parindent \z@ \raggedright \normalfont
         \ifnum \c at secnumdepth >\m at ne
-            {\centering\huge\bfseries \thesisekf at chapternumber
+            {\centering\huge\bfseries \ekf at chapternumber
             \par\nobreak}
             \vskip 20\p@
         \fi
@@ -299,73 +436,171 @@
       }}}
 
 %    \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 at centeredchapter
+    \ekf at centeredchapter
+    \let\original at selectlanguage\selectlanguage
+    \def\selectlanguage#1{\original at selectlanguage{#1}\ekf at 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 at centeredchapter
-\thesisekf at centeredchapter
-\let\oldselectlanguage\selectlanguage
-\def\selectlanguage##1{\oldselectlanguage{##1}\thesisekf at centeredchapter}
-\fi
-\thispagestyle{empty}
-\begin{large}
-\centering
-\if at logono{\scshape\@institute\\}\fi
-\if at logoup{\scshape\@logo\\\@institute\\}\fi
-\if at 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 at 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 at th
+        \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
+        mu$}\hfill
+     \nobreak
+     \hb at xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
+     \par}%
+  \fi}
 
 %    \end{macrocode}
-% ~\\A logó helyét vizsgáló logikai értékek definiálása.
+% \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}
-\newif\if at logono
-\newif\if at logoup
-\newif\if at logodown
+\renewcommand*\l at chapter[2]{%
+  \ifnum \c at 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 at xt@\@pnumwidth{\hss #2}\par
+    \endgroup
+  \fi}
+\renewcommand*\l at section{\@dottedtocline{1}{1.8em}{2.5em}}
+\renewcommand*\l at subsection{\@dottedtocline{2}{4.3em}{3.2em}}
+
 %    \end{macrocode}
-% ~\\A \texttt{centeredchapter} opciót vizsgáló logikai érték definiálása.
+% \comm{Magyar nyelv esetén az {\tt\textbackslash ekf at authorcaption} alapértéke.}
 %    \begin{macrocode}
-\newif\if at centeredchapter
+\if at nochanged@authorcaption@%
+    \@ifundefined{l at magyar}{}{%
+    \iflanguage{magyar}{\gdef\ekf at authorcaption{K\'{e}sz\'{\i}tette}}{}}\fi
 
 %    \end{macrocode}
-% ~\\Opciók definiálása.
+% \comm{Magyar nyelv esetén az {\tt\textbackslash ekf at supervisorcaption} alapértéke.}
 %    \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}
+\if at nochanged@supervisorcaption@%
+    \@ifundefined{l at magyar}{}{%
+    \iflanguage{magyar}{\gdef\ekf at supervisorcaption{T\'{e}mavezet\H{o}}}{}}\fi
 %    \end{macrocode}
-% ~\\Alapopciók megadása.
+% \comm{Az {\tt\textbackslash AfterEndPreamble} lezárása.}
 %    \begin{macrocode}
-\ExecuteOptions{nocolorlinks,oneside,logoup}
-\ProcessOptions
+}
+
 %    \end{macrocode}
-%
+% \comm{Címoldal adatait megadó makrók.}
+%    \begin{macrocode}
+\def\logo#1{\gdef\ekf at logo{#1}}
+\logo{}
+\def\ekf at logo@{\ifx\ekf at logo\@empty%
+    \ClassWarning{thesis-ekf}{There isn't logo!}%
+    \else\ekf at logo\fi}
+
+\def\institute#1{\gdef\ekf at institute{#1}}
+\institute{}
+\def\ekf at institute@{\ifx\ekf at institute\@empty%
+    \ClassWarning{thesis-ekf}{There isn't institute!}%
+    \else\ekf at institute\fi}
+
+\def\title#1{\gdef\ekf at title{#1}}
+\title{}
+\def\ekf at title@{\ifx\ekf at title\@empty
+    \ClassWarning{thesis-ekf}{There isn't title!}~%
+    \else\ekf at title\fi}
+
+\def\author#1{\gdef\ekf at author{#1}}
+\author{}
+\def\ekf at author@{\ifx\ekf at author\@empty
+    \ClassWarning{thesis-ekf}{There isn't author!}~%
+    \else\ekf at author\fi}
+
+\newif\if at nochanged@authorcaption@\@nochanged at authorcaption@true
+\def\authorcaption#1{\@nochanged at authorcaption@false\gdef\ekf at authorcaption{#1}}
+\def\ekf at authorcaption{Author}
+\def\ekf at authorcaption@{\ifx\ekf at author\@empty~%
+    \else
+    \ifx\ekf at authorcaption\@empty
+    \ClassWarning{thesis-ekf}{There isn't authorcaption!}~%
+    \else\ekf at authorcaption\fi\fi}
+
+\def\supervisor#1{\gdef\ekf at supervisor{#1}}
+\supervisor{}
+\def\ekf at supervisor@{\ifx\ekf at supervisor\@empty
+    \ClassWarning{thesis-ekf}{There isn't supervisor!}~%
+    \else\ekf at supervisor\fi}
+
+\newif\if at nochanged@supervisorcaption@\@nochanged at supervisorcaption@true
+\def\supervisorcaption#1{\@nochanged at supervisorcaption@false\gdef\ekf at supervisorcaption{#1}}
+\def\ekf at supervisorcaption{Supervisor}
+\def\ekf at supervisorcaption@{\ifx\ekf at supervisor\@empty~%
+    \else
+    \ifx\ekf at supervisorcaption\@empty
+    \ClassWarning{thesis-ekf}{There isn't supervisorcaption!}~%
+    \else\ekf at supervisorcaption\fi\fi}
+
+\def\city#1{\gdef\ekf at city{#1}}
+\city{}
+\def\ekf at city@{\ekf at city\ifx\ekf at city\@empty%
+    \ClassWarning{thesis-ekf}{There isn't city!}\fi}
+
+\def\date#1{\gdef\ekf at date{#1}}
+\date{\number\year}
+\def\ekf at date@{\ekf at date\ifx\ekf at date\@empty%
+    \ClassWarning{thesis-ekf}{There isn't date!}\fi}
+
+\def\ekf at sep{,~}
+\def\ekf at sep@{\ifx\ekf at city\@empty\else\ifx\ekf at date\@empty\else\ekf at sep\fi\fi}
+
+%    \end{macrocode}
+% \comm{Címoldalt készítő parancs átdefiniálása.}
+%    \begin{macrocode}
+\def\maketitle{
+\thispagestyle{empty}
+{\centering
+\ifekf at logodown
+{\ekf at institutefont\ekf at institute@\ifx\ekf at institute\@empty\else\\
+\vspace{\ekf at institutesep}\fi}
+{\ekf at logofont\ekf at logo@\ifx\ekf at logo\@empty~\\\else\\\fi}
+\else
+{\ekf at logofont\ekf at logo@\ifx\ekf at logo\@empty\else\\\vspace{\ekf at logosep}\fi}
+{\ekf at institutefont\ekf at institute@\ifx\ekf at institute\@empty~\\\else\\\fi}
+\fi
+\vfill{\ekf at titlefont\ekf at title@\\}\vspace{\ekf at titlesep}
+{\ekf at authorfont
+\begin{tabular}[t]{@{\hspace{\ekf at xmargin}}l@{}}
+{\ekf at captionfont\ekf at authorcaption@}\\[\ekf at captionsep]
+\ekf at author@
+\end{tabular}
+\hfill
+\begin{tabular}[t]{@{}l@{\hspace{\ekf at xmargin}}}
+{\ekf at captionfont\ekf at supervisorcaption@}\\[\ekf at captionsep]
+\ekf at supervisor@
+\end{tabular}}
+\par\vspace{\ekf at authorsep}
+{\ekf at cityfont\ekf at city@\ekf at sep@\ekf at date@\par}
+}
+\newpage
+\if at twoside\thispagestyle{empty}\hbox{}\newpage\fi}
+
+%    \end{macrocode}
 % \Finale
-\endinput
+\endinput
\ No newline at end of file

Modified: trunk/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.ins	2016-07-01 16:20:47 UTC (rev 41591)
+++ trunk/Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.ins	2016-07-01 22:02:25 UTC (rev 41592)
@@ -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

Modified: trunk/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls	2016-07-01 16:20:47 UTC (rev 41591)
+++ trunk/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls	2016-07-01 22:02:25 UTC (rev 41592)
@@ -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,44 +19,55 @@
 %% 
 
 \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 at ten{10pt}
+\def\ekf at eleven{11pt}
+\def\ekf at twelve{12pt}
+
+\ifx\ekf at fontsize\ekf at ten\else
+\ifx\ekf at fontsize\ekf at eleven\else
+\ifx\ekf at fontsize\ekf at twelve\else
+\ClassWarning{thesis-ekf}{
+Unused option: fontsize=\ekf at fontsize.
+Use fontsize=10pt, fontsize=11pt or fontsize=12pt!}
+\def\ekf at fontsize{12pt}
+\fi\fi\fi
+
+\PassOptionsToClass{\ekf at 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 at twoside
-\def\ps at 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 at chapter[2]{%
-  \ifnum \c at 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 at xt@\@pnumwidth{\hss #2}\par
-    \endgroup
-  \fi}
-\renewcommand*\l at section{\@dottedtocline{1}{1.8em}{2.5em}}
-\renewcommand*\l at subsection{\@dottedtocline{2}{4.1em}{3.2em}}
-
-\def\thesisekf at chapternumber{%
+\def\ekf at chapternumber{%
     \@ifundefined{l at magyar}
        {\@chapapp\space \thechapter}
        {\iflanguage{magyar}
@@ -63,12 +74,12 @@
           {\magyar at huordinal@chapterheaddot \@chapapp}
           {\@chapapp\space \thechapter}}}
 
-\def\thesisekf at centeredchapter{%
+\def\ekf at centeredchapter{%
     \def\@makechapterhead##1{%
       \vspace*{50\p@}%
       {\parindent \z@ \raggedright \normalfont
         \ifnum \c at secnumdepth >\m at ne
-            {\centering\huge\bfseries \thesisekf at chapternumber
+            {\centering\huge\bfseries \ekf at chapternumber
             \par\nobreak}
             \vskip 20\p@
         \fi
@@ -85,55 +96,145 @@
         \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 at centeredchapter
+    \ekf at centeredchapter
+    \let\original at selectlanguage\selectlanguage
+    \def\selectlanguage#1{\original at selectlanguage{#1}\ekf at centeredchapter}\fi
 
+\def\@dottedtocline#1#2#3#4#5{%
+  \ifnum #1>\c at 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 at th
+        \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
+        mu$}\hfill
+     \nobreak
+     \hb at xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
+     \par}%
+  \fi}
+
+\renewcommand*\l at chapter[2]{%
+  \ifnum \c at 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 at xt@\@pnumwidth{\hss #2}\par
+    \endgroup
+  \fi}
+\renewcommand*\l at section{\@dottedtocline{1}{1.8em}{2.5em}}
+\renewcommand*\l at subsection{\@dottedtocline{2}{4.3em}{3.2em}}
+
+\if at nochanged@authorcaption@%
+    \@ifundefined{l at magyar}{}{%
+    \iflanguage{magyar}{\gdef\ekf at authorcaption{K\'{e}sz\'{\i}tette}}{}}\fi
+
+\if at nochanged@supervisorcaption@%
+    \@ifundefined{l at magyar}{}{%
+    \iflanguage{magyar}{\gdef\ekf at supervisorcaption{T\'{e}mavezet\H{o}}}{}}\fi
+}
+
+\def\logo#1{\gdef\ekf at logo{#1}}
+\logo{}
+\def\ekf at logo@{\ifx\ekf at logo\@empty%
+    \ClassWarning{thesis-ekf}{There isn't logo!}%
+    \else\ekf at logo\fi}
+
+\def\institute#1{\gdef\ekf at institute{#1}}
+\institute{}
+\def\ekf at institute@{\ifx\ekf at institute\@empty%
+    \ClassWarning{thesis-ekf}{There isn't institute!}%
+    \else\ekf at institute\fi}
+
+\def\title#1{\gdef\ekf at title{#1}}
+\title{}
+\def\ekf at title@{\ifx\ekf at title\@empty
+    \ClassWarning{thesis-ekf}{There isn't title!}~%
+    \else\ekf at title\fi}
+
+\def\author#1{\gdef\ekf at author{#1}}
+\author{}
+\def\ekf at author@{\ifx\ekf at author\@empty
+    \ClassWarning{thesis-ekf}{There isn't author!}~%
+    \else\ekf at author\fi}
+
+\newif\if at nochanged@authorcaption@\@nochanged at authorcaption@true
+\def\authorcaption#1{\@nochanged at authorcaption@false\gdef\ekf at authorcaption{#1}}
+\def\ekf at authorcaption{Author}
+\def\ekf at authorcaption@{\ifx\ekf at author\@empty~%
+    \else
+    \ifx\ekf at authorcaption\@empty
+    \ClassWarning{thesis-ekf}{There isn't authorcaption!}~%
+    \else\ekf at authorcaption\fi\fi}
+
+\def\supervisor#1{\gdef\ekf at supervisor{#1}}
+\supervisor{}
+\def\ekf at supervisor@{\ifx\ekf at supervisor\@empty
+    \ClassWarning{thesis-ekf}{There isn't supervisor!}~%
+    \else\ekf at supervisor\fi}
+
+\newif\if at nochanged@supervisorcaption@\@nochanged at supervisorcaption@true
+\def\supervisorcaption#1{\@nochanged at supervisorcaption@false\gdef\ekf at supervisorcaption{#1}}
+\def\ekf at supervisorcaption{Supervisor}
+\def\ekf at supervisorcaption@{\ifx\ekf at supervisor\@empty~%
+    \else
+    \ifx\ekf at supervisorcaption\@empty
+    \ClassWarning{thesis-ekf}{There isn't supervisorcaption!}~%
+    \else\ekf at supervisorcaption\fi\fi}
+
+\def\city#1{\gdef\ekf at city{#1}}
+\city{}
+\def\ekf at city@{\ekf at city\ifx\ekf at city\@empty%
+    \ClassWarning{thesis-ekf}{There isn't city!}\fi}
+
+\def\date#1{\gdef\ekf at date{#1}}
+\date{\number\year}
+\def\ekf at date@{\ekf at date\ifx\ekf at date\@empty%
+    \ClassWarning{thesis-ekf}{There isn't date!}\fi}
+
+\def\ekf at sep{,~}
+\def\ekf at sep@{\ifx\ekf at city\@empty\else\ifx\ekf at date\@empty\else\ekf at sep\fi\fi}
+
 \def\maketitle{
-\if at centeredchapter
-\thesisekf at centeredchapter
-\let\oldselectlanguage\selectlanguage
-\def\selectlanguage##1{\oldselectlanguage{##1}\thesisekf at centeredchapter}
+\thispagestyle{empty}
+{\centering
+\ifekf at logodown
+{\ekf at institutefont\ekf at institute@\ifx\ekf at institute\@empty\else\\
+\vspace{\ekf at institutesep}\fi}
+{\ekf at logofont\ekf at logo@\ifx\ekf at logo\@empty~\\\else\\\fi}
+\else
+{\ekf at logofont\ekf at logo@\ifx\ekf at logo\@empty\else\\\vspace{\ekf at logosep}\fi}
+{\ekf at institutefont\ekf at institute@\ifx\ekf at institute\@empty~\\\else\\\fi}
 \fi
-\thispagestyle{empty}
-\begin{large}
-\centering
-\if at logono{\scshape\@institute\\}\fi
-\if at logoup{\scshape\@logo\\\@institute\\}\fi
-\if at 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
+\vfill{\ekf at titlefont\ekf at title@\\}\vspace{\ekf at titlesep}
+{\ekf at authorfont
+\begin{tabular}[t]{@{\hspace{\ekf at xmargin}}l@{}}
+{\ekf at captionfont\ekf at authorcaption@}\\[\ekf at captionsep]
+\ekf at 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}
+\begin{tabular}[t]{@{}l@{\hspace{\ekf at xmargin}}}
+{\ekf at captionfont\ekf at supervisorcaption@}\\[\ekf at captionsep]
+\ekf at supervisor@
+\end{tabular}}
+\par\vspace{\ekf at authorsep}
+{\ekf at cityfont\ekf at city@\ekf at sep@\ekf at date@\par}
+}
+\newpage
+\if at twoside\thispagestyle{empty}\hbox{}\newpage\fi}
 
-\newif\if at logono
-\newif\if at logoup
-\newif\if at logodown
-\newif\if at 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
 \endinput
 %%
 %% End of file `thesis-ekf.cls'.



More information about the tex-live-commits mailing list