From 6460d838a5e4b5e02296cd38cf775ae0e3732596 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 18 Sep 2010 22:38:57 +0000 Subject: new latex package elteikthesis (19sep10) git-svn-id: svn://tug.org/texlive/trunk@19800 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/elteikthesis/elteikthesis.cls | 107 +++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/elteikthesis/elteikthesis.cls (limited to 'Master/texmf-dist/tex/latex/elteikthesis') diff --git a/Master/texmf-dist/tex/latex/elteikthesis/elteikthesis.cls b/Master/texmf-dist/tex/latex/elteikthesis/elteikthesis.cls new file mode 100644 index 00000000000..aa2f5eb557e --- /dev/null +++ b/Master/texmf-dist/tex/latex/elteikthesis/elteikthesis.cls @@ -0,0 +1,107 @@ +%% +%% This is file `elteikthesis.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ./elteikthesis.dtx (with options: `class') +%% This is a generated file. +%% Copyright (C) 2010 Majoros Daniel +%% 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 +%% version. The latest version of this license is in: +%% +%% 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. +%% + +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesClass{elteikthesis}[2010/09/18 v1.0 class for ELTE/IK thesis] +\LoadClass[a4paper,12pt,oneside]{book} +\RequirePackage{graphicx} +\frenchspacing +\RequirePackage[left=3.5cm, top=2.5cm, right=2.5cm, bottom=2.5cm]{geometry} +\RequirePackage[onehalfspacing]{setspace} +\newcommand{\ths@period}{} +\DeclareRobustCommand{\period}[1]{ +\renewcommand{\ths@period}{#1} +} +\newcommand{\ths@supervisor}{} +\DeclareRobustCommand{\supervisor}[1]{ +\renewcommand{\ths@supervisor}{#1} +} +\newcommand{\ths@supervisorstitle}{} +\DeclareRobustCommand{\supervisorstitle}[1]{ +\renewcommand{\ths@supervisorstitle}{#1} +} +\newcommand{\ths@city}{Budapest} +\DeclareRobustCommand{\city}[1]{ +\renewcommand{\ths@city}{#1} +} +\newcommand{\ths@thesisyear}{} +\DeclareRobustCommand{\thesisyear}[1]{ +\renewcommand{\ths@thesisyear}{#1} +} +\newcommand{\ths@university}{E\"otv\"os L\'or\'and Tudom\'anyegyetem} +\DeclareRobustCommand{\university}[1]{ +\renewcommand{\ths@university}{#1} +} +\newcommand{\ths@wing}{Informatikai Kar} +\DeclareRobustCommand{\wing}[1]{ +\renewcommand{\ths@wing}{#1} +} +\newcommand{\ths@department}{} +\DeclareRobustCommand{\department}[1]{ +\renewcommand{\ths@department}{#1} +} +\newcommand{\ths@logopic}{pics/eltecimerszines} +\DeclareRobustCommand{\logopic}[1]{ +\renewcommand{\ths@logopic}{#1} +} + +\DeclareRobustCommand{\temavezeto}[1]{\supervisor{#1}} +\DeclareRobustCommand{\temavezetocime}[1]{\supervisorstitle{#1}} +\DeclareRobustCommand{\egyetem}[1]{\university{#1}} +\DeclareRobustCommand{\kar}[1]{\wing{#1}} +\DeclareRobustCommand{\tanszek}[1]{\department{#1}} +\DeclareRobustCommand{\evszam}[1]{\thesisyear{#1}} +\DeclareRobustCommand{\varos}[1]{\city{#1}} +\DeclareRobustCommand{\szak}[1]{\period{#1}} +\renewcommand{\maketitle}{ +\begin{titlepage} +\vspace*{0cm} +\centering +\begin{tabular}{cp{2cm}c} +\begin{minipage}{4cm} +\vspace{0pt} +\includegraphics[width=1\textwidth]{\ths@logopic} +\end{minipage} & & +\begin{minipage}{7cm} +\vspace{0pt}\ths@university \vspace{10pt} +\newline \ths@wing \vspace{10pt} +\newline \ths@department +\end{minipage} +\end{tabular} + +\vspace*{0.2cm} +\rule{\textwidth}{1pt} + +\vspace*{6cm} +{\Huge \@title} + +\vspace*{5cm} +\begin{tabular}{lp{3cm}l} +\ths@supervisor & & \@author \\ +\ths@supervisorstitle & & \ths@period +\end{tabular} + +\vfill +\ths@city, \ths@thesisyear +\end{titlepage} +} +\endinput +%% +%% End of file `elteikthesis.cls'. -- cgit v1.2.3