summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/imtekda
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-03 23:04:25 +0000
committerKarl Berry <karl@freefriends.org>2010-04-03 23:04:25 +0000
commit4ca6e289a7da2f6e65dcc4591bab0800af7f6891 (patch)
treea8a3e2703aff771a16dcae78043f8f7f834d86b0 /Master/texmf-dist/tex/latex/imtekda
parent07bda21f1609b11f25c05e642182229aaf2edb51 (diff)
imtekda update (2apr10)
git-svn-id: svn://tug.org/texlive/trunk@17667 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/imtekda')
-rw-r--r--Master/texmf-dist/tex/latex/imtekda/IMTEKda.cls41
1 files changed, 32 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/imtekda/IMTEKda.cls b/Master/texmf-dist/tex/latex/imtekda/IMTEKda.cls
index 7bd15de9588..c882ce539ea 100644
--- a/Master/texmf-dist/tex/latex/imtekda/IMTEKda.cls
+++ b/Master/texmf-dist/tex/latex/imtekda/IMTEKda.cls
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2005-09 by Simon Dreher
+%% Copyright (C) 2005-10 by Simon Dreher
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -26,7 +26,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesClass{IMTEKda}
- [2009/01/28 v1.6a IMTEK-Diplomarbeitsvorlage]
+ [2010/01/01 v1.7 IMTEK-Diplomarbeitsvorlage]
\newif\if@nomtotoc\@nomtotocfalse
\newif\if@englishpreamble\@englishpreambletrue
\newif\if@preamblelangdef\@preamblelangdeffalse
@@ -51,6 +51,9 @@
{\@diplomfalse\@bachelortrue\@masterfalse\h@snothesistypefalse}
\DeclareOption{master}%
{\@diplomfalse\@bachelorfalse\@mastertrue\h@snothesistypefalse}
+\newif\if@oldcd\@oldcdfalse
+\DeclareOption{oldcd}%
+ {\@oldcdtrue}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrbook}}
\ProcessOptions\relax
\ifh@snothesistype
@@ -62,6 +65,7 @@
\LoadClass[a4paper,pagesize]{scrbook}
\AtBeginDocument{\RequirePackage{graphicx}}
\RequirePackage{calc}
+\RequirePackage[absolute]{textpos}
\def\nomname{Nomenclature}
\AfterPackage*{babel}{
\iflanguage{german}{\@englishpreamblefalse}%
@@ -130,6 +134,9 @@
\newcommand{\RLogo}{\parbox[b][2.2cm]{0.3\textwidth}{%
\texttt{figures/Uni\_Siegel.*}
von \texttt{http://intern.imtek.de} downloaden}}
+\newcommand{\BLogo}{\parbox[b][2.2cm]{7.5cm}{%
+ \texttt{figures/Uni\_Logo\_E2\_A4\_CMYK.*}
+ von \texttt{http://www.uni-freiburg.de/go/cd} downloaden}}
\newcommand{\l@g@error}{%
\ClassError{IMTEKda}{Logo file(s) not found}
{One or more of the files\MessageBreak
@@ -137,6 +144,8 @@
\space\space\space\space figures/IMTEK_Logo_Farbe.pdf \MessageBreak
\space\space\space\space figures/Uni_Siegel.eps \MessageBreak
\space\space\space\space figures/Uni_Siegel.pdf \MessageBreak
+ \space\space\space\space figures/Uni_Logo_E2_A4_CMYK.eps \MessageBreak
+ \space\space\space\space figures/Uni_Logo_E2_A4_CMYK.pdf \MessageBreak
are not installed properly. \MessageBreak
Install this subdirectory with the logo files \MessageBreak
together with the class file, see README.\MessageBreak
@@ -148,12 +157,23 @@
{\includegraphics[height=2.2cm]{figures/IMTEK_Logo_Farbe}}}%
{\l@g@error}%
}{\l@g@error}
-\IfFileExists{figures/Uni_Siegel.eps}%
- {\IfFileExists{figures/Uni_Siegel.pdf}%
- {\renewcommand{\RLogo}%
- {\includegraphics[height=2.2cm]{figures/Uni_Siegel}}}%
- {\l@g@error}%
- }{\l@g@error}
+\if@oldcd
+ \IfFileExists{figures/Uni_Siegel.eps}%
+ {\IfFileExists{figures/Uni_Siegel.pdf}%
+ {\renewcommand{\RLogo}%
+ {\includegraphics[height=2.2cm]{figures/Uni_Siegel}}}%
+ {\l@g@error}%
+ }{\l@g@error}
+ \renewcommand{\BLogo}{\null}%
+\else
+ \IfFileExists{figures/Uni_Logo_E2_A4_CMYK.eps}%
+ {\IfFileExists{figures/Uni_Logo_E2_A4_CMYK.pdf}%
+ {\renewcommand{\BLogo}%
+ {\includegraphics{figures/Uni_Logo_E2_A4_CMYK}}}%
+ {\l@g@error}%
+ }{\l@g@error}
+ \renewcommand{\RLogo}{\null}%
+\fi
\titlehead{\LLogo\hfill\RLogo}
\def\s@bject{%
\if@diplom\if@englishpreamble{Diploma Thesis}\else{Diplomarbeit}\fi%
@@ -165,7 +185,10 @@
\fi}
\subject{\titlefont{\s@bject}}
\date{}
- \renewcommand*\maketitle[1][1]{\begin{titlepage}%
+ \renewcommand*\maketitle[1][1]{\begin{titlepage}%
+ \begin{textblock*}{0pt}[0,1](\paperwidth-17pt, \paperheight-36pt)
+ \llap{\BLogo}
+ \end{textblock*}
\enlargethispage{2cm}
\setcounter{page}{#1}
\let\footnotesize\small