summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/arsclassica/Chapters/Code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/arsclassica/Chapters/Code.tex')
-rw-r--r--Master/texmf-dist/doc/latex/arsclassica/Chapters/Code.tex26
1 files changed, 5 insertions, 21 deletions
diff --git a/Master/texmf-dist/doc/latex/arsclassica/Chapters/Code.tex b/Master/texmf-dist/doc/latex/arsclassica/Chapters/Code.tex
index 48fb5e1847c..523ad36c0fe 100644
--- a/Master/texmf-dist/doc/latex/arsclassica/Chapters/Code.tex
+++ b/Master/texmf-dist/doc/latex/arsclassica/Chapters/Code.tex
@@ -1,5 +1,5 @@
%************************************************
-\myChapter{The code}
+\chapter{The code}
\label{chp:code}
%************************************************
@@ -13,11 +13,10 @@
Announcement of the package and requirement for the necessary packages.
\begin{lstlisting}[firstnumber=1]
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{arsclassica}[2009/01/01 v2.5.3 Customizing
+\ProvidesPackage{arsclassica}[2010/02/14 v2.7 Customizing
ClassicThesis (LP)]
\RequirePackage{classicthesis-ldpkg}
\RequirePackage{classicthesis}
-
\end{lstlisting}
Declaration of the language option: \optname{english} (default), \optname{french}, \optname{german}, \optname{spanish}, and \optname{italian}.
\begin{lstlisting}
@@ -33,7 +32,6 @@ Declaration of the language option: \optname{english} (default), \optname{french
\DeclareOption{italian}{\setboolean{italian}{true}}
\ExecuteOptions{english}
\ProcessOptions\relax
-
\end{lstlisting}
%
Balance of index columns (if your document has an index).
@@ -54,11 +52,11 @@ Balance of index columns (if your document has an index).
\makeindex
}
{\relax}
-
\end{lstlisting}
%
References of \pkgname{backref} in English, French, German, Spanish, and Italian.
\begin{lstlisting}
+\ifcld@backref
\ifthenelse{\boolean{english}}%
{%
\PackageInfo{arsclassica}{Using option "english". %
@@ -143,7 +141,7 @@ References of \pkgname{backref} in English, French, German, Spanish, and Italian
\fi}
}
{\relax}
-
+\fi
\end{lstlisting}
%
Settings of \pkgname{minitoc}.
@@ -242,12 +240,10 @@ Settings of \pkgname{minitoc}.
}
}
{\relax}
-
\end{lstlisting}
Use of Iwona\index{Iwona} as font sans serif.
\begin{lstlisting}
\renewcommand{\sfdefault}{iwona}
-
\end{lstlisting}
%
Customized chapter numbers.
@@ -256,7 +252,6 @@ Customized chapter numbers.
\ifthenelse{\boolean{@eulerchapternumbers}}
{\newfont{\chapterNumber}{eurb10 scaled 5000}}%
{\newfont{\chapterNumber}{pplr9d scaled 5000}}
-
\end{lstlisting}
%
Small caps sans serif.
@@ -288,7 +283,6 @@ Small caps sans serif.
{\lowsmallcapsspacing{#1}}}}%
}%
}
-
\end{lstlisting}
%
Semi-transparent headlines and page numbers in Iwona.
@@ -303,7 +297,6 @@ Semi-transparent headlines and page numbers in Iwona.
\rlap{\small{\color{halfgray}\vline}\kern1em\thepage}}}
\renewcommand{\headfont}{\normalfont\sffamily}
\renewcommand{\pnumfont}{\small\sffamily}
-
\end{lstlisting}
%
Use of Iwona\index{Iwona} for the titles of sectioning units (chapters, sections, subsections, sub-subsections, paragraphs, subparagraphs) and for the labels of description lists.
@@ -362,20 +355,17 @@ Use of Iwona\index{Iwona} for the titles of sectioning units (chapters, sections
{.8\baselineskip}[\marginparsep]
\titlespacing*{\paragraph}{0pt}{1\baselineskip}%
{1\baselineskip}
-
\end{lstlisting}
%
Itemize lists with semi-transparent labels.
\begin{lstlisting}
\renewcommand\labelitemi{\color{halfgray}$\bullet$}
-
\end{lstlisting}
%
Settings of captions.
\begin{lstlisting}
\captionsetup{format=hang,font=small,labelfont={sf,bf}}
\captionsetup[table]{skip=\medskipamount}
-
\end{lstlisting}
%
Symmetrical marginal notes.
@@ -390,13 +380,11 @@ Symmetrical marginal notes.
\DeclareRobustCommand{\graffito}[1]{\marginpar
[\graffito@setup\raggedleft\hspace{0pt}{#1}]
{\graffito@setup\raggedright\hspace{0pt}{#1}}}
-
\end{lstlisting}
%
Space between the lines.
\begin{lstlisting}
\linespread{1.00}
-
\end{lstlisting}
%
``Double square'' text body (like in version~2.3 of ClassicThesis), for documents written in A4 format using Palatino font.
@@ -414,10 +402,9 @@ Space between the lines.
\setlength{\marginparsep}{2em}%
}%
}
-
\end{lstlisting}
%
-The {\ttfamily\textbackslash\color{RoyalBlue}{arsincludegraphics}} command is defined, which allows to include graphics with ``Alice Blue'' coloured background; it works like {\ttfamily\textbackslash\color{RoyalBlue}{includegraphics}}. This works, of course, only with graphics with a transparent background, such us \textsc{pdf} or some \textsc{png} files. In the previous versions of \arsclassica, {\ttfamily\textbackslash\color{RoyalBlue}{arsincludegraphics}} command was named {\ttfamily\textbackslash\color{RoyalBlue}{myincludegraphics}}: the old name is still manteined (for now), but deprecated.
+The {\ttfamily\textbackslash\color{RoyalBlue}{arsincludegraphics}} command is defined, which allows to include graphics with ``Alice Blue'' coloured background. In the previous versions of \arsclassica{} package, {\ttfamily\textbackslash\color{RoyalBlue}{arsincludegraphics}} command was named {\ttfamily\textbackslash\color{RoyalBlue}{myincludegraphics}}: the old name is still mantained (for now), but deprecated.
\begin{lstlisting}
\definecolor{aliceblue}{RGB}{240,248,255}
@@ -430,7 +417,6 @@ The {\ttfamily\textbackslash\color{RoyalBlue}{arsincludegraphics}} command is de
The command \noexpand\myincludegraphics is
obsolete;\MessageBreak use \string\arsincludegraphics}%
\arsincludegraphics}
-
\end{lstlisting}
Settings of \pkgname{hyperref}.
\begin{lstlisting}
@@ -462,7 +448,6 @@ Settings of \pkgname{hyperref}.
\else
\relax
\fi
-
\end{lstlisting}
%
Definition of the commands
@@ -534,7 +519,6 @@ _\varepsilon$}
\DeclareRobustCommand\ctTeX{%
\texorpdfstring{\textls[1]{\csname @\f@family\f@shape TeX%
\endcsname}}{TeX}}
-
\end{lstlisting}
%
The following code allows to have, in the table of contents, the headlines in spaced small caps, even when the table of contents spreads over more than two pages (fixing a little bug of \classicthesis).