From f7f3f7dd671833ade649967a9528752a36f742fa Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 4 Jan 2009 00:47:46 +0000 Subject: arsclassica 2.5.3 git-svn-id: svn://tug.org/texlive/trunk@11809 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/arsclassica/ArsClassica.pdf | Bin 368886 -> 437824 bytes .../doc/latex/arsclassica/ArsClassica.tex | 52 +- .../doc/latex/arsclassica/Bibliografia.bib | 31 -- .../doc/latex/arsclassica/Bibliography.bib | 31 ++ Master/texmf-dist/doc/latex/arsclassica/CHANGES | 7 +- .../doc/latex/arsclassica/Capitoli/Basi.tex | 159 ------ .../doc/latex/arsclassica/Capitoli/Codice.tex | 394 --------------- .../doc/latex/arsclassica/Chapters/Code.tex | 549 ++++++++++++++++++++ .../latex/arsclassica/Chapters/Fundamentals.tex | 173 +++++++ .../FrontBackMatter/Abstract+Sommario.tex | 26 + .../FrontBackMatter/Acknowledgements.tex | 20 + .../arsclassica/FrontBackMatter/Bibliography.tex | 16 + .../latex/arsclassica/FrontBackMatter/Contents.tex | 20 + .../latex/arsclassica/FrontBackMatter/Index.tex | 14 + .../arsclassica/FrontBackMatter/Titleback.tex | 26 + .../arsclassica/FrontBackMatter/Titlepage.tex | 38 ++ .../doc/latex/arsclassica/Graphics/Birds.jpg | Bin 0 -> 67283 bytes .../doc/latex/arsclassica/Graphics/Example_1.jpg | Bin 0 -> 25272 bytes .../doc/latex/arsclassica/Graphics/Example_2.jpg | Bin 0 -> 7465 bytes .../doc/latex/arsclassica/Graphics/Example_3.jpg | Bin 0 -> 5503 bytes .../doc/latex/arsclassica/Graphics/Example_4.jpg | Bin 0 -> 14215 bytes .../doc/latex/arsclassica/Graphics/GuITlogo.pdf | Bin 0 -> 29126 bytes .../doc/latex/arsclassica/Immagini/Uccelli.jpg | Bin 67283 -> 0 bytes .../doc/latex/arsclassica/Immagini/esempio_1.jpg | Bin 25272 -> 0 bytes .../doc/latex/arsclassica/Immagini/esempio_2.jpg | Bin 7465 -> 0 bytes .../doc/latex/arsclassica/Immagini/esempio_3.jpg | Bin 5503 -> 0 bytes .../doc/latex/arsclassica/Immagini/esempio_4.jpg | Bin 14215 -> 0 bytes .../doc/latex/arsclassica/Italian/ArsClassica.pdf | Bin 0 -> 428422 bytes .../doc/latex/arsclassica/Italian/ArsClassica.tex | 62 +++ .../doc/latex/arsclassica/Italian/Bibliografia.bib | 31 ++ .../latex/arsclassica/Italian/Capitoli/Basi.tex | 172 +++++++ .../latex/arsclassica/Italian/Capitoli/Codice.tex | 554 +++++++++++++++++++++ .../arsclassica/Italian/Immagini/LogoGuIT.pdf | Bin 0 -> 29126 bytes .../latex/arsclassica/Italian/Immagini/Uccelli.jpg | Bin 0 -> 67283 bytes .../arsclassica/Italian/Immagini/esempio_1.jpg | Bin 0 -> 25272 bytes .../arsclassica/Italian/Immagini/esempio_2.jpg | Bin 0 -> 7465 bytes .../arsclassica/Italian/Immagini/esempio_3.jpg | Bin 0 -> 5503 bytes .../arsclassica/Italian/Immagini/esempio_4.jpg | Bin 0 -> 14215 bytes .../MaterialeInizialeFinale/Bibliografia.tex | 16 + .../MaterialeInizialeFinale/DietroAlTitolo.tex | 26 + .../MaterialeInizialeFinale/Frontespizio.tex | 38 ++ .../MaterialeInizialeFinale/IndiceAnalitico.tex | 14 + .../Italian/MaterialeInizialeFinale/Indici.tex | 20 + .../MaterialeInizialeFinale/Ringraziamenti.tex | 21 + .../MaterialeInizialeFinale/Sommario+Abstract.tex | 33 ++ .../doc/latex/arsclassica/Italian/italadhoc.sty | 114 +++++ .../MaterialeInizialeFinale/Bibliografia.tex | 16 - .../MaterialeInizialeFinale/DietroAlTitolo.tex | 26 - .../MaterialeInizialeFinale/Frontespizio.tex | 38 -- .../MaterialeInizialeFinale/IndiceAnalitico.tex | 14 - .../arsclassica/MaterialeInizialeFinale/Indici.tex | 20 - .../MaterialeInizialeFinale/Ringraziamenti.tex | 21 - .../MaterialeInizialeFinale/Sommario+Abstract.tex | 33 -- Master/texmf-dist/doc/latex/arsclassica/README | 2 +- Master/texmf-dist/tex/latex/arsclassica/adhoc.sty | 37 +- .../tex/latex/arsclassica/arsclassica.sty | 170 ++++++- 56 files changed, 2226 insertions(+), 808 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/Bibliografia.bib create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Bibliography.bib delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/Capitoli/Basi.tex delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/Capitoli/Codice.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Chapters/Code.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Chapters/Fundamentals.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Abstract+Sommario.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Acknowledgements.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Bibliography.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Contents.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Index.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Titleback.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Titlepage.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Graphics/Birds.jpg create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_1.jpg create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_2.jpg create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_3.jpg create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_4.jpg create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Graphics/GuITlogo.pdf delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/Immagini/Uccelli.jpg delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_1.jpg delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_2.jpg delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_3.jpg delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_4.jpg create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.pdf create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/Bibliografia.bib create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Basi.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Codice.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/LogoGuIT.pdf create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/Uccelli.jpg create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_1.jpg create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_2.jpg create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_3.jpg create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_4.jpg create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Bibliografia.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/DietroAlTitolo.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Frontespizio.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/IndiceAnalitico.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Indici.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Ringraziamenti.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Sommario+Abstract.tex create mode 100644 Master/texmf-dist/doc/latex/arsclassica/Italian/italadhoc.sty delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Bibliografia.tex delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/DietroAlTitolo.tex delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Frontespizio.tex delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/IndiceAnalitico.tex delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Indici.tex delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Ringraziamenti.tex delete mode 100644 Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Sommario+Abstract.tex diff --git a/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.pdf b/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.pdf index 7bd7fac2b8a..809c392d34c 100644 Binary files a/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.pdf and b/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.pdf differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.tex b/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.tex index ed805b15f6f..6761d16baf0 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.tex +++ b/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.tex @@ -4,32 +4,28 @@ tablecaptionabove]{scrreprt} \newcommand{\myName}{Lorenzo Pantieri\xspace} -\newcommand{\myTitle}{Personalizzare ClassicThesis con il pacchetto ArsClassica\xspace} -\newcommand{\mySubTitle}{Manuale d'uso\xspace} +\newcommand{\myTitle}{Customizing ClassicThesis with the ArsClassica package\xspace} +\newcommand{\mySubTitle}{User Manual\xspace} \newcommand{\myLocation}{Cesena\xspace} -\newcommand{\myGroup}{Gruppo Utilizzatori Italiani di \TeX{} e \LaTeX\xspace} +\newcommand{\myGroup}{Italian \TeX{} and \LaTeX{} User Group\xspace} \newcommand{\myUrl}{\url{http://www.guit.sssup.it/}\xspace} -\newcommand{\myTime}{Dicembre 2008\xspace} -\newcommand{\myDate}{17 dicembre 2008\xspace} +\newcommand{\myTime}{2009, January\xspace} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} -\usepackage{amsfonts,amssymb,amsthm} -\usepackage[italian]{varioref} -\usepackage[square,numbers]{natbib} -\usepackage{indentfirst} -\usepackage[tight,italian]{minitoc} -\usepackage{makeidx} -\usepackage{multicol} +\usepackage[english]{varioref} +\usepackage[square,numbers,sort&compress]{natbib} +\usepackage[tight,english]{minitoc} +\usepackage{makeidx,multicol} \usepackage{chngpage,calc} -\usepackage[dvipsnames,table]{xcolor} +\usepackage[dvipsnames]{xcolor} \usepackage{lipsum} -\usepackage[english,italian]{babel} +\usepackage[italian,english]{babel} \usepackage[writefile]{listings} \usepackage{classicthesis-ldpkg} \usepackage[eulerchapternumbers,subfig,beramono, -eulermath,pdfspacing]{classicthesis} -\usepackage[italian]{arsclassica} + eulermath,pdfspacing]{classicthesis} +\usepackage[english]{arsclassica} \usepackage{adhoc} \usepackage{guit} @@ -37,28 +33,28 @@ eulermath,pdfspacing]{classicthesis} \pagenumbering{roman} \pagestyle{plain} %****************************************************************** -% Materiale iniziale +% Frontmatter %****************************************************************** -\input{MaterialeInizialeFinale/Frontespizio} -\input{MaterialeInizialeFinale/DietroAlTitolo} +\input{FrontBackMatter/Titlepage} +\input{FrontBackMatter/Titleback} \clearpage -\input{MaterialeInizialeFinale/Sommario+Abstract} -\input{MaterialeInizialeFinale/Ringraziamenti} +\input{FrontBackMatter/Abstract+Sommario} +\input{FrontBackMatter/Acknowledgements} \pagestyle{scrheadings} \clearpage -\input{MaterialeInizialeFinale/Indici} +\input{FrontBackMatter/Contents} \cleardoublepage %****************************************************************** -% Materiale principale +% Mainmatter %****************************************************************** \pagenumbering{arabic} -\input{Capitoli/Basi} -\input{Capitoli/Codice} +\input{Chapters/Fundamentals} +\input{Chapters/Code} % ***************************************************************** -% Materiale finale +% Backmatter %****************************************************************** \clearpage -\input{MaterialeInizialeFinale/Bibliografia} +\input{FrontBackMatter/Bibliography} \clearpage -\input{MaterialeInizialeFinale/IndiceAnalitico} +\input{FrontBackMatter/Index} \end{document} diff --git a/Master/texmf-dist/doc/latex/arsclassica/Bibliografia.bib b/Master/texmf-dist/doc/latex/arsclassica/Bibliografia.bib deleted file mode 100644 index 789df3b1a51..00000000000 --- a/Master/texmf-dist/doc/latex/arsclassica/Bibliografia.bib +++ /dev/null @@ -1,31 +0,0 @@ -@BOOK{bringhurst:elementi, - AUTHOR = {Bringhurst, Robert}, - TITLE = {Gli Elementi dello Stile Tipografico}, - PUBLISHER = {\inglese{Sylvestre Bonnard}}, - YEAR = {2001, ed.~or.~1992}, - ADDRESS = {Milano} -} - - -@MANUAL{miede:classicthesis, - AUTHOR = {Miede, AndrŽ}, - TITLE = {\inglese{A Classic Thesis style}}, - YEAR = {2007}, - NOTE = {{Manuale} d'uso dello stile \classicthesis, \url{http://www.ctan.org/tex-archive/macros/latex/contrib/classicthesis/ClassicThesis.pdf}} -} - - -@MANUAL{pantieri:classicthesis, - AUTHOR = {Pantieri, Lorenzo}, - TITLE = {Introduzione allo stile \classicthesis}, - YEAR = {2008}, - NOTE = {\url{http://www.lorenzopantieri.net/LaTeX_files/ClassicThesis.pdf}} -} - - -@MANUAL{pantieri:arte, - AUTHOR = {Pantieri, Lorenzo}, - TITLE = {L'arte di scrivere con \LaTeX}, - YEAR = {2008}, - 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/Bibliography.bib b/Master/texmf-dist/doc/latex/arsclassica/Bibliography.bib new file mode 100644 index 00000000000..1daf359fef0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Bibliography.bib @@ -0,0 +1,31 @@ +@BOOK{bringhurst:elements, + AUTHOR = {Bringhurst, Robert}, + TITLE = {The Elements of Typographic Style}, + PUBLISHER = {Hartley \& Marks}, + YEAR = {1992}, + ADDRESS = {Point Roberts, Washington, USA} +} + + +@MANUAL{miede:classicthesis, + AUTHOR = {Miede, AndrŽ}, + TITLE = {A Classic Thesis style}, + YEAR = {2007}, + NOTE = {\url{http://www.ctan.org/tex-archive/macros/latex/contrib/classicthesis/ClassicThesis.pdf}} +} + + +@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}} +} + + +@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}} +} \ 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 12d97188944..6b6ef1de842 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/CHANGES +++ b/Master/texmf-dist/doc/latex/arsclassica/CHANGES @@ -1,9 +1,14 @@ +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. +o New name, \arsincludegraphics, for the command which allows to include graphics with ``Alice Blue'' coloured background. The old name, \myincludegraphics, is still manteined (for now), but deprecated. + 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 Note: Thanks to all the folks who already sent me some advices! :-) +o Note: Thanks to all the folks who already sent me some advices! Version 2.5 (November 2008) o First public release \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/arsclassica/Capitoli/Basi.tex b/Master/texmf-dist/doc/latex/arsclassica/Capitoli/Basi.tex deleted file mode 100644 index fe7f96b4c6c..00000000000 --- a/Master/texmf-dist/doc/latex/arsclassica/Capitoli/Basi.tex +++ /dev/null @@ -1,159 +0,0 @@ -%************************************************ -\myChapter{Le basi} -\label{cap:basi} -\minitoc\mtcskip -%************************************************ - -In questo capitolo vengono presentate le nozioni, veramente semplici, -che sono alla base del funzionamento di \arsclassica{} -e ne vengono presentate le idee di fondo e le peculiarità. - - - -\section{Introduzione} - -Il\graffito{L'arte di scrivere con \LaTeX} pacchetto \arsclassica{} modifica alcuni aspetti tipografici dello stile \classicthesis, di André Miede~\citep{miede:classicthesis,pantieri:classicthesis}. Permette di riprodurre la veste grafica della guida \emph{L'arte di scrivere con \LaTeX}~\citep{pantieri:arte} (e del presente documento). Lo spunto per l'originale rielaborazione di \classicthesis{} mi è stato offerto da Daniel Gottschlag. - - - -\section{Uso del pacchetto} - -Il pacchetto è configurato per essere eseguito su un'installazione \emph{completa} di \miktex{} o \texlive{} e usa font liberamente disponibili. - -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 -\begin{code} -\documentclass[£*\meta{\dots\unkern}*£]{scrreprt} % o scrbook o scrartcl - -\usepackage[£*\meta{\dots\unkern}*£]{classicthesis-ldpkg} -\usepackage[£*\meta{\dots\unkern}*£]{classicthesis} -\usepackage[£*\meta{\dots\unkern}*£]{arsclassica} - -\begin{document} -£*\dots*£ -\end{document} -\end{code} - -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,% - tablecaptionabove]{scrreprt} - -\usepackage{£*\meta{\dots\unkern}*£} -\usepackage{classicthesis-ldpkg} -\usepackage[eulerchapternumbers,subfig,beramono,% - eulermath,pdfspacing]{classicthesis} -\usepackage[italian]{arsclassica} -\usepackage{£*\meta{\dots\unkern}*£} - -\begin{document} -£*\dots*£ -\end{document} -\end{code} - - - -\section{Opzioni del pacchetto} - -Il\graffito{Riferimenti bibliografici finali in italiano} pacchetto \arsclassica{} ha una sola opzione disponibile, l'opzione \opzione{italian}, -\begin{code} -\usepackage[italian]{arsclassica} -\end{code} -che permette di avere in italiano anziché in inglese i riferimenti bibliografici finali (generati dal pacchetto \pacchetto{backref}, caricato automaticamente da \pacchetto{classicthesis-ldpkg}). - - - -\section[Lo stile di \texttt{ArsClassica}]{Lo stile di ArsClassica} - -Rispetto\graffito{Le peculiarità rispetto a ClassicThesis} a \classicthesis, lo stile tipografico ottenuto con \arsclassica{} si differenzia per i seguenti aspetti: -\begin{itemize} -\item uso del font Iwona,\index{Iwona} di Janusz M.~Nowacki, -per i titoli delle sezioni (capitoli, paragrafi, sottoparagrafi, sotto-sottoparagrafi, capoversi), per le etichette degli elenchi descrittivi, per le testatine e per le intestazioni delle didascalie (\classicthesis{} non usa alcun font sans serif); -\item numeri dei capitoli personalizzati; -\item testatine semitrasparenti; -\item didascalie con intestazioni in neretto (che \classicthesis{} non usa); -\item elenchi puntati con etichette semitrasparenti; -\item indice analitico su due colonne con bilanciamento; -\item interlinea sempre fissata a 1.00 (\classicthesis{} la pone uguale a 1.05, se si usa il font Palatino); -\item note a margine simmetriche (allineate a destra nelle pagine pari, a sinistra in quelle dispari~---~nei documenti fronte-retro), come fa Bringhurst nei suoi \emph{Elementi}~\citep{bringhurst:elementi} (ma non \classicthesis, che allinea le note a margine sempre a sinistra). -\item corpo del testo ``a doppio quadrato'' (come nella versione~2.3 dello stile), per documenti composti in formato~A4 con font Palatino. -\end{itemize} - -Il\graffito{È sconsigliabile modificare le impostazioni di ArsClassica.} pacchetto \arsclassica{} è nato per mettere a disposizione dell'utente uno stile tipografico pronto per l'uso: se si modificano le impostazioni precedenti si corre il rischio di distruggere l'equilibrio dello stile, per cui è \emph{decisamente consigliabile} lasciarle invariate. - -Uno dei punti di forza di \LaTeX{} è che consente di disinteressarsi completamente delle questioni tipografiche, per dar modo all'autore di -concentrarsi unicamente sulla struttura e sui contenuti del proprio documento. Questo fatto dovrebbe sempre essere tenuto presente: -utilizzando uno stile scritto da altri, infatti, l'utente accetta per buone tutte le impostazioni tipografiche scelte per lui dall'autore dello stile e non è più tenuto a studiare tipografia per mettere a punto l'aspetto delle proprie pubblicazioni. Questo vale anche per \arsclassica: modificarne le impostazioni significa contraddire questa filosofia e, di conseguenza, comporta l'obbligo di studiare un (bel) po' di tipografia per ottenere risultati accettabili. - -\looseness=1 -Lo stile ottenuto con \arsclassica{} non è quindi configurabile o personalizzabile (l'unica eccezione è l'opzione \opzione{italian}). Lo stile è qualcosa di molto personale e relativo: se l'utente è soddisfatto da quello messo a disposizione dal pacchetto e trova allettante l'idea di disinteressarsi al problema della definizione dello stile, allora potrà utilizzare con soddisfazione \arsclassica; altrimenti, se un autore ha -esigenze diverse o non è soddisfatto dalla resa grafica del pacchetto, allora può provare a rivolgersi ad altre classi o pacchetti, eventualmente costruendosi da solo lo stile che corrisponde alle proprie aspettative. - - - -\section{Nuovi comandi} - -\subsection{Loghi particolari} -Il\graffito{I comandi \textbackslash ctLaTeX, \textbackslash ctLaTeXe, \textbackslash ctTeX} pacchetto mette a disposizione i comandi \comando{ctLaTeX}, \comando{ctLaTeXe} e \comando{ctTeX}, che permettono di avere rispettivamente i loghi \LaTeX, \LaTeXe{} e \TeX{} composti correttamente se scritti in Iwona.\index{Iwona} - -\subsection{Immagini con lo sfondo colorato} -È\graffito{Il comando \textbackslash myincludegraphics} definito il comando \comando{myincludegraphics}, che permette di inserire un'immagine con lo sfondo di colore ``Azzurro Alice''; il suo funzionamento è analogo a quello di \comando{includegraphics}. -Affinché tutto funzioni, è fondamentale che l'immagine da inserire abbia lo sfondo trasparente. - - - -\section{Esempi} - -\begin{figure}[tb] -\centering -\subfloat[Asia personas duo.] -{\includegraphics[width=.45\linewidth]{Immagini/esempio_1}} \quad -\subfloat[Pan ma signo.] -{\label{fig:example-b}% -\includegraphics[width=.45\linewidth]{Immagini/esempio_2}} \\ -\subfloat[Methodicamente o uno.] -{\includegraphics[width=.45\linewidth]{Immagini/esempio_3}} \quad -\subfloat[Titulo debitas.] -{\includegraphics[width=.45\linewidth]{Immagini/esempio_4}} -\caption[Tu duo titulo debitas latente]{Tu duo titulo debitas -latente.}\label{fig:example} -\end{figure} - -Lorem\graffito{Il contenuto di questo paragrafo è solo del testo fittizio.} ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. - -\subsection*{Un sottoparagrafo} -\lipsum[2] - -\subsubsection*{Un sotto-sottoparagrafo} -\lipsum[3] - -\paragraph{Un capoverso con paragraph} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. - -\bigskip - -\lipsum[2] - -\begin{description} -\item[Mane] Lorem\graffito{Le etichette degli elenchi descrittivi sono in Iwona.\index{Iwona}} ipsum dolor sit amet, consectetuer adipiscing elit. -\item[Tekel] Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. -\item[Fares] Nam arcu libero, nonummy eget, consectetuer -id, vulputate a, magna. -\end{description} - -\begin{table}[tb] -\caption[Lorem ipsum dolor]{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur dictum gravida mauris.} -\centering -\begin{tabular}{cc} -\toprule -$p$ & $\lnot p$ \\ -\midrule -V & F \\ -F & V \\ -\bottomrule -\end{tabular} -\end{table} - -\lipsum[1] diff --git a/Master/texmf-dist/doc/latex/arsclassica/Capitoli/Codice.tex b/Master/texmf-dist/doc/latex/arsclassica/Capitoli/Codice.tex deleted file mode 100644 index aeb64f46b69..00000000000 --- a/Master/texmf-dist/doc/latex/arsclassica/Capitoli/Codice.tex +++ /dev/null @@ -1,394 +0,0 @@ -%************************************************ -\myChapter{Il codice} -\label{cap:codice} -%************************************************ - - -\lstset{numbers=left, - numberstyle=\scriptsize, - stepnumber=1, - numbersep=8pt -} - -Annuncio del pacchetto e richiesta dei pacchetti necessari. -\begin{lstlisting}[firstnumber=1] -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{arsclassica}[2008/10/18 v2.5 Customising - ClassicThesis (LP)] -\RequirePackage{classicthesis-ldpkg} -\RequirePackage{classicthesis} - -\end{lstlisting} -Dichiarazione dell'opzione \opzione{italian}. -\begin{lstlisting} -\newboolean{italian} -\DeclareOption{italian}{\setboolean{italian}{true}} -\ProcessOptions\relax - -\end{lstlisting} -% -Bilanciamento delle colonne dell'indice analitico (se presente). -\begin{lstlisting} -\@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} - -\end{lstlisting} -% -Riferimenti di \pacchetto{backref} in italiano. -\begin{lstlisting} -\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} - -\end{lstlisting} -% -Impostazioni di \pacchetto{minitoc}. -\begin{lstlisting} -\@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} - -\end{lstlisting} -Uso di Iwona\index{Iwona} come font sans serif. -\begin{lstlisting} -\renewcommand{\sfdefault}{iwona} - -\end{lstlisting} -% -Numeri dei capitoli personalizzati. -\begin{lstlisting} -\let\chapterNumber\undefined -\ifthenelse{\boolean{@eulerchapternumbers}} -{\newfont{\chapterNumber}{eurb10 scaled 5000}}% -{\newfont{\chapterNumber}{pplr9d scaled 5000}} - -\end{lstlisting} -% -Maiuscoletto sans serif. -\begin{lstlisting} -\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}}}}% - }% -} - -\end{lstlisting} -% -Testatine semitrasparenti e numeri di pagina in Iwona. -\begin{lstlisting} -\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} - -\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. -\begin{lstlisting} -\RequirePackage{titlesec} - % parts - \ifthenelse{\boolean{@parts}}% - {% - \titleformat{\part}[display] - {\normalfont\centering\large}% - {\thispagestyle{empty}\partname~\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} - -\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. -\begin{lstlisting} -\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}}} - -\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. -\begin{lstlisting} -\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}% - }% - } - -\end{lstlisting} -% -Si definisce il comando -{\ttfamily\textbackslash\color{RoyalBlue}{myincludegraphics}}, -%\comando{myincludegraphics}, -che permette di inserire un'immagine con lo sfondo di colore ``Azzurro Alice''. -\begin{lstlisting} -\definecolor{aliceblue}{RGB}{240,248,255} - -\newcommand{\myincludegraphics}[2][]{% -\begingroup\setlength{\fboxsep}{0pt}% -\colorbox{aliceblue}{\includegraphics[#1]{#2}}% -\endgroup} - -\end{lstlisting} -Impostazioni di \pacchetto{hyperref}. -\begin{lstlisting} -\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 - -\end{lstlisting} -% -Definizione dei comandi -{\ttfamily\textbackslash\color{RoyalBlue}{ctLaTeX}}, -{\ttfamily\textbackslash\color{RoyalBlue}{ctLaTeXe}} e -{\ttfamily\textbackslash\color{RoyalBlue}{ctTeX}}, -per avere rispettivamente i loghi \LaTeX, \LaTeXe{} e \TeX{} composti correttamente se scritti in Iwona.\index{Iwona} -\begin{lstlisting} -\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}} - -\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). -\begin{lstlisting} -\def\toc@headingbkORrp{% - \def\toc@heading{% - \chapter*{\contentsname}% - \@mkboth{\spacedlowsmallcaps{\contentsname}} - {\spacedlowsmallcaps{\contentsname}}}} -\@ifclassloaded{scrreprt}{\toc@headingbkORrp}{} -\@ifclassloaded{scrbook}{\toc@headingbkORrp}{} -\end{lstlisting} diff --git a/Master/texmf-dist/doc/latex/arsclassica/Chapters/Code.tex b/Master/texmf-dist/doc/latex/arsclassica/Chapters/Code.tex new file mode 100644 index 00000000000..48fb5e1847c --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Chapters/Code.tex @@ -0,0 +1,549 @@ +%************************************************ +\myChapter{The code} +\label{chp:code} +%************************************************ + + +\lstset{numbers=left, + numberstyle=\scriptsize, + stepnumber=1, + numbersep=8pt +} + +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 + 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} +\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 + +\end{lstlisting} +% +Balance of index columns (if your document has an index). +\begin{lstlisting} +\@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} + +\end{lstlisting} +% +References of \pkgname{backref} in English, French, German, Spanish, and Italian. +\begin{lstlisting} +\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} + +\end{lstlisting} +% +Settings of \pkgname{minitoc}. +\begin{lstlisting} +\@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} + +\end{lstlisting} +Use of Iwona\index{Iwona} as font sans serif. +\begin{lstlisting} +\renewcommand{\sfdefault}{iwona} + +\end{lstlisting} +% +Customized chapter numbers. +\begin{lstlisting} +\let\chapterNumber\undefined +\ifthenelse{\boolean{@eulerchapternumbers}} +{\newfont{\chapterNumber}{eurb10 scaled 5000}}% +{\newfont{\chapterNumber}{pplr9d scaled 5000}} + +\end{lstlisting} +% +Small caps sans serif. +\begin{lstlisting} +\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}}}}% + }% +} + +\end{lstlisting} +% +Semi-transparent headlines and page numbers in Iwona. +\begin{lstlisting} +\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} + +\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. +\begin{lstlisting} +\RequirePackage{titlesec} + % parts + \ifthenelse{\boolean{@parts}}% + {% + \titleformat{\part}[display] + {\normalfont\centering\large}% + {\thispagestyle{empty}\partname~\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} + +\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. +\begin{lstlisting} +\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}}} + +\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. +\begin{lstlisting} +\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}% + }% +} + +\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. +\begin{lstlisting} +\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} + +\end{lstlisting} +Settings of \pkgname{hyperref}. +\begin{lstlisting} +\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 + +\end{lstlisting} +% +Definition of the commands +{\ttfamily\textbackslash\color{RoyalBlue}{ctLaTeX}}, +{\ttfamily\textbackslash\color{RoyalBlue}{ctLaTeXe}} e +{\ttfamily\textbackslash\color{RoyalBlue}{ctTeX}}, +which allow to reproduce respectively the \LaTeX, \LaTeXe{} e \TeX{} logos correctly written in Iwona.\index{Iwona} +\begin{lstlisting} +\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}} + +\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). +\begin{lstlisting} +\def\toc@headingbkORrp{% + \def\toc@heading{% + \chapter*{\contentsname}% + \@mkboth{\spacedlowsmallcaps{\contentsname}} + {\spacedlowsmallcaps{\contentsname}}}} +\@ifclassloaded{scrreprt}{\toc@headingbkORrp}{} +\@ifclassloaded{scrbook}{\toc@headingbkORrp}{} +\end{lstlisting} diff --git a/Master/texmf-dist/doc/latex/arsclassica/Chapters/Fundamentals.tex b/Master/texmf-dist/doc/latex/arsclassica/Chapters/Fundamentals.tex new file mode 100644 index 00000000000..288d8f1c8b7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Chapters/Fundamentals.tex @@ -0,0 +1,173 @@ +%************************************************ +\myChapter{Fundamentals} +\label{chp:fundamentals} +\minitoc\mtcskip +%************************************************ + +This chapter introduces the (truly simple) basic notions of \arsclassica{} and presents its fundamental ideas and peculiarities. + + +\section{Introduction} + +The\graffito{The art of writing with \LaTeX} \arsclassica{} package changes some typographical aspects of the \classicthesis{} style, by Andr\'e Miede~\citep{miede:classicthesis,pantieri:classicthesis}. It allows to reproduce the layout of my guide \emph{The art of writing in LaTeX}~\citep{pantieri:art} (in Italian) and of the present document. The hint for this original reworking of \classicthesis{} was gave to me by Daniel Gottschlag. + + + +\section{Use of the package} + +The package is shaped for being executed on a \emph{complete} installation of \miktex{} or \texlive, and uses font freely available. + +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 +\begin{code} +\documentclass[£*\meta{\dots\unkern}*£]{scrreprt} % or scrbook or scrartcl + +\usepackage[£*\meta{\dots\unkern}*£]{classicthesis-ldpkg} +\usepackage[£*\meta{\dots\unkern}*£]{classicthesis} +\usepackage[£*\meta{\dots\unkern}*£]{arsclassica} + +\begin{document} +£*\dots*£ +\end{document} +\end{code} + +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,% + tablecaptionabove]{scrreprt} + +\usepackage{£*\meta{\dots\unkern}*£} +\usepackage{classicthesis-ldpkg} +\usepackage[eulerchapternumbers,subfig,beramono,% + eulermath,pdfspacing]{classicthesis} +\usepackage{arsclassica} +\usepackage{£*\meta{\dots\unkern}*£} + +\begin{document} +£*\dots*£ +\end{document} +\end{code} + +It is recommended, but not compulsory, to use the options \optname{beramono}, \optname{eulerchapternumbers} and \optname{eulermath} together with \arsclassica. + + + +\section{Options of the package} + +The\graffito{References of backref in Italian} \arsclassica{} package has five options available, \optname{english} (default), \optname{french}, \optname{german}, \optname{spanish}, and \optname{italian}, +\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. + + + +\section{The style} + +The\graffito{The difference between ArsClassica and ClassicThesis} typographical style obtained with \arsclassica{} differs from ClassicThesis for the following aspects: +\begin{itemize} +\item use of Iwona\index{Iwona} font, by Janusz M.~Nowacki, for the titles of the sectioning units of the document (chapters, sections, subsections, sub-subsections, paragraphs and subparagraphs), for the labels of description lists, for the headlines and the label of the captions (\classicthesis{} does not use any font sans serif); +\item customized chapter numbers; +\item semi-transparent headlines; the headlines are separated from the page number by a small rule; +\item captions with labels in boldface (which \classicthesis{} does not use); +\item itemize lists with semi-transparent labels; +\item index on two columns with balance; +\item space between the lines always fixed to~1.00 (\classicthesis{} sets it to~1.05, if the Palatino font is used); +\item symmetrical marginal notes (flushed right in the even pages, left in the odd ones---in twoside documents), like Bringhurst does in his \emph{Elements}~\citep{bringhurst:elements} (but not \classicthesis, which flushes the marginal notes always left). +\item ``double square'' text body (like in version~2.3 of the style), for documents written in A4 format using Palatino font. +\end{itemize} + +The\graffito{It is recommended to keep the settings of ArsClassica unchanged.} \arsclassica{} package is conceived in order to provide to the user a ready-to-use typographical style: if you change the previous settings, you will risk to destroy the equilibrium of the style, so it is \emph{highly recommended} to keep them unchanged. + +One of the principles of \LaTeX{} is that it allows the author to take no interest in the typographical questions, permitting him to focus only the structure and the contents of the document. This fact should always be taken in consideration: using a style written from others, the user accepts all the typographical settings chosen for him from the author of the style, and he is not forced to study typography in order to fix the layout of his publications. This is the case of \arsclassica{} too: if you change its settings, you will contradict this philosophy and, consequently, you must study (a lot of) typography in order to obtain acceptable results. + +The style obtained with \arsclassica{} is not therefore configurable or customizable (the only exception is the option for the language). The typographical style is something of very personal: if you are satisfied with the package and find attractive the idea to take no interest in the problem of the style definition, then you will use \arsclassica{} with satisfaction; otherwise, if you have different needs or you are not satisfied with the layout of the package, then you should try other classes or packages, even building your own style. + + + +\section{New commands} + +\subsection{Particular logos} +The\graffito{The commands \textbackslash ctLaTeX, \textbackslash ctLaTeXe, \textbackslash ctTeX} package offers the commands \cmdname{ctLaTeX}, \cmdname{ctLaTeXe} and \cmdname{ctTeX}, which allow to reproduce respectively the \LaTeX, \LaTeXe{} and \TeX{} logos correctly written in Iwona.\index{Iwona} + + +\subsection{Graphics with coloured background} + +The\graffito{The \textbackslash arsincludegraphics command} \cmdname{arsincludegraphics} command is defined, which allows to include graphics with ``Alice Blue'' coloured background, like in Figure~\vref{fig:background}; it works like \cmdname{includegraphics}. This works, of course, only with graphics with a transparent background, such us \textsc{pdf} or some \textsc{png} files. +You might want to say +\begin{code} +\renewcommand{\includegraphics}{\arsincludegraphics} +\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. + +\begin{figure}[tb] +\centering +\subfloat[][Image without background.]{\includegraphics[width=0.45\columnwidth]{GuITlogo}}\qquad +\subfloat[][Image with background.\label{fig:background}]{\arsincludegraphics[width=0.45\columnwidth]{GuITlogo}} +\caption[Graphics with coloured background]{Graphics with coloured background.} +\end{figure} + + +\section{Examples} + +\begin{figure}[tb] +\centering +\subfloat[Asia personas duo.] +{\includegraphics[width=.45\columnwidth]{Example_1}} \quad +\subfloat[Pan ma signo.] +{\label{fig:example-b}% +\includegraphics[width=.45\columnwidth]{Example_2}} \\ +\subfloat[Methodicamente o uno.] +{\includegraphics[width=.45\columnwidth]{Example_3}} \quad +\subfloat[Titulo debitas.] +{\includegraphics[width=.45\columnwidth]{Example_4}} +\caption[Tu duo titulo debitas latente]{Tu duo titulo debitas +latente.}\label{fig:example} +\end{figure} + +Lorem\graffito{Note: The content of this chapter is just some dummy text. It is not a real language.} ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. + + +\subsection*{A subsection} +\lipsum[2] + +\subsubsection*{A sub-subsection} +\lipsum[3] + +\paragraph{A paragraph} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. + +\bigskip + +\lipsum[2] + +\begin{description} +\item[Mane] Lorem\graffito{The labels of description lists are in Iwona.\index{Iwona}} ipsum dolor sit amet, consectetuer adipiscing elit. +\item[Tekel] Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. +\item[Fares] Nam arcu libero, nonummy eget, consectetuer +id, vulputate a, magna. +\end{description} + +\begin{table}[tb] +\caption[Lorem ipsum dolor]{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur dictum gravida mauris.} +\centering +\begin{tabular}{cc} +\toprule +$p$ & $\lnot p$ \\ +\midrule +V & F \\ +F & V \\ +\bottomrule +\end{tabular} +\end{table} + +\lipsum[1] + + + + diff --git a/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Abstract+Sommario.tex b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Abstract+Sommario.tex new file mode 100644 index 00000000000..d384dccad5b --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Abstract+Sommario.tex @@ -0,0 +1,26 @@ +%******************************************************* +% Abstract+Sommario +%******************************************************* + +\pdfbookmark[1]{Abstract}{Abstract} +\begingroup +\let\clearpage\relax +\let\cleardoublepage\relax +\let\cleardoublepage\relax + +\chapter*{Abstract} +The package changes some typographical points of the \classicthesis{} style, by Andr\'e Miede. It allows to reproduce the look of the guide \emph{The art of writing with \LaTeX} (in Italian)~\citep{pantieri:art}. The hint for the original modification of \classicthesis{} was gave to me by Daniel Gottschlag. The package was written for the Italian \TeX{} and \LaTeX{} User Group (\GuIT, \url{http://www.guit.sssup.it/}). + +\vfill + +\selectlanguage{italian} +\pdfbookmark[1]{Sommario}{Sommario} +\chapter*{Sommario} +Il pacchetto modifica alcuni aspetti tipografici dello stile \classicthesis, di Andr\'e Miede. Permette di riprodurre la veste grafica della guida \emph{L'arte di scrivere con \LaTeX}~\citep{pantieri:art}. Lo spunto per l'originale rielaborazione di \classicthesis{} mi \`e stato offerto da Daniel Gottschlag. Il pacchetto \`e stato scritto per il Gruppo Utilizzatori Italiani di \TeX{} e \LaTeX{} (\GuIT, \url{http://www.guit.sssup.it/}). + +\selectlanguage{english} + +\endgroup + +\vfill + diff --git a/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Acknowledgements.tex b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Acknowledgements.tex new file mode 100644 index 00000000000..f81db83810e --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Acknowledgements.tex @@ -0,0 +1,20 @@ +%******************************************************* +% Acknowledgements +%******************************************************* +\pdfbookmark[1]{Acknowledgements}{Acknowledgements} + +\begingroup +\let\clearpage\relax +\let\cleardoublepage\relax +\let\cleardoublepage\relax + +\chapter*{Acknowledgements} + +I wish first of all to thank the members of the Staff of the Italian \TeX{} and \LaTeX{} User Group (\GuIT*, \url{http://www.guit.sssup.it/}), in particular Prof. Enrico Gregorio and Andrea Tonelli, for their invaluable aid during the writing of this work, the detailed explanations, the patience and the precision in the suggestions, the supplied solutions, the competence and the kindness. Thanks also to all the people who have discussed with me on the forum of the \GuIT*, prodigal of precious observations and good advices. + +Finally, thanks to Andr\'e Miede, for his wonderful ClassicThesis style, and to Daniel Gottschlag, who has given to me the hint for this original reworking. + +\endgroup + + + diff --git a/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Bibliography.tex b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Bibliography.tex new file mode 100644 index 00000000000..fcf6f7c6ea9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Bibliography.tex @@ -0,0 +1,16 @@ +%******************************************************* +% Bibliography +%******************************************************* +\manualmark +\markboth{\spacedlowsmallcaps{\bibname}}{\spacedlowsmallcaps{\bibname}} +\refstepcounter{dummy} +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + \let\cleardoublepage\relax + +\addcontentsline{toc}{chapter}{\tocEntry{\bibname}} +\bibliographystyle{classic} +\bibliography{Bibliography} +\nocite{bringhurst:elements,miede:classicthesis,pantieri:classicthesis,pantieri:art} +\endgroup diff --git a/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Contents.tex b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Contents.tex new file mode 100644 index 00000000000..8e1f021c124 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Contents.tex @@ -0,0 +1,20 @@ +%******************************************************* +% Contents +%******************************************************* +\refstepcounter{dummy} +\pdfbookmark[1]{\contentsname}{tableofcontents} +\setcounter{tocdepth}{2} +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + \let\cleardoublepage\relax + +\dominitoc\tableofcontents +\endgroup +\markboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}} + +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + \let\cleardoublepage\relax +\endgroup diff --git a/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Index.tex b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Index.tex new file mode 100644 index 00000000000..c16021b37bb --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Index.tex @@ -0,0 +1,14 @@ +%******************************************************* +% Index +%******************************************************* +\manualmark +\markboth{\spacedlowsmallcaps{\indexname}}{\spacedlowsmallcaps{\indexname}} +\refstepcounter{dummy} +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + \let\cleardoublepage\relax +\pagestyle{scrheadings} +\addcontentsline{toc}{chapter}{\tocEntry{\indexname}} +\printindex +\endgroup diff --git a/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Titleback.tex b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Titleback.tex new file mode 100644 index 00000000000..a3ca540f24b --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Titleback.tex @@ -0,0 +1,26 @@ +%******************************************************* +% Titleback +%******************************************************* +\thispagestyle{empty} + +\hfill + +\vfill + +\noindent\myName: +\textit{\myTitle,} \mySubTitle, +\textcopyright\ \myTime. + +\medskip +\noindent{\spacedlowsmallcaps{Website}}: \\ +\url{http://www.lorenzopantieri.net/} + +\medskip +\noindent{\spacedlowsmallcaps{E-mail}}: \\ +\mail{lorenzo.pantieri@iperbole.bologna.it} + +\vspace{1cm} +\hrule +\bigskip + +\noindent In the titlepage it is reproduced an engraving of Maurits Cornelis Escher, titled \emph{Plane Filling with Birds} (the picture is get from \url{http://www.mcescher.com/}). \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Titlepage.tex b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Titlepage.tex new file mode 100644 index 00000000000..aa66c31e339 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/FrontBackMatter/Titlepage.tex @@ -0,0 +1,38 @@ +\begin{titlepage} +\pdfbookmark[1]{Titlepage}{Titlepage} +\changetext{}{}{}{((\paperwidth - \textwidth) / 2) - \oddsidemargin - \hoffset - 1in}{} +\null\vfill +\begin{center} +\large +\sffamily + +\bigskip + +{\Large\spacedlowsmallcaps{\myName}} \\ + +\bigskip + +{\huge\spacedlowsmallcaps{\myTitle} \\ +} + +\bigskip + +\vspace{9cm} + +\begin{tabular} {cc} +\parbox{0.3\textwidth}{\includegraphics[width=2.5cm]{Birds}} +& +\parbox{0.7\textwidth}{{\Large\spacedlowsmallcaps{\mySubTitle}} \\ + + {\normalsize + + \myGroup \\ + \myUrl \\ + \myTime}} + \end{tabular} +\end{center} +\vfill +\end{titlepage} + + + diff --git a/Master/texmf-dist/doc/latex/arsclassica/Graphics/Birds.jpg b/Master/texmf-dist/doc/latex/arsclassica/Graphics/Birds.jpg new file mode 100644 index 00000000000..4153f62b87b Binary files /dev/null and b/Master/texmf-dist/doc/latex/arsclassica/Graphics/Birds.jpg differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_1.jpg b/Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_1.jpg new file mode 100644 index 00000000000..530ede18c47 Binary files /dev/null and b/Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_1.jpg differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_2.jpg b/Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_2.jpg new file mode 100644 index 00000000000..ba7e101e8fd Binary files /dev/null and b/Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_2.jpg differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_3.jpg b/Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_3.jpg new file mode 100644 index 00000000000..46113f520b0 Binary files /dev/null and b/Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_3.jpg differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_4.jpg b/Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_4.jpg new file mode 100644 index 00000000000..d15a4472855 Binary files /dev/null and b/Master/texmf-dist/doc/latex/arsclassica/Graphics/Example_4.jpg differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Graphics/GuITlogo.pdf b/Master/texmf-dist/doc/latex/arsclassica/Graphics/GuITlogo.pdf new file mode 100644 index 00000000000..883067a9e4c Binary files /dev/null and b/Master/texmf-dist/doc/latex/arsclassica/Graphics/GuITlogo.pdf differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Immagini/Uccelli.jpg b/Master/texmf-dist/doc/latex/arsclassica/Immagini/Uccelli.jpg deleted file mode 100644 index 4153f62b87b..00000000000 Binary files a/Master/texmf-dist/doc/latex/arsclassica/Immagini/Uccelli.jpg and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_1.jpg b/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_1.jpg deleted file mode 100644 index 530ede18c47..00000000000 Binary files a/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_1.jpg and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_2.jpg b/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_2.jpg deleted file mode 100644 index ba7e101e8fd..00000000000 Binary files a/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_2.jpg and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_3.jpg b/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_3.jpg deleted file mode 100644 index 46113f520b0..00000000000 Binary files a/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_3.jpg and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_4.jpg b/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_4.jpg deleted file mode 100644 index d15a4472855..00000000000 Binary files a/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_4.jpg and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.pdf b/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.pdf new file mode 100644 index 00000000000..06d56c509dd Binary files /dev/null and b/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.pdf differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.tex b/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.tex new file mode 100644 index 00000000000..ccb888c73f8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/ArsClassica.tex @@ -0,0 +1,62 @@ +\documentclass[10pt,a4paper,twoside,openright,titlepage,fleqn, + cleardoubleempty,abstracton,pointlessnumbers,% + headinclude,footinclude,BCOR5mm,% + tablecaptionabove]{scrreprt} + +\newcommand{\myName}{Lorenzo Pantieri\xspace} +\newcommand{\myTitle}{Personalizzare ClassicThesis con il pacchetto ArsClassica\xspace} +\newcommand{\mySubTitle}{Manuale d'uso\xspace} +\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} + +\usepackage[latin1]{inputenc} +\usepackage[T1]{fontenc} +\usepackage[italian]{varioref} +\usepackage[square,numbers]{natbib} +\usepackage{indentfirst} +\usepackage[tight,italian]{minitoc} +\usepackage{makeidx} +\usepackage{multicol} +\usepackage{chngpage,calc} +\usepackage[dvipsnames]{xcolor} +\usepackage{lipsum} +\usepackage[english,italian]{babel} +\usepackage[writefile]{listings} +\usepackage{classicthesis-ldpkg} +\usepackage[eulerchapternumbers,subfig,beramono, +eulermath,pdfspacing]{classicthesis} +\usepackage[italian]{arsclassica} +\usepackage{italadhoc} +\usepackage{guit} + +\begin{document} +\pagenumbering{roman} +\pagestyle{plain} +%****************************************************************** +% Materiale iniziale +%****************************************************************** +\input{MaterialeInizialeFinale/Frontespizio} +\input{MaterialeInizialeFinale/DietroAlTitolo} +\clearpage +\input{MaterialeInizialeFinale/Sommario+Abstract} +\input{MaterialeInizialeFinale/Ringraziamenti} +\pagestyle{scrheadings} +\clearpage +\input{MaterialeInizialeFinale/Indici} +\cleardoublepage +%****************************************************************** +% Materiale principale +%****************************************************************** +\pagenumbering{arabic} +\input{Capitoli/Basi} +\input{Capitoli/Codice} +% ***************************************************************** +% Materiale finale +%****************************************************************** +\clearpage +\input{MaterialeInizialeFinale/Bibliografia} +\clearpage +\input{MaterialeInizialeFinale/IndiceAnalitico} +\end{document} diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/Bibliografia.bib b/Master/texmf-dist/doc/latex/arsclassica/Italian/Bibliografia.bib new file mode 100644 index 00000000000..789df3b1a51 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/Bibliografia.bib @@ -0,0 +1,31 @@ +@BOOK{bringhurst:elementi, + AUTHOR = {Bringhurst, Robert}, + TITLE = {Gli Elementi dello Stile Tipografico}, + PUBLISHER = {\inglese{Sylvestre Bonnard}}, + YEAR = {2001, ed.~or.~1992}, + ADDRESS = {Milano} +} + + +@MANUAL{miede:classicthesis, + AUTHOR = {Miede, AndrŽ}, + TITLE = {\inglese{A Classic Thesis style}}, + YEAR = {2007}, + NOTE = {{Manuale} d'uso dello stile \classicthesis, \url{http://www.ctan.org/tex-archive/macros/latex/contrib/classicthesis/ClassicThesis.pdf}} +} + + +@MANUAL{pantieri:classicthesis, + AUTHOR = {Pantieri, Lorenzo}, + TITLE = {Introduzione allo stile \classicthesis}, + YEAR = {2008}, + NOTE = {\url{http://www.lorenzopantieri.net/LaTeX_files/ClassicThesis.pdf}} +} + + +@MANUAL{pantieri:arte, + AUTHOR = {Pantieri, Lorenzo}, + TITLE = {L'arte di scrivere con \LaTeX}, + YEAR = {2008}, + 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 new file mode 100644 index 00000000000..fa63dc59efa --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Basi.tex @@ -0,0 +1,172 @@ +%************************************************ +\myChapter{Le basi} +\label{cap:basi} +\minitoc\mtcskip +%************************************************ + +In questo capitolo vengono presentate le nozioni, veramente semplici, +che sono alla base del funzionamento di \arsclassica{} +e ne vengono presentate le idee di fondo e le peculiarità. + + + +\section{Introduzione} + +Il\graffito{L'arte di scrivere con \LaTeX} pacchetto \arsclassica{} modifica alcuni aspetti tipografici dello stile \classicthesis, di André Miede~\citep{miede:classicthesis,pantieri:classicthesis}. Permette di riprodurre la veste grafica della guida \emph{L'arte di scrivere con \LaTeX}~\citep{pantieri:arte} (e del presente documento). Lo spunto per l'originale rielaborazione di \classicthesis{} mi è stato offerto da Daniel Gottschlag. + + + +\section{Uso del pacchetto} + +Il pacchetto è configurato per essere eseguito su un'installazione \emph{completa} di \miktex{} o \texlive{} e usa font liberamente disponibili. + +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 +\begin{code} +\documentclass[£*\meta{\dots\unkern}*£]{scrreprt} % o scrbook o scrartcl + +\usepackage[£*\meta{\dots\unkern}*£]{classicthesis-ldpkg} +\usepackage[£*\meta{\dots\unkern}*£]{classicthesis} +\usepackage[£*\meta{\dots\unkern}*£]{arsclassica} + +\begin{document} +£*\dots*£ +\end{document} +\end{code} + +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,% + tablecaptionabove]{scrreprt} + +\usepackage{£*\meta{\dots\unkern}*£} +\usepackage{classicthesis-ldpkg} +\usepackage[eulerchapternumbers,subfig,beramono,% + eulermath,pdfspacing]{classicthesis} +\usepackage[italian]{arsclassica} +\usepackage{£*\meta{\dots\unkern}*£} + +\begin{document} +£*\dots*£ +\end{document} +\end{code} + + + +\section{Opzioni del pacchetto} + +Il\graffito{Riferimenti bibliografici finali in italiano} pacchetto \arsclassica{} ha una sola opzione disponibile, l'opzione \opzione{italian}, +\begin{code} +\usepackage[italian]{arsclassica} +\end{code} +che permette di avere in italiano anziché in inglese i riferimenti bibliografici finali (generati dal pacchetto \pacchetto{backref}, caricato automaticamente da \pacchetto{classicthesis-ldpkg}). + + + +\section[Lo stile di \texttt{ArsClassica}]{Lo stile di ArsClassica} + +Rispetto\graffito{Le peculiarità rispetto a ClassicThesis} a \classicthesis, lo stile tipografico ottenuto con \arsclassica{} si differenzia per i seguenti aspetti: +\begin{itemize} +\item uso del font Iwona,\index{Iwona} di Janusz M.~Nowacki, +per i titoli delle sezioni (capitoli, paragrafi, sottoparagrafi, sotto-sottoparagrafi, capoversi), per le etichette degli elenchi descrittivi, per le testatine e per le intestazioni delle didascalie (\classicthesis{} non usa alcun font sans serif); +\item numeri dei capitoli personalizzati; +\item testatine semitrasparenti; +\item didascalie con intestazioni in neretto (che \classicthesis{} non usa); +\item elenchi puntati con etichette semitrasparenti; +\item indice analitico su due colonne con bilanciamento; +\item interlinea sempre fissata a 1.00 (\classicthesis{} la pone uguale a 1.05, se si usa il font Palatino); +\item note a margine simmetriche (allineate a destra nelle pagine pari, a sinistra in quelle dispari~---~nei documenti fronte-retro), come fa Bringhurst nei suoi \emph{Elementi}~\citep{bringhurst:elementi} (ma non \classicthesis, che allinea le note a margine sempre a sinistra). +\item corpo del testo ``a doppio quadrato'' (come nella versione~2.3 dello stile), per documenti composti in formato~A4 con font Palatino. +\end{itemize} + +Il\graffito{È sconsigliabile modificare le impostazioni di ArsClassica.} pacchetto \arsclassica{} è nato per mettere a disposizione dell'utente uno stile tipografico pronto per l'uso: se si modificano le impostazioni precedenti si corre il rischio di distruggere l'equilibrio dello stile, per cui è \emph{decisamente consigliabile} lasciarle invariate. + +Uno dei punti di forza di \LaTeX{} è che consente di disinteressarsi completamente delle questioni tipografiche, per dar modo all'autore di +concentrarsi unicamente sulla struttura e sui contenuti del proprio documento. Questo fatto dovrebbe sempre essere tenuto presente: +utilizzando uno stile scritto da altri, infatti, l'utente accetta per buone tutte le impostazioni tipografiche scelte per lui dall'autore dello stile e non è più tenuto a studiare tipografia per mettere a punto l'aspetto delle proprie pubblicazioni. Questo vale anche per \arsclassica: modificarne le impostazioni significa contraddire questa filosofia e, di conseguenza, comporta l'obbligo di studiare un (bel) po' di tipografia per ottenere risultati accettabili. + +\looseness=1 +Lo stile ottenuto con \arsclassica{} non è quindi configurabile o personalizzabile (l'unica eccezione è l'opzione \opzione{italian}). Lo stile è qualcosa di molto personale e relativo: se l'utente è soddisfatto da quello messo a disposizione dal pacchetto e trova allettante l'idea di disinteressarsi al problema della definizione dello stile, allora potrà utilizzare con soddisfazione \arsclassica; altrimenti, se un autore ha +esigenze diverse o non è soddisfatto dalla resa grafica del pacchetto, allora può provare a rivolgersi ad altre classi o pacchetti, eventualmente costruendosi da solo lo stile che corrisponde alle proprie aspettative. + + + +\section{Nuovi comandi} + +\subsection{Loghi particolari} +Il\graffito{I comandi \textbackslash ctLaTeX, \textbackslash ctLaTeXe, \textbackslash ctTeX} pacchetto mette a disposizione i comandi \comando{ctLaTeX}, \comando{ctLaTeXe} e \comando{ctTeX}, che permettono di avere rispettivamente i loghi \LaTeX, \LaTeXe{} e \TeX{} composti correttamente se scritti in Iwona.\index{Iwona} + +\subsection{Immagini con lo sfondo colorato} +È \graffito{Il comando \textbackslash arsincludegraphics} definito il comando \comando{arsincludegraphics}, che permette di inserire un'immagine con lo sfondo di colore ``Azzurro Alice'', come nella figura~\vref{fig:sfondo}; il suo funzionamento è analogo a quello di \comando{includegraphics}. +Affinché tutto funzioni, è fondamentale che l'immagine da inserire abbia lo sfondo trasparente. +Dichiarando +\begin{code} +\renewcommand{\includegraphics}{\arsincludegraphics} +\end{code} +tutte le immagini incluse nel documento avranno questo sfondo azzurro. + +Nelle versioni precedenti del pacchetto \arsclassica, il comando \comando{arsincludegraphics} era chiamato \comando{myincludegraphics}: è ancora possibile usare il vecchio nome, anche se si sconsiglia di farlo. + +\begin{figure}[tb] +\centering +\subfloat[][Immagine senza sfondo.]{\includegraphics[width=0.45\columnwidth]{LogoGuIT}}\qquad +\subfloat[][Immagine con sfondo.\label{fig:sfondo}]{\arsincludegraphics[width=0.45\columnwidth]{LogoGuIT}} +\caption[Immagini con sfondo colorato]{Immagini con sfondo colorato.} +\end{figure} + + +\section{Esempi} + +\begin{figure}[tb] +\centering +\subfloat[Asia personas duo.] +{\includegraphics[width=.45\linewidth]{Immagini/esempio_1}} \quad +\subfloat[Pan ma signo.] +{\label{fig:example-b}% +\includegraphics[width=.45\linewidth]{Immagini/esempio_2}} \\ +\subfloat[Methodicamente o uno.] +{\includegraphics[width=.45\linewidth]{Immagini/esempio_3}} \quad +\subfloat[Titulo debitas.] +{\includegraphics[width=.45\linewidth]{Immagini/esempio_4}} +\caption[Tu duo titulo debitas latente]{Tu duo titulo debitas +latente.}\label{fig:example} +\end{figure} + +Lorem\graffito{Il contenuto di questo paragrafo è solo del testo fittizio.} ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. + +\subsection*{Un sottoparagrafo} +\lipsum[2] + +\subsubsection*{Un sotto-sottoparagrafo} +\lipsum[3] + +\paragraph{Un capoverso con paragraph} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. + +\bigskip + +\lipsum[2] + +\begin{description} +\item[Mane] Lorem\graffito{Le etichette degli elenchi descrittivi sono in Iwona.\index{Iwona}} ipsum dolor sit amet, consectetuer adipiscing elit. +\item[Tekel] Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. +\item[Fares] Nam arcu libero, nonummy eget, consectetuer +id, vulputate a, magna. +\end{description} + +\begin{table}[tb] +\caption[Lorem ipsum dolor]{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur dictum gravida mauris.} +\centering +\begin{tabular}{cc} +\toprule +$p$ & $\lnot p$ \\ +\midrule +V & F \\ +F & V \\ +\bottomrule +\end{tabular} +\end{table} + +\lipsum[1] diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Codice.tex b/Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Codice.tex new file mode 100644 index 00000000000..bb4ca1398dd --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/Capitoli/Codice.tex @@ -0,0 +1,554 @@ +%************************************************ +\myChapter{Il codice} +\label{cap:codice} +%************************************************ + + +\lstset{numbers=left, + numberstyle=\scriptsize, + stepnumber=1, + numbersep=8pt +} + +Annuncio del pacchetto e richiesta dei pacchetti necessari. +\begin{lstlisting}[firstnumber=1] +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{arsclassica}[2008/10/18 v2.5.3 Customizing + 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} +\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 + +\end{lstlisting} +% +Bilanciamento delle colonne dell'indice analitico (se presente). +\begin{lstlisting} +\@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} + +\end{lstlisting} +% +Riferimenti di \pacchetto{backref} in inglese, francese, tedesco, spagnolo e italiano. +\begin{lstlisting} +\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} + +\end{lstlisting} +% +Impostazioni di \pacchetto{minitoc}. +\begin{lstlisting} +\@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} + +\end{lstlisting} +Uso di Iwona\index{Iwona} come font sans serif. +\begin{lstlisting} +\renewcommand{\sfdefault}{iwona} + +\end{lstlisting} +% +Numeri dei capitoli personalizzati. +\begin{lstlisting} +\let\chapterNumber\undefined +\ifthenelse{\boolean{@eulerchapternumbers}} +{\newfont{\chapterNumber}{eurb10 scaled 5000}}% +{\newfont{\chapterNumber}{pplr9d scaled 5000}} + +\end{lstlisting} +% +Maiuscoletto sans serif. +\begin{lstlisting} +\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}}}}% + }% +} + +\end{lstlisting} +% +Testatine semitrasparenti e numeri di pagina in Iwona. +\begin{lstlisting} +\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} + +\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. +\begin{lstlisting} +\RequirePackage{titlesec} + % parts + \ifthenelse{\boolean{@parts}}% + {% + \titleformat{\part}[display] + {\normalfont\centering\large}% + {\thispagestyle{empty}\partname~\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} + +\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. +\begin{lstlisting} +\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}}} + +\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. +\begin{lstlisting} +\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}% + }% + } + +\end{lstlisting} +% +Si definisce il comando +{\ttfamily\textbackslash\color{RoyalBlue}{myincludegraphics}}, +%\comando{myincludegraphics}, +che permette di inserire un'immagine con lo sfondo di colore ``Azzurro Alice''; il suo funzionamento è analogo a quello di {\ttfamily\textbackslash\color{RoyalBlue}{includegraphics}}. +Affinché tutto funzioni, è fondamentale che l'immagine da inserire abbia lo sfondo trasparente. +Nelle versioni precedenti di \arsclassica, il comando {\ttfamily\textbackslash\color{RoyalBlue}{arsincludegraphics}} era chiamato {\ttfamily\textbackslash\color{RoyalBlue}{myincludegraphics}}: è ancora possibile usare il vecchio nome, anche se si sconsiglia di farlo. +\begin{lstlisting} +\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} + +\end{lstlisting} +Impostazioni di \pacchetto{hyperref}. +\begin{lstlisting} +\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 + +\end{lstlisting} +% +Definizione dei comandi +{\ttfamily\textbackslash\color{RoyalBlue}{ctLaTeX}}, +{\ttfamily\textbackslash\color{RoyalBlue}{ctLaTeXe}} e +{\ttfamily\textbackslash\color{RoyalBlue}{ctTeX}}, +per avere rispettivamente i loghi \LaTeX, \LaTeXe{} e \TeX{} composti correttamente se scritti in Iwona.\index{Iwona} +\begin{lstlisting} +\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}} + +\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). +\begin{lstlisting} +\def\toc@headingbkORrp{% + \def\toc@heading{% + \chapter*{\contentsname}% + \@mkboth{\spacedlowsmallcaps{\contentsname}} + {\spacedlowsmallcaps{\contentsname}}}} +\@ifclassloaded{scrreprt}{\toc@headingbkORrp}{} +\@ifclassloaded{scrbook}{\toc@headingbkORrp}{} +\end{lstlisting} diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/LogoGuIT.pdf b/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/LogoGuIT.pdf new file mode 100644 index 00000000000..883067a9e4c Binary files /dev/null and b/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/LogoGuIT.pdf differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/Uccelli.jpg b/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/Uccelli.jpg new file mode 100644 index 00000000000..4153f62b87b Binary files /dev/null and b/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/Uccelli.jpg differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_1.jpg b/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_1.jpg new file mode 100644 index 00000000000..530ede18c47 Binary files /dev/null and b/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_1.jpg differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_2.jpg b/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_2.jpg new file mode 100644 index 00000000000..ba7e101e8fd Binary files /dev/null and b/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_2.jpg differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_3.jpg b/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_3.jpg new file mode 100644 index 00000000000..46113f520b0 Binary files /dev/null and b/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_3.jpg differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_4.jpg b/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_4.jpg new file mode 100644 index 00000000000..d15a4472855 Binary files /dev/null and b/Master/texmf-dist/doc/latex/arsclassica/Italian/Immagini/esempio_4.jpg differ diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Bibliografia.tex b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Bibliografia.tex new file mode 100644 index 00000000000..c2ba4a43e35 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Bibliografia.tex @@ -0,0 +1,16 @@ +%******************************************************* +% Bibliografia +%******************************************************* +\manualmark +\markboth{\spacedlowsmallcaps{\bibname}}{\spacedlowsmallcaps{\bibname}} +\refstepcounter{dummy} +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + \let\cleardoublepage\relax + +\addcontentsline{toc}{chapter}{\tocEntry{\bibname}} +\bibliographystyle{classic} +\bibliography{Bibliografia} +\nocite{bringhurst:elementi,miede:classicthesis,pantieri:classicthesis,pantieri:arte} +\endgroup diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/DietroAlTitolo.tex b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/DietroAlTitolo.tex new file mode 100644 index 00000000000..f28bb0c1ad7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/DietroAlTitolo.tex @@ -0,0 +1,26 @@ +%******************************************************* +% Dietro al titolo +%******************************************************* +\thispagestyle{empty} + +\hfill + +\vfill + +\noindent\myName: +\textit{\myTitle,} \mySubTitle, +\textcopyright\ \MakeTextLowercase{\myTime}. + +\medskip +\noindent{\spacedlowsmallcaps{Sito Web}}: \\ +\url{http://www.lorenzopantieri.net/} + +\medskip +\noindent{\spacedlowsmallcaps{E-mail}}: \\ +\mail{lorenzo.pantieri@iperbole.bologna.it} + +\vspace{1cm} +\hrule +\bigskip + +\noindent Nel frontespizio è riprodotta un'incisione di Maurits C.~Escher, dal titolo \textit{Tassellazione del piano con Uccelli} (l'immagine è tratta da \url{http://www.mcescher.com/}). diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Frontespizio.tex b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Frontespizio.tex new file mode 100644 index 00000000000..544863c4ce3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Frontespizio.tex @@ -0,0 +1,38 @@ +\begin{titlepage} +\pdfbookmark[1]{Frontespizio}{Frontespizio} +\changetext{}{}{}{((\paperwidth - \textwidth) / 2) - \oddsidemargin - \hoffset - 1in}{} +\null\vfill +\begin{center} +\large +\sffamily + +\bigskip + +{\Large\spacedlowsmallcaps{\myName}} \\ + +\bigskip + +{\huge\spacedlowsmallcaps{\myTitle} \\ +} + +\bigskip + +\vspace{9cm} + +\begin{tabular} {cc} +\parbox{0.3\textwidth}{\includegraphics[width=2.5cm]{Uccelli}} +& +\parbox{0.7\textwidth}{{\Large\spacedlowsmallcaps{\mySubTitle}} \\ + + {\normalsize + + \myGroup \\ + \myUrl \\ + \myTime}} + \end{tabular} +\end{center} +\vfill +\end{titlepage} + + + diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/IndiceAnalitico.tex b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/IndiceAnalitico.tex new file mode 100644 index 00000000000..f87eba03418 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/IndiceAnalitico.tex @@ -0,0 +1,14 @@ +%******************************************************* +% Indice analitico +%******************************************************* +\manualmark +\markboth{\spacedlowsmallcaps{\indexname}}{\spacedlowsmallcaps{\indexname}} +\refstepcounter{dummy} +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + \let\cleardoublepage\relax +\pagestyle{scrheadings} +\addcontentsline{toc}{chapter}{\tocEntry{\indexname}} +\printindex +\endgroup diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Indici.tex b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Indici.tex new file mode 100644 index 00000000000..46f56a47ff6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Indici.tex @@ -0,0 +1,20 @@ +%******************************************************* +% Indici +%******************************************************* +\refstepcounter{dummy} +\pdfbookmark[1]{\contentsname}{tableofcontents} +\setcounter{tocdepth}{2} +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + \let\cleardoublepage\relax + +\dominitoc\tableofcontents +\endgroup +\markboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}} + +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + \let\cleardoublepage\relax +\endgroup diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Ringraziamenti.tex b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Ringraziamenti.tex new file mode 100644 index 00000000000..e81ed9b1118 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Ringraziamenti.tex @@ -0,0 +1,21 @@ +%******************************************************* +% Ringraziamenti +%******************************************************* +\pdfbookmark[1]{Ringraziamenti}{ringraziamenti} + +\begingroup +\let\clearpage\relax +\let\cleardoublepage\relax +\let\cleardoublepage\relax + +\chapter*{Ringraziamenti} + +Desidero ringraziare in primo luogo i membri dello Staff del Gruppo Utilizzatori Italiani di \TeX{} e \LaTeX{} (\guit*, \url{http://www.guit.sssup.it/}), in particolare il Prof.~Enrico Gregorio e Andrea Tonelli, per l'impagabile aiuto fornito nella redazione di questo lavoro, le spiegazioni dettagliate, la pazienza e la precisione nei suggerimenti, le soluzioni fornite, la competenza e la disponibilità. +Grazie anche tutti quelli che hanno discusso con me sul forum del \guit*, prodighi di preziose osservazioni e di validi consigli. + +Ringrazio infine André Miede, per aver realizzato lo splendido stile \classicthesis, e Daniel Gottschlag, che mi ha dato lo spunto per realizzarne un'originale rielaborazione. + +\endgroup + + + diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Sommario+Abstract.tex b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Sommario+Abstract.tex new file mode 100644 index 00000000000..427cd2c3de0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/MaterialeInizialeFinale/Sommario+Abstract.tex @@ -0,0 +1,33 @@ +%******************************************************* +% Sommario+Abstract +%******************************************************* + +\pdfbookmark[1]{Sommario}{Sommario} +\begingroup +\let\clearpage\relax +\let\cleardoublepage\relax +\let\cleardoublepage\relax + +\chapter*{Sommario} +Il pacchetto modifica alcuni aspetti tipografici dello stile \classicthesis, di André Miede. +Permette di riprodurre la veste grafica della guida \emph{L'arte di scrivere con \LaTeX}~\citep{pantieri:arte}. +Lo spunto per l'originale rielaborazione di \classicthesis{} mi è stato offerto da Daniel Gottschlag. +Il pacchetto è stato scritto per il Gruppo Utilizzatori Italiani di \TeX{} e \LaTeX{} (\GuIT, \url{http://www.guit.sssup.it/}). + +\vfill + +\selectlanguage{english} +\pdfbookmark[1]{Abstract}{Abstract} +\chapter*{Abstract} +The package changes some typographical points of the \classicthesis{} style, by André Miede. +It allows to reproduce the look of the guide \emph{The art of writing with \LaTeX} (in Italian)~\citep{pantieri:arte}. +The hint for the original modification of \classicthesis{} was gave to me by Daniel Gottschlag. +The package was written for the Italian \TeX{} User Group (\GuIT, \url{http://www.guit.sssup.it/}). + + +\selectlanguage{italian} + +\endgroup + +\vfill + diff --git a/Master/texmf-dist/doc/latex/arsclassica/Italian/italadhoc.sty b/Master/texmf-dist/doc/latex/arsclassica/Italian/italadhoc.sty new file mode 100644 index 00000000000..89d7c8d8f07 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Italian/italadhoc.sty @@ -0,0 +1,114 @@ +\graphicspath{{Immagini/}} + +\newcommand{\mail}[1]{\href{mailto:#1}{\texttt{#1}}} + +\newcommand{\inglese}[1]{% + \begin{otherlanguage*}{english}#1\end{otherlanguage*}} + +\DeclareRobustCommand*{\pacchetto}[1]{{\normalfont\ttfamily#1}% +\index{Pacchetto!#1@\texttt{#1}}% +\index{#1@\texttt{#1}}} + +\DeclareRobustCommand*{\ambiente}[1]{{\normalfont\ttfamily#1}% +\index{Ambiente!#1@\texttt{#1}}% +\index{#1@\texttt{#1}}} + +\DeclareRobustCommand*{\opzione}[1]{{\normalfont\ttfamily#1}% +\index{Opzione!#1@\texttt{#1}}% +\index{#1@\texttt{#1}}} + +\DeclareRobustCommand*{\classe}[1]{{\normalfont\ttfamily#1}% +\index{Classe!#1@\texttt{#1}}% +\index{#1@\texttt{#1}}} + +\DeclareRobustCommand*{\programma}[1]{{\normalfont\ttfamily#1}% +\index{Programma!#1@\texttt{#1}}% +\index{#1@\texttt{#1}}} + +\DeclareRobustCommand*{\comando}[1]{\mbox{\lstinline!\\#1!}% +\index{#1@\texttt{\hspace*{-1.2ex}\textbackslash#1}}} + +\DeclareRobustCommand*{\classicthesis}{Classic\-Thesis} + +\DeclareRobustCommand*{\arsclassica}{{\normalfont\ttfamily ArsClassica}} + +\newcommand{\meta}[1]{$\langle${\normalfont\itshape#1}$\rangle$} + +\DeclareRobustCommand*{\miktex}{MiK\TeX% +\index{miktex@MiK\protect\TeX}} + +\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]{!?}{?!}}} +\lstset{escapeinside={£*}{*£}} +\lstset{firstnumber=last} + +\lstnewenvironment{code}% +{\setkeys{lst}{columns=fullflexible,keepspaces=true}% +\lstset{basicstyle=\small\ttfamily}% +}{} + +\lstset{extendedchars} +\lstnewenvironment{sidebyside}{% + \global\let\lst@intname\@empty + \setbox\z@=\hbox\bgroup + \setkeys{lst}{columns=fullflexible,% + linewidth=0.45\linewidth,keepspaces=true,% + breaklines=true,% + breakindent=0pt,% + boxpos=t,% + basicstyle=\small\ttfamily +}% + \lst@BeginAlsoWriteFile{\jobname.tmp}% +}{% + \lst@EndWriteFile\egroup + \begin{center}% + \begin{minipage}{0.45\linewidth}% + \hbox to\linewidth{\box\z@\hss} + \end{minipage}% + \qquad + \begin{minipage}{0.45\linewidth}% + \setkeys{lst}{frame=none}% + \leavevmode \catcode`\^^M=5\relax + \small\input{\jobname.tmp}% + \end{minipage}% + \end{center}% +} diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Bibliografia.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Bibliografia.tex deleted file mode 100644 index c2ba4a43e35..00000000000 --- a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Bibliografia.tex +++ /dev/null @@ -1,16 +0,0 @@ -%******************************************************* -% Bibliografia -%******************************************************* -\manualmark -\markboth{\spacedlowsmallcaps{\bibname}}{\spacedlowsmallcaps{\bibname}} -\refstepcounter{dummy} -\begingroup - \let\clearpage\relax - \let\cleardoublepage\relax - \let\cleardoublepage\relax - -\addcontentsline{toc}{chapter}{\tocEntry{\bibname}} -\bibliographystyle{classic} -\bibliography{Bibliografia} -\nocite{bringhurst:elementi,miede:classicthesis,pantieri:classicthesis,pantieri:arte} -\endgroup diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/DietroAlTitolo.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/DietroAlTitolo.tex deleted file mode 100644 index f28bb0c1ad7..00000000000 --- a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/DietroAlTitolo.tex +++ /dev/null @@ -1,26 +0,0 @@ -%******************************************************* -% Dietro al titolo -%******************************************************* -\thispagestyle{empty} - -\hfill - -\vfill - -\noindent\myName: -\textit{\myTitle,} \mySubTitle, -\textcopyright\ \MakeTextLowercase{\myTime}. - -\medskip -\noindent{\spacedlowsmallcaps{Sito Web}}: \\ -\url{http://www.lorenzopantieri.net/} - -\medskip -\noindent{\spacedlowsmallcaps{E-mail}}: \\ -\mail{lorenzo.pantieri@iperbole.bologna.it} - -\vspace{1cm} -\hrule -\bigskip - -\noindent Nel frontespizio è riprodotta un'incisione di Maurits C.~Escher, dal titolo \textit{Tassellazione del piano con Uccelli} (l'immagine è tratta da \url{http://www.mcescher.com/}). diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Frontespizio.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Frontespizio.tex deleted file mode 100644 index 544863c4ce3..00000000000 --- a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Frontespizio.tex +++ /dev/null @@ -1,38 +0,0 @@ -\begin{titlepage} -\pdfbookmark[1]{Frontespizio}{Frontespizio} -\changetext{}{}{}{((\paperwidth - \textwidth) / 2) - \oddsidemargin - \hoffset - 1in}{} -\null\vfill -\begin{center} -\large -\sffamily - -\bigskip - -{\Large\spacedlowsmallcaps{\myName}} \\ - -\bigskip - -{\huge\spacedlowsmallcaps{\myTitle} \\ -} - -\bigskip - -\vspace{9cm} - -\begin{tabular} {cc} -\parbox{0.3\textwidth}{\includegraphics[width=2.5cm]{Uccelli}} -& -\parbox{0.7\textwidth}{{\Large\spacedlowsmallcaps{\mySubTitle}} \\ - - {\normalsize - - \myGroup \\ - \myUrl \\ - \myTime}} - \end{tabular} -\end{center} -\vfill -\end{titlepage} - - - diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/IndiceAnalitico.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/IndiceAnalitico.tex deleted file mode 100644 index f87eba03418..00000000000 --- a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/IndiceAnalitico.tex +++ /dev/null @@ -1,14 +0,0 @@ -%******************************************************* -% Indice analitico -%******************************************************* -\manualmark -\markboth{\spacedlowsmallcaps{\indexname}}{\spacedlowsmallcaps{\indexname}} -\refstepcounter{dummy} -\begingroup - \let\clearpage\relax - \let\cleardoublepage\relax - \let\cleardoublepage\relax -\pagestyle{scrheadings} -\addcontentsline{toc}{chapter}{\tocEntry{\indexname}} -\printindex -\endgroup diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Indici.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Indici.tex deleted file mode 100644 index 46f56a47ff6..00000000000 --- a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Indici.tex +++ /dev/null @@ -1,20 +0,0 @@ -%******************************************************* -% Indici -%******************************************************* -\refstepcounter{dummy} -\pdfbookmark[1]{\contentsname}{tableofcontents} -\setcounter{tocdepth}{2} -\begingroup - \let\clearpage\relax - \let\cleardoublepage\relax - \let\cleardoublepage\relax - -\dominitoc\tableofcontents -\endgroup -\markboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}} - -\begingroup - \let\clearpage\relax - \let\cleardoublepage\relax - \let\cleardoublepage\relax -\endgroup diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Ringraziamenti.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Ringraziamenti.tex deleted file mode 100644 index e81ed9b1118..00000000000 --- a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Ringraziamenti.tex +++ /dev/null @@ -1,21 +0,0 @@ -%******************************************************* -% Ringraziamenti -%******************************************************* -\pdfbookmark[1]{Ringraziamenti}{ringraziamenti} - -\begingroup -\let\clearpage\relax -\let\cleardoublepage\relax -\let\cleardoublepage\relax - -\chapter*{Ringraziamenti} - -Desidero ringraziare in primo luogo i membri dello Staff del Gruppo Utilizzatori Italiani di \TeX{} e \LaTeX{} (\guit*, \url{http://www.guit.sssup.it/}), in particolare il Prof.~Enrico Gregorio e Andrea Tonelli, per l'impagabile aiuto fornito nella redazione di questo lavoro, le spiegazioni dettagliate, la pazienza e la precisione nei suggerimenti, le soluzioni fornite, la competenza e la disponibilità. -Grazie anche tutti quelli che hanno discusso con me sul forum del \guit*, prodighi di preziose osservazioni e di validi consigli. - -Ringrazio infine André Miede, per aver realizzato lo splendido stile \classicthesis, e Daniel Gottschlag, che mi ha dato lo spunto per realizzarne un'originale rielaborazione. - -\endgroup - - - diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Sommario+Abstract.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Sommario+Abstract.tex deleted file mode 100644 index 427cd2c3de0..00000000000 --- a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Sommario+Abstract.tex +++ /dev/null @@ -1,33 +0,0 @@ -%******************************************************* -% Sommario+Abstract -%******************************************************* - -\pdfbookmark[1]{Sommario}{Sommario} -\begingroup -\let\clearpage\relax -\let\cleardoublepage\relax -\let\cleardoublepage\relax - -\chapter*{Sommario} -Il pacchetto modifica alcuni aspetti tipografici dello stile \classicthesis, di André Miede. -Permette di riprodurre la veste grafica della guida \emph{L'arte di scrivere con \LaTeX}~\citep{pantieri:arte}. -Lo spunto per l'originale rielaborazione di \classicthesis{} mi è stato offerto da Daniel Gottschlag. -Il pacchetto è stato scritto per il Gruppo Utilizzatori Italiani di \TeX{} e \LaTeX{} (\GuIT, \url{http://www.guit.sssup.it/}). - -\vfill - -\selectlanguage{english} -\pdfbookmark[1]{Abstract}{Abstract} -\chapter*{Abstract} -The package changes some typographical points of the \classicthesis{} style, by André Miede. -It allows to reproduce the look of the guide \emph{The art of writing with \LaTeX} (in Italian)~\citep{pantieri:arte}. -The hint for the original modification of \classicthesis{} was gave to me by Daniel Gottschlag. -The package was written for the Italian \TeX{} User Group (\GuIT, \url{http://www.guit.sssup.it/}). - - -\selectlanguage{italian} - -\endgroup - -\vfill - diff --git a/Master/texmf-dist/doc/latex/arsclassica/README b/Master/texmf-dist/doc/latex/arsclassica/README index 6ed4f38ef7b..2d3a787adb2 100644 --- a/Master/texmf-dist/doc/latex/arsclassica/README +++ b/Master/texmf-dist/doc/latex/arsclassica/README @@ -2,7 +2,7 @@ * Package ArsClassica * ********************************************************** -Copyright (C) 2008 Lorenzo Pantieri +Copyright (C) 2009-2009 Lorenzo Pantieri http://www.lorenzopantieri.net/ sit6113@iperbole.bologna.it diff --git a/Master/texmf-dist/tex/latex/arsclassica/adhoc.sty b/Master/texmf-dist/tex/latex/arsclassica/adhoc.sty index 24f9b67e82e..af6369a1ff3 100644 --- a/Master/texmf-dist/tex/latex/arsclassica/adhoc.sty +++ b/Master/texmf-dist/tex/latex/arsclassica/adhoc.sty @@ -1,36 +1,32 @@ -\graphicspath{{Immagini/}} +\graphicspath{{Graphics/}} \newcommand{\mail}[1]{\href{mailto:#1}{\texttt{#1}}} -\newcommand{\inglese}[1]{% - \begin{otherlanguage*}{english}#1\end{otherlanguage*}} +\newcommand{\ita}[1]{% + \begin{otherlanguage*}{italian}#1\end{otherlanguage*}} -\DeclareRobustCommand*{\pacchetto}[1]{{\normalfont\ttfamily#1}% -\index{Pacchetto!#1@\texttt{#1}}% -\index{#1@\texttt{#1}}} - -\DeclareRobustCommand*{\ambiente}[1]{{\normalfont\ttfamily#1}% -\index{Ambiente!#1@\texttt{#1}}% -\index{#1@\texttt{#1}}} +\DeclareRobustCommand*{\pkgname}[1]{{\normalfont\sffamily#1}% +\index{Package!#1@\textsf{#1}}% +\index{#1@\textsf{#1}}} -\DeclareRobustCommand*{\opzione}[1]{{\normalfont\ttfamily#1}% -\index{Opzione!#1@\texttt{#1}}% +\DeclareRobustCommand*{\envname}[1]{{\normalfont\ttfamily#1}% +\index{Environment!#1@\texttt{#1}}% \index{#1@\texttt{#1}}} -\DeclareRobustCommand*{\classe}[1]{{\normalfont\ttfamily#1}% -\index{Classe!#1@\texttt{#1}}% +\DeclareRobustCommand*{\optname}[1]{{\normalfont\ttfamily#1}% +\index{Option!#1@\texttt{#1}}% \index{#1@\texttt{#1}}} -\DeclareRobustCommand*{\programma}[1]{{\normalfont\ttfamily#1}% -\index{Programma!#1@\texttt{#1}}% -\index{#1@\texttt{#1}}} +\DeclareRobustCommand*{\clsname}[1]{{\normalfont\sffamily#1}% +\index{Class!#1@\textsf{#1}}% +\index{#1@\textsf{#1}}} -\DeclareRobustCommand*{\comando}[1]{\mbox{\lstinline!\\#1!}% +\DeclareRobustCommand*{\cmdname}[1]{\mbox{\lstinline!\\#1!}% \index{#1@\texttt{\hspace*{-1.2ex}\textbackslash#1}}} \DeclareRobustCommand*{\classicthesis}{Classic\-Thesis} -\DeclareRobustCommand*{\arsclassica}{{\normalfont\ttfamily ArsClassica}} +\DeclareRobustCommand*{\arsclassica}{{\normalfont\sffamily ArsClassica}} \newcommand{\meta}[1]{$\langle${\normalfont\itshape#1}$\rangle$} @@ -71,7 +67,8 @@ mtifont,mtcindent,@iwonaLaTeX,@ppljTeX,@iwonascTeX,% rohead,orgendtheindex,@ppljscLaTeX,% @ifclassloaded,toc@headingbkORrp,backreftwosep,% - backrefalt,backreflastsep,areaset,pnumfont},% + backrefalt,backreflastsep,areaset,pnumfont,% + arsincludegraphics},% commentstyle=\color{Emerald}\ttfamily,% frame=lines} diff --git a/Master/texmf-dist/tex/latex/arsclassica/arsclassica.sty b/Master/texmf-dist/tex/latex/arsclassica/arsclassica.sty index 3dbc42c96e2..5ce6c101544 100644 --- a/Master/texmf-dist/tex/latex/arsclassica/arsclassica.sty +++ b/Master/texmf-dist/tex/latex/arsclassica/arsclassica.sty @@ -1,12 +1,12 @@ %************************************************************ % arsclassica.sty % -% copyright (C) 2008 Lorenzo Pantieri +% copyright (C) 2008-2009 Lorenzo Pantieri % http://www.lorenzopantieri.net/ % %************************************************************ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{arsclassica}[2008/10/18 v2.5 Customising ClassicThesis (LP)] +\ProvidesPackage{arsclassica}[2009/01/01 v2.5 Customizing ClassicThesis (LP)] \RequirePackage{classicthesis-ldpkg} \RequirePackage{classicthesis} @@ -14,8 +14,17 @@ %************************************************************ % 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 @@ -43,6 +52,74 @@ %************************************************************ % 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". % @@ -64,6 +141,82 @@ %************************************************************ % 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}}% @@ -264,10 +417,15 @@ %************************************************************ \definecolor{aliceblue}{RGB}{240,248,255} -\newcommand{\myincludegraphics}[2][]{% -\begingroup\setlength{\fboxsep}{0pt}% -\colorbox{aliceblue}{\includegraphics[#1]{#2}}% -\endgroup} +\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} %************************************************************ -- cgit v1.2.3