% ************************************************************************************************************** % A Classic Thesis Style % An Homage to The Elements of Typographic Style % % Copyright (C) 2010 André Miede http://www.miede.de % % 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. % % ************************************************************************************************************** % Note: % * You must not use "u etc. in strings/commands that will be spaced out (use \"u or real umlauts instead) % * New enumeration (small caps): \begin{aenumerate} \end{aenumerate} % * For margin notes: \graffito{} % * Do not use bold fonts in this style, it is designed around them % * Use tables as in the examples % * See classicthesis-ldpkg.sty for useful commands % ************************************************************************************************************** % To Do: % * [high] Check this out: http://www.golatex.de/koma-script-warnung-in-verbindung-mit-listings-package-t2058.html % * [medium] mathbb in section-titles/chapter-titles => disappears somehow in headlines!!! % * [low] Calculate text block size for Libertine font % * [low] Think about processing a4paper, a5paper, 10pt, 11pt, 12pt etc. options for typearea layout % (store values in internal variables and handle by \AtEndOfPackage{\areaset...}) % ************************************************************************************************************** \documentclass[ twoside,openright,titlepage,fleqn,numbers=noenddot,headinclude,%1headlines,% 11pt,a4paper,BCOR5mm,footinclude,cleardoublepage=empty,abstractoff % <--- obsolete, remove (todo) ]{scrreprt} % ******************************************************************** % Development Stuff % ******************************************************************** \listfiles %\usepackage[l2tabu, orthodox, abort]{nag} %\usepackage[warning, all]{onlyamsmath} % ******************************************************************** % Re-usable information % ******************************************************************** \newcommand{\myTitle}{A Classic Thesis Style\xspace} \newcommand{\myDegree}{An Homage to The Elements of Typographic Style\xspace} \newcommand{\myName}{Andr\'e 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}{\protect{Put data here}\xspace} \newcommand{\myLocation}{Darmstadt\xspace} \newcommand{\myTime}{February 2010\xspace} \newcommand{\myVersion}{Version 2.7\xspace} %******************************************************* % Packages with options that might require adjustments %******************************************************* \usepackage[latin1]{inputenc} \usepackage[ngerman,american]{babel} \usepackage[square,numbers]{natbib} \usepackage[fleqn]{amsmath} % math environments and more by the AMS %******************************************************* \usepackage{classicthesis-ldpkg} % [backref] %******************************************************* % Options for classicthesis.sty: % tocaligned eulerchapternumbers drafting linedheaders listsseparated % subfig nochapters beramono eulermath parts minionpro pdfspacing % listings dottedtoc minionprospacing manychapters \usepackage[eulerchapternumbers,drafting,listings,listsseparated,%pdfspacing,% subfig,beramono,eulermath,parts]{classicthesis} %******************************************************* % Some font experiments %******************************************************* %\usepackage[osf]{libertine} %\usepackage{hfoldsty} %\usepackage[light,condensed,math]{iwona} %\renewcommand{\sfdefault}{iwona} %\usepackage{lmodern} % <-- no osf support :-( %\usepackage[urw-garamond]{mathdesign} <-- no osf support :-( %******************************************************* % Fine-tuning for the text area %******************************************************* %\linespread{1.05} % a bit more for Palatino %\areaset[5mm]{312pt}{761pt} % 686 (factor 2.2) + 33 head + 42 head \the\footskip %\setlength{\marginparwidth}{7em}% %\setlength{\marginparsep}{2em}% %******************************************************* % hack to use citations in float environments % will be fixed with caption package version 3.2 %******************************************************* \usepackage{makerobust} \makeatletter \MakeRobustCommand\caption@xref \makeatother %******************************************************* %\usepackage[section,below]{placeins} <--- not everybody wants this %\usepackage[all]{hypcap} <--- does not work with MiKTeX 2.6 % ******************************************************************** % Language/strings for backrefs (change here, thanks, Lorenzo) %******************************************************* %\renewcommand{\backrefnotcitedstring}{\relax}%(Not cited.) %\renewcommand{\backrefcitedsinglestring}[1]{(Citato a pagina~#1.)} %\renewcommand{\backrefcitedmultistring}[1]{(Citato alle pagine~#1.)} %\renewcommand{\backreftwosep}{ e~} %\renewcommand{\backreflastsep}{ e~} % ******************************************************************** % Setup and Finetuning %******************************************************* \newlength{\abcd} % for ab..z string length calculation \newcommand{\myfloatalign}{\centering} % how all the floats will be aligned \setlength{\extrarowheight}{3pt} % increase table row height % ******************************************************************** % Captions look and feel %******************************************************* \captionsetup{format=hang,font=small} % ******************************************************************** % Listings setup % ******************************************************************** %\lstset{emph={trueIndex,root},emphstyle=\color{BlueViolet}}%\underbar} % for special keywords % ******************************************************************** \lstset{language=[LaTeX]Tex,%C++, 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, numberbychapter=false %frame=L } % ******************************************************************** % Where to look for graphics %******************************************************* %\graphicspath{{gfx/}{misc/}} % considered harmful according to l2tabu % ******************************************************************** % Hyperreferences %******************************************************* \hypersetup{% 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, pdfborder={0 0 0}, pdfstartpage=3, pdfstartview=FitV,% breaklinks=true, pdfpagemode=UseNone, pageanchor=true, pdfpagemode=UseOutlines,% plainpages=false, bookmarksnumbered, bookmarksopen=true, bookmarksopenlevel=1,% hypertexnames=true, pdfhighlight=/O,%hyperfootnotes=true,%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}% } %******************************************************************** % 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/Abstract} \cleardoublepage\include{FrontBackmatter/Publication} \cleardoublepage\include{FrontBackmatter/Acknowledgments} \pagestyle{scrheadings} \cleardoublepage\include{FrontBackmatter/Contents} %******************************************************************** % Mainmatter %******************************************************* \pagenumbering{arabic} % use \cleardoublepage here to avoid problems with pdfbookmark \cleardoublepage\part{Some Kind of Manual} \include{Chapters/Chapter01} \cleardoublepage\part{The 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 \cleardoublepage\part{Appendix} \include{Chapters/Chapter0A} %******************************************************************** % Other Stuff in the Back %******************************************************* \cleardoublepage\include{FrontBackmatter/Bibliography} \cleardoublepage\include{FrontBackmatter/Colophon} \cleardoublepage\include{FrontBackmatter/Declaration} % ******************************************************************** % Game Over: Restart, Restore or Quit? %******************************************************* \end{document} % ********************************************************************