summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/thesis-ekf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-04-19 22:33:46 +0000
committerKarl Berry <karl@freefriends.org>2015-04-19 22:33:46 +0000
commite449ed64f8022dfbeb65586ca6c6caf5ac794a2a (patch)
treeeff7a0be38e34fb9cef538bc66f1be3493fbaf30 /Master/texmf-dist/tex/latex/thesis-ekf
parent0d32907b0e3676ad4a28c85ec95dbd6d3abdaf95 (diff)
thesis-ekf (19apr15)
git-svn-id: svn://tug.org/texlive/trunk@36950 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/thesis-ekf')
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo1.pngbin0 -> 56204 bytes
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo2.pdfbin0 -> 1434115 bytes
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo3.pdfbin0 -> 260127 bytes
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo4.pdfbin0 -> 1442654 bytes
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo5.pdfbin0 -> 258214 bytes
-rw-r--r--Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls46
6 files changed, 41 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo1.png b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo1.png
new file mode 100644
index 00000000000..ff80e2604d7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo1.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo2.pdf b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo2.pdf
new file mode 100644
index 00000000000..a5d9a6e3166
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo2.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo3.pdf b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo3.pdf
new file mode 100644
index 00000000000..b74394e3d2d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo3.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo4.pdf b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo4.pdf
new file mode 100644
index 00000000000..fe5b9fe846b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo4.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo5.pdf b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo5.pdf
new file mode 100644
index 00000000000..f7a51e4a84b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo5.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls b/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls
index fc6fdbde1df..402003feed4 100644
--- a/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls
+++ b/Master/texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls
@@ -19,7 +19,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesClass{thesis-ekf}[2014/05/21 v1.0 class for EKF thesis]
+\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,
@@ -56,14 +56,48 @@ pdfstartview=FitH,bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
\renewcommand*\l@section{\@dottedtocline{1}{1.8em}{2.5em}}
\renewcommand*\l@subsection{\@dottedtocline{2}{4.1em}{3.2em}}
-\def\logo#1{\def\@logo{#1}}\logo{}
-\def\institute#1{\def\@institute{#1}}\institute{}
-\def\authorcaption#1{\def\@authorcaption{#1}}\authorcaption{}
-\def\supervisorcaption#1{\def\@supervisorcaption{#1}}\supervisorcaption{}
+\def\thesisekf@chapternumber{%
+ \@ifundefined{l@magyar}
+ {\@chapapp\space \thechapter}
+ {\iflanguage{magyar}
+ {\magyar@huordinal@chapterheaddot \@chapapp}
+ {\@chapapp\space \thechapter}}}
+
+\def\thesisekf@centeredchapter{%
+ \def\@makechapterhead##1{%
+ \vspace*{50\p@}%
+ {\parindent \z@ \raggedright \normalfont
+ \ifnum \c@secnumdepth >\m@ne
+ {\centering\huge\bfseries \thesisekf@chapternumber
+ \par\nobreak}
+ \vskip 20\p@
+ \fi
+ \interlinepenalty\@M
+ {\centering\Huge \bfseries ##1\par\nobreak}
+ \vskip 40\p@
+ }}
+ \def\@makeschapterhead##1{%
+ \vspace*{50\p@}%
+ {\parindent \z@ \raggedright
+ \normalfont
+ \interlinepenalty\@M
+ {\centering\Huge \bfseries ##1\par\nobreak}
+ \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{}
\def\maketitle{
+\if@centeredchapter
+\thesisekf@centeredchapter
+\let\oldselectlanguage\selectlanguage
+\def\selectlanguage##1{\oldselectlanguage{##1}\thesisekf@centeredchapter}
+\fi
\thispagestyle{empty}
\begin{large}
\centering
@@ -88,6 +122,7 @@ pdfstartview=FitH,bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
\newif\if@logono
\newif\if@logoup
\newif\if@logodown
+\newif\if@centeredchapter
\DeclareOption{nocolorlinks}{\hypersetup{colorlinks=false}}
\DeclareOption{colorlinks}{\hypersetup{colorlinks}}
@@ -96,6 +131,7 @@ pdfstartview=FitH,bookmarksnumbered,pdfborder={0 0 0}]{hyperref}
\DeclareOption{logono}{\@logonotrue\@logoupfalse\@logodownfalse}
\DeclareOption{logoup}{\@logonofalse\@logouptrue\@logodownfalse}
\DeclareOption{logodown}{\@logonofalse\@logoupfalse\@logodowntrue}
+\DeclareOption{centeredchapter}{\@centeredchaptertrue}
\ExecuteOptions{nocolorlinks,oneside,logoup}
\ProcessOptions
\endinput