summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/elteikthesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-18 22:38:57 +0000
committerKarl Berry <karl@freefriends.org>2010-09-18 22:38:57 +0000
commit6460d838a5e4b5e02296cd38cf775ae0e3732596 (patch)
tree78a6ec22ea1b8a0f5cb0e84334e7cabf2c2ad2a5 /Master/texmf-dist/tex/latex/elteikthesis
parent6855fd75c3f3f6a15bb3dc2ed6e90132806fbae4 (diff)
new latex package elteikthesis (19sep10)
git-svn-id: svn://tug.org/texlive/trunk@19800 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/elteikthesis')
-rw-r--r--Master/texmf-dist/tex/latex/elteikthesis/elteikthesis.cls107
1 files changed, 107 insertions, 0 deletions
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'.