Adaptation to h_da style.

pull/3/head
Michael Bredel 7 years ago
parent d5e84f80c9
commit a03cfbbf2a
  1. 38
      classicthesis-config.tex
  2. 3
      classicthesis.sty
  3. 69
      frontbackmatter/Titlepage.tex
  4. 1016
      gfx/logo_h-da_rot.eps
  5. 47
      hdathesis-config.tex
  6. 139
      hdathesis.sty
  7. 12
      thesis.tex

@ -25,9 +25,9 @@
% (see ClassicThesis.pdf for more information):
% ****************************************************************************************************
\PassOptionsToPackage{
drafting=true, % print version information on the bottom of the pages
drafting=false, % print version information on the bottom of the pages
tocaligned=false, % the left column of the toc will be aligned (no indentation)
dottedtoc=false, % page numbers in ToC flushed right
dottedtoc=true, % page numbers in ToC flushed right
parts=true, % use part division
eulerchapternumbers=true, % use AMS Euler for chapter font (otherwise Palatino)
linedheaders=false, % chaper headers will have line above and beneath
@ -43,19 +43,19 @@
% ****************************************************************************************************
% 2. Personal data and user ad-hoc commands
% ****************************************************************************************************
\newcommand{\myTitle}{A Classic Thesis Style\xspace}
\newcommand{\mySubtitle}{An Homage to The Elements of Typographic Style\xspace}
\newcommand{\myDegree}{Doktor-Ingenieur (Dr.-Ing.)\xspace}
\newcommand{\myName}{André Miede\xspace}
\newcommand{\myProf}{Put name here\xspace}
\newcommand{\myOtherProf}{Put name here\xspace}
\newcommand{\mySupervisor}{Put name here\xspace}
\newcommand{\myFaculty}{Put data here\xspace}
\newcommand{\myDepartment}{Put data here\xspace}
\newcommand{\myUni}{Put data here\xspace}
\newcommand{\myLocation}{Saarbrücken\xspace}
\newcommand{\myTime}{October 2017\xspace}
\newcommand{\myVersion}{version 4.4}
%\newcommand{\myTitle}{A Classic Thesis Style\xspace}
%\newcommand{\mySubtitle}{An Homage to The Elements of Typographic Style\xspace}
%\newcommand{\myDegree}{Doktor-Ingenieur (Dr.-Ing.)\xspace}
%\newcommand{\myName}{André Miede\xspace}
%\newcommand{\myProf}{Put name here\xspace}
%\newcommand{\myOtherProf}{Put name here\xspace}
%\newcommand{\mySupervisor}{Put name here\xspace}
%\newcommand{\myFaculty}{Put data here\xspace}
%\newcommand{\myDepartment}{Put data here\xspace}
%\newcommand{\myUni}{Put data here\xspace}
%\newcommand{\myLocation}{Saarbrücken\xspace}
%\newcommand{\myTime}{October 2017\xspace}
%\newcommand{\myVersion}{version 4.4}
% ********************************************************************
% Setup, finetuning, and useful commands
@ -79,9 +79,10 @@
%\PassOptionsToPackage{ngerman,american}{babel} % change this to your language(s), main language last
% Spanish languages need extra options in order to work with this template
%\PassOptionsToPackage{spanish,es-lcroman}{babel}
\usepackage{babel}
\usepackage{babel}
\usepackage{csquotes}
\PassOptionsToPackage{%
%backend=biber,bibencoding=utf8, %instead of bibtex
backend=bibtex8,bibencoding=ascii,%
@ -94,11 +95,14 @@
%backref=true,%
natbib=true % natbib compatibility mode (\citep and \citet still work)
}{biblatex}
\usepackage{biblatex}
\usepackage{biblatex}
\PassOptionsToPackage{fleqn}{amsmath} % math environments and more by the AMS
\usepackage{amsmath}
\PassOptionsToPackage{doublespacing}{hdathesis} % options: abbrev exam big wiwi english master
\usepackage{hdathesis}
% ********************************************************************
% General useful packages
% ********************************************************************

@ -268,7 +268,8 @@
\setlength{\marginparsep}{2em}%
}{% Palatino or other
\PackageInfo{classicthesis}{A4 paper, Palatino or other}
\areaset[current]{336pt}{750pt} % ~ 336 * factor 2 + 33 head + 42 \the\footskip
\areaset[current]{370pt}{750pt} % ~ 336 * factor 2 + 33 head + 42 \the\footskip
% \areaset[current]{336pt}{750pt} % ~ 336 * factor 2 + 33 head + 42 \the\footskip
% \areaset{336pt}{761pt} % 686 (factor 2.2) + 33 head + 42 head \the\footskip 10pt
\setlength{\marginparwidth}{7em}%
\setlength{\marginparsep}{2em}%

@ -1,36 +1,63 @@
%*******************************************************
% Titlepage
%*******************************************************
%%%
%%% title page (german)
%%%
\thispagestyle{empty}
\pdfbookmark[0]{Titelblatt}{title}
\begin{titlepage}
% if you want the titlepage to be centered, uncomment and fine-tune the line below (KOMA classes environment)
\begin{addmargin}[-1cm]{-3cm}
\begin{center}
\large
\hfill
% If printed on two sides, center the title page
\condTWOSIDE{\changetext{}{19mm}{}{19mm}{}}
\vfill
\vspace{1cm}
\begin{center}
\includegraphics[width=7.7cm]{gfx/logo_h-da_rot} \\
\end{center}
\begingroup
\color{Maroon}\spacedallcaps{\myTitle} \\ \bigskip
\endgroup
\begin{center}
\vspace{0.1cm}
\huge \textbf{\myUni}\\
\vspace{0.4cm}
\LARGE -- \myFaculty --
\end{center}
\spacedlowsmallcaps{\myName}
\vfill
\vfill
\vfill
\begin{center}
\LARGE \textbf{\myTitle}
\end{center}
\includegraphics[width=6cm]{gfx/TFZsuperellipse_bw} \\ \medskip
\vfill
\vfill
\mySubtitle \\ \medskip
%\myDegree \\
%\myDepartment \\
%\myFaculty \\
%\myUni \\ \bigskip
\begin{center}
\Large Abschlussarbeit zur Erlangung des akademischen Grades\\
\vspace{0.3cm}
\Large \myDegree
\end{center}
\myTime\ -- \myVersion
\vfill
\vfill
\begin{center}
\Large vorgelegt von\\
\vspace{0.3cm}
\Large \textbf{\myName}
\end{center}
\vfill
\vfill
\begin{center}
\begin{tabular}{lll}
Referent & : & \myProf \\
Korreferent & : & \myOtherProf
\end{tabular}
\end{center}
% If printed on two sides, center the title page
\condTWOSIDE{\changetext{}{-19mm}{}{-19mm}{}}
\end{center}
\end{addmargin}
\end{titlepage}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,47 @@
% ****************************************************************************************************
% hdathesis-config.tex
% Use it at the beginning of your thesis.tex, or as a LaTeX Preamble
% in your thesis.{tex,lyx} with \input{hdathesis-config}
% ****************************************************************************************************
% ****************************************************************************************************
% 1. Personal data and user ad-hoc commands
% ****************************************************************************************************
\newcommand{\myTitle}{A Classic Thesis Style\xspace}
\newcommand{\mySubtitle}{An Homage to The Elements of Typographic Style\xspace}
\newcommand{\myDegree}{Bachelor of Science (B.Sc)\xspace}
%\newcommand{\myDegree}{Bachelor of Arts (B.A.)\xspace}
%\newcommand{\myDegree}{Master of Science (M.Sc)\xspace}
%\newcommand{\myDegree}{Master of Arts (M.A.)\xspace}
\newcommand{\myName}{Andr\'e Miede\xspace}
\newcommand{\myId}{Matrikelnummer\xspace}
\newcommand{\myProf}{Prof. Dr.-Ing. Michael Bredel\xspace}
\newcommand{\myOtherProf}{Prof. Dr. Martin Stiemerling\xspace}
\newcommand{\myFaculty}{Fachbereich Informatik\xspace}
\newcommand{\myUni}{Hochschule Darmstadt\xspace}
\newcommand{\myLocation}{Darmstadt\xspace}
\newcommand{\myTime}{20. Feburar 2015\xspace}
\newcommand{\myVersion}{version 4.4\xspace}
% ****************************************************************************************************
% 2. Is it a master thesis?
% ****************************************************************************************************
%\PassOptionsToPackage{master}{hdahesis} % uncomment if this is a master thesis
% ****************************************************************************************************
% 3. Does the thesis have a lock flag?
% ****************************************************************************************************
\PassOptionsToPackage{lockflag}{hdathesis} % uncomment if this thesis has a lock flag
% ****************************************************************************************************
% 4. Loading some handy packages
% ****************************************************************************************************
% ********************************************************************
% Packages with options that might require adjustments
% ********************************************************************
%\PassOptionsToPackage{ngerman,american}{babel} % change this to your language(s)
% Spanish languages need extra options in order to work with this template
%\PassOptionsToPackage{spanish,es-lcroman}{babel}
\usepackage{babel}

@ -0,0 +1,139 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hdahesis}[2015/01/22 v0.2 Typographic Style for an h_da thesis]
\RequirePackage{ifthen}
\newboolean{@exam} % exam-version includes exam-questions - default is "false"
\newboolean{@big} % short version does not include paper-appendix - default ist "true"
\newboolean{@abbrev} % automaticaly generate acronyms
\newboolean{@index} % automaticaly generate index
\newboolean{@english} % use englich version
\newboolean{@wiwi} % use special version for Wirtschaftsingenieure
\newboolean{@doublespacing} % use 1.5 times line spacing
\newboolean{@lockflag} % thesis has a lock flag
\newboolean{@master} % a master thesis
\newboolean{@bacholor} % a bachelor thesis - not used!
%*******************************************************************************
% Options
%*******************************************************************************
\DeclareOption{exam}{\setboolean{@exam}{true}}
\DeclareOption{big}{\setboolean{@big}{true}}
\DeclareOption{abbrev}{\setboolean{@abbrev}{true}}
\DeclareOption{index}{\setboolean{@index}{true}}
\DeclareOption{english}{\setboolean{@english}{true}}
\DeclareOption{wiwi}{\setboolean{@wiwi}{true}}
\DeclareOption{doublespacing}{\setboolean{@doublespacing}{true}}
\DeclareOption{lockflag}{\setboolean{@lockflag}{true}}
\DeclareOption{master}{\setboolean{@master}{true}}
\DeclareOption{bachelor}{\setboolean{@bachelor}{false}}
\ProcessOptions\relax
%*******************************************************************************
% Commands for EXAM, BIG, ABREV, INDEX, ENGLISH WIWI and DOUBLESPACING options
%*******************************************************************************
\newcommand{\condBIG}[1]{\ifthenelse{\boolean{@big}}{#1}{}}
\newcommand{\condEXAM}[1]{\ifthenelse{\boolean{@exam}}{#1}{}}
\newcommand{\condWIWI}[2]{\ifthenelse{\boolean{@wiwi}}{#1}{#2}}
\newcommand{\condENGLISH}[1]{\ifthenelse{\boolean{@english}}{#1}{}}
\newcommand{\condDOUBLESPACING}[1]{\ifthenelse{\boolean{@doublespacing}}{#1}{}}
\newcommand{\condTWOSIDE}[1]{\ifthenelse{\boolean{@twoside}}{#1}{}}
\newcommand{\condLOCK}[1]{\ifthenelse{\boolean{@lockflag}}{#1}{}}
\newcommand{\condMASTER}[1]{\ifthenelse{\boolean{@master}}{#1}{}}
\newcommand{\condBACHELOR}[1]{\ifthenelse{\boolean{@bachelor}}{#1}{}}
%*******************************************************************************
% Theorems, Lemmas, Corollaries, and Proofs
%*******************************************************************************
\RequirePackage{amsmath}
\RequirePackage{amssymb}
\RequirePackage{theorem}
\theoremstyle{plain} {
\newtheorem{Theorem}{Theorem}
\newtheorem{Proposition}{Proposition}
\newtheorem{Lemma}{Lemma}
\newtheorem{Corollary}{Corollary}
}
\theoremstyle{plain} {{\theorembodyfont{\normalfont}
\newtheorem{Definition}{Definition}}
\newcommand{\qed}{\hfill \mbox{\raggedright \rule{.07in}{.1in}}}
\newenvironment{proof}{\vspace{1ex}\noindent{\bf Proof}\hspace{0.5em}}
{\hfill\qed\vspace{2ex}}
%*******************************************************************************
% Double spacing between lines
%*******************************************************************************
\ifthenelse{\boolean{@doublespacing}}{%
\RequirePackage[]{setspace}
}
{\relax}
%*******************************************************************************
% Acronyms - TODO: english version
%*******************************************************************************
\ifthenelse{\boolean{@abbrev}}%
{%
\RequirePackage[intoc]{nomencl}
\let\abbrev\nomenclature
\renewcommand{\nomname}{Abkürzungsverzeichnis}
\setlength{\nomlabelwidth}{.25\hsize}
\renewcommand{\nomlabel}[1]{#1 \dotfill}
\setlength{\nomitemsep}{-\parsep}
}%
{%
\relax
}%
%*******************************************************************************
% Tabularx - Spalten
%*******************************************************************************
\RequirePackage{tabularx}
\newcolumntype{Y}{>{\centering\arraybackslash}X} % zentrierte Spalten mit optimaler Breite
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}} % zentrierte Spalten mit Breitenangabe
\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}} % rechtsbündig mit Breitenangabe
%*******************************************************************************
% Indices
%*******************************************************************************
\ifthenelse{\boolean{@index}}{%
\RequirePackage{makeidx}%
\newcommand{\Index}[1]{#1\index{#1}}}
{\relax}
%*******************************************************************************
% Colors
%*******************************************************************************
\RequirePackage{color}
\definecolor{shadecolor}{rgb}{1,1,.8}
\definecolor{framecolor}{rgb}{.1,.1,.1}
%*******************************************************************************
% Fancy, colored frames
%*******************************************************************************
\RequirePackage{color}
\RequirePackage{framed}
% general colored frame environment
\newenvironment{fshaded}{%
\def\FrameCommand{\fcolorbox{framecolor}{shadecolor}}%
\MakeFramed {\advance\hsize-\width \FrameRestore}}%
{\endMakeFramed}
% new colored itemize environment
\newenvironment{fitemize}{%
\definecolor{shadecolor}{rgb}{1,1,.8}%
\definecolor{framecolor}{rgb}{.1,.1,.1}%
\begin{fshaded}\vspace{2mm}\begin{minipage}{0.9\textwidth}\begin{itemize}}%
{\end{itemize}\end{minipage}\vspace{2mm}\end{fshaded}}
% new colored assignment environment
\newenvironment{fassignment}{%
\definecolor{shadecolor}{rgb}{1,1,.8}%
\definecolor{framecolor}{rgb}{.1,.1,.1}%
\graffito{\vspace{4.0mm}\newline\includegraphics[width=15mm]{gfx/baustelle}}%
\begin{fshaded}\vspace{2mm}\begin{minipage}{0.9\textwidth}}%
{\end{minipage}\vspace{2mm}\end{fshaded}}
%*******************************************************
% Add additional packages
%*******************************************************
\RequirePackage{pdfpages}
\RequirePackage{chngpage}

@ -41,6 +41,7 @@
%********************************************************************
% Note: Make all your adjustments in here
%*******************************************************
\input{hdathesis-config}
\input{classicthesis-config}
%********************************************************************
@ -68,10 +69,9 @@
%********************************************************************
% Frontmatter
%*******************************************************
\include{frontbackmatter/DirtyTitlepage}
\include{frontbackmatter/Titlepage}
\include{frontbackmatter/Titleback}
\cleardoublepage\include{frontbackmatter/Dedication}
%\cleardoublepage\include{frontbackmatter/Dedication}
%\cleardoublepage\include{frontbackmatter/Foreword}
\cleardoublepage\include{frontbackmatter/Abstract}
\cleardoublepage\include{frontbackmatter/Publications}
@ -87,7 +87,7 @@
% use \cleardoublepage here to avoid problems with pdfbookmark
\cleardoublepage
\part{Some Kind of Manual}\label{pt:manual}
\include{Chapters/Chapter01}
\include{chapters/Chapter01}
\cleardoublepage
\ctparttext{You can put some informational part preamble text here.
Illo principalmente su nos. Non message \emph{occidental} angloromanic
@ -96,9 +96,9 @@ se avantiate publicationes via. Pan in terra summarios, capital
interlingua se que. Al via multo esser specimen, campo responder que
da. Le usate medical addresses pro, europa origine sanctificate nos se.}
\part{The Showcase}\label{pt:showcase}
\include{Chapters/Chapter02}
\include{chapters/Chapter02}
%\addtocontents{toc}{\protect\clearpage} % <--- just debug stuff, ignore
\include{Chapters/Chapter03}
\include{chapters/Chapter03}
%\include{multiToC} % <--- just debug stuff, ignore for your documents
% ********************************************************************
% Backmatter
@ -107,7 +107,7 @@ da. Le usate medical addresses pro, europa origine sanctificate nos se.}
%\renewcommand{\thechapter}{\alph{chapter}}
\cleardoublepage
\part{Appendix}
\include{Chapters/Chapter0A}
\include{chapters/Chapter0A}
%********************************************************************
% Other Stuff in the Back
%*******************************************************

Loading…
Cancel
Save