summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/thesis-ekf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-10 22:04:27 +0000
committerKarl Berry <karl@freefriends.org>2017-04-10 22:04:27 +0000
commitd341bbbc50a0e7411f8040ebcd91c627e23125be (patch)
tree52c9c96dc463ea2f633ac2b199fa354c5746254e /Master/texmf-dist/source/latex/thesis-ekf
parent84257410e10a4046498dce5ad800d2a72c314b4c (diff)
thesis-ekf
git-svn-id: svn://tug.org/texlive/trunk@43745 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/thesis-ekf')
-rw-r--r--Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.dtx97
-rw-r--r--Master/texmf-dist/source/latex/thesis-ekf/thesis-ekf.ins4
2 files changed, 24 insertions, 77 deletions
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 f7708ad298e..8479a2ef463 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-2016 by Tibor Tomacs
+% Copyright (C) 2014- 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,15 +18,14 @@
% \iffalse
%<*driver>
\ProvidesFile{thesis-ekf.dtx}
-\newcommand{\eifiledate}{2016/07/01}
-\newcommand{\eifilever}{Version 2.0}
%</driver>
%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-%<class>\ProvidesClass{thesis-ekf}[2016/07/01 v2.0 Thesis class for Eszterhazy Karoly University (Eger, Hungary)]
+%<class>\ProvidesClass{thesis-ekf}[2017/04/08 v2.1 Thesis class for Eszterhazy Karoly University (Eger, Hungary)]
%<class>
%<*driver>
-\documentclass[a4paper]{ltxdoc}
-\usepackage[pdfstartview=FitH,bookmarks=false,allcolors=teal,colorlinks]{hyperref}
+\documentclass{ltxdoc}
+\OnlyDescription
+\usepackage[a4paper,pdfstartview=FitH,bookmarks=false,allcolors=teal,colorlinks]{hyperref}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english,magyar]{babel}
@@ -34,9 +33,7 @@
\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 }
@@ -48,8 +45,6 @@
%</driver>
% \fi
%
-% \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
% Lower-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
@@ -67,32 +62,34 @@
% Right brace \} Tilde \~}
%
% \GetFileInfo{thesis-ekf.cls}
-% \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}}}}
+% \title{Thesis class for the\\ Eszterházy Károly University\\\textsf{thesis-ekf.cls}\\[2mm]{\normalsize Version 2.1\\2017/04/08\\}}
+% \author{Tibor Tómács\\{\small\href{mailto:tomacs.tibor@uni-eszterhazy.hu}{\texttt{tomacs.tibor@uni-eszterhazy.hu}}}}
% \date{}
% \maketitle
%
% \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}.
+% This is a class file for theses and dissertations at the Eszterházy Károly University (Eger, Hungary). It is based on the \texttt{report} class. The documentation is given in Hungarian only. 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ő}
-% 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:
+% 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 segítségével az Eszterházy Károly Egyetem szabályzatának megfelelő szakdolgozatokat lehet készíteni. 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 oldalszámozás a láblécben 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.
+% 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.
+%
+% A dokumentumosztály könnyen átparaméterezhető, így más egyetemek is használhatják (lásd \az{\ref{sec-param}}.~szakaszban).
%
% \section{A dokumentumosztály betöltése és opciói}
% A dokumentumosztály használata a szokásos módon történik:
@@ -179,7 +176,7 @@
%\author{Szabó János\\ matematika BSc}
%\supervisor{Dr. Nagy János\\ egyetemi docens}
%\city{Eger}
-%\date{2016}
+%\date{2017}
%\maketitle
%\tableofcontents
%
@@ -192,8 +189,8 @@
%\end{document}
%\end{verbatim}}
%
-% \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ő.
+% \section{A dokumentumosztály átparaméterezése}\label{sec-param}
+% A \texttt{thesis-ekf} dokumentumosztály könnyen átparaméterezhető, így más egyetemek is használhatják.
% \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ú.
@@ -336,8 +333,6 @@
%|}|}
%
% \StopEventually{}
-% \section{Az osztályfájl tartalma}
-% \comm{Opciók definiálása.}
% \begin{macrocode}
\RequirePackage{kvoptions,etoolbox,setspace}
\SetupKeyvalOptions{family=ekf,prefix=ekf@}
@@ -368,44 +363,21 @@
\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!}
+\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}
-% \comm{{\tt report} osztály betöltése.}
-% \begin{macrocode}
\LoadClass{report}
-% \end{macrocode}
-% \comm{PDF tulajdonságainak beállítása.}
-% \begin{macrocode}
-\RequirePackage[unicode,linktocpage,allcolors=blue,pdfstartview=FitH,
-bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
-% \end{macrocode}
-% \comm{Oldalméret és margók beállítása.}
-% \begin{macrocode}
+
+\RequirePackage[unicode,linktocpage,allcolors=blue,pdfstartview=FitH,bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
\RequirePackage[a4paper,top=25mm,bottom=25mm,inner=30mm,outer=25mm]{geometry}
-% \end{macrocode}
-% \comm{Másfeles sortávolság.}
-% \begin{macrocode}
+
\onehalfspacing
-% \end{macrocode}
-% \comm{Telített oldalak alsó igazítása.}
-% \begin{macrocode}
\flushbottom
-% \end{macrocode}
-% \comm{Fattyúsorok tiltása.}
-% \begin{macrocode}
\widowpenalty=10000
\clubpenalty=10000
-% \end{macrocode}
-% \comm{Fejezetcím középre helyezéséhez szükséges parancsok.}
-% \begin{macrocode}
\def\ekf@chapternumber{%
\@ifundefined{l@magyar}
{\@chapapp\space \thechapter}
@@ -435,21 +407,13 @@ bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
\vskip 40\p@
}}}
-% \end{macrocode}
-% \comm{Az {\tt\textbackslash AfterEndPreamble} parancsbeli kódok a {\tt magyar.ldf} kifejtése után aktiválódnak.}
-% \begin{macrocode}
\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}
-% \comm{{\tt dottedtocline=fix} opció hatástalanítása {\tt magyar.ldf} használatakor.}
-% \begin{macrocode}
\def\@dottedtocline#1#2#3#4#5{%
\ifnum #1>\c@tocdepth \else
\vskip \z@ \@plus.2\p@
@@ -468,9 +432,6 @@ bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
\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
@@ -488,27 +449,16 @@ bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
\renewcommand*\l@section{\@dottedtocline{1}{1.8em}{2.5em}}
\renewcommand*\l@subsection{\@dottedtocline{2}{4.3em}{3.2em}}
-% \end{macrocode}
-% \comm{Magyar nyelv esetén az {\tt\textbackslash ekf@authorcaption} alapértéke.}
-% \begin{macrocode}
\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}
-% \comm{Az {\tt\textbackslash AfterEndPreamble} lezárása.}
-% \begin{macrocode}
+
}
-% \end{macrocode}
-% \comm{Címoldal adatait megadó makrók.}
-% \begin{macrocode}
\def\logo#1{\gdef\ekf@logo{#1}}
\logo{}
\def\ekf@logo@{\ifx\ekf@logo\@empty%
@@ -570,9 +520,6 @@ bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
\def\ekf@sep{,~}
\def\ekf@sep@{\ifx\ekf@city\@empty\else\ifx\ekf@date\@empty\else\ekf@sep\fi\fi}
-% \end{macrocode}
-% \comm{Címoldalt készítő parancs átdefiniálása.}
-% \begin{macrocode}
\def\maketitle{
\thispagestyle{empty}
{\centering
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 c6e64a2b07b..635e0053a46 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-2016 Tibor Tomacs
+% Copyright (C) 2014- 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
@@ -15,7 +15,7 @@
\usedir{tex/latex/thesis-ekf}
\preamble
This is a generated file.
-Copyright (C) 2014-2016 Tibor Tomacs
+Copyright (C) 2014- 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