diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/arsclassica')
-rw-r--r-- | Master/texmf-dist/doc/latex/arsclassica/ArsClassica.pdf | bin | 437824 -> 465655 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/arsclassica/ArsClassica.tex | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/arsclassica/Bibliography.bib | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/arsclassica/CHANGES | 9 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/arsclassica/Chapters/Code.tex | 26 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/arsclassica/Chapters/Fundamentals.tex | 14 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.pdf | bin | 428422 -> 456983 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.tex | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/arsclassica/Italian/Bibliografia.bib | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Basi.tex | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Codice.tex | 24 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/arsclassica/Italian/arsclassica.sty | 538 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/arsclassica/Italian/italadhoc.sty | 100 |
13 files changed, 650 insertions, 107 deletions
diff --git a/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.pdf b/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.pdf Binary files differindex 809c392d34c..597a24b9e72 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.pdf +++ b/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.pdf diff --git a/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.tex b/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.tex index 6761d16baf0..0a1d1e10987 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.tex +++ b/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.tex @@ -1,6 +1,6 @@ -\documentclass[10pt,a4paper,twoside,openright,titlepage,fleqn, - cleardoubleempty,abstracton,pointlessnumbers,% - headinclude,footinclude,BCOR5mm,% +\documentclass[10pt,a4paper,twoside,openright,titlepage,fleqn,% + headinclude,,footinclude,BCOR5mm,% + numbers=noenddot,cleardoublepage=empty,% tablecaptionabove]{scrreprt} \newcommand{\myName}{Lorenzo Pantieri\xspace} @@ -9,7 +9,7 @@ \newcommand{\myLocation}{Cesena\xspace} \newcommand{\myGroup}{Italian \TeX{} and \LaTeX{} User Group\xspace} \newcommand{\myUrl}{\url{http://www.guit.sssup.it/}\xspace} -\newcommand{\myTime}{2009, January\xspace} +\newcommand{\myTime}{2010, February\xspace} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} @@ -22,7 +22,7 @@ \usepackage{lipsum} \usepackage[italian,english]{babel} \usepackage[writefile]{listings} -\usepackage{classicthesis-ldpkg} +\usepackage[backref]{classicthesis-ldpkg} \usepackage[eulerchapternumbers,subfig,beramono, eulermath,pdfspacing]{classicthesis} \usepackage[english]{arsclassica} diff --git a/Master/texmf-dist/doc/latex/arsclassica/Bibliography.bib b/Master/texmf-dist/doc/latex/arsclassica/Bibliography.bib index 1daf359fef0..71f3f939310 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/Bibliography.bib +++ b/Master/texmf-dist/doc/latex/arsclassica/Bibliography.bib @@ -10,7 +10,7 @@ @MANUAL{miede:classicthesis, AUTHOR = {Miede, AndrŽ}, TITLE = {A Classic Thesis style}, - YEAR = {2007}, + YEAR = {2010}, NOTE = {\url{http://www.ctan.org/tex-archive/macros/latex/contrib/classicthesis/ClassicThesis.pdf}} } @@ -18,14 +18,14 @@ @MANUAL{pantieri:classicthesis, AUTHOR = {Pantieri, Lorenzo}, TITLE = {\ita{Introduzione allo stile \classicthesis}}, - YEAR = {2008}, - NOTE = {(in Italian), \url{http://www.lorenzopantieri.net/LaTeX_files/ClassicThesis.pdf}} + YEAR = {2010}, + NOTE = {in Italian, \url{http://www.lorenzopantieri.net/LaTeX_files/ClassicThesis.pdf}} } @MANUAL{pantieri:art, AUTHOR = {Pantieri, Lorenzo}, TITLE = {\ita{L'arte di scrivere con \LaTeX}}, - YEAR = {2008}, - NOTE = {(in Italian), \url{http://www.lorenzopantieri.net/LaTeX_files/ArteLaTeX.pdf}} + YEAR = {2010}, + NOTE = {in Italian, \url{http://www.lorenzopantieri.net/LaTeX_files/ArteLaTeX.pdf}} }
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/arsclassica/CHANGES b/Master/texmf-dist/doc/latex/arsclassica/CHANGES index 6b6ef1de842..287828190d1 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/CHANGES +++ b/Master/texmf-dist/doc/latex/arsclassica/CHANGES @@ -1,3 +1,10 @@ +Changes in version 2.7 (Febrauary 2010) +o Add compatibility with the "backref" option of classicthesis-ldpkg, introduced with the 2.7 version of ClassicThesis +o Fixed some details in the documentation + +Changes in version 2.5.4 (January 2009) +o Corrected some typos in English Documentation. + Changes in version 2.5.3 (January 2009) o Documentation both in English and in Italian; o Support for the English, French, Spanish and German language, via the new options "english" (default), "french", "spanish" and "german", respectively. @@ -7,7 +14,7 @@ Changes in version 2.5.2 (December 2008) o The numbers of parts are now in Roman (uppercase), rather than in roman (lowercase) Changes in version 2.5.1 (November 2008) -o Fixed some details in the PDF of the documentation +o Fixed some details in the documentation o Note: Thanks to all the folks who already sent me some advices! Version 2.5 (November 2008) 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). diff --git a/Master/texmf-dist/doc/latex/arsclassica/Chapters/Fundamentals.tex b/Master/texmf-dist/doc/latex/arsclassica/Chapters/Fundamentals.tex index 288d8f1c8b7..a3f684c5ca0 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/Chapters/Fundamentals.tex +++ b/Master/texmf-dist/doc/latex/arsclassica/Chapters/Fundamentals.tex @@ -1,5 +1,5 @@ %************************************************ -\myChapter{Fundamentals} +\chapter{Fundamentals} \label{chp:fundamentals} \minitoc\mtcskip %************************************************ @@ -20,7 +20,7 @@ The package is shaped for being executed on a \emph{complete} installation of \m The installation of \arsclassica{} is very simple. You can download the \texttt{arsclassica.zip} file from \href{http://www.ctan.org/tex-archive/macros/latex/contrib/arsclassica/}{\texttt{CTAN}} (\url{http://www.ctan.org/tex-archive/macros/latex/contrib/arsclassica/}); then you will decompress it and install \texttt{arsclassica.sty} in the usual way. -The\graffito{ArsClassica requires the~2.5 version of ClassicThesis} package works with the \clsname{KOMA-Script} classes (\clsname{scrreprt}, \clsname{scrbook} and \clsname{scrartcl}) and requires the \pkgname{classicthesis} and \pkgname{classicthesis-ldpkg} packages, \emph{updated to last version available (the~2.5)}; it must be loaded \emph{after} these last ones. It can be loaded simply by +The\graffito{ArsClassica requires the~2.7 version of ClassicThesis} package works with the \clsname{KOMA-Script} classes (\clsname{scrreprt}, \clsname{scrbook} and \clsname{scrartcl}) and requires the \pkgname{classicthesis} and \pkgname{classicthesis-ldpkg} packages, \emph{updated to the last version available (the~2.7)}; it must be loaded \emph{after} these last ones. It can be loaded simply by \begin{code} \documentclass[£*\meta{\dots\unkern}*£]{scrreprt} % or scrbook or scrartcl @@ -36,12 +36,12 @@ The\graffito{ArsClassica requires the~2.5 version of ClassicThesis} package work For example, the present document has been obtained with the following code: \begin{code} \documentclass[10pt,a4paper,twoside,openright,titlepage,fleqn,% - cleardoubleempty,abstracton,pointlessnumbers,% - headinclude,footinclude,BCOR5mm,% + headinclude,,footinclude,BCOR5mm,% + numbers=noenddot,cleardoublepage=empty,% tablecaptionabove]{scrreprt} \usepackage{£*\meta{\dots\unkern}*£} -\usepackage{classicthesis-ldpkg} +\usepackage[backref]{classicthesis-ldpkg} \usepackage[eulerchapternumbers,subfig,beramono,% eulermath,pdfspacing]{classicthesis} \usepackage{arsclassica} @@ -62,7 +62,7 @@ The\graffito{References of backref in Italian} \arsclassica{} package has five o \begin{code} \usepackage[£*\meta{language}*£]{arsclassica} \end{code} -which allow to have the final bibliographical references (generated from the package \pkgname{backref}, loaded automatically from \pkgname{classicthesis-ldpkg}) and the labels of the minitocs (if the package \pkgname{minitoc} is loaded) respectively in English, French, German, Spanish, and Italian. +which allow to have the final bibliographical references (generated by the package \pkgname{backref}, loaded automatically from \pkgname{classicthesis-ldpkg}) and the labels of the minitocs (if the package \pkgname{minitoc} is loaded) respectively in English, French, German, Spanish, and Italian. @@ -104,7 +104,7 @@ You might want to say \end{code} in order that each of your included graphics has this blue background. -In the previous versions of \arsclassica, \cmdname{arsincludegraphics} command was named \cmdname{myincludegraphics}: the old name is still manteined (for now), but deprecated. +In the previous versions of \arsclassica, \cmdname{arsincludegraphics} command was named \cmdname{myincludegraphics}: the old name is still mantained (for now), but deprecated. \begin{figure}[tb] \centering diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.pdf b/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.pdf Binary files differindex 06d56c509dd..4357de741c4 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.pdf +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.pdf diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.tex b/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.tex index ccb888c73f8..65796f6a993 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.tex +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.tex @@ -1,6 +1,6 @@ -\documentclass[10pt,a4paper,twoside,openright,titlepage,fleqn, - cleardoubleempty,abstracton,pointlessnumbers,% - headinclude,footinclude,BCOR5mm,% +\documentclass[10pt,a4paper,twoside,openright,titlepage,fleqn,% + headinclude,,footinclude,BCOR5mm,% + numbers=noenddot,cleardoublepage=empty,% tablecaptionabove]{scrreprt} \newcommand{\myName}{Lorenzo Pantieri\xspace} @@ -9,7 +9,7 @@ \newcommand{\myLocation}{Cesena\xspace} \newcommand{\myGroup}{Gruppo Utilizzatori Italiani di \TeX{} e \LaTeX\xspace} \newcommand{\myUrl}{\url{http://www.guit.sssup.it/}\xspace} -\newcommand{\myTime}{Gennaio 2009\xspace} +\newcommand{\myTime}{Febbraio 2010\xspace} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} @@ -24,7 +24,7 @@ \usepackage{lipsum} \usepackage[english,italian]{babel} \usepackage[writefile]{listings} -\usepackage{classicthesis-ldpkg} +\usepackage[backref]{classicthesis-ldpkg} \usepackage[eulerchapternumbers,subfig,beramono, eulermath,pdfspacing]{classicthesis} \usepackage[italian]{arsclassica} diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/Bibliografia.bib b/Master/texmf-dist/doc/latex/arsclassica/Italian/Bibliografia.bib index 789df3b1a51..85e5038f8ba 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/Italian/Bibliografia.bib +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/Bibliografia.bib @@ -10,7 +10,7 @@ @MANUAL{miede:classicthesis, AUTHOR = {Miede, AndrŽ}, TITLE = {\inglese{A Classic Thesis style}}, - YEAR = {2007}, + YEAR = {2010}, NOTE = {{Manuale} d'uso dello stile \classicthesis, \url{http://www.ctan.org/tex-archive/macros/latex/contrib/classicthesis/ClassicThesis.pdf}} } @@ -18,7 +18,7 @@ @MANUAL{pantieri:classicthesis, AUTHOR = {Pantieri, Lorenzo}, TITLE = {Introduzione allo stile \classicthesis}, - YEAR = {2008}, + YEAR = {2010}, NOTE = {\url{http://www.lorenzopantieri.net/LaTeX_files/ClassicThesis.pdf}} } @@ -26,6 +26,6 @@ @MANUAL{pantieri:arte, AUTHOR = {Pantieri, Lorenzo}, TITLE = {L'arte di scrivere con \LaTeX}, - YEAR = {2008}, + YEAR = {2010}, NOTE = {\url{http://www.lorenzopantieri.net/LaTeX_files/ArteLaTeX.pdf}} }
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Basi.tex b/Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Basi.tex index fa63dc59efa..9bb2922d8dd 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Basi.tex +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Basi.tex @@ -1,5 +1,5 @@ %************************************************ -\myChapter{Le basi} +\chapter{Le basi} \label{cap:basi} \minitoc\mtcskip %************************************************ @@ -22,7 +22,7 @@ Il pacchetto è configurato per essere eseguito su un'installazione \emph{complet L'installazione di \arsclassica{} non presenta particolari difficoltà. Si scarica il file \texttt{ArsClassica.zip} da \url{http://www.lorenzopantieri.net/LaTeX.html} e, dopo averlo decompresso, si installa \texttt{arsclassica.sty} nel solito modo~\citep[p.~25]{pantieri:arte}. -Il\graffito{ArsClassica richiede la versione~2.5 di ClassicThesis; va caricato dopo quest'ultimo.} pacchetto funziona con le classi \classe{KOMA-Script} (\classe{scrreprt}, \classe{scrbook} e \classe{scrartcl}) e richiede i pacchetti \pacchetto{classicthesis} e \pacchetto{classicthesis-ldpkg} \emph{aggiornati all'ultima versione disponibile (la~2.5)}; deve essere caricato \emph{dopo} questi ultimi. Si carica semplicemente con +Il\graffito{ArsClassica richiede la versione~2.7 di ClassicThesis; va caricato dopo quest'ultimo.} pacchetto funziona con le classi \classe{KOMA-Script} (\classe{scrreprt}, \classe{scrbook} e \classe{scrartcl}) e richiede i pacchetti \pacchetto{classicthesis} e \pacchetto{classicthesis-ldpkg} \emph{aggiornati all'ultima versione disponibile (la~2.7)}; deve essere caricato \emph{dopo} questi ultimi. Si carica semplicemente con \begin{code} \documentclass[£*\meta{\dots\unkern}*£]{scrreprt} % o scrbook o scrartcl @@ -38,12 +38,12 @@ Il\graffito{ArsClassica richiede la versione~2.5 di ClassicThesis; va caricato d Ad esempio, il presente documento è stato ottenuto con il seguente codice: \begin{code} \documentclass[10pt,a4paper,twoside,openright,titlepage,fleqn,% - cleardoubleempty,abstracton,pointlessnumbers,% - headinclude,footinclude,BCOR5mm,% + headinclude,,footinclude,BCOR5mm,% + numbers=noenddot,cleardoublepage=empty,% tablecaptionabove]{scrreprt} \usepackage{£*\meta{\dots\unkern}*£} -\usepackage{classicthesis-ldpkg} +\usepackage[backref]{classicthesis-ldpkg} \usepackage[eulerchapternumbers,subfig,beramono,% eulermath,pdfspacing]{classicthesis} \usepackage[italian]{arsclassica} diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Codice.tex b/Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Codice.tex index bb4ca1398dd..db0501fe596 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Codice.tex +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Codice.tex @@ -1,5 +1,5 @@ %************************************************ -\myChapter{Il codice} +\chapter{Il codice} \label{cap:codice} %************************************************ @@ -17,7 +17,6 @@ Annuncio del pacchetto e richiesta dei pacchetti necessari. ClassicThesis (LP)] \RequirePackage{classicthesis-ldpkg} \RequirePackage{classicthesis} - \end{lstlisting} Dichiarazione delle opzioni linguistiche \opzione{english} (predefinita), \opzione{french}, \opzione{german}, \opzione{spanish} e \opzione{italian}. \begin{lstlisting} @@ -33,7 +32,6 @@ Dichiarazione delle opzioni linguistiche \opzione{english} (predefinita), \opzio \DeclareOption{italian}{\setboolean{italian}{true}} \ExecuteOptions{english} \ProcessOptions\relax - \end{lstlisting} % Bilanciamento delle colonne dell'indice analitico (se presente). @@ -54,11 +52,11 @@ Bilanciamento delle colonne dell'indice analitico (se presente). \makeindex } {\relax} - \end{lstlisting} % Riferimenti di \pacchetto{backref} in inglese, francese, tedesco, spagnolo e italiano. \begin{lstlisting} +\ifcld@backref \ifthenelse{\boolean{english}}% {% \PackageInfo{arsclassica}{Using option "english". % @@ -143,10 +141,10 @@ Riferimenti di \pacchetto{backref} in inglese, francese, tedesco, spagnolo e ita \fi} } {\relax} - +\fi \end{lstlisting} % -Impostazioni di \pacchetto{minitoc}. +Impostazioni di \pacchetto{minitoc}. (Come specificato nella documentazione, per ottenere i miniindici devono essere presenti il comando \comando{dominitoc} prima di \comando{tableofcontents} ed i comandi \comando{minitoc}\comando{mtcskip} subito dopo i vari \comando{chapter}.) \begin{lstlisting} \@ifpackageloaded{minitoc} {% @@ -242,12 +240,10 @@ Impostazioni di \pacchetto{minitoc}. } } {\relax} - \end{lstlisting} Uso di Iwona\index{Iwona} come font sans serif. \begin{lstlisting} \renewcommand{\sfdefault}{iwona} - \end{lstlisting} % Numeri dei capitoli personalizzati. @@ -256,7 +252,6 @@ Numeri dei capitoli personalizzati. \ifthenelse{\boolean{@eulerchapternumbers}} {\newfont{\chapterNumber}{eurb10 scaled 5000}}% {\newfont{\chapterNumber}{pplr9d scaled 5000}} - \end{lstlisting} % Maiuscoletto sans serif. @@ -288,7 +283,6 @@ Maiuscoletto sans serif. {\lowsmallcapsspacing{#1}}}}% }% } - \end{lstlisting} % Testatine semitrasparenti e numeri di pagina in Iwona. @@ -303,7 +297,6 @@ Testatine semitrasparenti e numeri di pagina in Iwona. \rlap{\small{\color{halfgray}\vline}\kern1em\thepage}}} \renewcommand{\headfont}{\normalfont\sffamily} \renewcommand{\pnumfont}{\small\sffamily} - \end{lstlisting} % Uso del font Iwona\index{Iwona} per i titoli delle sezioni (capitoli, paragrafi, sottoparagrafi, sotto-sottoparagrafi, capoversi) e delle etichette degli elenchi descrittivi. @@ -362,20 +355,17 @@ Uso del font Iwona\index{Iwona} per i titoli delle sezioni (capitoli, paragrafi, {.8\baselineskip}[\marginparsep] \titlespacing*{\paragraph}{0pt}{1\baselineskip}% {1\baselineskip} - \end{lstlisting} % Elenchi puntati con etichette semitrasparenti. \begin{lstlisting} \renewcommand\labelitemi{\color{halfgray}$\bullet$} - \end{lstlisting} % Impostazione delle didascalie. \begin{lstlisting} \captionsetup{format=hang,font=small,labelfont={sf,bf}} \captionsetup[table]{skip=\medskipamount} - \end{lstlisting} % Note a margine simmetriche. @@ -390,13 +380,11 @@ Note a margine simmetriche. \DeclareRobustCommand{\graffito}[1]{\marginpar [\graffito@setup\raggedleft\hspace{0pt}{#1}] {\graffito@setup\raggedright\hspace{0pt}{#1}}} - \end{lstlisting} % Interlinea. \begin{lstlisting} \linespread{1.00} - \end{lstlisting} % Corpo del testo ``a doppio quadrato'' (come nella versione~2.3 dello stile), per documenti composti in formato A4 con font Palatino. @@ -414,7 +402,6 @@ Corpo del testo ``a doppio quadrato'' (come nella versione~2.3 dello stile), per \setlength{\marginparsep}{2em}% }% } - \end{lstlisting} % Si definisce il comando @@ -435,7 +422,6 @@ Nelle versioni precedenti di \arsclassica, il comando {\ttfamily\textbackslash\c The command \noexpand\myincludegraphics is obsolete;\MessageBreak use \string\arsincludegraphics}% \arsincludegraphics} - \end{lstlisting} Impostazioni di \pacchetto{hyperref}. \begin{lstlisting} @@ -467,7 +453,6 @@ Impostazioni di \pacchetto{hyperref}. \else \relax \fi - \end{lstlisting} % Definizione dei comandi @@ -539,7 +524,6 @@ _\varepsilon$} \DeclareRobustCommand\ctTeX{% \texorpdfstring{\textls[1]{\csname @\f@family\f@shape TeX% \endcsname}}{TeX}} - \end{lstlisting} % Il codice seguente permette di avere, nell'indice generale, le testatine in maiuscoletto spaziato, anche quando l'indice occupa più di due pagine (rimediando ad un piccolo difetto di \classicthesis). diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/arsclassica.sty b/Master/texmf-dist/doc/latex/arsclassica/Italian/arsclassica.sty new file mode 100644 index 00000000000..4046d71c78d --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/arsclassica.sty @@ -0,0 +1,538 @@ +%************************************************************ +% arsclassica.sty +% +% copyright (C) 2008-2010 Lorenzo Pantieri +% http://www.lorenzopantieri.net/ +% +%************************************************************ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{arsclassica}[2010/02/14 v2.7 Customizing ClassicThesis (LP)] +\RequirePackage{classicthesis-ldpkg} +\RequirePackage{classicthesis} + + +%************************************************************ +% Options +%************************************************************ +\newboolean{english} +\newboolean{french} +\newboolean{german} +\newboolean{spanish} +\newboolean{italian} +\DeclareOption{english}{\setboolean{english}{true}} +\DeclareOption{french}{\setboolean{french}{true}} +\DeclareOption{german}{\setboolean{german}{true}} +\DeclareOption{spanish}{\setboolean{spanish}{true}} +\DeclareOption{italian}{\setboolean{italian}{true}} +\ExecuteOptions{english} +\ProcessOptions\relax + + +%************************************************************ +% The index +%************************************************************ +\@ifpackageloaded{makeidx} +{% + \RequirePackage{multicol} + \let\orgtheindex\theindex + \let\orgendtheindex\endtheindex + \def\theindex{% + \def\twocolumn{\begin{multicols}{2}}% + \def\onecolumn{}% + \clearpage + \orgtheindex} + \def\endtheindex{% + \end{multicols}% + \orgendtheindex} + \makeindex +} +{\relax} + + +%************************************************************ +% backref +%************************************************************ +\ifcld@backref +\ifthenelse{\boolean{english}}% +{% + \PackageInfo{arsclassica}{Using option "english". % + This activates english language in "backref".} + \renewcommand*{\backreftwosep}{ and~} + \renewcommand*{\backreflastsep}{, and~} + \renewcommand*{\backrefalt}[4]{% + \ifcase #1 % + \relax% + \or + (Cited on page~#2.)% + \else + (Cited on pages~#2.) + \fi} +} +{\relax} + +\ifthenelse{\boolean{french}}% +{% + \PackageInfo{arsclassica}{Using option "french". % + This activates french language in "backref".} + \renewcommand*{\backreftwosep}{ et~} + \renewcommand*{\backreflastsep}{ et~} + \renewcommand*{\backrefalt}[4]{% + \ifcase #1 % + \relax% + \or + (Cit\'e \`a page~#2.)% + \else + (Cit\'e aux pages~#2.) + \fi} +} +{\relax} + +\ifthenelse{\boolean{german}}% +{% + \PackageInfo{arsclassica}{Using option "german". % + This activates german language in "backref".} + \renewcommand*{\backreftwosep}{ und~} + \renewcommand*{\backreflastsep}{ und~} + \renewcommand*{\backrefalt}[4]{% + \ifcase #1 % + \relax% + \or + (Zitiert auf Seite~#2.)% + \else + (Zitiert auf Seiten~#2.) + \fi} +} +{\relax} + +\ifthenelse{\boolean{spanish}}% +{% + \PackageInfo{arsclassica}{Using option "spanish". % + This activates spanish language in "backref".} + \renewcommand*{\backreftwosep}{ y~} + \renewcommand*{\backreflastsep}{ y~} + \renewcommand*{\backrefalt}[4]{% + \ifcase #1 % + \relax% + \or + (Citado en la p\'agina~#2.)% + \else + (Citado en las p\'aginas~#2.) + \fi} +} +{\relax} + +\ifthenelse{\boolean{italian}}% +{% + \PackageInfo{arsclassica}{Using option "italian". % + This activates italian language in "backref".} + \renewcommand*{\backreftwosep}{ e~} + \renewcommand*{\backreflastsep}{ e~} + \renewcommand*{\backrefalt}[4]{% + \ifcase #1 % + \relax% + \or + (Citato a pagina~#2.)% + \else + (Citato alle pagine~#2.) + \fi} +} +{\relax} +\fi + +%************************************************************ +% minitoc +%************************************************************ +\@ifpackageloaded{minitoc} +{% + \ifthenelse{\boolean{english}}% + {% + \def\ptctitle{contents} + \def\mtctitle{contents} + \def\stctitle{contents} + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } + {% + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } +} +{\relax} + +\@ifpackageloaded{minitoc} +{% + \ifthenelse{\boolean{french}}% + {% + \def\ptctitle{mati\`eres} + \def\mtctitle{mati\`eres} + \def\stctitle{mati\`eres} + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } + {% + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } +} +{\relax} + +\@ifpackageloaded{minitoc} +{% + \ifthenelse{\boolean{german}}% + {% + \def\ptctitle{inhaltsverzeichnis} + \def\mtctitle{inhaltsverzeichnis} + \def\stctitle{inhaltsverzeichnis} + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } + {% + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } +} +{\relax} + +\@ifpackageloaded{minitoc} +{% + \ifthenelse{\boolean{spanish}}% + {% + \def\ptctitle{\'indice} + \def\mtctitle{\'indice} + \def\stctitle{\'indice} + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } + {% + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } +} +{\relax} + +\@ifpackageloaded{minitoc} +{% + \ifthenelse{\boolean{italian}}% + {% + \def\ptctitle{indice} + \def\mtctitle{indice} + \def\stctitle{indice} + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } + {% + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } +} +{\relax} + + +%************************************************************ +% Iwona +%************************************************************ +\renewcommand{\sfdefault}{iwona} + + +%************************************************************ +% Chapter numbers +%************************************************************ +\let\chapterNumber\undefined +\ifthenelse{\boolean{@eulerchapternumbers}} +{\newfont{\chapterNumber}{eurb10 scaled 5000}}% +{\newfont{\chapterNumber}{pplr9d scaled 5000}} + + +%************************************************************ +% Fancy stuff +%************************************************************ +\ifthenelse{\boolean{@minionprospacing}}% +{% + \DeclareRobustCommand{\spacedallcaps}[1]{\sffamily% + \textssc{\MakeTextUppercase{#1}}}% + \DeclareRobustCommand{\spacedlowsmallcaps}[1]% + {\sffamily\textssc{\MakeTextLowercase{#1}}}% +}{% + \ifthenelse{\boolean{@pdfspacing}}% + {% + \microtypesetup{expansion=false}% + \DeclareRobustCommand{\spacedallcaps}[1]% + {\sffamily\textls[160]{\MakeTextUppercase{#1}}}% + \DeclareRobustCommand{\spacedlowsmallcaps}[1]% + {\sffamily\textls[80]{\scshape\MakeTextLowercase{#1}}}% + }{% + \RequirePackage{soul} + \sodef\allcapsspacing{\sffamily\upshape}% + {0.15em}{0.65em}{0.6em}% + \sodef\lowsmallcapsspacing{\sffamily\scshape}% + {0.075em}{0.5em}{0.6em}% + \DeclareRobustCommand{\spacedallcaps}[1]% + {\MakeTextUppercase{\allcapsspacing{#1}}}% + \DeclareRobustCommand{\spacedlowsmallcaps}[1]% + {\MakeTextLowercase{\textsc% + {\lowsmallcapsspacing{#1}}}}% + }% +} +%************************************************************ + + +%************************************************************ +% Headlines +%************************************************************ +\renewcommand{\sectionmark}[1]{\markright{\textsc% +{\MakeTextLowercase{\thesection}} \spacedlowsmallcaps{#1}}} +\lehead{\mbox{\llap{\small\thepage\kern1em\color{halfgray}% +\vline}% +\color{halfgray}\hspace{0.5em}\headmark\hfil}} +\rohead{\mbox{\hfil{\color{halfgray}% +\headmark\hspace{0.5em}}% +\rlap{\small{\color{halfgray}\vline}\kern1em\thepage}}} +\renewcommand{\headfont}{\normalfont\sffamily} +\renewcommand{\pnumfont}{\small\sffamily} + + +%************************************************************ +% Layout of the chapter-, section-, subsection-, +% subsubsection-, paragraph and description-headings +%************************************************************ +\RequirePackage{titlesec} + % parts + \ifthenelse{\boolean{@parts}}% + {% + \titleformat{\part}[display] + {\normalfont\centering\large}% + {\thispagestyle{empty}\partname~\MakeTextUppercase{\thepart}}{1em}% + {\color{Maroon}\spacedallcaps} + }{\relax} + % chapters + \ifthenelse{\boolean{@linedheaders}}% + {% + \titleformat{\chapter}[display]% + {\relax}{\raggedleft{\color{halfgray}% + \chapterNumber\thechapter} \\ }{0pt}% + {\titlerule\vspace*{.9\baselineskip}\raggedright% + \spacedallcaps}% + [\normalsize\vspace*{.8\baselineskip}\titlerule]% + }{% + \titleformat{\chapter}[block]% + {\normalfont\Large\sffamily}% + {{\color{halfgray}\chapterNumber\thechapter% + \hspace{10pt}\vline} }{10pt}% + {\spacedallcaps}} + % sections + \titleformat{\section} + {\normalfont\Large\sffamily}{\textsc% + {\MakeTextLowercase{\thesection}}}% + {1em}{\spacedlowsmallcaps} + % subsections + \titleformat{\subsection} + {\normalfont\sffamily}{\textsc{\MakeTextLowercase% + {\thesubsection}}}{1em}{\normalsize} + % subsubsections + \titleformat{\subsubsection} + {\normalfont\sffamily\itshape}{\textsc% + {\MakeTextLowercase{\thesubsubsection}}}% + {1em}{\normalsize\itshape} + % paragraphs + \titleformat{\paragraph}[runin] + {\normalfont\normalsize\sffamily}{\textsc% + {\MakeTextLowercase{\theparagraph}}}% + {0pt}{\spacedlowsmallcaps} + % descriptionlabels + \renewcommand{\descriptionlabel}[1]{\hspace*{\labelsep}% + \bfseries\spacedlowsmallcaps{#1}} + \titlespacing*{\chapter}{0pt}{1\baselineskip}% + {2\baselineskip} + \titlespacing*{\section}{0pt}{2\baselineskip}% + {.8\baselineskip}[\marginparsep] + \titlespacing*{\subsection}{0pt}{1.5\baselineskip}% + {.8\baselineskip}[\marginparsep] + \titlespacing*{\paragraph}{0pt}{1\baselineskip}% + {1\baselineskip} + + +%************************************************************ +% itemize +%************************************************************ +\renewcommand\labelitemi{\color{halfgray}$\bullet$} + + +%************************************************************ +% caption +%************************************************************ +\captionsetup{format=hang,font=small,labelfont={sf,bf}} +\captionsetup[table]{skip=\medskipamount} + + +%************************************************************ +% graffito +%************************************************************ +\let\graffito\relax +\def\graffito@setup{% + \slshape\footnotesize% + \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}}} + + +%************************************************************ +% linespread +%************************************************************ +\linespread{1.00} + + +%************************************************************ +% text body +%************************************************************ +\ifthenelse{\boolean{@a5paper}}% + {\relax}% + {% A4 + \ifthenelse{\boolean{@minionpro}}% + {\relax}% + {% Palatino or other + \PackageInfo{classicthesis}{A4 paper, Palatino or other} + \areaset[5mm]{312pt}{699pt} + % 624 + 33 head + 42 head \the\footskip + \setlength{\marginparwidth}{7em}% + \setlength{\marginparsep}{2em}% + }% + } + + +%************************************************************ +% graphicx, xcolor +%************************************************************ +\definecolor{aliceblue}{RGB}{240,248,255} + +\let\ars@@includegraphics\includegraphics +\newcommand{\arsincludegraphics}[2][]{% + \begingroup\setlength{\fboxsep}{0pt}% + \colorbox{aliceblue}{\ars@@includegraphics[#1]{#2}}% + \endgroup} +\def\myincludegraphics{\PackageWarning{classiclatex}{% + The command \noexpand\myincludegraphics is + obsolete;\MessageBreak use \string\arsincludegraphics}% + \arsincludegraphics} + + +%************************************************************ +% hyperref +%************************************************************ +\hypersetup{% + colorlinks=true, linktocpage=true, pdfstartpage=3, + pdfstartview=FitV, breaklinks=true, pdfpagemode=UseNone, + pageanchor=true, pdfpagemode=UseOutlines,% + plainpages=false, bookmarksnumbered, + bookmarksopen=true,% + bookmarksopenlevel=1,% + hypertexnames=true, pdfhighlight=/O,% + urlcolor=webbrown, linkcolor=RoyalBlue, + citecolor=RoyalBlue,% + pagecolor=RoyalBlue,% + pdfsubject={},% + pdfkeywords={},% + pdfcreator={pdfLaTeX},% + pdfproducer={LaTeX con hyperref e ClassicThesis}% +} + +\ifdefined\myTitle + \hypersetup{pdftitle={\myTitle}} +\else + \relax +\fi + +\ifdefined\myName + \hypersetup{pdfauthor={\textcopyright\ \myName}} +\else + \relax +\fi + + +%************************************************************ +% \ctLaTeX, \ctLaTeXe, \ctTeX +%************************************************************ +\def\@ppljLaTeX{{\upshape + \sbox\z@{\check@mathfonts\fontsize\sf@size\z@% + \math@fontsfalse\selectfont A}% + \sbox\tw@ T% + L\kern-.55\wd\z@ + \vbox to\ht\tw@{\copy\z@\vss}% + \kern-.25\wd0 + \@ctTeX}} +\def\@ppljTeX{{\upshape T\kern -.08em \lower .3ex\hbox{E}% +\kern -.08em X}} + +\def\@ppljscLaTeX{{\upshape\scshape + \sbox\z@{\check@mathfonts\fontsize\sf@size\z@% + \math@fontsfalse\selectfont a}% + \sbox\tw@ t% + l\kern-.6\wd\z@ + \vbox to\ht\tw@{\copy\z@\vss}% + \kern-.25\wd0 + \@ctTeX}} +\def\@ppljscTeX{{\upshape\scshape t\kern -.085em +\lower .25ex\hbox{e}\kern -.085em x}} + +\def\@iwonaLaTeX{{\upshape + \sbox\z@{\check@mathfonts\fontsize\sf@size\z@% + \math@fontsfalse\selectfont A}% + \sbox\tw@ T% + L\kern-.5\wd\z@ + \vbox to\ht\tw@{\copy\z@\vss}% + \kern-.2\wd0 + \@ctTeX}} +\def\@iwonaTeX{{\upshape T\kern -.12em \lower .3ex\hbox{E}% + \kern -.12em X}} + +\def\@iwonascLaTeX{{\upshape\scshape + \sbox\z@{\check@mathfonts\fontsize\sf@size\z@% + \math@fontsfalse% + \selectfont a}% + \sbox\tw@ t% + l\kern-.5\wd\z@ + \vbox to\ht\tw@{\copy\z@\vss}% + \kern-.2\wd0 + \@ctTeX}} +\def\@iwonascTeX{{\upshape\scshape t\kern -.1em + \lower .25ex\hbox{e}\kern -.1em x}} + +\def\ct@sc{sc} +\def\@ctTeX{\csname @\f@family\ifx\f@shape\ct@sc sc% +\fi TeX\endcsname} + +\DeclareRobustCommand\ctLaTeX{% + \texorpdfstring{\textls[1]{\csname @\f@family\ifx% + \f@shape\ct@sc sc\fi LaTeX\endcsname}}{LaTeX}} +\DeclareRobustCommand\ctLaTeXe{% + \texorpdfstring{\textls[1]{\ctLaTeX\csname @\ifx% + \f@shape\ct@sc sc\fi twoe\endcsname}}{LaTeX2e}} + +\def\@twoe{\kern.1em$\m@th2_{\textstyle\varepsilon}$} +\def\@sctwoe{\kern.15em$\m@th{\scriptscriptstyle2}% +_\varepsilon$} + +\DeclareRobustCommand\ctTeX{% + \texorpdfstring{\textls[1]{\csname @\f@family\f@shape TeX% + \endcsname}}{TeX}} + +\def\toc@headingbkORrp{% + \def\toc@heading{% + \chapter*{\contentsname}% + \@mkboth{\spacedlowsmallcaps{\contentsname}} + {\spacedlowsmallcaps{\contentsname}}}} +\@ifclassloaded{scrreprt}{\toc@headingbkORrp}{} +\@ifclassloaded{scrbook}{\toc@headingbkORrp}{}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/italadhoc.sty b/Master/texmf-dist/doc/latex/arsclassica/Italian/italadhoc.sty index 89d7c8d8f07..60eaff9efd1 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/Italian/italadhoc.sty +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/italadhoc.sty @@ -40,41 +40,6 @@ \DeclareRobustCommand*{\texlive}{\TeX{}~Live% \index{texlive@\protect\TeX{}~Live}} -\lstset{ morekeywords=% - {RequirePackage,newboolean,DeclareOption,setboolean,% - ProcessOptions,PackageError,ifthenelse,boolean,% - chapterNumber,sodef,textls,allcapsspacing,% - MakeTextLowercase,orgtheindex,endtheindex,% - @ifpackageloaded,undefined,sfdefault,% - DeclareRobustCommand,spacedallcaps,% - microtypesetup,MakeTextUppercase,lowsmallcapsspacing,% - lowsmallcapsspacing,spacedlowsmallcaps, - spacedlowsmallcaps,lehead,headmark,color,% - headfont,partname,thepart,titleformat,part, - titlerule,chapter,thechapter,thesection,% - subsection,thesubsection,thesubsubsection,% - paragraph,theparagraph,descriptionlabel,titlespacing,% - graffito,lineskiplimit,finalhyphendemerits,% - colorbox,captionsetup,labelitemi,% - myincludegraphics,arsincludegraphics,hypersetup,setlength,% - definecolor,lsstyle,textssc,subsubsection,% - graffito@setup,includegraphics,ifdefined,% - myTitle,textcopyright,myName,lstset,lstnewenvironment,% - setkeys,lst@BeginAlsoWriteFile,contentsname,% - toc@heading,@ppljLaTeX,z@,check@mathfonts,% - sf@size,ptctitle,mtctitle,stctitle,lst@intname,% - @empty,math@fontsfalse,@ppljscTeX,@iwonaTeX,% - @iwonascLaTeX,@ctTeX,tw@,ct@sc,@ctTeX,f@family,% - f@shape,ct@sc,ctLaTeX,ctLaTeXe,@twoe,@sctwoe,% - texorpdfstring,m@th,ctTeX,@mkboth,ProvidesPackage,% - theindex,PackageInfo,PackageWarningNoLine,% - mtifont,mtcindent,@iwonaLaTeX,@ppljTeX,@iwonascTeX,% - rohead,orgendtheindex,@ppljscLaTeX,% - @ifclassloaded,toc@headingbkORrp,backreftwosep,% - backrefalt,backreflastsep,areaset,pnumfont},% - commentstyle=\color{Emerald}\ttfamily,% - frame=lines} - \lstset{basicstyle=\normalfont\ttfamily} \lstset{flexiblecolumns=false} \lstset{moredelim={[is][\ttfamily]{!?}{?!}}} @@ -112,3 +77,68 @@ \end{minipage}% \end{center}% } + +\definecolor{lightergray}{gray}{0.99} + +\lstset{language=[LaTeX]Tex, + keywordstyle=\color{RoyalBlue}, + basicstyle=\normalfont\ttfamily, + commentstyle=\color{Emerald}\ttfamily, + stringstyle=\rmfamily, + numbers=none, + numberstyle=\scriptsize, + stepnumber=5, + numbersep=8pt, + showstringspaces=false, + breaklines=true, + frameround=ftff, + frame=lines, + backgroundcolor=\color{lightergray} +} + +\lstset{ morekeywords=% + {RequirePackage,newboolean,DeclareOption,setboolean,% + ProcessOptions,PackageError,ifthenelse,boolean,% + chapterNumber,sodef,textls,allcapsspacing,% + MakeTextLowercase,orgtheindex,endtheindex,% + @ifpackageloaded,undefined,sfdefault,% + DeclareRobustCommand,spacedallcaps,% + microtypesetup,MakeTextUppercase,lowsmallcapsspacing,% + lowsmallcapsspacing,spacedlowsmallcaps, + spacedlowsmallcaps,lehead,headmark,color,% + headfont,partname,thepart,titleformat,part, + titlerule,chapter,thechapter,thesection,% + subsection,thesubsection,thesubsubsection,% + paragraph,theparagraph,descriptionlabel,titlespacing,% + graffito,lineskiplimit,finalhyphendemerits,% + colorbox,captionsetup,labelitemi,% + myincludegraphics,hypersetup,setlength,% + definecolor,lsstyle,textssc,subsubsection,% + graffito@setup,includegraphics,ifdefined,% + myTitle,textcopyright,myName,lstset,lstnewenvironment,% + setkeys,lst@BeginAlsoWriteFile,contentsname,% + toc@heading,@ppljLaTeX,z@,check@mathfonts,% + sf@size,ptctitle,mtctitle,stctitle,lst@intname,% + @empty,math@fontsfalse,@ppljscTeX,@iwonaTeX,% + @iwonascLaTeX,@ctTeX,tw@,ct@sc,@ctTeX,f@family,% + f@shape,ct@sc,ctLaTeX,ctLaTeXe,@twoe,@sctwoe,% + texorpdfstring,m@th,ctTeX,@mkboth,ProvidesPackage,% + theindex,PackageInfo,PackageWarningNoLine,% + mtifont,mtcindent,@iwonaLaTeX,@ppljTeX,@iwonascTeX,% + rohead,orgendtheindex,@ppljscLaTeX,% + @ifclassloaded,toc@headingbkORrp,backreftwosep,% + backrefalt,backreflastsep,areaset,pnumfont,% + arsincludegraphics,ExecuteOptions,PackageWarning,% + MessageBreak,ars@@includegraphics},% + commentstyle=\color{Emerald}\ttfamily,% + frame=lines} + +\AtBeginDocument{ + \def\vr@f#1{% + \leavevmode\unskip\vref@space + \begingroup + \hyperref[{#1}]{\ref*{#1}}% + \vpageref[\unskip]{#1}% + \endgroup + } +}
\ No newline at end of file |