1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
% ********************************************************************
% Personal commands
% ********************************************************************
\newcommand{\myName}{Lorenzo Pantieri}
\newcommand{\myTitle}{The ArsClassica package}
\newcommand{\mySubTitle}{Ah homage to the Elements of Typographic Style}
\DeclareRobustCommand*{\clsname}[1]{{\normalfont\sffamily#1}}
\DeclareRobustCommand*{\pkgname}[1]{{\normalfont\sffamily#1}}
\DeclareRobustCommand*{\optname}[1]{{\normalfont\ttfamily#1}}
\DeclareRobustCommand*{\cmdname}[1]{\mbox{\lstinline[basicstyle=\normalsize\ttfamily]!\\#1!}}
\DeclareRobustCommand*{\classicthesis}{Classic\-Thesis}
\DeclareRobustCommand*{\arsclassica}{{\normalfont\sffamily ArsClassica}}
% ********************************************************************
% Hyper-references
% ********************************************************************
\newcommand{\mail}[1]{\href{mailto:#1}{\texttt{#1}}}
% ********************************************************************
% Graphics
% ********************************************************************
\graphicspath{{Graphics/}}
% ********************************************************************
% Code
% ********************************************************************
\definecolor{lightergray}{gray}{0.99}
\lstset{language=[LaTeX]Tex,
keywordstyle=\color{RoyalBlue},
basicstyle=\small\ttfamily,
commentstyle=\color{Emerald}\ttfamily,
stringstyle=\rmfamily,
numberstyle=\scriptsize,
showstringspaces=false,
breaklines=true,
frame=lines,
backgroundcolor=\color{lightergray},
flexiblecolumns=true,
escapeinside={£*}{*£},
firstnumber=last,
}
\newcommand{\meta}[1]{$\langle${\normalfont\itshape#1}$\rangle$}
\lstset{ morekeywords=%
{ProvidesPackage,RequirePackage,areaset,ifthenelse,%
chapterNumber,undefined,boolean,DeclareRobustCommand,%
spacedallcaps,textssc,MakeTextUppercase,lehead,%
microtypesetup,textls,spacedlowsmallcaps,MakeTextLowercase,%
sodef,allcapsspacing,lowsmallcapsspacing,thesection,%
color,headmark,rohead,headfont,pnumfont,titleformat,%
part,partname,thepart,chapter,thechapter,titlerule,%
subsection,thesubsection,subsubsection,thesubsubsection,%
paragraph,theparagraph,descriptionlabel,titlespacing,%
formatchapter,textcolor,clearscrplain,rofoot,labelitemi,
captionsetup,hypersetup}}
\lstnewenvironment{code}%
{\setkeys{lst}{columns=fullflexible,keepspaces=true}%
\lstset{basicstyle=\small\ttfamily}}{}
% ********************************************************************
% Bibliography
% ********************************************************************
\bibliography{Bibliography}
\defbibheading{bibliography}{%
\cleardoublepage
\manualmark
\phantomsection
\addcontentsline{toc}{chapter}{\tocEntry{\bibname}}
\chapter*{\bibname\markboth{\spacedlowsmallcaps{\bibname}}
{\spacedlowsmallcaps{\bibname}}}}
\renewcommand*{\nameyeardelim}{\addcomma\space}
|