From e449ed64f8022dfbeb65586ca6c6caf5ac794a2a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 19 Apr 2015 22:33:46 +0000 Subject: thesis-ekf (19apr15) git-svn-id: svn://tug.org/texlive/trunk@36950 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/thesis-ekf/images/ekf-logo1.png | Bin 0 -> 56204 bytes .../tex/latex/thesis-ekf/images/ekf-logo2.pdf | Bin 0 -> 1434115 bytes .../tex/latex/thesis-ekf/images/ekf-logo3.pdf | Bin 0 -> 260127 bytes .../tex/latex/thesis-ekf/images/ekf-logo4.pdf | Bin 0 -> 1442654 bytes .../tex/latex/thesis-ekf/images/ekf-logo5.pdf | Bin 0 -> 258214 bytes .../texmf-dist/tex/latex/thesis-ekf/thesis-ekf.cls | 46 ++++++++++++++++++--- 6 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo1.png create mode 100644 Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo2.pdf create mode 100644 Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo3.pdf create mode 100644 Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo4.pdf create mode 100644 Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo5.pdf (limited to 'Master/texmf-dist/tex/latex/thesis-ekf') 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 Binary files /dev/null and b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo1.png 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 Binary files /dev/null and b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo2.pdf 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 Binary files /dev/null and b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo3.pdf 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 Binary files /dev/null and b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo4.pdf 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 Binary files /dev/null and b/Master/texmf-dist/tex/latex/thesis-ekf/images/ekf-logo5.pdf 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 -- cgit v1.2.3