| 1 |
|
| 2 |
% \iffalse meta-comment |
| 3 |
% |
| 4 |
% Copyright (C) 2014-2026 by Tibor Tómács |
| 5 |
% |
| 6 |
% This file may be distributed and/or modified under the |
| 7 |
% conditions of the LaTeX Project Public License, either version 1.2 |
| 8 |
% of this license or (at your option) any later version. |
| 9 |
% The latest version of this license is in: |
| 10 |
% |
| 11 |
% http://www.latex-project.org/lppl.txt |
| 12 |
% |
| 13 |
% and version 1.2 or later is part of all distributions of LaTeX |
| 14 |
% version 1999/12/01 or later. |
| 15 |
% |
| 16 |
% \fi |
| 17 |
% |
| 18 |
% \iffalse |
| 19 |
%<*driver> |
| 20 |
\ProvidesFile{thesis-ekf.dtx} |
| 21 |
%</driver> |
| 22 |
%<class>\NeedsTeXFormat{LaTeX2e}[2020/10/01] |
| 23 |
%<class>\ProvidesClass{thesis-ekf}[2026/01/10 v5.0 Thesis class for Eszterházy Károly Catholic University (Eger, Hungary)] |
| 24 |
%<class> |
| 25 |
%<*driver> |
| 26 |
\documentclass[nohyperref]{ltxdoc} |
| 27 |
\OnlyDescription |
| 28 |
\usepackage[T1]{fontenc} |
| 29 |
\PassOptionsToPackage{defaults=hu-min}{magyar.ldf} |
| 30 |
\usepackage[english,magyar]{babel} |
| 31 |
\usepackage[a4paper,left=2in,top=1.5in,bottom=1.5in]{geometry} |
| 32 |
\usepackage[pdfstartview=FitH,bookmarksnumbered,allcolors=black,bookmarksopen,colorlinks]{hyperref} |
| 33 |
\usepackage{bookmark,lmodern,fancyvrb,upquote} |
| 34 |
\fvset{gobble=1,commandchars=+()} |
| 35 |
\let\oldmeta\meta |
| 36 |
\def\meta#1{{\rmfamily\oldmeta{#1}}} |
| 37 |
\def\param#1{\hspace*{-.5em}{\ttfamily#1}} |
| 38 |
\setlength{\parindent}{0pt} |
| 39 |
\def\descriptionlabel#1{\hspace{\labelsep}\texttt{#1} --} |
| 40 |
\def\MacroFont{\ttfamily} |
| 41 |
\setlength{\overfullrule}{5pt} |
| 42 |
\begin{document} |
| 43 |
\DocInput{./thesis-ekf.dtx} |
| 44 |
\end{document} |
| 45 |
%</driver> |
| 46 |
% \fi |
| 47 |
% |
| 48 |
% \CharacterTable |
| 49 |
% {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 |
| 50 |
% 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 |
| 51 |
% Digits \0\1\2\3\4\5\6\7\8\9 |
| 52 |
% Exclamation \! Double quote \" Hash (number) \# |
| 53 |
% Dollar \$ Percent \% Ampersand \& |
| 54 |
% Acute accent \' Left paren \( Right paren \) |
| 55 |
% Asterisk \* Plus \+ Comma \, |
| 56 |
% Minus \- Point \. Solidus \/ |
| 57 |
% Colon \: Semicolon \; Less than \< |
| 58 |
% Equals \= Greater than \> Question mark \? |
| 59 |
% Commercial at \@ Left bracket \[ Backslash \\ |
| 60 |
% Right bracket \] Circumflex \^ Underscore \_ |
| 61 |
% Grave accent \` Left brace \{ Vertical bar \| |
| 62 |
% Right brace \} Tilde \~} |
| 63 |
% |
| 64 |
% \GetFileInfo{thesis-ekf.cls} |
| 65 |
% \title{Thesis class for\\ Eszterházy Károly Catholic University\\\textsf{thesis-ekcu.cls} alias \textsf{thesis-ekf.cls}\\[2mm]{\normalsize v5.0 (2026/01/10)}} |
| 66 |
% \author{Tibor Tómács\\{\normalsize\href{mailto:[email protected]}{\texttt{[email protected]}}}} |
| 67 |
% \date{} |
| 68 |
% \maketitle |
| 69 |
% |
| 70 |
% {\selectlanguage{english} |
| 71 |
% This bundle provides the |thesis-ekcu| (alias |thesis-ekf|) \LaTeX\ class for theses and dissertations at \emph{Eszterházy Károly Catholic University} (Eger, Hungary; \url{https://uni-eszterhazy.hu/en}). |
| 72 |
% This documentation is written in Hungarian.} |
| 73 |
% |
| 74 |
% \section{Bevezető} |
| 75 |
% |
| 76 |
% A |thesis-ekcu| dokumentumosztály segítségével az \emph{Eszterházy Károly Katolikus Egyetem} szabályzatának megfelelő szakdolgozatokat lehet készíteni. |
| 77 |
% Az első verzió |thesis-ekf| néven 2014-ben készült, amikor az intézmény neve Eszterházy Károly Főiskola volt. |
| 78 |
% Ennek rövidítése a dokumentumosztály nevében szereplő |ekf|. |
| 79 |
% Kompatibilitási okokból a dokumentumosztály elérhető |thesis-ekcu| és |thesis-ekf| néven is, melyek teljes mértében egyenértékűek. |
| 80 |
% |
| 81 |
% \bigskip Az egyetem szakdolgozatának formai követelményei a következők: |
| 82 |
% |
| 83 |
% \begin{itemize} |
| 84 |
% \item A4-es lap- és 12\,pt betűméret, |
| 85 |
% \item a margó a kötés oldalon 30\,mm, a többi 25\,mm, |
| 86 |
% \item oldalszámozás a láblécben arab számozással, |
| 87 |
% \item a fejezetcímek középre, a további szintek címei balra igazítva, |
| 88 |
% \item a főszöveg antikva betűcsaláddal kiszedve, |
| 89 |
% \item sorkizárt igazítás, másfeles sortávolság. |
| 90 |
% \end{itemize} |
| 91 |
% |
| 92 |
% A |thesis-ekcu| ezeket a paramétereket automatikusan beállítja, továbbá a megfelelő címoldal elkészítését is elvégzi. |
| 93 |
% |
| 94 |
% \section{A dokumentumosztály által betöltött csomagok} |
| 95 |
% |
| 96 |
% A |thesis-ekcu| dokumentumosztály a |report| osztályt használja alapként, továbbá a következő csomagokat tölti be: |
| 97 |
% |
| 98 |
% \begin{description} |
| 99 |
% \item[kvoptions] Opciók definiálásához. |
| 100 |
% \item[iftex] PDF/DVI kimenet detektálásához. |
| 101 |
% \item[hyperref] Elektronikus verzióhoz. Opciók: |pdfstartview=FitH|, |linktocpage|, |allcolors=blue|, |bookmarksnumbered|, |pdfborder={0 0 0}|. |
| 102 |
% \item[geometry] Oldalméretek beállításához. Opciók: |a4paper|, |inner=30mm|, |top=25mm|, |outer=25mm|, |bottom=25mm|. |
| 103 |
% \item[lmodern] Latin Modern fontkészlethez. |times| opció esetén nem töltődik be. |
| 104 |
% \item[fixcmex] Latin Modern fontkészlet esetén a nagy operátor jeleket méretezhetővé teszi. |times| opció esetén nem töltődik be. |
| 105 |
% \item[cmupint] Latin Modern fontkészlet esetén az integráljelek álló alakúak. Csak az |upint| és |times=false| opciók esetén töltődik be. |
| 106 |
% \item[setspace] Sortávolság beállításához. |
| 107 |
% \item[graphicx] Képek betöltéséhez. |
| 108 |
% \item[newtxtext] Times fontkészlethez. |times| opció esetén töltődik be. |
| 109 |
% \item[newtxmath] Times matematikai fontkészlethez. |times| opció esetén töltődik be. |
| 110 |
% \item[fontsize] A |fontsize=|\meta{méret} opcióhoz. Csak akkor töltődik be, ha a \meta{méret} különbözik a |10pt|, |11pt| és |12pt| értékektől. |
| 111 |
% \item[upquote] Verbatimban |'| és |`| jelekért. |
| 112 |
% \end{description} |
| 113 |
% |
| 114 |
% \section{A dokumentumosztály betöltése és legfontosabb opciói} |
| 115 |
% |
| 116 |
%\begin{Verbatim} |
| 117 |
%\documentclass+oarg(opciók){thesis-ekcu} |
| 118 |
%\end{Verbatim} |
| 119 |
%vagy |
| 120 |
%\begin{Verbatim} |
| 121 |
%\documentclass+oarg(opciók){thesis-ekf} |
| 122 |
%\end{Verbatim} |
| 123 |
% |
| 124 |
% A dokumentumosztályt a preambulum elején ezzel lehet betölteni. |
| 125 |
% Opciók nélkül akkor használja, ha a szakdolgozatot egyoldalasan szeretné kinyomtatni, vagy ha olyan elektronikus verziót akar, amelyben a linkek nem színes karakterrel jelennek meg. |
| 126 |
% A fontosabb \meta{opciók} a következők: |
| 127 |
% |
| 128 |
% \begin{macro}{twoside} |
| 129 |
% Ha a szakdolgozatot kétoldalasan szeretné kinyomtatni, akkor ezt az opciót alkalmazza! |
| 130 |
% Ne használja egyoldalas nyomtatáshoz illetve elektronikus verzióhoz! |
| 131 |
% \end{macro} |
| 132 |
% |
| 133 |
% \begin{macro}{colorlinks} |
| 134 |
% A linkek színes karakterekkel jelennek meg. |
| 135 |
% Ezt csak a szakdolgozat elektronikus verziójához használja, a nyomtatott verzióhoz nem kell! |
| 136 |
% \end{macro} |
| 137 |
% |
| 138 |
% \begin{macro}{tocnopagenum} |
| 139 |
% A tartalomjegyzéknek nem lesz oldalszámozása. Ha közvetlenül a címoldalt követően van elhelyezve a tartalomjegyzék, akkor az első számozott oldal csak ezután következik. |
| 140 |
% \end{macro} |
| 141 |
% |
| 142 |
% \begin{macro}{reverseorder} |
| 143 |
% Alapbeállítás esetén a címoldalon a szerző bal, a témavezető pedig a jobb oldalon helyezkedik el. |
| 144 |
% Ezzel az opcióval fordított lesz a sorrend. |
| 145 |
% \end{macro} |
| 146 |
% |
| 147 |
% \begin{macro}{times} |
| 148 |
% Alapbeállítás esetén a Latin Modern fontkészletet használja a dokumentumosztály. |
| 149 |
% Ezzel az opcióval áttérhet a Times fontkészletre, amely nagyon hasonló a közismert Times New Roman-hoz. |
| 150 |
% Ne használja |xelatex| vagy |lualatex| fordító esetén! |
| 151 |
% \end{macro} |
| 152 |
% |
| 153 |
% \begin{macro}{upint} |
| 154 |
% Alapbeállítás esetén a dokumentumban található integráljelek dőltek. |
| 155 |
% Ezzel az opcióval álló alakúak lesznek és kiemelt képletekben a határok az integráljel alatt és fölött helyezkednek el (hasonlóan az |amsmath| csomag |intlimits| opciójához). |
| 156 |
% Ezt főleg magyar nyelvű dokumentumok esetén használja. |
| 157 |
% \end{macro} |
| 158 |
% |
| 159 |
% \section{Címoldal létrehozása} |
| 160 |
% |
| 161 |
% \begin{macro}{\institute}\param{\marg{intézmény neve}} |
| 162 |
% Ezzel kell megadni annak az intézménynek a nevét, ahol a szakdolgozat készült. |
| 163 |
% Az Eszterházy Károly Katolikus Egyetem esetében az egyetem nevét nem kell kiírni, mert azt tartalmazza a logója. |
| 164 |
% Ekkor elég csak az intézet nevét feltüntetni. |
| 165 |
% \end{macro} |
| 166 |
% |
| 167 |
% \begin{macro}{\title}\param{\marg{szakdolgozat címe}} |
| 168 |
% Ezzel kell megadni a szakdolgozat címét. |
| 169 |
% \end{macro} |
| 170 |
% |
| 171 |
% \begin{macro}{\author}\param{\{\meta{szerző neve}\textbackslash\textbackslash\meta{szak}\}} |
| 172 |
% Ezzel kell megadni a szakdolgozat szerzőjének a nevét és a szakot. |
| 173 |
% \end{macro} |
| 174 |
% |
| 175 |
% \begin{macro}{\supervisor}\param{\{\meta{témavezető neve}\textbackslash\textbackslash\meta{beosztás}\}} |
| 176 |
% Ezzel kell megadni a szakdolgozat témavezetőjének a nevét és beosztását. |
| 177 |
% \end{macro} |
| 178 |
% |
| 179 |
% \begin{macro}{\collaborator}\param{\oarg{felirat}} |
| 180 |
% Ha több szerzőt vagy témavezetőt akar beírni, akkor azokat ezzel kell elválasztani. |
| 181 |
% A \meta{felirat} opció használatával ez a felirat jelenik meg a soronkövetkező név felett. Például |
| 182 |
%\begin{Verbatim} |
| 183 |
%\author{Kiss István\\matematika BSc |
| 184 |
% \collaborator |
| 185 |
% Nagy János\\matematika BSc} |
| 186 |
%\supervisor{Dr. Szabó Gábor\\egyetemi docens |
| 187 |
% \collaborator[Külső konzulens] |
| 188 |
% Dr. Takács Tamás\\adjunktus\\ELTE} |
| 189 |
%\end{Verbatim} |
| 190 |
% \end{macro} |
| 191 |
% |
| 192 |
% \begin{macro}{\city}\param{\marg{város}} |
| 193 |
% Ezzel kell megadni annak a városnak a nevét, ahol az intézmény található. |
| 194 |
% \end{macro} |
| 195 |
% |
| 196 |
% \begin{macro}{\date}\param{\marg{dolgozat leadásának éve}} |
| 197 |
% Ezzel kell megadni a szakdolgozat leadásának az évét. |
| 198 |
% Ha nem adja meg, akkor az aktuális évszám fog megjelenni. |
| 199 |
% \end{macro} |
| 200 |
% |
| 201 |
% \begin{macro}{\maketitle} |
| 202 |
% A standard dokumentumosztályokhoz hasonlóan a címoldal itt is ezzel a paranccsal hozható létre. |
| 203 |
% \end{macro} |
| 204 |
% |
| 205 |
% \section{Példa a használatra} |
| 206 |
% |
| 207 |
% A következő sablon akkor működik helyesen, ha UTF-8 kódolású fájlban van. |
| 208 |
% |
| 209 |
%\begin{Verbatim} |
| 210 |
%\documentclass{thesis-ekcu} |
| 211 |
%\usepackage[T1]{fontenc} |
| 212 |
%\PassOptionsToPackage{defaults=hu-min}{magyar.ldf} |
| 213 |
%\usepackage[magyar]{babel} |
| 214 |
% |
| 215 |
%\begin{document} |
| 216 |
% |
| 217 |
%\institute{Matematikai és Informatikai Intézet} |
| 218 |
%\title{Szakdolgozat címe} |
| 219 |
%\author{Hallgató neve\\szak} |
| 220 |
%\supervisor{Konzulens neve\\beosztás} |
| 221 |
%\city{Eger} |
| 222 |
%\date{2024} |
| 223 |
%\maketitle |
| 224 |
% |
| 225 |
%\tableofcontents |
| 226 |
%\chapter{Fejezet címe} |
| 227 |
%\section{Szakasz címe} |
| 228 |
%\begin{thebibliography}{1} |
| 229 |
%\bibitem{cimke} \textsc{Szerző}: Cím, Kiadó, Hely, évszám. |
| 230 |
%\end{thebibliography} |
| 231 |
% |
| 232 |
%\end{document} |
| 233 |
%\end{Verbatim} |
| 234 |
% |
| 235 |
% \section{A dokumentumosztály testreszabása} |
| 236 |
% |
| 237 |
% A |thesis-ekcu| dokumentumosztály testreszabható opciókkal és parancsokkal, így más egyetemek is használhatják. |
| 238 |
% |
| 239 |
% \subsection{A dokumentumosztály opciói} |
| 240 |
% |
| 241 |
% A |twoside|, |colorlinks|, |tocnopagenum|, |reverseorder|, |times| és |upint| opciókról már volt szó. |
| 242 |
% További opciók: |
| 243 |
% |
| 244 |
% \medskip |
| 245 |
% \begin{macro}{centeredchapter}\param{=false} |
| 246 |
% Ezzel a fejezetcímek nem középre, hanem balra zártan lesznek kiszedve. |
| 247 |
% \end{macro} |
| 248 |
% |
| 249 |
% \begin{macro}{warning}\param{=false} |
| 250 |
% A dokumentumosztály figyelmeztetéseinek kikapcsolása. |
| 251 |
% \end{macro} |
| 252 |
% |
| 253 |
% \begin{macro}{10pt} |
| 254 |
% Az alapbetűméret 10\,pt. |
| 255 |
% \end{macro} |
| 256 |
% |
| 257 |
% \begin{macro}{11pt} |
| 258 |
% Az alapbetűméret 11\,pt. |
| 259 |
% \end{macro} |
| 260 |
% |
| 261 |
% \begin{macro}{12pt} |
| 262 |
% Az alapbetűméret 12\,pt (alapopció). |
| 263 |
% \end{macro} |
| 264 |
% |
| 265 |
% \begin{macro}{fontsize}\param{=\meta{betűméret}} |
| 266 |
% A \meta{betűméret} adja meg az alapbetűméretet, amely bármilyen méret lehet. |
| 267 |
% Ha a \meta{betűméret} különbözik a |10pt|, |11pt| és |12pt| értékektől, akkor ez az opció a beállításhoz betölti a |fontsize| csomagot. |
| 268 |
% Ennek az opciónak a használata felülbírálja a |10pt|, |11pt| és |12pt| opciókat. |
| 269 |
% \end{macro} |
| 270 |
% |
| 271 |
% \begin{macro}{logodown} |
| 272 |
% Alapbeállítás esetén a logó az intézmény neve felett van. |
| 273 |
% Ezzel a logó az intézmény neve alá kerül. |
| 274 |
% \end{macro} |
| 275 |
% |
| 276 |
% \begin{macro}{logofont}\param{=\meta{betűtípus}} |
| 277 |
% Ha a logó helyén szöveg van (lásd a |\logo| parancsot), akkor annak a betűtípusa (alapérték |\large\scshape|). |
| 278 |
% \end{macro} |
| 279 |
% |
| 280 |
% \begin{macro}{logosep}\param{=\meta{méret}} |
| 281 |
% A logó alatti térköz a normál sortávolságon felül, ha a |logodown| opció nincs bekapcsolva (alapérték |0mm|). |
| 282 |
% \end{macro} |
| 283 |
% |
| 284 |
% \begin{macro}{institutefont}\param{=\meta{betűtípus}} |
| 285 |
% Az intézménynév betűtípusa (alapérték |\large\scshape|). |
| 286 |
% \end{macro} |
| 287 |
% |
| 288 |
% \begin{macro}{institutesep}\param{=\meta{méret}} |
| 289 |
% Az intézmény neve alatti térköz a normál sortávolságon felül, ha a |logodown| opció be van kapcsolva (alapérték |10mm|). |
| 290 |
% \end{macro} |
| 291 |
% |
| 292 |
% \begin{macro}{titlefont}\param{=\meta{betűtípus}} |
| 293 |
% A dolgozat címének betűtípusa (alapérték |\Huge\bfseries|). |
| 294 |
% \end{macro} |
| 295 |
% |
| 296 |
% \begin{macro}{titlesep}\param{=\meta{méret}} |
| 297 |
% A cím feletti térköz mérete |\stretch{1}|. |
| 298 |
% Ezzel a cím alatti térközt lehet beállítani a normál sortávolságon felül (alapérték |\stretch{1.4}|). |
| 299 |
% \end{macro} |
| 300 |
% |
| 301 |
% \begin{macro}{captionfont}\param{=\meta{betűtípus}} |
| 302 |
% A szerző és témavezető nevei feletti feliratok betűtípusa (alapérték |\large\bfseries|). |
| 303 |
% \end{macro} |
| 304 |
% |
| 305 |
% \begin{macro}{captionsep}\param{=\meta{méret}} |
| 306 |
% Az előbbi feliratok alatti térköz a normál sortávolságon felül, amennyiben nem használja a |\collaborator| parancsot több szerző vagy témavezető megadásához (alapérték |0mm|). |
| 307 |
% \end{macro} |
| 308 |
% |
| 309 |
% \begin{macro}{collcaptionsep}\param{=\meta{méret}} |
| 310 |
% Az előbbi feliratok alatti térköz a normál sortávolságon felül, amennyiben használja az |\collaborator| parancsot több szerző vagy témavezető megadásához (alapérték |2mm|). |
| 311 |
% Ahol az |collcaptionsep| értékét fel kell használni, ott még nem lehet tudni, hogy lesz-e |\collaborator| kifejtve. |
| 312 |
% Ezért ennek érzékeléséhez kereszthivatkozást alkalmaz a kód, így csak a második fordításnál alakulnak ki a helyes térközök. Mivel például a tartalomjegyzék miatt úgyis többször kell fordítani, ezért ez nem okoz gondot. |
| 313 |
% Ha |latexmk|-val vagy valamilyen hasonló programmal fordít, akkor természetesen azt csak egyszer kell futtatni. |
| 314 |
% \end{macro} |
| 315 |
% |
| 316 |
% \begin{macro}{authorfont}\param{=\meta{betűtípus}} |
| 317 |
% A szerző nevének és szakjának, illetve a témavezető nevének és beosztásának betűtípusa (alapérték |\large|). |
| 318 |
% \end{macro} |
| 319 |
% |
| 320 |
% \begin{macro}{authoralign}\param{=\meta{igazítás}} |
| 321 |
% A szerző adatait tartalmazó doboz tartalmának igazítása. |
| 322 |
% Az \meta{igazítás} lehetséges értékei |left| (balra igazítás, ez az alapérték), |center| (középre igazítás) |right| (jobbra igazítás). |
| 323 |
% \end{macro} |
| 324 |
% |
| 325 |
% \begin{macro}{supervisoralign}\param{=\meta{igazítás}} |
| 326 |
% A témavezető adatait tartalmazó doboz tartalmának igazítása. |
| 327 |
% Az \meta{igazí\-tás} lehetséges értékei |left| (balra igazítás, ez az alapérték), |center| (középre igazítás) |right| (jobbra igazítás). |
| 328 |
% \end{macro} |
| 329 |
% |
| 330 |
% \begin{macro}{authorxmargin}\param{=\meta{méret}} |
| 331 |
% Ezzel a szerző és témavezető dobozának sorában a normál margóméret ennyivel nő meg (alapérték |10mm|). |
| 332 |
% \end{macro} |
| 333 |
% |
| 334 |
% \begin{macro}{authorsep}\param{=\meta{méret}} |
| 335 |
% A szerző és témavezető dobozait tartalmazó sor alatti térköz a normál sortávolságon felül (alapérték |15mm|). |
| 336 |
% \end{macro} |
| 337 |
% |
| 338 |
% \begin{macro}{hminsep}\param{=\meta{méret}} |
| 339 |
% A szerző és témavezető dobozai közötti minimális vízszintes térköz (alapérték |5mm|). |
| 340 |
% \end{macro} |
| 341 |
% |
| 342 |
% \begin{macro}{cityfont}\param{=\meta{betűtípus}} |
| 343 |
% A város nevének betűtípusa (alapérték |\large\scshape|). |
| 344 |
% \end{macro} |
| 345 |
% |
| 346 |
% \begin{macro}{datefont}\param{=\meta{betűtípus}} |
| 347 |
% Az évszám betűtípusa (alapérték |\large\scshape|). |
| 348 |
% \end{macro} |
| 349 |
% |
| 350 |
% \begin{macro}{datesep}\param{=\meta{elválasztás}} |
| 351 |
% A város és az évszám közötti elválasztás (alapérték |{,~}|). |
| 352 |
% Például |datesep=\\| esetén a városnév alá kerül az évszám. |
| 353 |
% \end{macro} |
| 354 |
% |
| 355 |
% \subsection{Parancsok} |
| 356 |
% |
| 357 |
% \begin{macro}{\setkeys}\param{\{thesis-ekcu\}\marg{opciók}} |
| 358 |
% A |thesis-ekcu| opciói az alapbetűméretet beállító (|10pt|, |11pt|, |12pt|, |fontsize=|\meta{méret}) opciók kivételével ezzel is beállíthatók. |
| 359 |
% Ha a |\setkeys| parancsot a konfigurációs fájlba írja (lásd később), akkor abba az alapbetűméretet beállító opciók is beírhatók. |
| 360 |
% Azok az opciók, melyekben parancs van, mint például a betűtípusra vonatkozók, csak a |\setkeys| parancsba írhatók! |
| 361 |
% Például |\setkeys{thesis-ekcu}{logodown,tocnopagenum}|. |
| 362 |
% \end{macro} |
| 363 |
% |
| 364 |
% \begin{macro}{\setkeys}\param{\{thesis-ekf\}\marg{opciók}} |
| 365 |
% Ugyanaz, mint a |\setkeys{thesis-ekcu}|\marg{opciók}, de ezt akkor használja, ha az osztályt nem |thesis-ekcu|, hanem |thesis-ekf| néven töltötte be. |
| 366 |
% \end{macro} |
| 367 |
% |
| 368 |
% \begin{macro}{\hypersetup}\param{\marg{hyperref opciók}} |
| 369 |
% A |hyperref| csomag opciói ezzel állíthatók be. |
| 370 |
% Például, ha a linkek színét pirosra akarja állítani: |\hypersetup{allcolors=red}|. |
| 371 |
% \end{macro} |
| 372 |
% |
| 373 |
% \begin{macro}{\geometry}\param{\marg{geometry opciók}} |
| 374 |
% A |geometry| csomag opciói ezzel állíthatók be. |
| 375 |
% Például, ha B5 lapméretet szeretne, 20\,mm margókkal, kivéve a belső margót, amely 25\,mm:\\ |\geometry{b5paper,top=20mm,bottom=20mm,inner=25mm,outer=20mm}|. |
| 376 |
% \end{macro} |
| 377 |
% |
| 378 |
% \begin{macro}{\singlespacing} |
| 379 |
% Alapbeállítás esetén a sortávolság másfeles. |
| 380 |
% A |setspace| csomag |\singlespacing| parancsával visszaállítható a normál méretű sortávolság. |
| 381 |
% \end{macro} |
| 382 |
% |
| 383 |
% \begin{macro}{\logo}\param{\marg{kép vagy szöveg}} |
| 384 |
% Ezt a parancsot a |\maketitle| előtt vagy a konfigurációs fájlban (lásd később) kell használni. |
| 385 |
% Ezzel kell megadni az intézmény logóját. |
| 386 |
% Például |\logo{\includegraphics[width=9cm]{logo}}|. |
| 387 |
% Ha nem adja meg, akkor az Eszterházy Károly Katolikus Egyetem angol, német vagy magyar logója fog megjelenni aszerint, hogy a |babel| csomaggal melyik nyelvet töltötte be. |
| 388 |
% Ha nem akar logót, akkor írja be a |\logo{}| parancsot. |
| 389 |
% \end{macro} |
| 390 |
% |
| 391 |
% \begin{macro}{\authorcaption}\param{\marg{szerző neve feletti felirat}} |
| 392 |
% Ezt a parancsot a |\maketitle| előtt vagy a konfigurációs fájlban (lásd később) kell használni. |
| 393 |
% Ezzel adhatja meg a szakdolgozat szerzőjének neve feletti feliratot. |
| 394 |
% Alapértéke |Author|, magyar nyelv esetén |Készítette|, német nyelv esetén |Autor|. |
| 395 |
% \end{macro} |
| 396 |
% |
| 397 |
% \begin{macro}{\supervisorcaption}\param{\marg{témavezető neve feletti felirat}} |
| 398 |
% Ezt a parancsot a |\maketitle| előtt vagy a konfigurációs fájlban (lásd később) kell használni. |
| 399 |
% Ezzel adhatja meg a szakdolgozat témavezetőjének neve feletti feliratot. |
| 400 |
% Alapértéke |Supervisor|, magyar nyelv esetén |Témavezető|, német nyelv esetén |Betreuer|. |
| 401 |
% \end{macro} |
| 402 |
% |
| 403 |
% \subsection{Konfigurációs fájl} |
| 404 |
% |
| 405 |
% \begin{macro}{thesis-ekcu.cfg} |
| 406 |
% Az átparaméterező opciókat és parancsokat célszerű egy |thesis-ekcu.cfg| nevű fájlba írni, amit a tex forrásfájl mellé kell tenni. |
| 407 |
% Ebben minden parancsot a |\setkeys| kivételével |\AtEndOfClass|\marg{parancsok} parancsba kell írni. |
| 408 |
% A dokumentumosztály betöltésekor ez a fájl automatikusan betöltődik. |
| 409 |
% Egy példa a |thesis-ekcu.cfg| fájl tartalmára: |
| 410 |
%\begin{Verbatim} |
| 411 |
%\setkeys{thesis-ekcu}{ |
| 412 |
% 11pt, |
| 413 |
% centeredchapter=false, |
| 414 |
% titlefont=\Huge\sffamily, |
| 415 |
% } |
| 416 |
%\AtEndOfClass{ |
| 417 |
% \hypersetup{allcolors=red} |
| 418 |
% \geometry{b5paper,top=20mm,bottom=20mm,inner=25mm,outer=20mm} |
| 419 |
% \singlespacing |
| 420 |
% \authorcaption{Írta} |
| 421 |
% } |
| 422 |
%\end{Verbatim} |
| 423 |
% \end{macro} |
| 424 |
% |
| 425 |
% \begin{macro}{thesis-ekf.cfg} |
| 426 |
% Ugyanaz mint a |thesis-ekcu.cfg|, de ezt akkor használja, ha az osztályt nem |thesis-ekcu|, hanem |thesis-ekf| néven töltötte be. |
| 427 |
% \end{macro} |
| 428 |
% \StopEventually{} |
| 429 |
% \begin{macrocode} |
| 430 |
%<*ekcu> |
| 431 |
\NeedsTeXFormat{LaTeX2e}[2020/10/01] |
| 432 |
\ProvidesClass{thesis-ekcu}[2026/01/10 v5.0 Thesis class for Eszterházy Károly Catholic University (Eger, Hungary)] |
| 433 |
|
| 434 |
\typeout{Class 'thesis-ekcu' is an alias for 'thesis-ekf' and will simply load 'thesis-ekf'.} |
| 435 |
|
| 436 |
\def\thesisekcu@setalias{ |
| 437 |
\let\thesisekcu@orig@setkeys\setkeys |
| 438 |
\def\setkeys##1##2{% |
| 439 |
\def\thesisekcu@tmp{##1}% |
| 440 |
\def\thesisekcu@fam{thesis-ekcu}% |
| 441 |
\ifx\thesisekcu@tmp\thesisekcu@fam |
| 442 |
\thesisekcu@orig@setkeys{thesis-ekf}{##2}% |
| 443 |
\else |
| 444 |
\thesisekcu@orig@setkeys{##1}{##2}% |
| 445 |
\fi |
| 446 |
} |
| 447 |
} |
| 448 |
|
| 449 |
\LoadClassWithOptions{thesis-ekf} |
| 450 |
|
| 451 |
%</ekcu> |
| 452 |
%<*class> |
| 453 |
\RequirePackage{kvoptions} |
| 454 |
\SetupKeyvalOptions{family=thesis-ekf,prefix=thesisekf@} |
| 455 |
\DeclareVoidOption{twoside}{\PassOptionsToClass{twoside}{report}} |
| 456 |
\DeclareVoidOption{colorlinks}{\PassOptionsToPackage{colorlinks}{hyperref}} |
| 457 |
\DeclareBoolOption{times} |
| 458 |
\DeclareBoolOption{upint} |
| 459 |
\DeclareBoolOption{logodown} |
| 460 |
\DeclareBoolOption{tocnopagenum} |
| 461 |
\DeclareBoolOption{reverseorder} |
| 462 |
\DeclareBoolOption[true]{centeredchapter} |
| 463 |
\DeclareBoolOption[true]{warning} |
| 464 |
\DeclareVoidOption{10pt}{\def\thesisekf@fontsize@{10pt}} |
| 465 |
\DeclareVoidOption{11pt}{\def\thesisekf@fontsize@{11pt}} |
| 466 |
\DeclareVoidOption{12pt}{\def\thesisekf@fontsize@{12pt}} |
| 467 |
\DeclareStringOption{fontsize} |
| 468 |
\DeclareStringOption[10mm]{institutesep} |
| 469 |
\DeclareStringOption[0mm]{logosep} |
| 470 |
\DeclareStringOption[\stretch{1.4}]{titlesep} |
| 471 |
\DeclareStringOption[15mm]{authorsep} |
| 472 |
\DeclareStringOption[5mm]{hminsep} |
| 473 |
\DeclareStringOption[10mm]{authorxmargin} |
| 474 |
\DeclareStringOption[0mm]{captionsep} |
| 475 |
\DeclareStringOption[2mm]{collcaptionsep} |
| 476 |
\DeclareStringOption[left]{authoralign} |
| 477 |
\DeclareStringOption[left]{supervisoralign} |
| 478 |
\DeclareStringOption[\large\scshape]{institutefont} |
| 479 |
\DeclareStringOption[\large\scshape]{logofont} |
| 480 |
\DeclareStringOption[\Huge\bfseries]{titlefont} |
| 481 |
\DeclareStringOption[\large]{authorfont} |
| 482 |
\DeclareStringOption[\large\bfseries]{captionfont} |
| 483 |
\DeclareStringOption[\large\scshape]{cityfont} |
| 484 |
\DeclareStringOption[\large\scshape]{datefont} |
| 485 |
\DeclareStringOption[,~]{datesep} |
| 486 |
\def\thesisekf@fontsize@{12pt} |
| 487 |
\ProcessKeyvalOptions{thesis-ekf} |
| 488 |
|
| 489 |
\@ifundefined{thesisekcu@setalias}{ |
| 490 |
\InputIfFileExists{thesis-ekf.cfg}{}{} |
| 491 |
}{ |
| 492 |
\thesisekcu@setalias |
| 493 |
\InputIfFileExists{thesis-ekcu.cfg}{}{} |
| 494 |
} |
| 495 |
|
| 496 |
\def\thesisekf@ten{10pt} |
| 497 |
\def\thesisekf@eleven{11pt} |
| 498 |
\def\thesisekf@twelve{12pt} |
| 499 |
\ifx\thesisekf@fontsize\thesisekf@ten |
| 500 |
\def\thesisekf@fontsize@{10pt} |
| 501 |
\fi |
| 502 |
\ifx\thesisekf@fontsize\thesisekf@eleven |
| 503 |
\def\thesisekf@fontsize@{11pt} |
| 504 |
\fi |
| 505 |
\ifx\thesisekf@fontsize\thesisekf@twelve |
| 506 |
\def\thesisekf@fontsize@{12pt} |
| 507 |
\fi |
| 508 |
|
| 509 |
\LoadClass[\thesisekf@fontsize@]{report} |
| 510 |
\RequirePackage{setspace} |
| 511 |
\RequirePackage[linktocpage,allcolors=blue,pdfstartview=FitH,bookmarksnumbered,pdfborder={0 0 0}]{hyperref} |
| 512 |
\RequirePackage[a4paper,top=25mm,bottom=25mm,inner=30mm,outer=25mm]{geometry} |
| 513 |
\ifthesisekf@times |
| 514 |
\ifthesisekf@upint |
| 515 |
\PassOptionsToPackage{upint}{newtxmath} |
| 516 |
\PassOptionsToPackage{intlimits}{amsmath} |
| 517 |
\fi |
| 518 |
\else |
| 519 |
\RequirePackage{lmodern,fixcmex} |
| 520 |
\ifthesisekf@upint |
| 521 |
\RequirePackage{cmupint} |
| 522 |
\fi |
| 523 |
\fi |
| 524 |
\RequirePackage{graphicx,iftex} |
| 525 |
|
| 526 |
\onehalfspacing |
| 527 |
|
| 528 |
\AddToHook{begindocument/before}{ |
| 529 |
|
| 530 |
\ifthesisekf@times |
| 531 |
\RequirePackage{newtxtext,newtxmath} |
| 532 |
\fi |
| 533 |
|
| 534 |
\ifx\thesisekf@fontsize\@empty |
| 535 |
\else |
| 536 |
\ifx\thesisekf@fontsize\thesisekf@ten |
| 537 |
\else |
| 538 |
\ifx\thesisekf@fontsize\thesisekf@eleven |
| 539 |
\else |
| 540 |
\ifx\thesisekf@fontsize\thesisekf@twelve |
| 541 |
\else |
| 542 |
\RequirePackage[fontsize=\thesisekf@fontsize]{fontsize} |
| 543 |
\fi |
| 544 |
\fi |
| 545 |
\fi |
| 546 |
\fi |
| 547 |
|
| 548 |
\RequirePackage{upquote} |
| 549 |
|
| 550 |
} |
| 551 |
|
| 552 |
\let\thesisekf@orig@dottedtocline\@dottedtocline |
| 553 |
|
| 554 |
\AddToHook{begindocument/end}{ |
| 555 |
|
| 556 |
\ifthesisekf@tocnopagenum |
| 557 |
\hypersetup{pageanchor=false} |
| 558 |
\let\thesisekf@tableofcontents\tableofcontents |
| 559 |
\def\tableofcontents{% |
| 560 |
\global\let\thesisekf@thepage\thepage% |
| 561 |
\global\let\thepage\empty% |
| 562 |
\thesisekf@tableofcontents% |
| 563 |
\clearpage% |
| 564 |
\global\c@page\@ne% |
| 565 |
\global\let\thepage\thesisekf@thepage% |
| 566 |
\hypersetup{pageanchor}} |
| 567 |
\fi |
| 568 |
|
| 569 |
\ifthesisekf@centeredchapter |
| 570 |
\let\thesisekf@makechapterhead\@makechapterhead |
| 571 |
\let\thesisekf@makeschapterhead\@makeschapterhead |
| 572 |
\let\thesisekf@raggedright\raggedright |
| 573 |
\def\@makechapterhead#1{ |
| 574 |
\let\raggedright\centering |
| 575 |
\thesisekf@makechapterhead{#1} |
| 576 |
\let\raggedright\thesisekf@raggedright} |
| 577 |
\def\@makeschapterhead#1{ |
| 578 |
\let\raggedright\centering |
| 579 |
\thesisekf@makeschapterhead{#1} |
| 580 |
\let\raggedright\thesisekf@raggedright} |
| 581 |
\fi |
| 582 |
|
| 583 |
\@ifundefined{magyar@opt@@dottedtocline}{}{% |
| 584 |
\let\@dottedtocline\thesisekf@orig@dottedtocline% |
| 585 |
} |
| 586 |
|
| 587 |
\renewcommand*\l@chapter[2]{% |
| 588 |
\ifnum \c@tocdepth >\z@ |
| 589 |
\addpenalty\@secpenalty |
| 590 |
\addvspace{1.0em \@plus\p@}% |
| 591 |
\setlength\@tempdima{1.8em}% |
| 592 |
\begingroup |
| 593 |
\parindent \z@ \rightskip \@pnumwidth |
| 594 |
\parfillskip -\@pnumwidth |
| 595 |
\leavevmode \bfseries |
| 596 |
\advance\leftskip\@tempdima |
| 597 |
\hskip -\leftskip |
| 598 |
#1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par |
| 599 |
\endgroup |
| 600 |
\fi} |
| 601 |
\renewcommand*\l@section{\@dottedtocline{1}{1.8em}{2.5em}} |
| 602 |
\renewcommand*\l@subsection{\@dottedtocline{2}{4.3em}{3.2em}} |
| 603 |
|
| 604 |
\if@thesisekf@nochanged@authorcaption@% |
| 605 |
\@ifundefined{l@magyar}{}{% |
| 606 |
\iflanguage{magyar}{\gdef\thesisekf@authorcaption{K\'{e}sz\'{\i}tette}}{}}% |
| 607 |
\@ifundefined{l@hungarian}{}{% |
| 608 |
\iflanguage{hungarian}{\gdef\thesisekf@authorcaption{K\'{e}sz\'{\i}tette}}{}}% |
| 609 |
\@ifundefined{l@ngerman}{}{% |
| 610 |
\iflanguage{ngerman}{\gdef\thesisekf@authorcaption{Autor}}{}}% |
| 611 |
\@ifundefined{l@german}{}{% |
| 612 |
\iflanguage{german}{\gdef\thesisekf@authorcaption{Autor}}{}}% |
| 613 |
\fi |
| 614 |
|
| 615 |
\if@thesisekf@nochanged@supervisorcaption@% |
| 616 |
\@ifundefined{l@magyar}{}{% |
| 617 |
\iflanguage{magyar}{\gdef\thesisekf@supervisorcaption{T\'{e}mavezet\H{o}}}{}}% |
| 618 |
\@ifundefined{l@hungarian}{}{% |
| 619 |
\iflanguage{hungarian}{\gdef\thesisekf@supervisorcaption{T\'{e}mavezet\H{o}}}{}}% |
| 620 |
\@ifundefined{l@ngerman}{}{% |
| 621 |
\iflanguage{ngerman}{\gdef\thesisekf@supervisorcaption{Betreuer}}{}}% |
| 622 |
\@ifundefined{l@german}{}{% |
| 623 |
\iflanguage{german}{\gdef\thesisekf@supervisorcaption{Betreuer}}{}}% |
| 624 |
\fi |
| 625 |
|
| 626 |
\if@thesisekf@nochanged@logo@% |
| 627 |
\@ifundefined{l@magyar}{}{% |
| 628 |
\iflanguage{magyar}{\if@thesisekf@exists@logo@hu@\gdef\thesisekf@logo{\includegraphics{eszterhazy-logo-hu}}\fi}{}}% |
| 629 |
\@ifundefined{l@hungarian}{}{% |
| 630 |
\iflanguage{hungarian}{\if@thesisekf@exists@logo@hu@\gdef\thesisekf@logo{\includegraphics{eszterhazy-logo-hu}}\fi}{}}% |
| 631 |
\@ifundefined{l@ngerman}{}{% |
| 632 |
\iflanguage{ngerman}{\if@thesisekf@exists@logo@de@\gdef\thesisekf@logo{\includegraphics{eszterhazy-logo-de}}\fi}{}}% |
| 633 |
\@ifundefined{l@german}{}{% |
| 634 |
\iflanguage{german}{\if@thesisekf@exists@logo@de@\gdef\thesisekf@logo{\includegraphics{eszterhazy-logo-de}}\fi}{}}% |
| 635 |
\fi |
| 636 |
|
| 637 |
} |
| 638 |
|
| 639 |
\newif\if@thesisekf@nochanged@logo@ |
| 640 |
\@thesisekf@nochanged@logo@true |
| 641 |
\def\logo#1{\@thesisekf@nochanged@logo@false\gdef\thesisekf@logo{#1}} |
| 642 |
\def\thesisekf@logo{} |
| 643 |
\newif\if@thesisekf@exists@logo@en@ |
| 644 |
\ifpdf |
| 645 |
\IfFileExists{eszterhazy-logo-en.pdf}{\@thesisekf@exists@logo@en@true}{} |
| 646 |
\else |
| 647 |
\IfFileExists{eszterhazy-logo-en.eps}{\@thesisekf@exists@logo@en@true}{} |
| 648 |
\fi |
| 649 |
\newif\if@thesisekf@exists@logo@hu@ |
| 650 |
\ifpdf |
| 651 |
\IfFileExists{eszterhazy-logo-hu.pdf}{\@thesisekf@exists@logo@hu@true}{} |
| 652 |
\else |
| 653 |
\IfFileExists{eszterhazy-logo-hu.eps}{\@thesisekf@exists@logo@hu@true}{} |
| 654 |
\fi |
| 655 |
\newif\if@thesisekf@exists@logo@de@ |
| 656 |
\ifpdf |
| 657 |
\IfFileExists{eszterhazy-logo-de.pdf}{\@thesisekf@exists@logo@de@true}{} |
| 658 |
\else |
| 659 |
\IfFileExists{eszterhazy-logo-de.eps}{\@thesisekf@exists@logo@de@true}{} |
| 660 |
\fi |
| 661 |
\if@thesisekf@exists@logo@en@ |
| 662 |
\def\thesisekf@logo{\includegraphics{eszterhazy-logo-en}} |
| 663 |
\fi |
| 664 |
\def\thesisekf@logo@{% |
| 665 |
\thesisekf@logo% |
| 666 |
\ifx\thesisekf@logo\@empty% |
| 667 |
\ifthesisekf@warning% |
| 668 |
\ClassWarning{thesis-ekf}{logo is missing}% |
| 669 |
\fi% |
| 670 |
\fi} |
| 671 |
|
| 672 |
\def\institute#1{\gdef\thesisekf@institute{#1}} |
| 673 |
\institute{} |
| 674 |
\def\thesisekf@institute@{% |
| 675 |
\thesisekf@institute% |
| 676 |
\ifx\thesisekf@institute\@empty% |
| 677 |
\ifthesisekf@warning% |
| 678 |
\ClassWarning{thesis-ekf}{institute is missing}% |
| 679 |
\fi% |
| 680 |
\fi} |
| 681 |
|
| 682 |
\def\title#1{\gdef\thesisekf@title{#1}} |
| 683 |
\title{} |
| 684 |
\def\thesisekf@title@{% |
| 685 |
\thesisekf@title% |
| 686 |
\ifx\thesisekf@title\@empty% |
| 687 |
\ifthesisekf@warning% |
| 688 |
\ClassWarning{thesis-ekf}{title is missing}% |
| 689 |
\fi% |
| 690 |
\fi} |
| 691 |
|
| 692 |
\def\author#1{\gdef\thesisekf@author{#1}} |
| 693 |
\author{} |
| 694 |
\def\thesisekf@author@{% |
| 695 |
\ifx\thesisekf@authorcaption\@empty% |
| 696 |
\else% |
| 697 |
\ifx\thesisekf@author\@empty% |
| 698 |
\ifthesisekf@warning% |
| 699 |
\ClassWarning{thesis-ekf}{author is missing}% |
| 700 |
\fi% |
| 701 |
\else% |
| 702 |
\thesisekf@author% |
| 703 |
\fi% |
| 704 |
\fi} |
| 705 |
|
| 706 |
\newif\if@thesisekf@nochanged@authorcaption@ |
| 707 |
\@thesisekf@nochanged@authorcaption@true |
| 708 |
\def\authorcaption#1{% |
| 709 |
\@thesisekf@nochanged@authorcaption@false% |
| 710 |
\gdef\thesisekf@authorcaption{#1}} |
| 711 |
\def\thesisekf@authorcaption{Author} |
| 712 |
\def\thesisekf@authorcaption@{% |
| 713 |
\ifx\thesisekf@author\@empty% |
| 714 |
\else% |
| 715 |
\ifx\thesisekf@authorcaption\@empty% |
| 716 |
\ifthesisekf@warning% |
| 717 |
\ClassWarning{thesis-ekf}{authorcaption is missing}% |
| 718 |
\fi% |
| 719 |
\else% |
| 720 |
\thesisekf@authorcaption% |
| 721 |
\fi% |
| 722 |
\fi} |
| 723 |
|
| 724 |
\def\supervisor#1{\gdef\thesisekf@supervisor{#1}} |
| 725 |
\supervisor{} |
| 726 |
\def\thesisekf@supervisor@{% |
| 727 |
\ifx\thesisekf@supervisorcaption\@empty |
| 728 |
\else |
| 729 |
\ifx\thesisekf@supervisor\@empty |
| 730 |
\ifthesisekf@warning |
| 731 |
\ClassWarning{thesis-ekf}{supervisor is missing} |
| 732 |
\fi |
| 733 |
\else |
| 734 |
\thesisekf@supervisor |
| 735 |
\fi |
| 736 |
\fi} |
| 737 |
|
| 738 |
\newif\if@thesisekf@nochanged@supervisorcaption@ |
| 739 |
\@thesisekf@nochanged@supervisorcaption@true |
| 740 |
\def\supervisorcaption#1{% |
| 741 |
\@thesisekf@nochanged@supervisorcaption@false% |
| 742 |
\gdef\thesisekf@supervisorcaption{#1}} |
| 743 |
\def\thesisekf@supervisorcaption{Supervisor} |
| 744 |
\def\thesisekf@supervisorcaption@{% |
| 745 |
\ifx\thesisekf@supervisor\@empty% |
| 746 |
\else% |
| 747 |
\ifx\thesisekf@supervisorcaption\@empty% |
| 748 |
\ifthesisekf@warning% |
| 749 |
\ClassWarning{thesis-ekf}{supervisorcaption is missing}% |
| 750 |
\fi% |
| 751 |
\else% |
| 752 |
\thesisekf@supervisorcaption% |
| 753 |
\fi% |
| 754 |
\fi} |
| 755 |
|
| 756 |
\def\city#1{\gdef\thesisekf@city{#1}} |
| 757 |
\city{} |
| 758 |
\def\thesisekf@city@{% |
| 759 |
\thesisekf@city% |
| 760 |
\ifx\thesisekf@city\@empty% |
| 761 |
\ifthesisekf@warning% |
| 762 |
\ClassWarning{thesis-ekf}{city is missing}% |
| 763 |
\fi% |
| 764 |
\fi} |
| 765 |
|
| 766 |
\def\date#1{\gdef\thesisekf@date{#1}} |
| 767 |
\date{\number\year} |
| 768 |
\def\thesisekf@date@{% |
| 769 |
\thesisekf@date% |
| 770 |
\ifx\thesisekf@date\@empty% |
| 771 |
\ifthesisekf@warning% |
| 772 |
\ClassWarning{thesis-ekf}{date is missing}% |
| 773 |
\fi% |
| 774 |
\fi} |
| 775 |
|
| 776 |
\def\thesisekf@datesep@{% |
| 777 |
\ifx\thesisekf@city\@empty |
| 778 |
\else |
| 779 |
\ifx\thesisekf@date\@empty |
| 780 |
\else |
| 781 |
\thesisekf@datesep |
| 782 |
\fi |
| 783 |
\fi} |
| 784 |
|
| 785 |
\def\thesisekf@box@logo{% |
| 786 |
\ifthesisekf@logodown% |
| 787 |
{\normalfont\normalsize\thesisekf@institutefont\thesisekf@institute@% |
| 788 |
\ifx\thesisekf@institute\@empty% |
| 789 |
\else% |
| 790 |
\\% |
| 791 |
\ifx\thesisekf@logo\@empty% |
| 792 |
\else% |
| 793 |
\vspace{\thesisekf@institutesep}% |
| 794 |
\fi% |
| 795 |
\fi}% |
| 796 |
{\normalfont\normalsize\thesisekf@logofont\thesisekf@logo@% |
| 797 |
\ifx\thesisekf@logo\@empty% |
| 798 |
\else% |
| 799 |
\\% |
| 800 |
\fi}% |
| 801 |
\else% |
| 802 |
{\normalfont\normalsize\thesisekf@logofont\thesisekf@logo@% |
| 803 |
\ifx\thesisekf@logo\@empty% |
| 804 |
\else% |
| 805 |
\\% |
| 806 |
\ifx\thesisekf@institute\@empty% |
| 807 |
\else% |
| 808 |
\vspace{\thesisekf@logosep}% |
| 809 |
\fi% |
| 810 |
\fi}% |
| 811 |
{\normalfont\normalsize\thesisekf@institutefont\thesisekf@institute@% |
| 812 |
\ifx\thesisekf@institute\@empty% |
| 813 |
\else% |
| 814 |
\\% |
| 815 |
\fi}% |
| 816 |
\fi% |
| 817 |
\vspace*{\fill}} |
| 818 |
|
| 819 |
\def\thesisekf@box@title{% |
| 820 |
{\normalfont\normalsize\thesisekf@titlefont\thesisekf@title@% |
| 821 |
\ifx\thesisekf@title\@empty% |
| 822 |
\else% |
| 823 |
\par\vspace{\thesisekf@titlesep}% |
| 824 |
\fi}} |
| 825 |
|
| 826 |
\def\thesisekf@align@center{center} |
| 827 |
\def\thesisekf@align@left{left} |
| 828 |
\def\thesisekf@align@right{right} |
| 829 |
|
| 830 |
\def\thesisekf@box@author{% |
| 831 |
{\normalfont\normalsize\thesisekf@authorfont% |
| 832 |
\ifx\thesisekf@authoralign\thesisekf@align@center% |
| 833 |
\begin{tabular}[t]{@{}c@{}}% |
| 834 |
\fi% |
| 835 |
\ifx\thesisekf@authoralign\thesisekf@align@left% |
| 836 |
\begin{tabular}[t]{@{}l@{}}% |
| 837 |
\fi% |
| 838 |
\ifx\thesisekf@authoralign\thesisekf@align@right% |
| 839 |
\begin{tabular}[t]{@{}r@{}}% |
| 840 |
\fi% |
| 841 |
{\normalfont\normalsize\thesisekf@captionfont\thesisekf@authorcaption@}\\[\thesisekf@captionsep]% |
| 842 |
\thesisekf@author@% |
| 843 |
\end{tabular}}} |
| 844 |
|
| 845 |
\def\thesisekf@box@supervisor{% |
| 846 |
{\normalfont\normalsize\thesisekf@authorfont% |
| 847 |
\ifx\thesisekf@supervisoralign\thesisekf@align@center% |
| 848 |
\begin{tabular}[t]{@{}c@{}}% |
| 849 |
\fi% |
| 850 |
\ifx\thesisekf@supervisoralign\thesisekf@align@left% |
| 851 |
\begin{tabular}[t]{@{}l@{}}% |
| 852 |
\fi% |
| 853 |
\ifx\thesisekf@supervisoralign\thesisekf@align@right% |
| 854 |
\begin{tabular}[t]{@{}r@{}}% |
| 855 |
\fi% |
| 856 |
{\normalfont\normalsize\thesisekf@captionfont\thesisekf@supervisorcaption@}\\[\thesisekf@captionsep]% |
| 857 |
\thesisekf@supervisor@% |
| 858 |
\end{tabular}}} |
| 859 |
|
| 860 |
\def\thesisekf@box@author@supervisor@{% |
| 861 |
\hbox{}\nobreak\hspace*{\thesisekf@authorxmargin}% |
| 862 |
\ifthesisekf@reverseorder% |
| 863 |
\thesisekf@box@supervisor% |
| 864 |
\nobreak\hspace{\thesisekf@hminsep}\hfill% |
| 865 |
\thesisekf@box@author% |
| 866 |
\else% |
| 867 |
\thesisekf@box@author% |
| 868 |
\nobreak\hspace{\thesisekf@hminsep}\hfill% |
| 869 |
\thesisekf@box@supervisor% |
| 870 |
\fi% |
| 871 |
\nobreak\hspace{\thesisekf@authorxmargin}\hbox{}% |
| 872 |
\par\vspace{\thesisekf@authorsep}} |
| 873 |
|
| 874 |
\def\thesisekf@box@author@supervisor{% |
| 875 |
\if\getrefnumber{@thesisekf@collaborator@}% |
| 876 |
\gdef\thesisekf@captionsep{\thesisekf@collcaptionsep}% |
| 877 |
\fi% |
| 878 |
\thesisekf@box@author@supervisor@% |
| 879 |
\gdef\@currentlabel{10}% |
| 880 |
\if@thesisekf@collaborator@% |
| 881 |
\gdef\@currentlabel{11}% |
| 882 |
\fi% |
| 883 |
\label{@thesisekf@collaborator@}} |
| 884 |
|
| 885 |
\def\thesisekf@box@city@date{% |
| 886 |
{\normalfont\normalsize\thesisekf@cityfont\thesisekf@city@\thesisekf@datesep@}% |
| 887 |
{\normalfont\normalsize\thesisekf@datefont\thesisekf@date@}} |
| 888 |
|
| 889 |
\newif\if@thesisekf@collaborator@ |
| 890 |
|
| 891 |
\newcommand{\collaborator}[1][]{% |
| 892 |
\global\@thesisekf@collaborator@true% |
| 893 |
\\[\thesisekf@captionsep] |
| 894 |
\def\thesisekf@temp{#1}% |
| 895 |
\ifx\thesisekf@temp\@empty% |
| 896 |
\else% |
| 897 |
{\normalfont\normalsize\thesisekf@captionfont#1}\\[\thesisekf@captionsep]% |
| 898 |
\fi} |
| 899 |
|
| 900 |
\def\maketitle{ |
| 901 |
\thispagestyle{empty} |
| 902 |
{\centering |
| 903 |
\thesisekf@box@logo% |
| 904 |
\thesisekf@box@title% |
| 905 |
\thesisekf@box@author@supervisor% |
| 906 |
\thesisekf@box@city@date% |
| 907 |
\par} |
| 908 |
\newpage |
| 909 |
\if@twoside |
| 910 |
\thispagestyle{empty} |
| 911 |
\hbox{} |
| 912 |
\newpage |
| 913 |
\fi} |
| 914 |
%</class> |
| 915 |
% \end{macrocode} |
| 916 |
% \Finale |
| 917 |
\endinput |