diff --git a/README b/README new file mode 100644 index 0000000..e69de29 diff --git a/bibliography.bib b/bibliography.bib new file mode 100644 index 0000000..f812295 --- /dev/null +++ b/bibliography.bib @@ -0,0 +1,204 @@ +% Encoding: windows-1252 + +@Book{bentley:1999, + title = {{P}rogramming {P}earls}, + publisher = {Ad\-dison--Wesley}, + year = {1999}, + author = {Jon Bentley}, + address = {Boston, MA, USA}, + edition = {2}, +} + +@BOOK{bringhurst:2002, + title = {{T}he {E}lements of {T}ypographic {S}tyle}, + publisher = {Hartley \& Marks Publishers}, + year = {2013}, + author = {Robert Bringhurst}, + series = {Version 4.0: 20th Anniversary Edition}, + address = {Point Roberts, WA, USA} +} + +@BOOK{cormen:2001, + title = {{I}ntroduction to {A}lgorithms}, + publisher = {The MIT Press}, + year = {2009}, + author = {Cormen, Thomas H. and Leiserson, Charles E. and Rivest, Ronald L. + and Clifford Stein}, + address = {Cambridge, MA, USA}, + edition = 3 +} + +@BOOK{dueck:trio, + title = {{D}ueck's {T}rilogie 2.1: {O}mnisophie -- {S}upramanie -- {T}opothesie}, + publisher = {Springer}, + address = {Berlin, Germany}, + year = {2013}, + author = {Gunter Dueck} +} + +@ARTICLE{knuth:1976, + author = {Knuth, Donald E.}, + title = {{B}ig {O}micron and {B}ig {O}mega and {B}ig {T}heta}, + journal = {SIGACT News}, + year = {1976}, + volume = {8}, + pages = {18--24}, + number = {2}, + address = {New York, NY, USA}, + publisher = {ACM Press} +} + +@ARTICLE{knuth:1974, + author = {Knuth, Donald E.}, + title = {{C}omputer {P}rogramming as an {A}rt}, + journal = {Communications of the ACM}, + year = {1974}, + volume = {17}, + pages = {667--673}, + number = {12}, + address = {New York, NY, USA}, + publisher = {ACM Press} +} + +@BOOK{sommerville:1992, + title = {{S}oftware {E}ngineering}, + publisher = {Addison-Wesley}, + year = {2015}, + author = {Ian Sommerville}, + address = {Boston, MA, USA}, + edition = 10 +} + +@Book{taleb:2012, + title = {{A}ntifragile: {T}hings {T}hat {G}ain from {D}isorder}, + publisher = {Random House}, + year = {2012}, + author = {Taleb, Nassim Nicholas}, + address = {New York, NY, USA}, +} + +@Book{taleb:2010, + title = {The Black Swan: The Impact of the Highly Improbable}, + publisher = {Random House}, + year = {2010}, + author = {Taleb, Nassim Nicholas}, + address = {New York, NY, USA} + } + + +@BOOK{ferriss:2016, +title={Tools of Titans: The Tactics, Routines, and Habits of Billionaires, Icons, and World-Class Performers}, +author={Timothy Ferriss}, +publisher={Houghton Mifflin Harcourt}, +year={2016}, +address = {Boston, MA, USA}, +} + +@Book{adams:1996, + author = {Adams, Scott}, + title = {The Dilbert Principle}, + publisher = {Harper Business}, + year = {1996}, + address = {New York, NY, USA} + } + +@Book{adams:2013, + author = {Adams, Scott}, + title = {How to Fail at Almost Everything and Still Win Big: Kind of the Story of My Life}, + publisher = {Portfolio Penguin}, + year = {2013}, + address = {London, United Kingdom}, + } + +@Book{aurelius:2002, + author = {Aurelius, Marcus}, + title = {Meditations (A New Translation)}, + publisher = {Modern Library}, + year = {2002}, + address = {New York, NY, USA}, + } + +@Book{cialdini:1984, + author = {Cialdini, Robert B.}, + title = {Influence: The Psychology of Persuasion}, + publisher = {Harper Business}, + year = {1984}, + address = {New York, NY, USA} + } + +@Book{feynman:1985, + title = {{S}urely {Y}ou're {J}oking, {M}r. {F}eynman: {A}dventures of a {C}urious {C}haracter}, + publisher = {W. W. Norton}, + year = {1985}, + author = {Feynman, Richard P.}, + address = {New York, NY, USA}, +} + +@Book{greenwald:2014, + title = {{N}o {P}lace to {H}ide: {E}dward {S}nowden, the {NSA}, and the {S}urveillance {S}tate}, + publisher = {Metropolitan Books}, + year = {2014}, + author = {Greenwald, Glenn}, + address = {New York, NY, USA}, +} + +@Book{orwell:1949, + author = {Orwell, George}, + title = {Nineteen Eighty-Four}, + publisher = {Secker \& Warburg}, + year = {1949}, + address = {London, United Kingdom} + } + +@Book{pausch:2008, + title = {The Last Lecture}, + publisher = {Hodder \& Stoughton}, + year = {2008}, + author = {Pausch, Randy}, + editor = {Zaslow, Jeffrey}, + address = {London, United Kingdom}, +} + +@Book{seneca, + author = {Seneca, Lucius}, + title = {Letters from a Stoic: Epistulae Morales ad Lucilium}, + publisher = {Penguin}, + year = {1969}, + address = {Harmondsworth, United Kingdom} + } + +@Book{trump:1987, + author = {Trump, Donald J. and Schwartz, Tony}, + title = {Trump: The Art of the Deal}, + publisher = {Random House}, + year = {1987}, + address = {New York, NY, USA} + } + + @Book{frankl:1959, + author = {Frankl, Viktor E.}, + title = {Man's Search for Meaning}, + publisher = {Beacon Press}, + year = {1959}, + address = {Boston, MA, USA} + } + +@Book{munger:2008, + title = {Poor Charlie's Almanack: The Wit and Wisdom of Charles T. Munger}, + publisher = {Donning Company}, + year = {2008}, + author = {Munger, Charles T.}, + editor = {Kaufman, Peter D.}, + address = {Virginia Beach, VA, USA}, + edition = {3}, +} + + @Book{postman:2005, + author = {Postman, Neil}, + title = {Amusing Ourselves to Death: Public Discourse in the Age of Show Business (20th Anniversary Edition)}, + publisher = {Penguin Books}, + year = {2005}, + address = {New York, NY, USA} + } + +@Comment{jabref-meta: databaseType:bibtex;} diff --git a/classicthesis-config.tex b/classicthesis-config.tex new file mode 100644 index 0000000..56e42ca --- /dev/null +++ b/classicthesis-config.tex @@ -0,0 +1,295 @@ +% **************************************************************************************************** +% classicthesis-config.tex +% formerly known as loadpackages.sty, classicthesis-ldpkg.sty, and classicthesis-preamble.sty +% Use it at the beginning of your ClassicThesis.tex, or as a LaTeX Preamble +% in your ClassicThesis.{tex,lyx} with \input{classicthesis-config} +% **************************************************************************************************** +% If you like the classicthesis, then I would appreciate a postcard. +% My address can be found in the file ClassicThesis.pdf. A collection +% of the postcards I received so far is available online at +% http://postcards.miede.de +% **************************************************************************************************** + + +% **************************************************************************************************** +% 0. Set the encoding of your files. UTF-8 is the only sensible encoding nowadays. If you can't read +% äöüßáéçèê∂åëæƒÏ€ then change the encoding setting in your editor, not the line below. If your editor +% does not support utf8 use another editor! +% **************************************************************************************************** +\PassOptionsToPackage{utf8}{inputenc} + \usepackage{inputenc} + +% **************************************************************************************************** +% 1. Configure classicthesis for your needs here, e.g., remove "drafting" below +% in order to deactivate the time-stamp on the pages +% (see ClassicThesis.pdf for more information): +% **************************************************************************************************** +\PassOptionsToPackage{ + drafting=true, % 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 + 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 + floatperchapter=true, % numbering per chapter for all floats (i.e., Figure 1.1) + listings=true, % load listings package and setup LoL + subfig=true, % setup for preloaded subfig package + eulermath=false, % use awesome Euler fonts for mathematical formulae (only with pdfLaTeX) + beramono=true, % toggle a nice monospaced font (w/ bold) + minionpro=false % setup for minion pro font; use minion pro small caps as well (only with pdfLaTeX) +}{classicthesis} + + +% **************************************************************************************************** +% 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} + +% ******************************************************************** +% Setup, finetuning, and useful commands +% ******************************************************************** +\newcounter{dummy} % necessary for correct hyperlinks (to index, bib, etc.) +\newlength{\abcd} % for ab..z string length calculation +\providecommand{\mLyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} +\newcommand{\ie}{i.\,e.} +\newcommand{\Ie}{I.\,e.} +\newcommand{\eg}{e.\,g.} +\newcommand{\Eg}{E.\,g.} +% **************************************************************************************************** + + +% **************************************************************************************************** +% 3. Loading some handy packages +% **************************************************************************************************** +% ******************************************************************** +% Packages with options that might require adjustments +% ******************************************************************** +%\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{csquotes} +\PassOptionsToPackage{% + %backend=biber,bibencoding=utf8, %instead of bibtex + backend=bibtex8,bibencoding=ascii,% + language=auto,% + style=numeric-comp,% + %style=authoryear-comp, % Author 1999, 2010 + %bibstyle=authoryear,dashed=false, % dashed: substitute rep. author with --- + sorting=nyt, % name, year, title + maxbibnames=10, % default: 3, et al. + %backref=true,% + natbib=true % natbib compatibility mode (\citep and \citet still work) +}{biblatex} + \usepackage{biblatex} + +\PassOptionsToPackage{fleqn}{amsmath} % math environments and more by the AMS + \usepackage{amsmath} + +% ******************************************************************** +% General useful packages +% ******************************************************************** +\PassOptionsToPackage{T1}{fontenc} % T2A for cyrillics + \usepackage{fontenc} +\usepackage{textcomp} % fix warning with missing font shapes +\usepackage{scrhack} % fix warnings when using KOMA with listings package +\usepackage{xspace} % to get the spacing after macros right +\usepackage{mparhack} % get marginpar right +%\usepackage{fixltx2e} % fixes some LaTeX stuff --> since 2015 in the LaTeX kernel (see below) +% \usepackage[latest]{latexrelease} % emulate newer kernel version if older is detected +\PassOptionsToPackage{printonlyused,smaller}{acronym} + \usepackage{acronym} % nice macros for handling all acronyms in the thesis + %\renewcommand{\bflabel}[1]{{#1}\hfill} % fix the list of acronyms --> no longer working + %\renewcommand*{\acsfont}[1]{\textsc{#1}} + %\renewcommand*{\aclabelfont}[1]{\acsfont{#1}} + %\def\bflabel#1{{#1\hfill}} + \def\bflabel#1{{\acsfont{#1}\hfill}} + \def\aclabelfont#1{\acsfont{#1}} +% **************************************************************************************************** +%\usepackage{pgfplots} % External TikZ/PGF support (thanks to Andreas Nautsch) +%\usetikzlibrary{external} +%\tikzexternalize[mode=list and make, prefix=ext-tikz/] +% **************************************************************************************************** + + +% **************************************************************************************************** +% 4. Setup floats: tables, (sub)figures, and captions +% **************************************************************************************************** +\usepackage{tabularx} % better tables + \setlength{\extrarowheight}{3pt} % increase table row height +\newcommand{\tableheadline}[1]{\multicolumn{1}{c}{\spacedlowsmallcaps{#1}}} +\newcommand{\myfloatalign}{\centering} % to be used with each float for alignment +\usepackage{caption} +% Thanks to cgnieder and Claus Lahiri +% http://tex.stackexchange.com/questions/69349/spacedlowsmallcaps-in-caption-label +% [REMOVED DUE TO OTHER PROBLEMS, SEE ISSUE #82] +%\DeclareCaptionLabelFormat{smallcaps}{\bothIfFirst{#1}{~}\MakeTextLowercase{\textsc{#2}}} +%\captionsetup{font=small,labelformat=smallcaps} % format=hang, +\captionsetup{font=small} % format=hang, +\usepackage{subfig} +% **************************************************************************************************** + + +% **************************************************************************************************** +% 5. Setup code listings +% **************************************************************************************************** +\usepackage{listings} +%\lstset{emph={trueIndex,root},emphstyle=\color{BlueViolet}}%\underbar} % for special keywords +\lstset{language=[LaTeX]Tex,%C++, + morekeywords={PassOptionsToPackage,selectlanguage}, + keywordstyle=\color{RoyalBlue},%\bfseries, + basicstyle=\small\ttfamily, + %identifierstyle=\color{NavyBlue}, + commentstyle=\color{Green}\ttfamily, + stringstyle=\rmfamily, + numbers=none,%left,% + numberstyle=\scriptsize,%\tiny + stepnumber=5, + numbersep=8pt, + showstringspaces=false, + breaklines=true, + %frameround=ftff, + %frame=single, + belowcaptionskip=.75\baselineskip + %frame=L +} +% **************************************************************************************************** + + +% **************************************************************************************************** +% 6. PDFLaTeX, hyperreferences, and citation backreferences +% **************************************************************************************************** +% ******************************************************************** +% Using PDFLaTeX +% ******************************************************************** +\PassOptionsToPackage{hyperfootnotes=false,pdfpagelabels}{hyperref} + \usepackage{hyperref} % backref linktocpage pagebackref +%\ifpdf +%\pdfcompresslevel=9 +%\pdfadjustspacing=1 +%\fi +%\PassOptionsToPackage{pdftex}{graphicx} %%%IVO: driver will be chosen automatically + \usepackage{graphicx} + + +% ******************************************************************** +% Hyperreferences +% ******************************************************************** +\hypersetup{% + %draft, % hyperref's draft mode, for printing see below + colorlinks=true, linktocpage=true, pdfstartpage=3, pdfstartview=FitV,% + % uncomment the following line if you want to have black links (e.g., for printing) + %colorlinks=false, linktocpage=false, pdfstartpage=3, pdfstartview=FitV, pdfborder={0 0 0},% + breaklinks=true, pdfpagemode=UseNone, pageanchor=true, pdfpagemode=UseOutlines,% + plainpages=false, bookmarksnumbered, bookmarksopen=true, bookmarksopenlevel=1,% + hypertexnames=true, pdfhighlight=/O,%nesting=true,%frenchlinks,% + urlcolor=webbrown, linkcolor=RoyalBlue, citecolor=webgreen, %pagecolor=RoyalBlue,% + %urlcolor=Black, linkcolor=Black, citecolor=Black, %pagecolor=Black,% + pdftitle={\myTitle},% + pdfauthor={\textcopyright\ \myName, \myUni, \myFaculty},% + pdfsubject={},% + pdfkeywords={},% + pdfcreator={pdfLaTeX},% + pdfproducer={LaTeX with hyperref and classicthesis}% +} + +% ******************************************************************** +% Setup autoreferences +% ******************************************************************** +% There are some issues regarding autorefnames +% http://www.ureader.de/msg/136221647.aspx +% http://www.tex.ac.uk/cgi-bin/texfaq2html?label=latexwords +% you have to redefine the makros for the +% language you use, e.g., american, ngerman +% (as chosen when loading babel/AtBeginDocument) +% ******************************************************************** +\makeatletter +\@ifpackageloaded{babel}% + {% + \addto\extrasamerican{% + \renewcommand*{\figureautorefname}{Figure}% + \renewcommand*{\tableautorefname}{Table}% + \renewcommand*{\partautorefname}{Part}% + \renewcommand*{\chapterautorefname}{Chapter}% + \renewcommand*{\sectionautorefname}{Section}% + \renewcommand*{\subsectionautorefname}{Section}% + \renewcommand*{\subsubsectionautorefname}{Section}% + }% + \addto\extrasngerman{% + \renewcommand*{\paragraphautorefname}{Absatz}% + \renewcommand*{\subparagraphautorefname}{Unterabsatz}% + \renewcommand*{\footnoteautorefname}{Fu\"snote}% + \renewcommand*{\FancyVerbLineautorefname}{Zeile}% + \renewcommand*{\theoremautorefname}{Theorem}% + \renewcommand*{\appendixautorefname}{Anhang}% + \renewcommand*{\equationautorefname}{Gleichung}% + \renewcommand*{\itemautorefname}{Punkt}% + }% + % Fix to getting autorefs for subfigures right (thanks to Belinda Vogt for changing the definition) + \providecommand{\subfigureautorefname}{\figureautorefname}% + }{\relax} +\makeatother + + +% **************************************************************************************************** +% 7. Last calls before the bar closes +% **************************************************************************************************** +% ******************************************************************** +% Development Stuff +% ******************************************************************** +\listfiles +%\PassOptionsToPackage{l2tabu,orthodox,abort}{nag} +% \usepackage{nag} +%\PassOptionsToPackage{warning, all}{onlyamsmath} +% \usepackage{onlyamsmath} + +% ******************************************************************** +% Last, but not least... +% ******************************************************************** +\usepackage{classicthesis} +% **************************************************************************************************** + + +% **************************************************************************************************** +% 8. Further adjustments (experimental) +% **************************************************************************************************** +% ******************************************************************** +% Changing the text area +% ******************************************************************** +%\areaset[current]{312pt}{761pt} % 686 (factor 2.2) + 33 head + 42 head \the\footskip +%\setlength{\marginparwidth}{7em}% +%\setlength{\marginparsep}{2em}% + +% ******************************************************************** +% Using different fonts +% ******************************************************************** +%\usepackage[oldstylenums]{kpfonts} % oldstyle notextcomp +%\usepackage[osf]{libertine} +%\usepackage[light,condensed,math]{iwona} +%\renewcommand{\sfdefault}{iwona} +%\usepackage{lmodern} % <-- no osf support :-( +%\usepackage{cfr-lm} % +%\usepackage[urw-garamond]{mathdesign} <-- no osf support :-( +%\usepackage[default,osfigures]{opensans} % scale=0.95 +%\usepackage[sfdefault]{FiraSans} +% ******************************************************************** +% \usepackage[largesc,osf]{newpxtext} +% Used to fix these: +% https://bitbucket.org/amiede/classicthesis/issues/139/italics-in-pallatino-capitals-chapter +% https://bitbucket.org/amiede/classicthesis/issues/45/problema-testatine-su-classicthesis-style +% ******************************************************************** +%\linespread{1.05} % a bit more for Palatino +% **************************************************************************************************** diff --git a/classicthesis.sty b/classicthesis.sty new file mode 100644 index 0000000..fa2793f --- /dev/null +++ b/classicthesis.sty @@ -0,0 +1,696 @@ +% ******************************************************************** +% classicthesis.sty +% +% Copyright (C) 2017 André Miede and Ivo Pletikosić +% +% If you like the style then I would appreciate a postcard. My address +% can be found in the file ClassicThesis.pdf. A collection of the +% postcards I received so far is available online at +% http://postcards.miede.de +% +% License: +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation; either version 2 of the License, or +% (at your option) any later version. +% +% This program is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with this program; see the file COPYING. If not, write to +% the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +% Boston, MA 02111-1307, USA. +% +% ******************************************************************** +% Important: +% +% This style can also be used without the thesis template. +% It works with LaTeX, PDFLaTeX, XeLaTeX and LuaLaTeX. +% +% ******************************************************************** +\NeedsTeXFormat{LaTeX2e}%[2015/01/01] % fixed via latexrelease package, see below +\ProvidesPackage{classicthesis}[2017/10/13 v4.4 Typographic style for a classic-looking thesis] +\PassOptionsToPackage{latest}{latexrelease} % replacement for fixltx2e, + \RequirePackage{latexrelease} % emulate newer kernel version if older is detected + +\RequirePackage{ifthen} + +% ******************************************************************** +% Options +% ******************************************************************** +\RequirePackage{kvoptions} +\SetupKeyvalOptions{family=ct, prefix=ct@} + +\DeclareBoolOption{drafting} % print version information on all pages + +\DeclareBoolOption{tocaligned} % the left column of the toc will be aligned (no indentation) +\DeclareBoolOption{dottedtoc} % page numbers in ToC flushed right +\DeclareBoolOption{listsseparated} % OBSOLETE; toggles the vertical space between lof/lot entries of different chapters + +\DeclareBoolOption{parts} % use part division + +\DeclareBoolOption{nochapters} % OBSOLETE - automatic check; disable all chapter-specific commands +\DeclareBoolOption{eulerchapternumbers} % use AMS Euler for chapter font (otherwise Palatino) +\DeclareBoolOption{linedheaders} % chaper headers will have line above and beneath +\DeclareBoolOption{floatperchapter} % numbering per chapter for all floats (i.e., Figure 1.1) +\DeclareBoolOption{manychapters} % additional space in ToC after chapter number (if two digits are needed) + +\DeclareBoolOption{listings} % load listings package and setup LoL +\DeclareBoolOption{subfig} % setup for preloaded @subfig package + +\DeclareBoolOption{eulermath} % use awesome Euler fonts for mathematical formulae; only with pdflatex +\DeclareBoolOption{beramono} % toggle a nice monospaced font (w/ bold) + pre-installed +\DeclareBoolOption{minionpro} % setup for minion pro font; use minion pro small caps as well; only with pdflatex + +\DeclareBoolOption{minionprospacing} % OBSOLETE; use minion pro's textssc for letter spacing +\DeclareBoolOption{pdfspacing} % OBSOLETE; use pdftex for letterspacing (via microtype) + +\DeclareBoolOption{a4paper} +\DeclareBoolOption{a5paper} +\DeclareBoolOption{letterpaper} +\DeclareStringOption[a4]{paper} % paper size defaults to A4 +\ProcessKeyvalOptions{ct} + + + + +%%% seems that KOMA-Script gives preference to old-style paper options, thus first +\ifthenelse{\boolean{ct@letterpaper}}{\renewcommand*{\ct@paper}{letter}}{} +\ifthenelse{\boolean{ct@a5paper}}{\renewcommand*{\ct@paper}{a5}}{} +\ifthenelse{\boolean{ct@a4paper}}{\renewcommand*{\ct@paper}{a4}}{} +%%% then +\ifthenelse{\equal{\ct@paper}{a4}}% + {\setboolean{ct@a4paper}{true} \setboolean{ct@a5paper}{false} \setboolean{ct@letterpaper}{false}}% + {} +\ifthenelse{\equal{\ct@paper}{a5}}% + {\setboolean{ct@a4paper}{false} \setboolean{ct@a5paper}{true} \setboolean{ct@letterpaper}{false}}% + {} +\ifthenelse{\equal{\ct@paper}{letter}}% + {\setboolean{ct@a4paper}{false} \setboolean{ct@a5paper}{false} \setboolean{ct@letterpaper}{true}}% + {} + + + + +% subfig-related stuff +\@ifpackageloaded{subfig}% + {\setboolean{ct@subfig}{true}% + }{\relax} + +\ifthenelse{\boolean{ct@subfig}}% + {\PassOptionsToPackage{subfigure}{tocloft}% + }{\relax}% + +% listings-related stuff +\ifthenelse{\boolean{ct@listings}}% + {\@ifpackageloaded{listings}% + {\relax}{\RequirePackage{listings}}% + }{\relax}% + + +% fine-tuning if we do not use chapters + +\ifthenelse{\isundefined{\chapter}\OR\boolean{ct@nochapters}} + { + \PackageWarningNoLine{classicthesis}{Chapter sectioning command not present in this document class. % + Deactivating options floatperchapter, linedheaders, manychapters, listsseparated, eulerchapternumbers and parts}% + \setboolean{ct@linedheaders}{false}% + \setboolean{ct@listsseparated}{false}% + \setboolean{ct@eulerchapternumbers}{false}% + \setboolean{ct@parts}{false}% %%%IVO: note that parts exist even when chapters are not defined! + \setboolean{ct@manychapters}{false}% + \setboolean{ct@floatperchapter}{false}% + \setboolean{ct@nochapters}{true} + }{\relax} + +% ******************************************************************** +% PDF and XeLaTeX Stuff +% ******************************************************************** +\RequirePackage{ifpdf} +\RequirePackage{ifxetex} +\RequirePackage{ifluatex} +\ifthenelse{\boolean{pdf}\OR\boolean{luatex}\OR\boolean{xetex}}% + { + \RequirePackage{hyperref} + \pdfstringdefDisableCommands{\let\thepart=\relax} % no part numbers (i, ii, iii) in PDF outline IVO + %\pdfstringdefDisableCommands{\renewcommand{\thepart}{\Roman{part}}} %%%IVO bring back Part numbers in PDF outline + }{} + + +% ******************************************************************** +% Colors +% ******************************************************************** +\PassOptionsToPackage{dvipsnames}{xcolor} + \RequirePackage{xcolor} % [dvipsnames] +\definecolor{halfgray}{gray}{0.55} % chapter numbers will be semi transparent .5 .55 .6 .0 +\definecolor{webgreen}{rgb}{0,.5,0} +\definecolor{webbrown}{rgb}{.6,0,0} +%\definecolor{Maroon}{cmyk}{0, 0.87, 0.68, 0.32} +%\definecolor{RoyalBlue}{cmyk}{1, 0.50, 0, 0} +%\definecolor{Black}{cmyk}{0, 0, 0, 0} + +% ******************************************************************** +% Font Stuff +% ******************************************************************** +\ifthenelse{\boolean{xetex}\OR\boolean{luatex}} + { % use fontspec and OpenType fonts with utf8 engines + \RequirePackage{fontspec} + \setmainfont[Ligatures=TeX,Numbers=OldStyle]{TeX Gyre Pagella} % Palatino clone + \linespread{1.05} % a bit more for Palatino + \ifthenelse{\boolean{ct@beramono}}% + {\setmonofont[Scale=0.85]{DejaVu Sans Mono}} % like Bera; Scale=MatchLowercase + {\setmonofont[Scale=1]{Latin Modern Mono}} + \RequirePackage{unicode-math} + \setmathfont{TeX Gyre Pagella Math} + % font for the chapter numbers will be defined in the old way below + % because there is no OpenType Euler font; this is how it should be done: + %\newfontface\chapterNumber[Scale=7,Color=000000]{TeX Gyre Pagella Bold} + } + { % use Type 1 fonts with pdflatex + \ifthenelse{\boolean{ct@minionpro}}% specialists: MinionPro + {% + % in order have Euler math fonts work with Minion, special option is needed + \ifthenelse{\boolean{ct@eulermath}}% + {% + \PassOptionsToPackage{opticals,mathlf,onlytext}{MinionPro}% + \RequirePackage{MinionPro} % opticals, fullfamily, osf + }{% + \PassOptionsToPackage{opticals,mathlf}{MinionPro}% + \RequirePackage{MinionPro} % opticals, fullfamily, osf + } + }{ + % default: Palatino + \PassOptionsToPackage{osf,sc}{mathpazo}% + \RequirePackage{mathpazo} % Palatino with real small caps and old style figures + \linespread{1.05} % a bit more for Palatino + } + + \ifthenelse{\boolean{ct@beramono}}% + {\PassOptionsToPackage{scaled=0.85}{beramono}% + \RequirePackage{beramono}% + }{% + \relax% + % put your own suitable typewriter font here + %\renewcommand{\ttdefault}{\rmdefault} + } + + \ifthenelse{\boolean{ct@eulermath}}% + {\PassOptionsToPackage{euler-digits}{eulervm}% + \RequirePackage{eulervm}} % Euler math fonts + {\relax} + } + + \ifthenelse{\boolean{ct@eulerchapternumbers}}% font for the chapter numbers + {\DeclareFixedFont{\chapterNumber}{U}{eur}{b}{n}{70}}% + {\DeclareFixedFont{\chapterNumber}{T1}{pplj}{m}{n}{70}}% + %{\newfont{\chapterNumber}{eurb10 scaled 7000}}% + %{\newfont{\chapterNumber}{pplr9d scaled 7000}} + % Euler eurb10 / Palatino OSF pplr9d / Palatino SC pplrc9d + % Latin Modern cork-lmr10 / Minion MinionPro-Regular-osf-t1 + % (MinionPro-SemiboldCapt-osf-t1 MinionPro-SemiboldDisp-osf-t1) + + + + +\RequirePackage{microtype} % character protruding and other micro-typography stuff +% [expansion=false] + + +% ******************************************************************** +% Textblock size +%******************************************************* +\@ifpackageloaded{typearea}% + {\relax}{% + \PassOptionsToPackage{headinclude,footinclude}{typearea} + \RequirePackage{typearea}% + } + +\ifthenelse{\boolean{ct@letterpaper}}% + {% A4 + \ifthenelse{\boolean{ct@minionpro}}% + {% Minion gets some extra sizes + \PackageInfo{classicthesis}{letter paper, MinionPro}% + \areaset[current]{332pt}{634pt}% guessing from A4 values + \setlength{\marginparwidth}{7.5em}% + \setlength{\marginparsep}{2em}% + }{% Palatino or other + \PackageInfo{classicthesis}{letter paper, Palatino or other} + \areaset[current]{356pt}{700pt} % guessing from A4 values + \setlength{\marginparwidth}{7em}% + \setlength{\marginparsep}{2em}% + }% + }{\relax} +\ifthenelse{\boolean{ct@a5paper}}% + {% A5 + \ifthenelse{\boolean{ct@minionpro}}% + {% Minion gets some extra sizes + \PackageInfo{classicthesis}{A5 paper, MinionPro}% + \areaset[current]{278pt}{556pt}% + \setlength{\marginparwidth}{5em}% + \setlength{\marginparsep}{1.25em}% + }{% Palatino or other + \PackageInfo{classicthesis}{A5 paper, Palatino or other}% + \areaset[current]{288pt}{555pt}% + \setlength{\marginparwidth}{4em}% + \setlength{\marginparsep}{1.25em}% + }% + }{\relax} +\ifthenelse{\boolean{ct@a4paper}}% + {% A4 + \ifthenelse{\boolean{ct@minionpro}}% + {% Minion gets some extra sizes + \PackageInfo{classicthesis}{A4 paper, MinionPro}% + \areaset[current]{312pt}{684pt}% 609 + 33 + 42 head \the\footskip + \setlength{\marginparwidth}{7.5em}% + \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{336pt}{761pt} % 686 (factor 2.2) + 33 head + 42 head \the\footskip 10pt + \setlength{\marginparwidth}{7em}% + \setlength{\marginparsep}{2em}% + }% + }{\relax} + +% Here are some suggestions for the text widths and heights: +% Palatino 10pt: 288--312pt | 609--657pt +% Palatino 11pt: 312--336pt | 657--705pt +% Palatino 12pt: 360--384pt | 768pt +% Minion 10pt: 264--288pt | 561--609pt +% Minion 11pt: 288--312pt | 609--657pt +% Minion 12pt: 336pt | 672pt +% Libertine 10pt: +% Libertine 11pt: +% Libertine 12pt: +% kpfonts 10pt: +% kpfonts 11pt: +% kpfonts 12pt: + +% ******************************************************************** +% Own Stuff +% ******************************************************************** +% Disable single lines at the start of a paragraph (Schusterjungen) +\clubpenalty = 10000 +% Disable single lines at the end of a paragraph (Hurenkinder) +\widowpenalty = 10000 +\displaywidowpenalty = 10000 % formulas + +% Graffiti as in GKP's book "Concrete Mathematics" +% thanks to Lorenzo Pantieri and Enrico Gregorio +\def\graffito@setup{% +% \slshape\footnotesize% this was due to \slhape in above book + \itshape\footnotesize\leavevmode\color{Black}% + \parindent=0pt \lineskip=0pt \lineskiplimit=0pt % + \tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300% + \doublehyphendemerits=100000% + \finalhyphendemerits=\doublehyphendemerits} +%\DeclareRobustCommand{\graffito}[1]{\marginpar% +% [\graffito@setup\raggedleft\hspace{0pt}{#1}]% +% {\graffito@setup\raggedright\hspace{0pt}{#1}}} + +\let\oldmarginpar\marginpar +\renewcommand{\marginpar}[2][]{% always add optional parameter, make it empty by default + \if\relax\detokenize{#1}\relax% optional parameter empty, in all normal document calls + \oldmarginpar[\graffito@setup\raggedleft\hspace{0pt}#2]{\graffito@setup\raggedright\hspace{0pt}#2}% + \else%two parameters, let them use their styling + \oldmarginpar[#1]{#2}% + \fi% +} + + +% Enumeration environment with small caps +\newenvironment{aenumerate} + {\def\theenumi{\textsc{\alph{enumi}}}% + \enumerate} + {\endenumerate} + +% ******************************************************************** +% Fancy Stuff +% ******************************************************************** +\RequirePackage{booktabs} % for better rules in tables +\RequirePackage{textcase} % for \MakeTextUppercase + +%%% engine-dependent letterspacing: microtype for pdflatex, fontspec for xelatex and luatex +\ifthenelse{\boolean{ct@minionpro}}{% MinionPro small caps + \PackageInfo{classicthesis}{Using MinionPro's textssc for character spacing.} + \DeclareRobustCommand{\spacedallcaps}[1]{\textssc{\MakeTextUppercase{#1}}} + \DeclareRobustCommand{\spacedlowsmallcaps}[1]{\textssc{\MakeTextLowercase{#1}}} + }{ + % engine-based spacedallcaps and spacedlowsmallcaps + \ifthenelse{\boolean{pdf}\OR\boolean{luatex}}{ % pdf will soon test true for both pdflatex and luatex; \AND\NOT\boolean{luatex} + \PackageInfo{classicthesis}{Using pdftex/microtype for character spacing.% + Make sure your pdftex is version 1.40 or higher.}% + \microtypesetup{expansion=false} + \DeclareRobustCommand{\spacedallcaps}[1]{\textls[160]{\MakeTextUppercase{#1}}} + \DeclareRobustCommand{\spacedlowsmallcaps}[1]{\textls[80]{\scshape\MakeTextLowercase{#1}}} + }{\relax} + + \ifthenelse{\boolean{xetex}}{ % use fontspec features; \OR\boolean{luatex} does not work well + \DeclareRobustCommand{\spacedallcaps}[1]{{\addfontfeature{LetterSpace=18.0}\MakeTextUppercase{#1}}}% WordSpace=1.8 + \DeclareRobustCommand{\spacedlowsmallcaps}[1]{{\addfontfeatures{LetterSpace=14.0}\scshape\MakeTextLowercase{#1}}}% WordSpace=1.8 + }{\relax} + + \ifthenelse{\boolean{pdf}\OR\boolean{xetex}\OR\boolean{luatex}}% ever used? only dvi engines remain + {\relax}{% + \RequirePackage{soulutf8} % for letterspacing + \sodef\allcapsspacing{\upshape}{0.15em}{0.65em}{0.6em}% + \sodef\lowsmallcapsspacing{\scshape}{0.075em}{0.5em}{0.6em}% + \DeclareRobustCommand{\spacedallcaps}[1]{\MakeTextUppercase{\allcapsspacing{#1}}}% + \DeclareRobustCommand{\spacedlowsmallcaps}[1]{\MakeTextLowercase{\lowsmallcapsspacing{#1}}}%\protect + }% + } + +% ******************************************************************** +% headlines +% ******************************************************************** +%\PassOptionsToPackage{automark}{scrpage2} +\PassOptionsToPackage{automark}{scrlayer-scrpage} + %\RequirePackage{scrpage2} % provides headers and footers (KOMA Script) + \RequirePackage{scrlayer-scrpage} % provides headers and footers (KOMA Script) + \clearpairofpagestyles + %\setheadsepline{0pt} + \let\MakeMarkcase\spacedlowsmallcaps + \ifthenelse{\boolean{ct@nochapters}}% + {\relax}% + {\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}}} + \renewcommand{\sectionmark}[1]{\markright{\thesection\enspace\spacedlowsmallcaps{#1}}} + \lehead{\mbox{\llap{\small\pagemark\kern2em}\headmark\hfil}} + \rohead{\mbox{\hfil{\headmark}\rlap{\small\kern2em\pagemark}}} + \renewcommand{\headfont}{\small} +% \DeclareRobustCommand{\fixBothHeadlines}[2]{} % <--- ToDo + % hack to get the content headlines right (thanks, Lorenzo!) + \def\toc@heading{% + \ifthenelse{\boolean{ct@nochapters}}% + {\section*{\contentsname}}%nochapters + {\chapter*{\contentsname}}%chapters + \@mkboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}}} %%%IVO what does this do? + + +% ******************************************************************** +% layout of the chapter-, section-, subsection-, subsubsection-, +% paragraph and description-headings +% ******************************************************************** +\RequirePackage[newparttoc]{titlesec} % newparttoc to write \part to .toc with \numberline +\ifthenelse{\boolean{ct@nochapters}}{\relax}{\titleclass{\chapter}{top}} % thanks to Javier Bezos of titlesec +\def\ttl@addcontentsline#1#2{% this is from titlesec.sty + \addcontentsline{toc}{#1}{\ifttl@toclabel\ttl@a\fi{#2}}% write titles as a group inside {} + \nobreak} +% parts +\ifthenelse{\boolean{ct@parts}}% +{% + \newcommand{\ctparttext}[1]{\renewcommand{\ctparttext@keep}{#1}} + \def\ctparttext@keep{} % Thanks to Ivo + \def\ctparttext@print{\ctparttext@keep \gdef\ctparttext@keep{}} + \titleformat{\part}[display] + {\normalfont\centering\large}% + {\thispagestyle{empty}\partname~\MakeTextUppercase{\thepart}}{1em}% + {\color{Maroon}\spacedallcaps}[\bigskip\normalfont\normalsize\color{Black}\begin{quote}\ctparttext@print\end{quote}] +}{\relax} +% chapters +\ifthenelse{\boolean{ct@linedheaders}}% +{% lines above and below, number right + \titleformat{\chapter}[display]% + {\relax}{\raggedleft{\color{halfgray}\chapterNumber\thechapter} \\ }{0pt}% + {\titlerule\vspace*{.9\baselineskip}\raggedright\spacedallcaps}[\normalsize\vspace*{.8\baselineskip}\titlerule]% +}{% something like Bringhurst + \titleformat{\chapter}[display]% + {\relax}{\mbox{}\oldmarginpar{\vspace*{-3\baselineskip}\color{halfgray}\chapterNumber\thechapter}}{0pt}% + {\raggedright\spacedallcaps}[\normalsize\vspace*{.8\baselineskip}\titlerule]% +} +% sections \FloatBarrier +\titleformat{\section} + {\relax}{\textsc{\MakeTextLowercase{\thesection}}}{1em}{\spacedlowsmallcaps} +% subsections +\titleformat{\subsection} + {\relax}{\textsc{\MakeTextLowercase{\thesubsection}}}{1em}{\normalsize\itshape} +% subsubsections +\titleformat{\subsubsection} + {\relax}{\textsc{\MakeTextLowercase{\thesubsubsection}}}{1em}{\normalsize\itshape} +% paragraphs +\titleformat{\paragraph}[runin] + {\normalfont\normalsize}{\theparagraph}{0pt}{\spacedlowsmallcaps} +% descriptionlabels + \renewcommand{\descriptionlabel}[1]{\hspace*{\labelsep}\spacedlowsmallcaps{#1}} % spacedlowsmallcaps textit textsc +% spacing +\ifthenelse{\boolean{ct@nochapters}}% + {\relax}% + {\titlespacing*{\chapter}{0pt}{1\baselineskip}{1.2\baselineskip}} +\titlespacing*{\section}{0pt}{1.25\baselineskip}{1\baselineskip} +\titlespacing*{\subsection}{0pt}{1.25\baselineskip}{1\baselineskip} +\titlespacing*{\paragraph}{0pt}{1\baselineskip}{1\baselineskip} + +% ******************************************************************** +% layout of the TOC, LOF and LOT (LOL-workaround see next section) +% ******************************************************************** +\PassOptionsToPackage{titles}{tocloft} +\RequirePackage{tocloft} +% avoid page numbers being right-aligned in fixed-size box +\newlength{\newnumberwidth} +\settowidth{\newnumberwidth}{999} % yields overfull hbox warnings for pages > 999 +\cftsetpnumwidth{\newnumberwidth} + +% have the bib neatly positioned after the rest +\newlength{\beforebibskip} +\setlength{\beforebibskip}{0em} + +% space for more than nine chapters +\newlength{\newchnumberwidth} +\settowidth{\newchnumberwidth}{.} % <--- tweak here if more space required +\ifthenelse{\boolean{ct@manychapters}}% <--- many chapters option +{% + \addtolength{\cftchapnumwidth}{\newchnumberwidth}% + \addtolength{\cftsecnumwidth}{\newchnumberwidth} + \addtolength{\cftsecindent}{\newchnumberwidth} + \addtolength{\cftsubsecnumwidth}{\newchnumberwidth} + \addtolength{\cftsubsecindent}{2\newchnumberwidth} + \addtolength{\cftsubsubsecnumwidth}{\newchnumberwidth} +}{\relax}% + +% pagenumbers right after the titles +% parts +\ifthenelse{\boolean{ct@parts}}% +{% + \renewcommand{\thepart}{\roman{part}}% + \renewcommand{\cftpartpresnum}{\scshape}% \MakeTextLowercase + \renewcommand{\cftpartaftersnum}{}% + \renewcommand{\cftpartaftersnumb}{\spacedlowsmallcaps}% + \setlength{\cftpartnumwidth}{\cftchapnumwidth} + \renewcommand{\cftpartfont}{\color{Maroon}\normalfont}% + \cftpagenumbersoff{part} + \renewcommand{\cftpartpagefont}{\normalfont}% + \ifthenelse{\boolean{ct@dottedtoc}}{\relax}% + {% + \renewcommand{\cftpartleader}{\hspace{1.5em}}% + \renewcommand{\cftpartafterpnum}{\cftparfillskip}% + }% + \setlength{\cftbeforepartskip}{1em}% + \setlength{\cftbeforechapskip}{.1em}% + \setlength{\beforebibskip}{1.5\cftbeforepartskip}% +}{\relax} +% chapters +\ifthenelse{\boolean{ct@nochapters}}% + {\relax}% + {% + \renewcommand{\cftchappresnum}{\spacedlowsmallcaps}% + \renewcommand{\cftchapaftersnumb}{\spacedlowsmallcaps}% + \renewcommand{\cftchapfont}{\normalfont}% + \renewcommand{\cftchappagefont}{\normalfont}% + \ifthenelse{\boolean{ct@dottedtoc}}{\relax}% + {% + \renewcommand{\cftchapleader}{\hspace{1.5em}}% + \renewcommand{\cftchapafterpnum}{\cftparfillskip}% + } + %\setlength{\cftbeforechapskip}{.1em}% + } +% sections +\ifthenelse{\boolean{ct@nochapters}}% + {% + \setlength{\cftbeforesecskip}{.1em}% + \setlength{\beforebibskip}{1em}% + }% + {\relax} +\renewcommand{\cftsecpresnum}{\scshape\MakeTextLowercase}% +\renewcommand{\cftsecfont}{\normalfont}% +\renewcommand{\cftsecpagefont}{\normalfont}% +\ifthenelse{\boolean{ct@dottedtoc}}{\relax}% + {% + \renewcommand{\cftsecleader}{\hspace{1.5em}}% + \renewcommand{\cftsecafterpnum}{\cftparfillskip}% + } + \ifthenelse{\boolean{ct@tocaligned}}{\renewcommand{\cftsecindent}{0em}}{\relax} +% subsections +\renewcommand{\cftsubsecpresnum}{\scshape\MakeTextLowercase}% +\renewcommand{\cftsubsecfont}{\normalfont}% +\ifthenelse{\boolean{ct@dottedtoc}}{\relax}% +{% + \renewcommand{\cftsubsecleader}{\hspace{1.5em}}% + \renewcommand{\cftsubsecafterpnum}{\cftparfillskip}% +} +\ifthenelse{\boolean{ct@tocaligned}}{\renewcommand{\cftsubsecindent}{0em}}{\relax} +% subsubsections +\renewcommand{\cftsubsubsecpresnum}{\scshape\MakeTextLowercase}% +\renewcommand{\cftsubsubsecfont}{\normalfont}% +\ifthenelse{\boolean{ct@dottedtoc}}{\relax}% +{% + \renewcommand{\cftsubsubsecleader}{\hspace{1.5em}}% + \renewcommand{\cftsubsubsecafterpnum}{\cftparfillskip}% +} +\ifthenelse{\boolean{ct@tocaligned}}{\renewcommand{\cftsubsubsecindent}{0em}}{\relax} +% figures +\renewcommand{\cftfigpresnum}{\scshape\MakeTextLowercase}% +\renewcommand{\cftfigfont}{\normalfont}% +\ifthenelse{\boolean{ct@dottedtoc}}{\relax}% +{% + \renewcommand{\cftfigleader}{\hspace{1.5em}}% + \renewcommand{\cftfigafterpnum}{\cftparfillskip}% +} +\renewcommand{\cftfigpresnum}{\figurename~}%Fig.~} +\newlength{\figurelabelwidth} +\settowidth{\figurelabelwidth}{\cftfigpresnum~999} +\addtolength{\figurelabelwidth}{2.5em} +\cftsetindents{figure}{0em}{\figurelabelwidth} +% tables +\renewcommand{\cfttabpresnum}{\scshape\MakeTextLowercase}% +\renewcommand{\cfttabfont}{\normalfont}% +\ifthenelse{\boolean{ct@dottedtoc}}{\relax}% +{% + \renewcommand{\cfttableader}{\hspace{1.5em}}% + \renewcommand{\cfttabafterpnum}{\cftparfillskip}% +} +\renewcommand{\cfttabpresnum}{\tablename~}%Tab.~} +\newlength{\tablelabelwidth} +\settowidth{\tablelabelwidth}{\cfttabpresnum~999} +\addtolength{\tablelabelwidth}{2.5em} +%\cftsetindents{table}{0em}{\tablelabelwidth} +\cftsetindents{table}{0em}{\figurelabelwidth} +% listings +\ifthenelse{\boolean{ct@listings}}% +{% + \newlistof{listings}{lol}{\lstlistlistingname}% + \renewcommand{\cftlistingspresnum}{\scshape\MakeTextLowercase}% + \renewcommand{\cftlistingsfont}{\normalfont}% + \renewcommand{\cftlistingspresnum}{\lstlistingname~}% + \renewcommand{\cftlistingspagefont}{\normalfont}% + \ifthenelse{\boolean{ct@dottedtoc}}{\relax}% + {% + \renewcommand{\cftlistingsleader}{\hspace{1.5em}}% + \renewcommand{\cftlistingsafterpnum}{\cftparfillskip}% + } + \newlength{\listingslabelwidth}% + \settowidth{\listingslabelwidth}{\cftlistingspresnum~999}% + \addtolength{\listingslabelwidth}{2.5em}% + %\cftsetindents{listings}{0em}{\listingslabelwidth}% + \cftsetindents{listings}{0em}{\figurelabelwidth}% + \let\l@lstlisting\l@listings% + \let\lstlistoflistings\listoflistings% +}{\relax}% + +% dirty work-around to get the spacing after the toc/lot/lof-titles right +\ifthenelse{\boolean{ct@parts}}% +{% + \AtBeginDocument{\addtocontents{toc}{\protect\vspace{-\cftbeforepartskip}}} +}{% + \ifthenelse{\boolean{ct@nochapters}}% + {\relax}% + {\AtBeginDocument{\addtocontents{toc}{\protect\vspace{-\cftbeforechapskip}}}} +} + + +\newcommand{\tocEntry}[1]{\protect\numberline {}{#1}}% + + +%% remove the vertical space between lof/lot entries of different chapters +\ifthenelse{\boolean{ct@listsseparated}}{% + \PackageWarningNoLine{classicthesis}{Option "listsseparated" deprecated as of version 2.9.}% +}{\relax} +% \ifthenelse{\boolean{ct@listsseparated}}{% +% \AtBeginDocument{% +% \addtocontents{lof}{\protect\vspace{-\cftbeforechapskip}}% +% \addtocontents{lot}{\protect\vspace{-\cftbeforechapskip}}% +% \ifthenelse{\boolean{ct@listings}}% +% {% +% \addtocontents{lol}{\protect\vspace{-\cftbeforechapskip}}% +% }{\relax}% +% }% +% }{% + + +\DeclareRobustCommand*{\deactivateaddvspace}{\let\addvspace\@gobble}% +\AtBeginDocument{% + \addtocontents{lof}{\deactivateaddvspace}% + \addtocontents{lot}{\deactivateaddvspace}% + \ifthenelse{\boolean{ct@listings}}% + {% + \addtocontents{lol}{\deactivateaddvspace}% + }{\relax}% +}% +% } + +% ******************************************************************** +% footnotes setup +% ******************************************************************** +\ifdefined\deffootnote + % KOMA-command, footnotemark not superscripted at the bottom + \deffootnote{0em}{0em}{\thefootnotemark\hspace*{.5em}}% + \message{Using KOMA-command "deffootnote" for footnote setup}% +\else + \PassOptionsToPackage{flushmargin}{footmisc}% + \RequirePackage{footmisc}% + \setlength{\footnotemargin}{-.5em}% + \PackageWarningNoLine{classicthesis}{Using package "footmisc" with option % + "flushmargin" for footnote setup (not 100\% the same as with KOMA)}% +\fi + +% ******************************************************************** +% Drafting Stuff +% ******************************************************************** +\RequirePackage{scrtime} % time access +\newcommand{\finalVersionString}{\relax} +\providecommand{\myVersion}{$\!\!$} % w/o classicthesis-config.tex +\ifthenelse{\boolean{ct@drafting}}{% +% \RequirePackage{draftwatermark}% +% \SetWatermarkLightness{0.9} +% \SetWatermarkScale{.5} +% \SetWatermarkText{\today\ at \thistime} + \PassOptionsToPackage{draft}{prelim2e} + \RequirePackage{prelim2e} + \renewcommand{\PrelimWords}{\relax} + \renewcommand{\PrelimText}{\footnotesize[\,\today\ at \thistime\ -- \texttt{classicthesis}~\myVersion\,]} +}{\renewcommand{\finalVersionString}{\emph{Final Version} as of \today\ (\texttt{classicthesis}~\myVersion).}} + +% ******************************************************************** +% Caption numbering now w/o chapter number +% ******************************************************************** +\ifthenelse{\boolean{ct@floatperchapter}}{% + \ifthenelse{\boolean{ct@listings}}{% + \lstset{numberbychapter=true}}{\relax}% numberbychapter works in listings>=1.4 +}{% + \ifthenelse{\boolean{ct@listings}}{% + \lstset{numberbychapter=false}}{\relax}% + \RequirePackage{remreset}% + \ifthenelse{\boolean{ct@nochapters}}% + {\relax}{% + \@removefromreset{table}{chapter} % requires remreset package + }% + \renewcommand{\thetable}{\arabic{table}}% + \ifthenelse{\boolean{ct@nochapters}}% + {\relax}{% + \@removefromreset{figure}{chapter} % requires remreset package + }% + \renewcommand{\thefigure}{\arabic{figure}}% + \ifthenelse{\boolean{ct@nochapters}}% + {\relax}{% + \@removefromreset{equation}{chapter} % requires remreset package + }% + \renewcommand{\theequation}{\arabic{equation}}% +} + +% ******************************************************************** +% Backward-compatibility +% ******************************************************************** +\let\myChapter\chapter +\let\myPart\part +\let\graffito\marginpar diff --git a/docs/COPYING b/docs/COPYING new file mode 100644 index 0000000..7b1e1ea --- /dev/null +++ b/docs/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/docs/ClassicThesis.pdf b/docs/ClassicThesis.pdf new file mode 100644 index 0000000..0979c39 Binary files /dev/null and b/docs/ClassicThesis.pdf differ diff --git a/docs/LISTOFFILES b/docs/LISTOFFILES new file mode 100644 index 0000000..ac77cd5 --- /dev/null +++ b/docs/LISTOFFILES @@ -0,0 +1,194 @@ +LIST OF FILES FOR ClassicThesis.tex + + *File List* + silence.sty 2012/07/02 v1.5b Selective filtering of warnings and error mess +ages +scrreprt.cls 2017/09/07 v3.24 KOMA-Script document class (report) +scrkbase.sty 2017/09/07 v3.24 KOMA-Script package (KOMA-Script-dependent bas +ics and keyval usage) + scrbase.sty 2017/09/07 v3.24 KOMA-Script package (KOMA-Script-independent b +asics and keyval usage) + keyval.sty 2014/10/28 v1.15 key=value parser (DPC) +scrlfile.sty 2017/09/07 v3.24 KOMA-Script package (loading files) +tocbasic.sty 2017/09/07 v3.24 KOMA-Script package (handling toc-files) +scrsize11pt.clo 2017/09/07 v3.24 KOMA-Script font size class option (11pt) +typearea.sty 2017/09/07 v3.24 KOMA-Script package (type area) +classicthesis-config.tex +inputenc.sty 2015/03/17 v1.2c Input encoding file + utf8.def 2017/01/28 v1.1t UTF-8 support for inputenc + t1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + ot1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + omsenc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + babel.sty 2017/10/04 3.14 The Babel package + bblopts.cfg 2005/09/08 v0.1 add Arabic and Farsi to "declared" options of b +abel + ngerman.ldf 2016/11/02 v2.9 German support for babel (new orthography) +american.ldf 2017/06/06 v3.3r English support from the babel system +csquotes.sty 2017/03/11 v5.2b context-sensitive quotations (JAW) +etoolbox.sty 2017/01/02 v2.4 e-TeX tools for LaTeX (JAW) +csquotes.def 2017/03/11 v5.2b csquotes generic definitions (JAW) +csquotes.cfg +biblatex.sty 2016/12/05 v3.7 programmable bibliographies (PK/JW/AB) +pdftexcmds.sty 2017/03/19 v0.25 Utility functions of pdfTeX for LuaTeX (HO) +infwarerr.sty 2016/05/16 v1.4 Providing info/warning/error messages (HO) +ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO) + ltxcmds.sty 2016/05/16 v1.23 LaTeX kernel commands for general use (HO) + ifpdf.sty 2017/03/15 v3.2 Provides the ifpdf switch +kvoptions.sty 2016/05/16 v3.12 Key value format for package options (HO) +kvsetkeys.sty 2016/05/16 v1.17 Key value parser (HO) +etexcmds.sty 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO) + logreq.sty 2010/08/04 v1.0 xml request logger + logreq.def 2010/08/04 v1.0 logreq spec v1.0 + ifthen.sty 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC) + url.sty 2013/09/16 ver 3.4 Verb mode for urls, etc. + xstring.sty 2013/10/13 v1.7c String manipulations (C Tellechea) + blx-dm.def +numeric-comp.dbx +biblatex-dm.cfg +blx-compat.def 2016/12/05 v3.7 biblatex compatibility (PK/JW/AB) +blx-bibtex.def 2016/12/05 v3.7 biblatex compatibility (PK/JW/AB) +biblatex.def 2016/12/05 v3.7 biblatex compatibility (PK/JW/AB) +blx-natbib.def 2016/12/05 v3.7 biblatex compatibility (PK/JW/AB) +standard.bbx 2016/12/05 v3.7 biblatex bibliography style (PK/JW/AB) + numeric.bbx 2016/12/05 v3.7 biblatex bibliography style (PK/JW/AB) +numeric-comp.bbx 2016/12/05 v3.7 biblatex bibliography style (PK/JW/AB) +numeric-comp.cbx 2016/12/05 v3.7 biblatex citation style (PK/JW/AB) +biblatex.cfg + amsmath.sty 2017/09/02 v2.17a AMS math features + amstext.sty 2000/06/29 v2.01 AMS text + amsgen.sty 1999/11/30 v2.0 generic functions + amsbsy.sty 1999/11/29 v1.2d Bold Symbols + amsopn.sty 2016/03/08 v2.02 operator names + fontenc.sty + t1enc.def 2017/04/05 v2.0i Standard LaTeX file +textcomp.sty 2017/04/05 v2.0i Standard LaTeX package + ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file + ts1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + scrhack.sty 2017/09/07 v3.24 KOMA-Script package + xpatch.sty 2012/10/02 v0.3 Extending etoolbox patching commands + expl3.sty 2017/09/18 L3 programming layer (loader) +expl3-code.tex 2017/09/18 L3 programming layer +l3pdfmode.def 2017/03/18 v L3 Experimental driver: PDF mode + xparse.sty 2017/09/18 L3 Experimental document command parser + xspace.sty 2014/10/28 v1.13 Space after command names (DPC,MH) +mparhack.sty 2005/04/17 v1.4 (T. Sgouros and S. Ulrich) + acronym.sty 2015/03/21 v1.41 Support for acronyms (Tobias Oetiker) + suffix.sty 2006/07/15 1.5a Variant command support + relsize.sty 2003/07/04 ver 3.1 +tabularx.sty 2016/02/03 v2.11 `tabularx' package (DPC) + array.sty 2016/10/06 v2.4d Tabular extension package (FMi) + caption.sty 2016/02/21 v3.3-144 Customizing captions (AR) +caption3.sty 2016/05/22 v1.7-166 caption3 kernel (AR) + subfig.sty 2005/06/28 ver: 1.3 subfig package +listings.sty 2015/06/04 1.6 (Carsten Heinz) + lstmisc.sty 2015/06/04 1.6 (Carsten Heinz) +listings.cfg 2015/06/04 1.6 listings configuration +listings.hak 2017/09/07 v3.24 KOMA-Script package (hacking package listings) + +lstlang1.sty 2015/06/04 1.6 listings language file +lstlang2.sty 2015/06/04 1.6 listings language file +lstlang3.sty 2015/06/04 1.6 listings language file +lstlang1.sty 2015/06/04 1.6 listings language file +lstlang2.sty 2015/06/04 1.6 listings language file +lstlang3.sty 2015/06/04 1.6 listings language file +lstlang1.sty 2015/06/04 1.6 listings language file +lstlang2.sty 2015/06/04 1.6 listings language file +lstlang3.sty 2015/06/04 1.6 listings language file + lstmisc.sty 2015/06/04 1.6 (Carsten Heinz) +hyperref.sty 2017/03/14 v6.85a Hypertext links for LaTeX +hobsub-hyperref.sty 2016/05/16 v1.14 Bundle oberdiek, subset hyperref (HO) +hobsub-generic.sty 2016/05/16 v1.14 Bundle oberdiek, subset generic (HO) + hobsub.sty 2016/05/16 v1.14 Construct package bundles (HO) + ifvtex.sty 2016/05/16 v1.6 Detect VTeX and its facilities (HO) + intcalc.sty 2016/05/16 v1.2 Expandable calculations with integers (HO) +kvdefinekeys.sty 2016/05/16 v1.4 Define keys (HO) +pdfescape.sty 2016/05/16 v1.14 Implements pdfTeX's escape features (HO) +bigintcalc.sty 2016/05/16 v1.4 Expandable calculations on big integers (HO) + bitset.sty 2016/05/16 v1.2 Handle bit-vector datatype (HO) +uniquecounter.sty 2016/05/16 v1.3 Provide unlimited unique counter (HO) +letltxmacro.sty 2016/05/16 v1.5 Let assignment for LaTeX macros (HO) + hopatch.sty 2016/05/16 v1.3 Wrapper for package hooks (HO) +xcolor-patch.sty 2016/05/16 xcolor patch +atveryend.sty 2016/05/16 v1.9 Hooks at the very end of document (HO) +atbegshi.sty 2016/06/09 v1.18 At begin shipout hook (HO) +refcount.sty 2016/05/16 v3.5 Data extraction from label references (HO) + hycolor.sty 2016/05/16 v1.8 Color options for hyperref/bookmark (HO) + ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional + auxhook.sty 2016/05/16 v1.4 Hooks for auxiliary files (HO) + pd1enc.def 2017/03/14 v6.85a Hyperref: PDFDocEncoding definition (HO) +hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive + hpdftex.def 2017/03/14 v6.85a Hyperref driver for pdfTeX +rerunfilecheck.sty 2016/05/16 v1.8 Rerun checks for auxiliary files (HO) +graphicx.sty 2017/06/01 v1.1a Enhanced LaTeX Graphics (DPC,SPQR) +graphics.sty 2017/06/25 v1.2c Standard LaTeX Graphics (DPC,SPQR) + trig.sty 2016/01/03 v1.10 sin cos tan (DPC) +graphics.cfg 2016/06/04 v1.11 sample graphics configuration + pdftex.def 2017/06/24 v1.0g Graphics/color driver for pdftex +classicthesis.sty 2017/10/13 v4.4 Typographic style for a classic-looking th +esis +latexrelease.sty 2016/12/29 v1.0h LaTeX release emulation and tests + xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK) + color.cfg 2016/01/02 v1.6 sample color configuration +dvipsnam.def 2016/06/17 v3.0m Driver-dependent file (DPC,SPQR) +mathpazo.sty 2005/04/12 PSNFSS-v9.2a Palatino w/ Pazo Math (D.Puga, WaS) +beramono.sty 2004/01/31 (WaS) + ueur.fd 2013/01/14 v3.01 Euler Roman +microtype.sty 2017/07/07 v2.7 Micro-typographical refinements (RS) +microtype-pdftex.def 2017/07/07 v2.7 Definitions specific to pdftex (RS) +microtype.cfg 2017/07/07 v2.7 microtype main configuration file (RS) +booktabs.sty 2005/04/14 v1.61803 publication quality tables +textcase.sty 2004/10/07 v0.07 Text only upper/lower case changing (DPC) +scrlayer-scrpage.sty 2017/09/07 v3.24 KOMA-Script package (end user interfac +e for scrlayer) +scrlayer.sty 2017/09/07 v3.24 KOMA-Script package (defining layers and page +styles) +titlesec.sty 2016/03/21 v2.10.2 Sectioning titles + tocloft.sty 2017/08/31 v2.3i parameterised ToC, etc., typesetting + scrtime.sty 2017/09/07 v3.24 KOMA-Script package (time of LaTeX run) +prelim2e.sty 2009/05/29 v1.3 prelim2e Package (MS) +everyshi.sty 2001/05/15 v3.00 EveryShipout Package (MS) + english.lbx 2016/12/05 v3.7 biblatex localization (PK/JW/AB) +american.lbx 2016/12/05 v3.7 biblatex localization (PK/JW/AB) + german.lbx 2016/12/05 v3.7 biblatex localization (PK/JW/AB) + ngerman.lbx 2016/12/05 v3.7 biblatex localization (PK/JW/AB) + ts1cmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions + t1pplj.fd 2004/09/06 font definitions for T1/pplj. +ClassicThesis.bbl +ClassicThesis1-blx.bbl + nameref.sty 2016/05/21 v2.44 Cross-referencing by name of section +gettitlestring.sty 2016/05/16 v1.5 Cleanup title references (HO) +ClassicThesis.out +ClassicThesis.out +supp-pdf.mkii +epstopdf-base.sty 2016/05/15 v2.6 Base part for package epstopdf + grfext.sty 2016/05/16 v1.2 Manage graphics extensions (HO) + mt-ppl.cfg 2005/11/16 v1.6 microtype config. file: Palatino (RS) +FrontBackmatter/DirtyTitlepage.tex + ot1pplx.fd 2004/09/06 font definitions for OT1/pplx. + omlzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OML/zplm. + omszplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMS/zplm. + omxzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMX/zplm. + ot1zplm.fd 2002/09/08 Fontinst v1.914 font definitions for OT1/zplm. + t1fvm.fd 2004/09/07 scalable font definitions for T1/fvm. +FrontBackmatter/Titlepage.tex +gfx/TFZsuperellipse_bw.pdf +FrontBackmatter/Titleback.tex + ts1pplj.fd 2004/09/06 font definitions for TS1/pplj. +FrontBackmatter/Dedication.tex +FrontBackmatter/Abstract.tex +FrontBackmatter/Publications.tex +FrontBackmatter/Acknowledgments.tex +FrontBackmatter/Contents.tex +Chapters/Chapter01.tex +Chapters/Chapter02.tex +gfx/example_1.jpg +gfx/example_2.jpg +gfx/example_3.jpg +gfx/example_4.jpg +Chapters/Chapter03.tex +Chapters/Chapter0A.tex +lstlang1.sty 2015/06/04 1.6 listings language file +FrontBackmatter/Bibliography.tex +FrontBackmatter/Declaration.tex +FrontBackmatter/Colophon.tex + *********** \ No newline at end of file diff --git a/docs/README b/docs/README new file mode 100644 index 0000000..b322a23 --- /dev/null +++ b/docs/README @@ -0,0 +1,30 @@ +A Classic Thesis Style v4.4 +An Homage to The Elements of Typographic Style +Copyright (C) 2017 André Miede http://www.miede.de + +Please see the file ClassicThesis.pdf for more information. +Your comments are highly appreciated. + +If you like the style then I would appreciate a postcard. My address +can be found in the file ClassicThesis.pdf. A collection of the +postcards I received so far is available online at +http://postcards.miede.de + +License: +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +PLEASE SEE ALSO THE AUTHORS' NOTE REGARDING THIS LICENSE +IN THE DOCUMENTATION (ClassicThesis.pdf --> Chapter 1 / Chapter01.tex) diff --git a/frontbackmatter/Abstract.tex b/frontbackmatter/Abstract.tex new file mode 100644 index 0000000..d6fc0bc --- /dev/null +++ b/frontbackmatter/Abstract.tex @@ -0,0 +1,28 @@ +%******************************************************* +% Abstract +%******************************************************* +%\renewcommand{\abstractname}{Abstract} +\pdfbookmark[1]{Abstract}{Abstract} +\begingroup +\let\clearpage\relax +\let\cleardoublepage\relax +\let\cleardoublepage\relax + +\chapter*{Abstract} +Short summary of the contents in English\dots a great guide by +Kent Beck how to write good abstracts can be found here: +\begin{center} +\url{https://plg.uwaterloo.ca/~migod/research/beckOOPSLA.html} +\end{center} + +\vfill + +\begin{otherlanguage}{ngerman} +\pdfbookmark[1]{Zusammenfassung}{Zusammenfassung} +\chapter*{Zusammenfassung} +Kurze Zusammenfassung des Inhaltes in deutscher Sprache\dots +\end{otherlanguage} + +\endgroup + +\vfill diff --git a/frontbackmatter/Acknowledgments.tex b/frontbackmatter/Acknowledgments.tex new file mode 100644 index 0000000..1132340 --- /dev/null +++ b/frontbackmatter/Acknowledgments.tex @@ -0,0 +1,50 @@ +%******************************************************* +% Acknowledgments +%******************************************************* +\pdfbookmark[1]{Acknowledgments}{acknowledgments} + +\begin{flushright}{\slshape + We have seen that computer programming is an art, \\ + because it applies accumulated knowledge to the world, \\ + because it requires skill and ingenuity, and especially \\ + because it produces objects of beauty.} \\ \medskip + --- \defcitealias{knuth:1974}{Donald E. Knuth}\citetalias{knuth:1974} \citep{knuth:1974} +\end{flushright} + + + +\bigskip + +\begingroup +\let\clearpage\relax +\let\cleardoublepage\relax +\let\cleardoublepage\relax +\chapter*{Acknowledgments} +Put your acknowledgments here. + +Many thanks to everybody who already sent me a postcard! + +Regarding the typography and other help, many thanks go to Marco +Kuhlmann, Philipp Lehman, Lothar Schlesier, Jim Young, Lorenzo +Pantieri and Enrico Gregorio\footnote{Members of GuIT (Gruppo +Italiano Utilizzatori di \TeX\ e \LaTeX )}, J\"org Sommer, +Joachim K\"ostler, Daniel Gottschlag, Denis Aydin, Paride +Legovini, Steffen Prochnow, Nicolas Repp, Hinrich Harms, +Roland Winkler, Jörg Weber, Henri Menke, Claus Lahiri, +Clemens Niederberger, Stefano Bragaglia, Jörn Hees, +Scott Lowe, Dave Howcroft, +and the whole \LaTeX-community for support, ideas and +some great software. + +\bigskip + +\noindent\emph{Regarding \mLyX}: The \mLyX\ port was intially done by +\emph{Nicholas Mariette} in March 2009 and continued by +\emph{Ivo Pletikosi\'c} in 2011. Thank you very much for your +work and for the contributions to the original style. + + +\endgroup + + + diff --git a/frontbackmatter/Bibliography.tex b/frontbackmatter/Bibliography.tex new file mode 100644 index 0000000..21bc388 --- /dev/null +++ b/frontbackmatter/Bibliography.tex @@ -0,0 +1,26 @@ +%******************************************************************** +% Bibliography +%******************************************************* +% work-around to have small caps also here in the headline +% https://tex.stackexchange.com/questions/188126/wrong-header-in-bibliography-classicthesis +% Thanks to Enrico Gregorio +\defbibheading{bibintoc}[\bibname]{% + \phantomsection + \manualmark + \markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}% + \addtocontents{toc}{\protect\vspace{\beforebibskip}}% + \addcontentsline{toc}{chapter}{\tocEntry{#1}}% + \chapter*{#1}% +} +\printbibliography[heading=bibintoc] + +% Old version, will be removed later +% work-around to have small caps also here in the headline +%\manualmark +%\markboth{\spacedlowsmallcaps{\bibname}}{\spacedlowsmallcaps{\bibname}} % work-around to have small caps also +%\phantomsection +%\refstepcounter{dummy} +%\addtocontents{toc}{\protect\vspace{\beforebibskip}} % to have the bib a bit from the rest in the toc +%\addcontentsline{toc}{chapter}{\tocEntry{\bibname}} +%\label{app:bibliography} +%\printbibliography diff --git a/frontbackmatter/Colophon.tex b/frontbackmatter/Colophon.tex new file mode 100644 index 0000000..9487604 --- /dev/null +++ b/frontbackmatter/Colophon.tex @@ -0,0 +1,55 @@ +\pagestyle{empty} + +\hfill + +\vfill + + +\pdfbookmark[0]{Colophon}{colophon} +\section*{Colophon} +This document was typeset using the typographical look-and-feel \texttt{classicthesis} developed by Andr\'e Miede and Ivo Pletikosić. +The style was inspired by Robert Bringhurst's seminal book on typography ``\emph{The Elements of Typographic Style}''. +\texttt{classicthesis} is available for both \LaTeX\ and \mLyX: +\begin{center} +\url{https://bitbucket.org/amiede/classicthesis/} +\end{center} +Happy users of \texttt{classicthesis} usually send a real postcard to the author, a collection of postcards received so far is featured here: +\begin{center} +\url{http://postcards.miede.de/} +\end{center} +Thank you very much for your feedback and contribution. + +\bigskip + +\noindent\finalVersionString + +%Hermann Zapf's \emph{Palatino} and \emph{Euler} type faces (Type~1 PostScript fonts \emph{URW +%Palladio L} and \emph{FPL}) are used. The ``typewriter'' text is typeset in \emph{Bera Mono}, +%originally developed by Bitstream, Inc. as ``Bitstream Vera''. (Type~1 PostScript fonts were made +%available by Malte Rosenau and +%Ulrich Dirr.) + +%\paragraph{note:} The custom size of the textblock was calculated +%using the directions given by Mr. Bringhurst (pages 26--29 and +%175/176). 10~pt Palatino needs 133.21~pt for the string +%``abcdefghijklmnopqrstuvwxyz''. This yields a good line length between +%24--26~pc (288--312~pt). Using a ``\emph{double square textblock}'' +%with a 1:2 ratio this results in a textblock of 312:624~pt (which +%includes the headline in this design). A good alternative would be the +%``\emph{golden section textblock}'' with a ratio of 1:1.62, here +%312:505.44~pt. For comparison, \texttt{DIV9} of the \texttt{typearea} +%package results in a line length of 389~pt (32.4~pc), which is by far +%too long. However, this information will only be of interest for +%hardcore pseudo-typographers like me.% +% +%To make your own calculations, use the following commands and look up +%the corresponding lengths in the book: +%\begin{verbatim} +% \settowidth{\abcd}{abcdefghijklmnopqrstuvwxyz} +% \the\abcd\ % prints the value of the length +%\end{verbatim} +%Please see the file \texttt{classicthesis.sty} for some precalculated +%values for Palatino and Minion. +% +% \settowidth{\abcd}{abcdefghijklmnopqrstuvwxyz} +% \the\abcd\ % prints the value of the length diff --git a/frontbackmatter/Contents.tex b/frontbackmatter/Contents.tex new file mode 100644 index 0000000..adb3af0 --- /dev/null +++ b/frontbackmatter/Contents.tex @@ -0,0 +1,72 @@ +%******************************************************* +% Table of Contents +%******************************************************* +\pagestyle{scrheadings} +%\phantomsection +\refstepcounter{dummy} +\pdfbookmark[1]{\contentsname}{tableofcontents} +\setcounter{tocdepth}{2} % <-- 2 includes up to subsections in the ToC +\setcounter{secnumdepth}{3} % <-- 3 numbers up to subsubsections +\manualmark +\markboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}} +\tableofcontents +\automark[section]{chapter} +\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}} +\renewcommand{\sectionmark}[1]{\markright{\thesection\enspace\spacedlowsmallcaps{#1}}} +%******************************************************* +% List of Figures and of the Tables +%******************************************************* +\clearpage +% \pagestyle{empty} % Uncomment this line if your lists should not have any headlines with section name and page number +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + %******************************************************* + % List of Figures + %******************************************************* + %\phantomsection + \refstepcounter{dummy} + %\addcontentsline{toc}{chapter}{\listfigurename} + \pdfbookmark[1]{\listfigurename}{lof} + \listoffigures + + \vspace{8ex} + + %******************************************************* + % List of Tables + %******************************************************* + %\phantomsection + \refstepcounter{dummy} + %\addcontentsline{toc}{chapter}{\listtablename} + \pdfbookmark[1]{\listtablename}{lot} + \listoftables + + \vspace{8ex} + % \newpage + + %******************************************************* + % List of Listings + %******************************************************* + %\phantomsection + \refstepcounter{dummy} + %\addcontentsline{toc}{chapter}{\lstlistlistingname} + \pdfbookmark[1]{\lstlistlistingname}{lol} + \lstlistoflistings + + \vspace{8ex} + + %******************************************************* + % Acronyms + %******************************************************* + %\phantomsection + \refstepcounter{dummy} + \pdfbookmark[1]{Acronyms}{acronyms} + \markboth{\spacedlowsmallcaps{Acronyms}}{\spacedlowsmallcaps{Acronyms}} + \chapter*{Acronyms} + \begin{acronym}[UMLX] + \acro{DRY}{Don't Repeat Yourself} + \acro{API}{Application Programming Interface} + \acro{UML}{Unified Modeling Language} + \end{acronym} + +\endgroup diff --git a/frontbackmatter/Declaration.tex b/frontbackmatter/Declaration.tex new file mode 100644 index 0000000..a384655 --- /dev/null +++ b/frontbackmatter/Declaration.tex @@ -0,0 +1,20 @@ +%******************************************************* +% Declaration +%******************************************************* +\refstepcounter{dummy} +\pdfbookmark[0]{Declaration}{declaration} +\chapter*{Declaration} +\thispagestyle{empty} +Put your declaration here. +\bigskip + +\noindent\textit{\myLocation, \myTime} + +\smallskip + +\begin{flushright} + \begin{tabular}{m{5cm}} + \\ \hline + \centering\myName \\ + \end{tabular} +\end{flushright} diff --git a/frontbackmatter/Publications.tex b/frontbackmatter/Publications.tex new file mode 100644 index 0000000..0e90baf --- /dev/null +++ b/frontbackmatter/Publications.tex @@ -0,0 +1,16 @@ +%******************************************************* +% Publications +%******************************************************* +\pdfbookmark[1]{Publications}{publications} +\chapter*{Publications}\graffito{This is just an early --~and currently ugly~-- test!} +This might come in handy for PhD theses: some ideas and figures have appeared previously in the following publications: + +%\noindent Put your publications from the thesis here. The packages \texttt{multibib} or \texttt{bibtopic} etc. can be used to handle multiple different bibliographies in your document. + +\begin{refsection}[ownpubs] + \small + \nocite{*} % is local to to the enclosing refsection + \printbibliography[heading=none] +\end{refsection} + +\emph{Attention}: This requires a separate run of \texttt{bibtex} for your \texttt{refsection}, \eg, \texttt{ClassicThesis1-blx} for this file. You might also use \texttt{biber} as the backend for \texttt{biblatex}. See also \url{http://tex.stackexchange.com/questions/128196/problem-with-refsection}. diff --git a/frontbackmatter/Titleback.tex b/frontbackmatter/Titleback.tex new file mode 100644 index 0000000..e962a72 --- /dev/null +++ b/frontbackmatter/Titleback.tex @@ -0,0 +1,25 @@ +\thispagestyle{empty} + +\hfill + +\vfill + +\noindent\myName: \textit{\myTitle,} \mySubtitle, %\myDegree, +\textcopyright\ \myTime + +%\bigskip +% +%\noindent\spacedlowsmallcaps{Supervisors}: \\ +%\myProf \\ +%\myOtherProf \\ +%\mySupervisor +% +%\medskip +% +%\noindent\spacedlowsmallcaps{Location}: \\ +%\myLocation +% +%\medskip +% +%\noindent\spacedlowsmallcaps{Time Frame}: \\ +%\myTime diff --git a/frontbackmatter/Titlepage.tex b/frontbackmatter/Titlepage.tex new file mode 100644 index 0000000..1b734c7 --- /dev/null +++ b/frontbackmatter/Titlepage.tex @@ -0,0 +1,36 @@ +%******************************************************* +% Titlepage +%******************************************************* +\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 + + \vfill + + \begingroup + \color{Maroon}\spacedallcaps{\myTitle} \\ \bigskip + \endgroup + + \spacedlowsmallcaps{\myName} + + \vfill + + \includegraphics[width=6cm]{gfx/TFZsuperellipse_bw} \\ \medskip + + \mySubtitle \\ \medskip + %\myDegree \\ + %\myDepartment \\ + %\myFaculty \\ + %\myUni \\ \bigskip + + \myTime\ -- \myVersion + + \vfill + + \end{center} + \end{addmargin} +\end{titlepage} diff --git a/makefile b/makefile new file mode 100644 index 0000000..efa93ed --- /dev/null +++ b/makefile @@ -0,0 +1,28 @@ + +VERSION = v4.4 +NAME = Max +SURNAME = Mustermann + +all: clean + pdflatex thesis.tex + bibtex thesis + pdflatex thesis.tex + pdflatex thesis.tex + +clean: + @rm -rf *run.xml *-blx.bib *.aux *.bbl *.blg *.brf *.log *.lof *.lot *.lol *.out *.tcp *.toc *.tps *.bak *.backup *.*~ + @for i in run.xml -blx.bib aux bbl blg brf log lof lot lol out tcp toc tps bak backup ; do find -name *.$$i -exec rm {} + ; done + @find -name *.*~ -exec rm {} + + +cleanall: clean + @rm *.pdf + +bz2: clean + @echo 'creating package including Docs' + @tar --exclude-vcs -cf `pwd`/../thesis-${NAME}_${SURNAME}-${VERSION}-`date +%Y%m%d`.tar `pwd`/../`pwd | sed "s,^\(.*/\)\?\([^/]*\),\2,"` + @bzip2 `pwd`/../thesis-${NAME}_${SURNAME}-${VERSION}-`date +%Y%m%d`.tar + +bz2-small: clean + @echo 'creating package excluding Docs' + @tar --exclude-vcs --exclude=Docs -cf `pwd`/../thesis-${NAME}_${SURNAME}-${VERSION}-`date +%Y%m%d`_small.tar `pwd`/../`pwd | sed "s,^\(.*/\)\?\([^/]*\),\2,"` + @bzip2 `pwd`/../thesis-${NAME}_${SURNAME}-${VERSION}-`date +%Y%m%d`_small.tar diff --git a/thesis.tex b/thesis.tex new file mode 100644 index 0000000..589b150 --- /dev/null +++ b/thesis.tex @@ -0,0 +1,121 @@ +% ************************************************************************************************************** +% A Classic Thesis Style +% An Homage to The Elements of Typographic Style +% +% Copyright (C) 2017 André Miede and Ivo Pletikosić +% +% If you like the style then I would appreciate a postcard. My address +% can be found in the file ClassicThesis.pdf. A collection of the +% postcards I received so far is available online at +% http://postcards.miede.de +% +% License: +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation; either version 2 of the License, or +% (at your option) any later version. +% +% This program is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with this program; see the file COPYING. If not, write to +% the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +% Boston, MA 02111-1307, USA. +% +% PLEASE SEE ALSO THE AUTHORS' NOTE REGARDING THIS LICENSE +% IN THE DOCUMENTATION (ClassicThesis.pdf --> Chapter 1 / Chapter01.tex) +% ************************************************************************************************************** +\RequirePackage{silence} % :-\ + \WarningFilter{scrreprt}{Usage of package `titlesec'} + %\WarningFilter{scrreprt}{Activating an ugly workaround} + \WarningFilter{titlesec}{Non standard sectioning command detected} +\documentclass[ twoside,openright,titlepage,numbers=noenddot,headinclude,%1headlines,% letterpaper a4paper + footinclude=true,cleardoublepage=empty,abstractoff, % <--- obsolete, remove (todo) + BCOR=5mm,paper=a4,fontsize=11pt,%11pt,a4paper,% + ngerman,american,% + ]{scrreprt} + +%******************************************************************** +% Note: Make all your adjustments in here +%******************************************************* +\input{classicthesis-config} + +%******************************************************************** +% Bibliographies +%******************************************************* +\addbibresource{Bibliography.bib} +\addbibresource[label=ownpubs]{AMiede_Publications.bib} + +%******************************************************************** +% Hyphenation +%******************************************************* +%\hyphenation{put special hyphenation here} + +% ******************************************************************** +% GO!GO!GO! MOVE IT! +%******************************************************* +\begin{document} +\frenchspacing +\raggedbottom +\selectlanguage{american} % american ngerman +%\renewcommand*{\bibname}{new name} +%\setbibpreamble{} +\pagenumbering{roman} +\pagestyle{plain} +%******************************************************************** +% Frontmatter +%******************************************************* +\include{frontbackmatter/DirtyTitlepage} +\include{frontbackmatter/Titlepage} +\include{frontbackmatter/Titleback} +\cleardoublepage\include{frontbackmatter/Dedication} +%\cleardoublepage\include{frontbackmatter/Foreword} +\cleardoublepage\include{frontbackmatter/Abstract} +\cleardoublepage\include{frontbackmatter/Publications} +\cleardoublepage\include{frontbackmatter/Acknowledgments} +\cleardoublepage\include{frontbackmatter/Contents} +%******************************************************************** +% Mainmatter +%******************************************************* +\cleardoublepage +\pagestyle{scrheadings} +\pagenumbering{arabic} +%\setcounter{page}{90} +% use \cleardoublepage here to avoid problems with pdfbookmark +\cleardoublepage +\part{Some Kind of Manual}\label{pt:manual} +\include{Chapters/Chapter01} +\cleardoublepage +\ctparttext{You can put some informational part preamble text here. +Illo principalmente su nos. Non message \emph{occidental} angloromanic +da. Debitas effortio simplificate sia se, auxiliar summarios da que, +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} +%\addtocontents{toc}{\protect\clearpage} % <--- just debug stuff, ignore +\include{Chapters/Chapter03} +%\include{multiToC} % <--- just debug stuff, ignore for your documents +% ******************************************************************** +% Backmatter +%******************************************************* +\appendix +%\renewcommand{\thechapter}{\alph{chapter}} +\cleardoublepage +\part{Appendix} +\include{Chapters/Chapter0A} +%******************************************************************** +% Other Stuff in the Back +%******************************************************* +\cleardoublepage\include{frontbackmatter/Bibliography} +\cleardoublepage\include{frontbackmatter/Declaration} +\cleardoublepage\include{frontbackmatter/Colophon} +% ******************************************************************** +% Game Over: Restore, Restart, or Quit? +%******************************************************* +\end{document} +% ********************************************************************