summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-02-06 23:38:47 +0000
committerKarl Berry <karl@freefriends.org>2012-02-06 23:38:47 +0000
commitd1fa41d1e3da91e706a0fb84aab888756a3d279e (patch)
treeeb66168381941cb5e96caad3eefdd35e5bd0d592 /Master
parent8085544365e7f2ec7bb1e87d0ed6da322fd6a0c7 (diff)
suftesi (6feb12)
git-svn-id: svn://tug.org/texlive/trunk@25321 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/README76
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/bibliografia-suftesi.bib133
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/example/Capitoli/primo.tex5
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/example/Capitoli/quarto.tex3
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/example/Capitoli/secondo.tex3
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/example/Capitoli/terzo.tex2
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Conclusione.tex4
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Introduzione.tex6
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Ringraziamenti.tex7
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/example/tesi.pdfbin324657 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/example/tesi.tex84
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/logo.pngbin38978 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/suftesi.bib108
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/suftesi.pdfbin391088 -> 368585 bytes
-rw-r--r--Master/texmf-dist/doc/latex/suftesi/suftesi.tex460
-rw-r--r--Master/texmf-dist/source/latex/suftesi/suftesi.dtx1731
-rw-r--r--Master/texmf-dist/source/latex/suftesi/suftesi.ins65
-rw-r--r--Master/texmf-dist/tex/latex/suftesi/suftesi.cls1203
18 files changed, 2607 insertions, 1283 deletions
diff --git a/Master/texmf-dist/doc/latex/suftesi/README b/Master/texmf-dist/doc/latex/suftesi/README
index 7889896598c..f11f1818c53 100644
--- a/Master/texmf-dist/doc/latex/suftesi/README
+++ b/Master/texmf-dist/doc/latex/suftesi/README
@@ -1,9 +1,16 @@
-----------------------------------------------------------------------
The 'suftesi' class for LaTeX
-Maintained by Ivan Valbusa
-E-mail: ivan.valbusa@univr.it
-Released under the LaTeX Project Public License v1.3c or later
-See http://www.latex-project.org/lppl.txt
+Author: Ivan Valbusa
+ ivan dot valbusa at univr dot it
+
+This work has the LPPL maintenance status "author-maintained".
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
-----------------------------------------------------------------------
DESCRIPTION:
@@ -12,18 +19,57 @@ DESCRIPTION:
It provides many options to change the style of headings and titles and a
new layout for the frontispiece using the package 'frontespizio' by Enrico Gregorio.
+This work consists of the following files:
+
+ README (this file)
+ suftesi.dtx
+ suftesi.ins
+ suftesi.pdf
+ example/
+ logo.png
+ bibliografia.bib
+ tesi.tex
+ Capitoli/
+ primo.tex
+ secondo.tex
+ terzo.tex
+ Immagini/
+ don.png
+ lamport.jpg
+ MaterialeInizialeFinale/
+ Introduzione.tex
+ Ringraziamenti.tex
+
+
+and of the derived files:
+
+ suftesi.cls
+ suftesi.bib
+
INSTALLATION:
-To use the class place the suftesi.cls file in: <HOME>/texmf/tex/latex/suftesi/
-Alternatively, place the suftesi.cls file in your working directory or in:
-<TEXMFLOCAL>/tex/latex/suftesi. In this case remember to refresh the file name database.
-USAGE:
-\documentclass[<options>]{suftesi}
+To install the distribution:
+
+o run "latex suftesi.ins"
+o move "suftesi.cls" to locations where LaTeX will find
+ it (the FAQ on CTAN in /help/uktug-FAQ gives more
+ information about this magic place)
+
+
+DOCUMENTATION:
+
+To reproduce the complete documentation, follow these steps
+
+$ pdflatex suftesi.dtx
+$ bibtex suftesi
+$ makeindex -s gind.ist suftesi
+$ pdflatex suftesi.dtx
+$ pdflatex suftesi.dtx
+
+from a shell (or in the preferred method for you system),
+where "pdflatex" can be also "xelatex", and the `$' stands
+for the shell's prompt.
-WARNING:
-Follow these steps to get the documentation:
-- pdflatex suftesi
-- pdflatex suftesi-frn
-- bibtex suftesi
-- pdflatex suftesi
+2012/12/25
+Ivan Valbusa
diff --git a/Master/texmf-dist/doc/latex/suftesi/bibliografia-suftesi.bib b/Master/texmf-dist/doc/latex/suftesi/bibliografia-suftesi.bib
deleted file mode 100644
index 7a1c76783d0..00000000000
--- a/Master/texmf-dist/doc/latex/suftesi/bibliografia-suftesi.bib
+++ /dev/null
@@ -1,133 +0,0 @@
-%% This BibTeX bibliography file was created using BibDesk.
-%% http://bibdesk.sourceforge.net/
-
-
-%% Created for Ivan Valbusa at 2011-10-24 14:49:07 +0200
-
-
-%% Saved with string encoding Unicode (UTF-8)
-
-
-
-@book{Morison:1111,
- Author = {Stanley Morison},
- Booktitle = {First Principles of Typography},
- Date = {1936},
- Date-Added = {2011-09-15 18:04:25 +0200},
- Date-Modified = {2011-10-24 14:48:27 +0200},
- Location = {Cambridge},
- Origdate = {2008},
- Origlocation = {Pisa-Roma},
- Origpublisher = {Fabrizio Serra editore},
- Origtitle = {I principi fondamentali della tipografia},
- Publisher = {Cambridge University Press},
- Title = {First Principles of Typography}}
-
-@book{Eco:1980,
- Author = {Umberto Eco},
- Booktitle = {Il nome della rosa},
- Date-Added = {2010-09-06 19:48:54 +0200},
- Date-Modified = {2010-09-06 19:52:22 +0200},
- Keywords = {secondaria},
- Location = {Milano},
- Publisher = {Bompiani},
- Title = {Il nome della rosa},
- Year = {1980}}
-
-@online{Gregorio:frontespizio,
- Author = {Enrico Gregorio},
- Date-Added = {2010-08-24 11:51:35 +0200},
- Date-Modified = {2011-10-24 14:49:07 +0200},
- Keywords = {primaria},
- Note = {version 1.1},
- Title = {Il pacchetto \textsf{frontespizio}},
- Url = {http://www.guit.sssup.it/phpbb/index.php},
- Year = {2009},
- Bdsk-Url-1 = {http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/}}
-
-@article{Valbusa:2010,
- Author = {Ivan Valbusa},
- Date-Added = {2010-08-24 11:46:14 +0200},
- Date-Modified = {2011-07-02 15:52:06 +0200},
- Journal = {\Ars},
- Keywords = {secondaria},
- Month = {10},
- Number = {9},
- Title = {Creare stili bibliografici con \textsf{biblatex}: l’esperienza del pacchetto {biblatex-philosophy}},
- Year = {2010},
- Bdsk-Url-1 = {http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/}}
-
-@book{Bringhurst:1996,
- Author = {Robert Bringhurst},
- Booktitle = {The Elements of Typographic Style},
- Date = {1996},
- Date-Added = {2010-08-16 21:54:29 +0200},
- Date-Modified = {2011-09-07 23:55:39 +0200},
- Edition = {2},
- Keywords = {primaria},
- Location = {Vancouver},
- Publisher = {Hurtley \& Marks Publisher},
- Title = {The Elements of Typographyc Style},
- Annote = {In questa voce sono state date le indicazioni complete dell'edizione originale, ed è stato indicato solo il luogo e la data della traduzione italiana}}
-
-@book{Tschichold:1975,
- Author = {Jan Tschichold},
- Booktitle = {Ausgewählte Aufsätze über Fragen der Gestalt des Buches und der Typographie},
- Date-Added = {2010-08-16 21:53:34 +0200},
- Date-Modified = {2010-08-25 12:22:50 +0200},
- Keywords = {primaria},
- Location = {Basel},
- Origdate = {2003},
- Origlocation = {Milano},
- Origpublisher = {Sylvestre Bonnard},
- Origtitle = {La forma del libro},
- Publisher = {Birkhäuser Verlag},
- Title = {Ausgewählte Aufsätze über Fragen der Gestalt des Buches und der Typographie},
- Year = {1975}}
-
-@online{Lehman:2010,
- Author = {Philipp Lehman},
- Date-Added = {2010-08-16 21:50:52 +0200},
- Date-Modified = {2010-08-25 12:22:24 +0200},
- Keywords = {secondaria},
- Note = {Versione 0.9a},
- Title = {The \textsf{biblatex} package},
- Url = {http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/},
- Year = {2010},
- Bdsk-Url-1 = {http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/}}
-
-@book{Pantieri:2011,
- Author = {Lorenzo Pantieri and Tommaso Gordini},
- Booktitle = {L'arte di scrivere con LATEX},
- Date = {2011},
- Date-Added = {2010-08-16 21:46:22 +0200},
- Date-Modified = {2011-09-07 23:50:20 +0200},
- Edition = {new edition},
- Foreword = {Enrico Gregorio},
- Hyphenation = {italian},
- Keywords = {primaria},
- Subtitle = {Un'in\-troduzione a \LaTeXe},
- Title = {L'arte di scrivere con \LaTeX},
- Url = {http://www.lorenzopantieri.net/LaTeX_files/ArteLaTeX.pdf},
- Annote = {Questa guida è diventata il punto di riferimento degli utenti italiani di \LaTeX\ ed è apprezzata per la chiarezza espositiva e la completezza dei contenuti},
- Bdsk-Url-1 = {http://www.lorenzopantieri.net/}}
-
-@article{Pantieri:2009,
- Author = {Lorenzo Pantieri},
- Date-Modified = {2010-08-25 12:26:40 +0200},
- Keywords = {secondaria},
- Title = {L'arte di gestire la bibliografia con \pack{biblatex}},
- Url = {http://www.lorenzopantieri.net/LaTeX_files/Bibliografia.pdf},
- Year = {2009},
- Bdsk-Url-1 = {http://www.lorenzopantieri.net/LaTeX_files/Bibliografia.pdf}}
-
-@article{Mori:2008,
- Author = {Lapo F. Mori},
- Date-Modified = {2010-08-25 12:22:21 +0200},
- Journal = {\Ars},
- Keywords = {secondaria},
- Month = {10},
- Pages = {37-51},
- Title = {Gestire la bibliografia con {\LaTeX}},
- Volume = {6},
- Year = {2008}}
diff --git a/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/primo.tex b/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/primo.tex
index 1d093262b1f..157edf00389 100644
--- a/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/primo.tex
+++ b/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/primo.tex
@@ -1,6 +1,11 @@
% !TEX encoding = UTF-8 Unicode
+% !TEX TS-program = pdflatex
+% !TEX root = ../tesi.tex
+
\chapter{Il primo capitolo della mia tesi}
+Inizia il capitolo Inizia il capitolo Inizia il capitolo Inizia il capitolo Inizia il capitolo Inizia il capitolo Inizia il capitolo Inizia il capitolo Inizia il capitolo Inizia il capitolo Inizia il capitolo Inizia il capitolo
+
\chapterintro
Questa è un'introduzione non numerata.
diff --git a/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/quarto.tex b/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/quarto.tex
deleted file mode 100644
index 91373b1f8a9..00000000000
--- a/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/quarto.tex
+++ /dev/null
@@ -1,3 +0,0 @@
-% !TEX encoding = UTF-8 Unicode
-\chapter{Il quarto capitolo della mia tesi}
-\lipsum[1-3]
diff --git a/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/secondo.tex b/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/secondo.tex
index 19143da9d92..3e7d804d1d9 100644
--- a/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/secondo.tex
+++ b/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/secondo.tex
@@ -1,4 +1,7 @@
% !TEX encoding = UTF-8 Unicode
+% !TEX TS-program = pdflatex
+% !TEX root = ../tesi.tex
+
\chapter{Il secondo capitolo della mia tesi}
\lipsum[2-3]
diff --git a/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/terzo.tex b/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/terzo.tex
index 487385b578e..de93b8b2770 100644
--- a/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/terzo.tex
+++ b/Master/texmf-dist/doc/latex/suftesi/example/Capitoli/terzo.tex
@@ -1,3 +1,5 @@
% !TEX encoding = UTF-8 Unicode
+% !TEX TS-program = pdflatex
+% !TEX root = ../tesi.tex
\chapter{Il terzo capitolo della mia tesi}
\lipsum[3-5]
diff --git a/Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Conclusione.tex b/Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Conclusione.tex
deleted file mode 100644
index 36340b58eac..00000000000
--- a/Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Conclusione.tex
+++ /dev/null
@@ -1,4 +0,0 @@
-% !TEX encoding = UTF-8 Unicode
-\chapter{Conclusione}
-\lipsum[6-7]
-
diff --git a/Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Introduzione.tex b/Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Introduzione.tex
index b0c97cf1149..f2290a86bb6 100644
--- a/Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Introduzione.tex
+++ b/Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Introduzione.tex
@@ -1,8 +1,6 @@
% !TEX encoding = UTF-8 Unicode
-
-%**************
-% Introduzione
-%**************
+% !TEX TS-program = pdflatex
+% !TEX root = ../tesi.tex
\chapter{Introduzione}
diff --git a/Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Ringraziamenti.tex b/Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Ringraziamenti.tex
index 17ea4cf6f06..3bbdba1fc54 100644
--- a/Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Ringraziamenti.tex
+++ b/Master/texmf-dist/doc/latex/suftesi/example/MaterialeInizialeFinale/Ringraziamenti.tex
@@ -1,9 +1,6 @@
% !TEX encoding = UTF-8 Unicode
-
-%*****************
-% Ringraziamenti
-%****************
-
+% !TEX TS-program = pdflatex
+% !TEX root = ../tesi.tex
\chapter{Ringraziamenti}
diff --git a/Master/texmf-dist/doc/latex/suftesi/example/tesi.pdf b/Master/texmf-dist/doc/latex/suftesi/example/tesi.pdf
deleted file mode 100644
index ef63892f8f3..00000000000
--- a/Master/texmf-dist/doc/latex/suftesi/example/tesi.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/suftesi/example/tesi.tex b/Master/texmf-dist/doc/latex/suftesi/example/tesi.tex
index 9bc76cb4c38..20afa1e29d8 100644
--- a/Master/texmf-dist/doc/latex/suftesi/example/tesi.tex
+++ b/Master/texmf-dist/doc/latex/suftesi/example/tesi.tex
@@ -1,7 +1,10 @@
-% !TEX encoding = UTF-8 Unicode
% copyright (C) Ivan Valbusa 2010
%
% Questo file è distribuito assieme alla classe suftesi nella cartella suftesi.zip
+%
+% !TEX encoding = UTF-8 Unicode
+% !TEX TS-program = pdflatex
+% !TEX root = tesi.tex
\documentclass[
%authortitle,
@@ -22,44 +25,47 @@
%defaultfont
]{suftesi}
-
\usepackage[T1]{fontenc}
-\usepackage[utf8]{inputenc}% Pay attention to the input encoding!
+\usepackage[utf8]{inputenc}% Attenzione alla codifica di input!
\usepackage[polutonikogreek,german,english,italian]{babel}
\usepackage{graphicx}
\graphicspath{{Immagini/}}
\usepackage{booktabs}
\usepackage[italian]{varioref}
\usepackage{lipsum}
-% index
+% Indice dei nomi
\usepackage{makeidx}
\addto\captionsitalian{\renewcommand{\indexname}{Indice dei nomi}}
\makeindex
-% bibliography
+% Bibliografia
\usepackage[italian=guillemets]{csquotes}
\usepackage[
style=philosophy-classic,%philosophy-modern, philosophy-verbose
]{biblatex}
\bibliography{bibliografia}
-% the frontispiece
+% Frontespizio
\usepackage[suftesi]{frontespizio}%
-% Cross refereces
-\usepackage{hyperref}% needed to use the \chapterintro command
-\hypersetup{colorlinks=true,citecolor=blue,draft=true}
-
-\author{The author}
-\title{The title}
+% Riferimenti incrociati
+\usepackage{hyperref}%
+\hypersetup{%
+ colorlinks=true,
+ citecolor=blue,
+ %draft=true
+ }
+
+% Servono con l'opzione ``authortitle'':
+\author{Nome Cognome}
+\title{Titolo della tesi}
\begin{document}
-% uncomment the following lines if you use the babel package with the ''french'' option:
+% decommenta le seguent line se si usa ''babel'' con l'opzione ''french'':
%\selectlanguage{italian}
%\frenchspacing
-
-% FRONTISPIECE
+% FRONTESPIZIO
\begin{frontespizio}
\Universita{Paperopoli}
-\Logo{logo}
+\Logo{logo}%Attenzione ai diritti d'uso del logo!
\Facolta{Pennutologia}
\Corso{Belle Lettere}
\Annoaccademico{2030--2031}
@@ -77,34 +83,30 @@ difficilissimi e complicatissimi}
% COLOPHON
\colophon[<sistema operativo>]{Nome Cognome}{<specifiche sui font utilizzati e/o sulla data di discussione della tesi, ecc.>}
-
-% FRONT MATTER
+% Materiale iniziale
\frontmatter
-% Indexes
+% Indici
\tableofcontents
\listoftables
\listoffigures
-% Acknowledgments
+% Ringraziamenti
\input{MaterialeInizialeFinale/Ringraziamenti}
-% Shorthands
+% Sigle
\defbibnote{prenote:shorthands}{Breve testo introduttivo alle sigle}
\defbibnote{postnote:shorthands}{Possiamo anche inserire un'avvertenza alla fine delle sigle, come questa. In genere non serve. Potrebbe essere utile nel caso si voglia usare un apparato di sigle molto complesso.}
\printshorthands[prenote=prenote:shorthands,postnote=postnote:shorthands]
\addcontentsline{toc}{chapter}{Sigle}
\input{MaterialeInizialeFinale/Introduzione}
-
-% MAIN MATTER
+% Materiale centrale
\mainmatter
\part{uno}
-\input{Capitoli/primo}
+ \input{Capitoli/primo}
\input{Capitoli/secondo}
\input{Capitoli/terzo}
- \input{Capitoli/quarto}
+% Materiale finale
\backmatter
-\input{MaterialeInizialeFinale/Conclusione}
-
-% APPENDICES
-\appendixpage% use only with multiple appendices
+% Appendici
+\appendixpage% Da usare solo con appendici multiple
\appendix
\chapter{Prima}
\lipsum
@@ -112,29 +114,25 @@ difficilissimi e complicatissimi}
\lipsum
\chapter{Terza}
\lipsum
-
-% SHORTHANDS
-\printshorthands
-
-% BIBLIOGRAPHY
+% BIBLIOGRAFIA
+%***************************
\cleardoublepage
-\phantomsection % use only if hyperref is loaded
+\phantomsection % solo con hyperref
\addcontentsline{toc}{chapter}{\bibname}
\printbibheading
-
-% First bibliography
+% Primaria
\defbibnote{primaria}{\sffamily Breve testo introduttivo per la bibliografia secondaria. In genere non serve, ma per bibliografie molto complesse potrebbe essere utile.}
-\phantomsection % use only if hyperref is loaded
+\phantomsection % solo con hyperref
\addcontentsline{toc}{section}{Bibliografia primaria}
\printbibliography[keyword=primaria,title=Bibliografia primaria,heading=subbibliography,prenote=primaria]
-% Second bibliography
+% Secondaria
\defbibnote{secondaria}{\sffamily Breve testo introduttivo per la bibliografia primaria. In genere non serve, ma per bibliografie molto complesse potrebbe essere utile.}
-\phantomsection % use only if hyperref is loaded
+\phantomsection % solo con hyperref
\addcontentsline{toc}{section}{Bibliografia secondaria}
\printbibliography[keyword=secondaria,title=Bibliografia secondaria,heading=subbibliography,prenote=secondaria]
-
-% INDEX OF NAMES
-\phantomsection % use only if hyperref is loaded
+% INDICE DEI NOMI
+%***************************%
+\phantomsection % solo con hyperref
\addcontentsline{toc}{chapter}{Indice dei nomi}
\printindex
diff --git a/Master/texmf-dist/doc/latex/suftesi/logo.png b/Master/texmf-dist/doc/latex/suftesi/logo.png
deleted file mode 100644
index 15ef303301f..00000000000
--- a/Master/texmf-dist/doc/latex/suftesi/logo.png
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/suftesi/suftesi.bib b/Master/texmf-dist/doc/latex/suftesi/suftesi.bib
new file mode 100644
index 00000000000..e0d0d610e41
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/suftesi/suftesi.bib
@@ -0,0 +1,108 @@
+@book{Morison:1111,
+Author = {Stanley Morison},
+Booktitle = {First Principles of Typography},
+Date = {1936},
+Location = {Cambridge},
+Origdate = {2008},
+Origlocation = {Pisa-Roma},
+Origpublisher = {Fabrizio Serra editore},
+Origtitle = {I principi fondamentali della tipografia},
+Publisher = {Cambridge University Press},
+Title = {First Principles of Typography}}
+
+@book{Eco:1980,
+Author = {Umberto Eco},
+Booktitle = {Il nome della rosa},
+Keywords = {secondaria},
+Location = {Milano},
+Publisher = {Bompiani},
+Title = {Il nome della rosa},
+Year = {1980}}
+
+@online{Gregorio:frontespizio,
+Author = {Enrico Gregorio},
+Keywords = {primaria},
+Note = {version 1.1},
+Title = {Il pacchetto \textsf{frontespizio}},
+Url = {http://www.guit.sssup.it/phpbb/index.php},
+Year = {2009}}
+
+@article{Valbusa:2010,
+Author = {Ivan Valbusa},
+Date-Added = {2010-08-24 11:46:14 +0200},
+Date-Modified = {2011-07-02 15:52:06 +0200},
+Journal = {\Ars},
+Keywords = {secondaria},
+Month = {10},
+Number = {9},
+Title = {Creare stili bibliografici con \textsf{biblatex}:
+l'esperienza del pacchetto {biblatex-philosophy}},
+Year = {2010}}
+
+@book{Bringhurst:1996,
+Author = {Robert Bringhurst},
+Booktitle = {The Elements of Typographic Style},
+Date = {1996},
+Edition = {2},
+Keywords = {primaria},
+Location = {Vancouver},
+Publisher = {Hurtley \& Marks Publisher},
+Title = {The Elements of Typographyc Style},
+Annote = {In questa voce sono state date le indicazioni complete
+dell'edizione originale, ed è stato indicato solo il luogo e la data della
+traduzione italiana}}
+
+@book{Tschichold:1975,
+Author = {Jan Tschichold},
+Booktitle = {Ausgewählte Aufsätze über Fragen der Gestalt des
+Buches und der Typographie},
+Keywords = {primaria},
+Location = {Basel},
+Origdate = {2003},
+Origlocation = {Milano},
+Origpublisher = {Sylvestre Bonnard},
+Origtitle = {La forma del libro},
+Publisher = {Birkhäuser Verlag},
+Title = {Ausgewählte Aufsätze über Fragen der Gestalt des Buches
+und der Typographie},
+Year = {1975}}
+
+@online{Lehman:2010,
+Author = {Philipp Lehman},
+Keywords = {secondaria},
+Note = {Versione 0.9a},
+Title = {The \textsf{biblatex} package},
+Url = {http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/},
+Year = {2010}}
+
+@book{Pantieri:2011,
+Author = {Lorenzo Pantieri and Tommaso Gordini},
+Booktitle = {L'arte di scrivere con LATEX},
+Date = {2011},
+Edition = {new edition},
+Foreword = {Enrico Gregorio},
+Hyphenation = {italian},
+Keywords = {primaria},
+Subtitle = {Un'in\-troduzione a \LaTeXe},
+Title = {L'arte di scrivere con \LaTeX},
+Url = {http://www.lorenzopantieri.net/LaTeX_files/ArteLaTeX.pdf},
+Annote = {Questa guida è diventata il punto di riferimento degli utenti
+italiani di \LaTeX\ ed è apprezzata per la chiarezza espositiva e la
+completezza dei contenuti}}
+
+@article{Pantieri:2009,
+Author = {Lorenzo Pantieri},
+Keywords = {secondaria},
+Title = {L'arte di gestire la bibliografia con \pack{biblatex}},
+Url = {http://www.lorenzopantieri.net/LaTeX_files/Bibliografia.pdf},
+Year = {2009}}
+
+@article{Mori:2008,
+Author = {Lapo F. Mori},
+Journal = {\Ars},
+Keywords = {secondaria},
+Month = {10},
+Pages = {37-51},
+Title = {Gestire la bibliografia con {\LaTeX}},
+Volume = {6},
+Year = {2008}}
diff --git a/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf b/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
index bc78c0957dc..e6c02653533 100644
--- a/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
+++ b/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/suftesi/suftesi.tex b/Master/texmf-dist/doc/latex/suftesi/suftesi.tex
deleted file mode 100644
index 56b1338659d..00000000000
--- a/Master/texmf-dist/doc/latex/suftesi/suftesi.tex
+++ /dev/null
@@ -1,460 +0,0 @@
-% !TEX TS-program = pdflatex
-% !TEX encoding = UTF-8 Unicode
-
-\documentclass[11pt]{ltxdockit}
-\usepackage{btxdockit}
-\usepackage[utf8]{inputenc}
-\usepackage[polutonikogreek,italian,english]{babel}
-\usepackage[babel,italian=guillemets]{csquotes}
-\usepackage[%
- style=philosophy-classic,
- library=true,
- natbib=true,
- hyperref]{biblatex}
-\bibliography{bibliografia-suftesi}
-\usepackage{guit}
-\usepackage{booktabs,multirow}
-\usepackage{siunitx}
-\usepackage{microtype}
-\usepackage{metalogo}
-\usepackage[suftesi]{frontespizio}
-\usepackage{sectsty}
- \sectionfont{\spotcolor}
- \subsectionfont{\spotcolor}
- \subsubsectionfont{\spotcolor}
- \paragraphfont{\spotcolor}
- \subparagraphfont{\spotcolor}
-
-
-\hypersetup{%
- pdftitle={User's Guide to \sty{suftesi}},
- pdfsubject={A document class for typesetting theses, books and articles},
- pdfauthor={Ivan Valbusa},
- pdfkeywords={thesis, humanities, books},
- citecolor=spot}
-%******************************************************************
-\rcsid{$Id: suftesi.tex,v 0.6c 2011/11/16 17:00:00 valbusa beta $}
-\titlepage{%
- title= {User's Guide to \sty{suftesi}},
- subtitle={A document class for typesetting theses, books and articles},
- url={http://tug.ctan.org/tex-archive/macros/latex/suftesi},
- author={Ivan Valbusa},
- email={ivan.valbusa@univr.it},
- revision={\rcsrevision},
- date={\rcstoday}}
-%******************************************************************
-\DeclareRobustCommand*{\ar}[1]{\texttt{\char`\{#1\char`\}}}
-\DeclareRobustCommand*{\oar}[1]{\texttt{[#1]}}
-\DeclareRobustCommand*{\meta}[1]{%
- $\langle${\normalfont\itshape#1\kern0.12em }$\rangle$}
-\DeclareRobustCommand*{\arm}[1]{\ar{\meta{#1}}}
-\DeclareRobustCommand*{\oarm}[1]{\oar{\meta{#1}}}
-\newcommand{\quoteskip}{.5\baselineskip
- plus .1\baselineskip minus .1\baselineskip}
-\newlength{\normalparindent}
-\setlength{\normalparindent}{\parindent}
-\newenvironment{genquote}[1][]
- {\par\nobreak
- \addvspace{\quoteskip}
- \parindent0pt
- \hangafter0
- \hangindent2\normalparindent
- #1}
- {\par\addvspace{\quoteskip}\noindent\ignorespacesafterend}
-\newenvironment{ttquote}
- {\genquote[\ttfamily\microtypesetup{activate=false}]}
- {\endgenquote}
-\newcommand{\new}{\marginpar{\textbf{\textcolor{red}{NEW!}}}}
-
-\frenchspacing
-
-\begin{document}
-
-\printtitlepage
-\tableofcontents
-
-\begin{abstract}
-The \sty{suftesi} class %is based on the standard \sty{book} class and
-provides a set of page layouts, title styles and heading styles for typesetting theses, books and articles. It is based on the standard \sty{book} class and inspired by the works of \textcite{Bringhurst:1996}, \textcite{Tschichold:1975} and \textcite{Morison:1111}.
-\end{abstract}
-
-
-%*********************************************
-\section*{Note on copyright}
-%*********************************************
-
-Copyright \copyright\ 2009-2010 Ivan Valbusa. This package is author-maintained.
-Permission is granted to copy, distribute and/or modify this software under the
-terms of the LaTeX Project Public License, version 1.3c.\footnote{\url{http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt}.}
-
-In addition to the terms of this license the author requires an attribution notice like the following one:
-\begin{center}
-\textcolor{spot}{This work has been typeset with \LaTeX{}, using the \textsf{suftesi} class by Ivan Valbusa.}
-\end{center}
-You can use the \cmd{colophon}, \cmd{bookcolophon} or \cmd{artcolophon} commands explained in section \ref{sec:commands}.
-
-
-%*********************************************
-\subsection*{Warning for newbies}
-%*********************************************
-
-The most important feature of this class is the set of styles it provides. For this reason:
-
-\begin{center}
-\textcolor{spot}{\textsc{please do not modify the styles of this class!\\
-if you do not like these styles, use another class.}}
-\end{center}
-
-If you use \sty{suftesi}{} in a document typeset with another class (for example \sty{book}), remember to clean up the preamble from all the layout redefinitions.
-
-
-%*********************************************
-\subsection*{Loaded packages}
-%*********************************************
-
-The class loads the following packages: \sty{beramono},
-\sty{calc}, \sty{caption}, \sty{color}, \sty{enumitem}, \sty{emptypage}, \sty{epigraph}, \sty{fancyhdr}, \sty{fontenc}, \sty{geometry}, \sty{ifluatex}, \sty{ifxetex}, \sty{iwona}, \sty{mathpazo}, \sty{metalogo}, \sty{microtype}, \sty{mparhack}, \sty{multicol}, \sty{textcase}, \sty{titlesec}, \sty{titletoc}.
-
-
-
-
-
-\section{Class features}
-%*********************************************
-\subsection{Layout}
-%*********************************************
-
-The standard document classes allow you to typeset beautiful documents but their layout is quite far from the stylistic requests of some humanists (especially italian). The styles provided by \sty{suftesi} are very simple and sober, and also have the aim of finding in the formal simplicity an aesthetic harmony. They are largely inspired by some beautiful readings, particularly \textcite{Bringhurst:1996}, \textcite{Tschichold:1975} and \textcite{Morison:1111}. Table~\ref{tab:gabbia} summarizes the main features of the styles provided by \sty{suftesi}.
-\begin{table}[h]
-\centering
-\caption[Misure e proporzioni degli elementi della pagina]{Misure e proporzioni degli elementi della pagina.}
-\label{tab:gabbia}
-\begin{tabular}{lccccc}
-\toprule
-& \multicolumn{5}{c}{Option (pt)}\\\cmidrule{2-6}
-& (default) & \opt{11pt} & \opt{compact} & \opt{supercompact} & \opt{elements} \\\midrule
-Text width & $312$ & $324$ & $312$ & $284$ & $251$\\
-Text height & $624$ & $648$ & $470$ & $430$ & $502$\\
-Marginal notes width & $82$ & $82$ & $65$ & $50$ & $60$\\[1ex]
- &\multicolumn{5}{c}{Proportions}\\\cmidrule{2-6}
-\multirow{2}*{Margins\quad{\parbox{1.3cm}{top/botoom\\outer/inner}}} & $1:2$ & $1:2$ & $2:3$ & $2:3$& $1.376$ \\
- &$1:2$&$1:2$ & $2:3$ & $2:3$ & $1/2$\\%\midrule
-Text block & $1:2$& $1:2$ & $2:3$ & $2:3$ & $1/2$\\
-Page & $1:\sqrt{2}$& $1:\sqrt{2}$ & $2:3$ & $2:3$ & $1/\sqrt{3}$\\
-\bottomrule
-\end{tabular}
-\end{table}
-
-%*********************************************
-\subsection{Font}
-%*********************************************
-
-The default font for body text is
-Palatino designed by Hermann Zapf\index{Zapf, Hermann}.\footnote{Using \XeLaTeX{} the \LaTeX{} default font is loaded and the font options are turned off.}
-The sans serif font is Iwona designed by Janusz M.~Nowacki\index{Nowacki, Janusz M.}. This choice is inspired by \emph{L'arte di scrivere con \LaTeX{}} \parencite{Pantieri:2011}.
-
-If you prefer to use other fonts (such as those provided by \sty{fourier}, \sty{lmodern} or \sty{libertine} packages), remember to load the class option \opt{defaultfont}, which turns off the \sty{suftesi}{} font settings. Moreover pay particular attention in choosing the greek font.
-
-%*********************************************
-\subsubsection{Greek alphabet}
-%*********************************************
-
-The default font for the greek text is Artemisia by the Greek Font Society, which is very suitable for Palatino:
-\begin{quotation}
-%Il filosofo Aristotele\index{Aristotele} è nato a Stagira
-Alla Natura che ogni cosa dona e ogni cosa riprende \dots %\marginpar{\emph{Artemisia}}
-\begin{otherlanguage*}{polutonikogreek}%
-\fontfamily{artemisia}\selectfont
-Th| p`anta dido`ush|
-ka'i >apolambano`ush| f`usei
-<o pepaideum`enos ka'i
-a>id`hmwn l`egei; <<d'os, <'o
-j`eleis, >ap`olabe, <'o
-j`eleic>>. L`egei d'e to~uto
-o>u katajrasun`omenos, >all'a
-peijarq~wn m`onon ka'i
-e>uno~wn a>ut~h|.
-%Ἀριστοτέλης, ὁ φιλόσοφος, Σταγειρίτης ἦν τὸ γένος. ἐγένετο δὲ τῶι ἔτει τπδ´. ὀκτωκαιδέκατον ἔτος ἔχων, εἰς Ἀθήνας ἦλθε καὶ συσταθεὶς Πλάτωνι, διέτριψε παρὰ αὐτὸν εἴκοσιν ἔτη.
- \end{otherlanguage*}
-\end{quotation}
-With the \opt{porson} option you can use the Porson font by the Greek Font Society:
-\begin{quotation}
-%Il filosofo Aristotele\index{Aristotele} è nato a Stagira
-Alla Natura che ogni cosa dona e ogni cosa riprende \dots %\marginpar{\emph{Porson}}
-\begin{otherlanguage*}{greek}%
-\fontfamily{porson}\selectfont
-Th| p`anta dido`ush|
-ka'i >apolambano`ush| f`usei
-<o pepaideum`enos ka'i
-a>id`hmwn l`egei; <<d'os, <'o
-j`eleis, >ap`olabe, <'o
-j`eleic>>. L`egei d'e to~uto
-o>u katajrasun`omenos, >all'a
-peijarq~wn m`onon ka'i
-e>uno~wn a>ut~h|.%Ἀριστοτέλης, ὁ φιλόσοφος, Σταγειρίτης ἦν τὸ γένος. ἐγένετο δὲ τῶι ἔτει τπδ´. ὀκτωκαιδέκατον ἔτος ἔχων, εἰς Ἀθήνας ἦλθε καὶ συσταθεὶς Πλάτωνι, διέτριψε παρὰ αὐτὸν εἴκοσιν ἔτη.
- \end{otherlanguage*}
- \end{quotation}
-The \opt{defaultgreek} option allows you to use the standard CB Greek font:\footnote{This option is also activated by the \opt{defaultfont} option (see section \ref{sec:options}).}
-\begin{quotation}
-%Il filosofo Aristotele\index{Aristotele} è nato a Stagira
-Alla Natura che ogni cosa dona e ogni cosa riprende \dots{} %\marginpar{\emph{CB Greek}}
-\begin{otherlanguage*}{greek}%
-\fontfamily{lmr}\selectfont
-Th| p`anta dido`ush|
-ka'i >apolambano`ush| f`usei
-<o pepaideum`enos ka'i
-a>id`hmwn l`egei; <<d'os, <'o
-j`eleis, >ap`olabe, <'o
-j`eleic>>. L`egei d'e to~uto
-o>u katajrasun`omenos, >all'a
-peijarq~wn m`onon ka'i
-e>uno~wn a>ut~h|.%Ἀριστοτέλης, ὁ φιλόσοφος, Σταγειρίτης ἦν τὸ γένος. ἐγένετο δὲ τῶι ἔτει τπδ´. ὀκτωκαιδέκατον ἔτος ἔχων, εἰς Ἀθήνας ἦλθε καὶ συσταθεὶς Πλάτωνι, διέτριψε παρὰ αὐτὸν εἴκοσιν ἔτη.
- \end{otherlanguage*}
- \end{quotation}
-
-
-%*********************************************
-\subsection{Frontispiece}
-%*********************************************
-The class has a original frontispiece now directly available loading the \sty{frontespizio} package \parencite{Gregorio:frontespizio}\footnote{Version 1.4 or later.} with the \opt{suftesi} option (see the example in the next page):
-\begin{ttquote}
-\cmd{usepackage}[suftesi]\ar{frontespizio}
-\end{ttquote}
-For use this frontispiece with the \opt{compact}, \opt{supercompact} and \opt{elements} options you will need to manually change the default margins with the command:
-\begin{ttquote}
-\cmd{Margini}\ar{\meta{left}}\ar{\meta{bottom}}\ar{\meta{right}}\ar{\meta{top}}
-\end{ttquote}
-
-%% frontespizio
-%***************************************************************************
-\clearpage
-\begin{picture}(0,0)
-\unitlength=1cm
-\put(-3.5,-25){The \sty{suftesi} frontispiece.}
-\color{black!50}
-\put(-3.5,-24){\framebox(18.4,26){\color{blue}}}
-\end{picture}
-
-\thispagestyle{empty}
-
-\begin{frontespizio}
-\Universita{Paperopoli}
-\Logo{logo}
-\Facolta{Pennutologia}
-\Corso{Belle Lettere}
-\Annoaccademico{2030--2031}
-\Titoletto{Tesi di laurea magistrale}
-\Titolo{La mia tesi:\\ una lunga serie di risultati\\
-difficilissimi e complicatissimi}
-\Sottotitolo{Alcune considerazioni mutevoli}
-\Candidato[PP999999]{Paperino Paolino}
-\Relatore{Giovanni Episcopo}
-\Relatore{Pippo Cluvio}
-\Correlatore{Ugo Frogio}
-\Correlatore{Ubaldo Kutuzu}
-\end{frontespizio}
-
-%*********************************************
-\section{Options}\label{sec:options}
-%*********************************************
-\thispagestyle{plain}
-
-In addition to the options defined by the \sty{book} document class, \sty{suftesi} accepts the following new options.
-
-\subsection{Page layout}
-
-\begin{ltxsyntax}
-\optitem{compact}
-Prints a typeblock of $14 \si{cm} \times 21 \si{cm}$ on a A4 paper, showing the crop marks (see table \ref{tab:gabbia} for details). The \cmd{crop[off]} command turns off the crop marks.
-\optitem{supercompact} The same as \opt{compact} but with a typeblock of $16 \si{cm} \times 24 \si{cm}$ (see table \ref{tab:gabbia} for details).
-\optitem{elements}
-Reproduces the layout of \citetitle{Bringhurst:1996} by Robert \citeauthor{Bringhurst:1996} (see table \ref{tab:gabbia} for details).
-\optitem{nocrop}
-Prints a \textsc{pdf} with page dimensions according to the \opt{compact}, \opt{supercompact} and \opt{elements} options.
-\optitem{nomarginpar} Disables the \cmd{marginpar} command. This option is useful for the two ``compact'' layouts.
-\optitem{11pt}
-Sets the font size at $11\si{pt}$ and resizes the text block dimensions.
-\end{ltxsyntax}
-
-
-\subsection{Titles and headings}
-
-\begin{ltxsyntax}
-\optitem{sctitles}
-Prints the headings and the chapter (section) titles in small caps.
-\optitem{centertitle}
-Centers the chapter title and number, with the chapter title below the number.
-\optitem{sufelements}
-Loads the \opt{sctitles} class option and prints the chapter numbers according to the \opt{elements} option.
-\optitem{centerheadings}
-Prints the page number in the center of the footer, the string ``Chapter $n$'' in the header of even pages and the chapter title in the header of odd pages.
-\optitem{sufplain}
-Prints no headers and puts the page number in the center of the footer.
-\optitem{authortitle}
-Changes the content of the headings. It prints the author's name on the even numbered pages and the title on the odd ones. This option can be combined with the other options seen above. In order to use this option the \cmd{title} and \cmd{author} commands are required.
-\optitem{article}
-This option is aimed to typeset articles or short theses (that is to say without chapter divisions) in a two side document.
-\optitem{bozza}
-Prints the following note in the footer:
-\begin{quote}
-Version of \meta{date}
-\end{quote}
-\optitem{plain}
-An older name of the \opt{centerheadings} option. Disabled since version 0.6.
-\optitem{fullplain} An older name of the \opt{sufplain} option. Disabled since version 0.6.
-\end{ltxsyntax}
-
-\subsection{Fonts}
-
-\begin{ltxsyntax}
-\optitem{artemisia} Loads the Artemisia font (default).
-\optitem{porson} Loads the Porson font.
-\optitem{defaultgreek} Loads the standard CB~Greek font.
-\optitem{defaultfont} Loads the \LaTeX{} standard font and set the \cmd{baselineskip} to the standard default.
-\optitem{disablefront}
-Disabled since version 0.5.
-\end{ltxsyntax}
-
-%*********************************************
-\section{Commands}\label{sec:commands}
-%*********************************************
-
-The class defines the following new commands.
-
-\begin{ltxsyntax}
-
-\cmditem{colophon}[OS]{name and surname}{additional info}
-
-This command is provided only for italian documents. It prints a page with a copyright notice and the colophon in the bottom. For different languages use the \cmd{bookcolophon} instead (see below).
-
-If you don't like the copyright notice leave the second argument of the command empty:
-\begin{ttquote}
-\cmd{colophon\oarm{OS}\{\}\arm{additional info}}
-\end{ttquote}
-
-With the \opt{article} option, you can use the \cmd{artcolophon} command (see below) or the \cmd{thanks} command:
-\begin{ttquote}
-\cmd{author}\{\meta{Name Surname}\cmd{thanks}\{This work has been typeset with \LaTeX{},\\
-using the \cmd{textsf}\{suftesi\} cass by Ivan Valbusa\}.\}
-\end{ttquote}
-
-\cmditem{bookcolophon}{copyright notice}{attribution notice and other informations}
-
-This command is similar to \cmd{colophon} but it is completely customizable. The first argument prints its content (usually the copyright notice) in the center of the page. The second argument prints its content at the bottom, preceded by the title ``Colophon''. For example:
-
-{\begin{verbatim}
-\colophon{Copyright © 2007 by Ivan Valbusa}{This work has been
-typeset with \LaTeX, using the \sty{suftesi} class by Ivan
-Valbusa\index{Valbusa, Ivan}. The normal font is Palatino by Hermann
-Zapf. The sans serif font is Iwona by Janusz M.~Nowacki.}
-\end{verbatim}}
-
-\cmditem{artcolophon}{copyright notice, attribution and other informations}
-
-This command has only one argument. It simply prints its content at the bottom of the page. Here is an example:
-
-\begin{verbatim}
-\artcolophon{This work is licensed under the Creative Commons
-Attribution-NonCommercial-NoDerivs 3.0 Unported License. To view
-a copy of this license, visit
-\begin{center}
-\texttt{http://creativecommons.org/licenses/by-nc-nd/3.0/}
-\end{center}
-or send a letter to Creative Commons, 444 Castro Street, Suite 900,
-Mountain View, California, 94041, USA.\\[1ex]
-
-Typeset with \LaTeX, using the \sty{suftesi} class by Ivan
-Valbusa.}
-\end{verbatim}
-
-\cmditem{chapterintro}
-
-Prints an unnumbered introduction at the beginning of the chapters, with the correct hyperlink. In order to use this command the \sty{hyperref} package must be loaded.
-
-\cmditem{chapterintroname}{name}\hfill(default:=\texttt{Introduzione})
-
-Changes in \meta{name} the title printed by the \cmd{chapterintro} command.
-
-\cmditem{appendicesname}{name}\hfill(default:=\texttt{Appendici})
-
-Changes in \meta{name} the title printed by the \cmd{appendix} command.
-
-\cmditem{headbreak}
-
-A manual break which is active for the table of contents but not in the text or in the headings
-
-\cmditem{xheadbreak}
-
-A manual break which is active in the text and in the headings but not in the table of contents.
-
-
-\cmditem{chapnumfont}{name}
-
-Sets the font for the chapter number with the \opt{sufelements} option. The default is ``\texttt{pplj}'' (\LaTeX) or ``Palatino'' (\XeLaTeX).
-
-\cmditem{hemph}{testo}
-
-Just like \cmd{emph} but for particular cases of the italian language:
-\begin{verbatim}
-dell'\hemph{encyclopædia}
-\end{verbatim}
-\end{ltxsyntax}
-
-
-\section*{Changes}
-
-\begin{changelog}
-
-\begin{release}{0.6c}{2011-11-16}
-\item Corrected some bugs
-\item Updated documentation
-\end{release}
-
-\begin{release}{0.6b}{2011-11-07}
-\item Improved full compatibility with \XeLaTeX
-\item \sty{varioref} and \sty{footmisc} packages are no longer loaded
-\item Updated documentation
-\end{release}
-
-\begin{release}{0.6a}{2011-10-24}
-\item Updated documentation
-\end{release}
-
-\begin{release}{0.6}{2011-10-21}
-\item New command \cmd{bookcolophon} \see{sec:commands}
-\item New command \cmd{artcolophon} \see{sec:commands}
-\item New option \opt{authortitle} \see{sec:options}
-\item Renamed option \opt{plain} to \opt{centerheadings} \see{sec:options}
-\item Renamed option \opt{fullplain} to \opt{sufplain} \see{sec:options}
-\item New english documentation
-\end{release}
-
-\begin{release}{0.5}{2011-07-29}
-\item The frontispiece of \sty{suftesi}{} is now included in the package \sty{frontespizio}
-\item New command \cmd{chapnumfont}
-\item changed option \opt{sctitles} \see{sec:options}
-\item New option \opt{article} \see{sec:options}
-\item New option \opt{fullplain} \see{sec:options}
-\item New option \opt{elements} \see{sec:options}
-\item New option \opt{sufelements} \see{sec:options}
-\item New option \opt{supercompact} \see{sec:options}
-\item New option \opt{compact} \see{sec:options}
-\item New option \opt{nocrop} \see{sec:options}
-\item New option \opt{nomarginpar} \see{sec:options}
-\end{release}
-
-
-\end{changelog}
-
-%*********************************************
-% sufbibliography
-%*********************************************
-\defbibnote{note}{\sffamily This bibliography has been typeset with the \sty{biblatex-philosophy} styles, created by the same author of this class.}
-\addcontentsline{toc}{section}{\refname}
-\printbibliography[prenote=note]
-
-
-
-
-
-\end{document}
diff --git a/Master/texmf-dist/source/latex/suftesi/suftesi.dtx b/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
new file mode 100644
index 00000000000..867b43cc3dd
--- /dev/null
+++ b/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
@@ -0,0 +1,1731 @@
+% \iffalse meta-comment
+%
+% Copyright (C) 2009-2012 by Ivan Valbusa
+% <ivan dot valbusa at univr dot it>
+% -------------------------------------------------------
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work consists of all files listed in README
+%
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{suftesi.dtx}
+%</driver>
+%<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
+%<class>\ProvidesClass{suftesi}
+%<*class>
+ [2012/02/05 v0.7 A class for typesetting theses, books and articles]
+%</class>
+%<*driver>
+\PassOptionsToClass{a4paper}{article} % we need a4paper
+\documentclass{ltxdoc}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage[polutonikogreek,english]{babel}
+\let\cs\relax
+\let\cmd\relax
+\usepackage{ltxdockit}
+\usepackage{fourier}
+\usepackage{xcolor}
+\usepackage{graphicx}
+\usepackage{array,booktabs,multirow}
+\usepackage{microtype}
+\usepackage{siunitx}
+\usepackage{metalogo}
+\usepackage[suftesi]{frontespizio}
+\usepackage[style=philosophy-classic]{biblatex}
+\bibliography{suftesi}
+
+\usepackage{hyperref}
+\hypersetup{%
+ pdftitle={User's Guide to \sty{suftesi}},
+ pdfsubject={A document class for typesetting theses, books and articles},
+ pdfauthor={Ivan Valbusa},
+ pdfkeywords={thesis, humanities, books},
+ citecolor=spot}
+
+\newcommand{\ttchar}[1]{{\normalfont\ttfamily\char`#1}}
+\newcommand{\frontoption}[1]{\subsection*{\texttt{#1}}}
+\newcommand{\includeex}[1]{\par\vfill\begin{center}
+ \setlength{\fboxsep}{0pt}\fbox{\includegraphics[scale=.3]{#1}}
+ \end{center}}
+
+\DeclareRobustCommand*{\ar}[1]{\texttt{\char`\{#1\char`\}}}
+\DeclareRobustCommand*{\oar}[1]{\texttt{[#1]}}
+\DeclareRobustCommand*{\meta}[1]{%
+ $\langle${\normalfont\itshape#1\kern0.12em }$\rangle$}
+\DeclareRobustCommand*{\arm}[1]{\ar{\meta{#1}}}
+\DeclareRobustCommand*{\oarm}[1]{\oar{\meta{#1}}}
+\newcommand{\quoteskip}{.5\baselineskip
+ plus .1\baselineskip minus .1\baselineskip}
+\newlength{\normalparindent}
+\setlength{\normalparindent}{\parindent}
+\newenvironment{genquote}[1][]
+ {\par\nobreak
+ \addvspace{\quoteskip}
+ \parindent0pt
+ \hangafter0
+ \hangindent2\normalparindent
+ #1}
+ {\par\addvspace{\quoteskip}\noindent\ignorespacesafterend}
+\newenvironment{ttquote}
+ {\genquote[\ttfamily\microtypesetup{activate=false}]}
+ {\endgenquote}
+
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\begin{document}
+ \DocInput{suftesi.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{1571}
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \changes{v1.0}{2008/03/04}{First public release}
+% \changes{v1.2}{2010/06/25}{Added `noinputenc' and `nouppercase'
+% options; added `Preambolo*' environment; various implementation changes}
+% \changes{v1.3}{2011/03/08}{Added support for memoir}
+% \changes{v1.3a}{2011/03/08}{Added info message in the \file{frn} file}
+% \changes{v1.4}{2011/07/18}{Added option `suftesi'; updated the documentation}
+% \changes{v1.4a}{2011/09/21}{Maintenance release, no changes}
+% \GetFileInfo{suftesi.dtx}
+%
+% \DoNotIndex{\newcommand,\newenvironment,\def,\begin,\vskip,\ }
+% \DoNotIndex{\DeclareOption,\ExecuteOptions,\RequirePackage}
+% \DoNotIndex{\@@end,\@empty,\@ifclassloaded,\@nameuse,\@nil}
+% \DoNotIndex{\@undefined,\\,\`,\addtocounter,\advance,\bfseries}
+% \DoNotIndex{\centering,\closeout,\define@key,\documentclass}
+% \DoNotIndex{\edef,\else,\end,\endinput,\endtitlepage,\expandafter}
+% \DoNotIndex{\extracolsep,\fi,\fill,\fontsize,\g@addto@macro,\toks}
+% \DoNotIndex{\hrule,\hspace,\if,\if@twoside,\ifcase,\ifdefined}
+% \DoNotIndex{\iffalse,\IfFileExists,\ifnum,\ifx,\immediate,\setcounter}
+% \DoNotIndex{\jobname,\let,\long,\MakeUppercase,\MessageBreak}
+% \DoNotIndex{\newcount,\newif,\newpage,\newtoks,\newwrite,\next}
+% \DoNotIndex{\noexpand,\nofiles,\normalfont,\normalsize,\null}
+% \DoNotIndex{\openout,\or,\styage,\styageError,\styageWarning}
+% \DoNotIndex{\styageWarningNoLine,\paperheight,\paperwidth,\par}
+% \DoNotIndex{\parbox,\parindent,\relax,\scshape,\selectfont,\setkeys}
+% \DoNotIndex{\sffamily,\space,\stretch,\string,\textheight,\textwidth}
+% \DoNotIndex{\the,\thispagestyle,\unexpanded,\unless,\unskip,\upshape}
+% \DoNotIndex{\usepackage,\vbox,\vfill,\vspace,\write,\z@}
+% \DoNotIndex{\CurrentOption,\AtEndDocument,\@ne,\c@page,\m@ne}
+% \DoNotIndex{\@firstofone,\@gobble,\@makeother,\begingroup,\endgroup}
+% \DoNotIndex{\eTeXversion,\hbox,\hsize,\includegraphics,\newlinechar}
+% \DoNotIndex{\titlepage,\vss,\vtop,\xdef,\@gobbletwo,\color,\dimexpr}
+% \DoNotIndex{\huge,\large,\makebox,\ProcessOptions,\renewcommand}
+%
+% \title{\bfseries User's Guide to \textsf{suftesi}\thanks{This
+% document corresponds to \textsf{suftesi}~\fileversion{} dated \filedate}\\
+% \large A document class for typesetting theses, books and articles}
+% \author{Ivan Valbusa \\
+% \texttt{ivan dot valbusa at univr dot it}}
+% \date{\filedate}
+% \maketitle
+% \begin{abstract}
+% The \sty{suftesi}
+% class
+% provides a set of page layouts, title styles and heading styles for
+% typesetting theses, books and articles. It is based on the standard
+% \sty{book} class and inspired by the works of
+% \textcite{Bringhurst:1996}, \textcite{Tschichold:1975} and
+% \textcite{Morison:1111}. See the template file \file{tesi.tex} in the \file{example} folder.
+% \end{abstract}
+%
+% \tableofcontents
+%
+% \section*{Note on copyright}
+%
+% Copyright \copyright\ 2009-2010 Ivan Valbusa. This package is
+% author-maintained. Permission is granted to copy, distribute and/or
+% modify this software under the terms of the LaTeX Project Public
+% License, version
+% 1.3c.\footnote{\url{http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt}.}
+%
+% In addition to the terms of this license the author requires an
+% attribution notice like the following one:
+% \begin{center}
+% \emph{This work has been typeset with \LaTeX{}, using the
+% \textsf{suftesi} class by Ivan Valbusa.}\footnote{You can use the \cmd{colophon}, \cmd{bookcolophon} or
+% \cmd{artcolophon} commands explained in section \ref{sec:commands}.}
+% \end{center}
+%
+% The most important feature of this class is the set of styles it
+% provides. For this reason:
+%
+% \begin{center}
+% \textbf{\textsc{please do not modify the styles of this class\\
+% if you do not like these styles, use another class.}}
+% \end{center}
+%
+% If you use \sty{suftesi}{} in a document typeset with another class
+% (for example \sty{book}), remember to clean up the preamble from all
+% the layout redefinitions.
+%
+%
+% \subsection*{Loaded packages}
+%
+%
+% The class loads the following packages: \sty{beramono}, \sty{calc},
+% \sty{caption}, \sty{color}, \sty{enumitem}, \sty{emptypage},
+% \sty{epigraph}, \sty{fancyhdr}, \sty{fontenc}, \sty{geometry},
+% \sty{ifluatex}, \sty{ifxetex}, \sty{iwona}, \sty{mathpazo},
+% \sty{metalogo}, \sty{microtype}, \sty{mparhack}, \sty{multicol},
+% \sty{textcase}, \sty{titlesec}, \sty{titletoc}.
+%
+% \section{Class features}
+%
+% \subsection{Layout}
+%
+% The standard document classes allow you to typeset beautiful
+% documents but their layout is quite far from the stylistic requests
+% of some humanists (especially italian). The styles provided by
+% \sty{suftesi} are very simple and sober, and also have the aim of
+% finding in the formal simplicity an aesthetic harmony. They are
+% largely inspired by some beautiful readings, particularly
+% \textcite{Bringhurst:1996}, \textcite{Tschichold:1975} and
+% \textcite{Morison:1111}. Table~\ref{tab:gabbia} summarizes the main
+% features of the styles provided by \sty{suftesi}.
+% \begin{table}[h]
+% \small\centering
+% \caption[The layout]{The layouts of \sty{suftesi}}
+% \label{tab:gabbia}
+% \begin{tabular}{lccccc}
+% \toprule
+% & \multicolumn{5}{c}{Option (pt)}\\\cmidrule{2-6}
+% & (default) & \opt{11pt} & \opt{compact} & \opt{supercompact} & \opt{elements} \\\midrule
+% Text width & $312$ & $324$ & $312$ & $284$ & $251$\\
+% Text height & $624$ & $648$ & $470$ & $430$ & $502$\\
+% Marginal notes width & $82$ & $82$ & $65$ & $50$ & $60$\\[1ex]
+% &\multicolumn{5}{c}{Proportions}\\\cmidrule{2-6}
+% \multirow{2}*{Margins\quad{\parbox{2cm}{top/bottom\\inner/outer}}}
+% & $1/2$ & $1/2$ & $2/3$ & $2/3$& $2/5$ \\
+% &$1/2$&$1/2$ & $2/3$ & $2/3$ & $1/2$\\%\midrule
+% Text block & $1/2$& $1/2$ & $2/3$ & $2/3$ & $1/2$\\
+% Page & $1/\sqrt{2}$& $1/\sqrt{2}$ & $2/3$ & $2/3$ & $1/\sqrt{3}$\\
+% \bottomrule
+% \end{tabular}
+% \end{table}
+%
+% \subsection{Font}
+%
+% The default font for body text is
+% Palatino designed by Hermann Zapf\index{Zapf, Hermann}.\footnote{Using \XeLaTeX{}
+% the \LaTeX{} default font is loaded and the font options are turned off.}
+% The sans serif font is Iwona designed by Janusz M.~Nowacki\index{Nowacki, Janusz M.}.
+% This choice is inspired by \emph{L'arte di scrivere con \LaTeX{}} \parencite{Pantieri:2011}.
+%
+% If you prefer to use other fonts (such as those provided by \sty{fourier},
+% \sty{lmodern} or \sty{libertine} packages), remember to load the class option \opt{defaultfont},
+% which turns off the \sty{suftesi}{} font settings. Moreover pay particular attention
+% in choosing the greek font.
+%
+% \subsubsection{Greek alphabet}
+%
+% The default font for the greek text is Artemisia by the Greek Font Society,
+% which is very suitable for Palatino:
+% \begin{quotation}
+% Alla Natura che ogni cosa dona e ogni cosa riprende \dots
+% \begin{otherlanguage*}{polutonikogreek}%
+% \fontfamily{artemisia}\selectfont
+% Pr`epei na skeftoume mia
+% sunarthsh ths opoias
+% gnwrizoume oti uparqei
+% to oloklhrwma.
+% \end{otherlanguage*}
+% \end{quotation}
+% With the \opt{porson} option you can use the Porson font by the Greek Font Society:
+% \begin{quotation}
+% Alla Natura che ogni cosa dona e ogni cosa riprende \dots
+% \begin{otherlanguage*}{greek}%
+% \fontfamily{porson}\selectfont
+% Prepei na skeftoume mia
+% sunarthsh ths opoias
+% gnwrizoume oti uparqei
+% to oloklhrwma.
+% \end{otherlanguage*}
+% \end{quotation}
+% The \opt{defaultgreek} option allows you to use the standard CB Greek
+% font:\footnote{This option is also activated by the \opt{defaultfont} option
+% (see section \ref{sec:options}).}
+% \begin{quotation}
+% Alla Natura che ogni cosa dona e ogni cosa riprende \dots{}
+% \begin{otherlanguage*}{greek}%
+% \fontfamily{lmr}\selectfont
+% Prepei na skeftoume mia
+% sunarthsh ths opoias
+% gnwrizoume oti uparqei
+% to oloklhrwma.
+% \end{otherlanguage*}
+% \end{quotation}
+%
+% \subsection{Frontispiece}
+%
+% The class has a original frontispiece now directly available loading the
+% \sty{frontespizio} package \parencite{Gregorio:frontespizio}\footnote{Version 1.4 or later.}
+% with the \opt{suftesi} option (see the template file \file{tesi.tex} in the \file{example} folder):
+% \begin{ttquote}
+% \cmd{usepackage}[suftesi]\ar{frontespizio}
+% \end{ttquote}
+% For use this frontispiece with the \opt{compact}, \opt{supercompact} and \opt{elements}
+% options you will need to manually change the default margins with the command:
+% \begin{ttquote}
+% \cmd{Margini}\ar{\meta{left}}\ar{\meta{bottom}}\ar{\meta{right}}\ar{\meta{top}}
+%\end{ttquote}
+%
+%
+%\section{Options}\label{sec:options}
+%
+%In addition to the options defined by the \sty{book} document class, \sty{suftesi} accepts the following new options.
+%
+%\subsection{Page layout}
+%
+% \begin{ltxsyntax}
+% \optitem{compact}
+% Prints a typeblock of $14 \si{cm} \times 21 \si{cm}$ on a A4 paper,
+% showing the crop marks (see table \ref{tab:gabbia} for details).
+% The \cmd{crop[off]} command turns off the crop marks.
+% \optitem{supercompact} The same as \opt{compact} but with a typeblock
+% of $16 \si{cm} \times 24 \si{cm}$ (see table \ref{tab:gabbia} for details).
+% \optitem{elements}
+% Reproduces the layout of \citetitle{Bringhurst:1996} by Robert \citeauthor{Bringhurst:1996}
+% (see table \ref{tab:gabbia} for details).
+% \optitem{nocrop}
+% Prints a \textsc{pdf} with page dimensions according to the \opt{compact},
+% \opt{supercompact} and \opt{elements} options.
+% \optitem{nomarginpar} Disables the \cmd{marginpar} command.
+% This option is useful for the two ``compact'' layouts.
+% \optitem{11pt}
+% Sets the font size at $11\si{pt}$ and resizes the text block dimensions.
+% \end{ltxsyntax}
+%
+%\subsection{Titles and headings}
+%
+% \begin{ltxsyntax}
+% \optitem{sctitles}
+% Prints the headings and the chapter (section) titles in small caps.
+% \optitem{centertitle}
+% Centers the chapter title and number, with the chapter title below the number.
+% \optitem{sufelements}
+% Loads the \opt{sctitles} class option and prints the chapter numbers according to
+% the \opt{elements} option.
+% \optitem{centerheadings}
+% Prints the page number in the center of the footer, the string ``Chapter $n$''
+% in the header of even pages and the chapter title in the header of odd pages.
+% \optitem{sufplain}
+% Prints no headers and puts the page number in the center of the footer.
+% \optitem{authortitle}
+% Changes the content of the headings. It prints the author's name on the even
+% numbered pages and the title on the odd ones. This option can be combined
+% with the other options seen above. In order to use this option the \cmd{title} and
+% \cmd{author} commands are required.
+% \optitem{article}
+% This option is aimed to typeset articles or short theses (that is to say without chapter divisions)
+% in a two side document.
+% \optitem{bozza}
+% Prints the following note in the footer:
+% \begin{quote}
+% Version of \meta{date}
+% \end{quote}
+% \optitem{plain}
+% An older name of the \opt{centerheadings} option. Disabled since version 0.6.
+% \optitem{fullplain} An older name of the \opt{sufplain} option. Disabled since version 0.6.
+% \end{ltxsyntax}
+%
+%\subsection{Fonts}
+%
+% \begin{ltxsyntax}
+% \optitem{artemisia} Loads the Artemisia font (default).
+% \optitem{porson} Loads the Porson font.
+% \optitem{defaultgreek} Loads the standard CB~Greek font.
+% \optitem{defaultfont} Loads the \LaTeX{} standard font and set the \cmd{baselineskip} to the standard default.
+% \optitem{disablefront}
+% Disabled since version 0.5.
+% \end{ltxsyntax}
+%
+% \section{Commands}\label{sec:commands}
+%
+% The class defines the following new commands.
+%
+% \begin{ltxsyntax}
+%
+% \cmditem{colophon}[OS]{name and surname}{additional info}
+%
+% This command is provided only for italian documents. It prints a page with
+% a copyright notice and the colophon in the bottom. For different languages
+% use the \cmd{bookcolophon} instead (see below).
+%
+% If you don't like the copyright notice leave the second argument of the command empty:
+% \begin{ttquote}
+% \cmd{colophon\oarm{OS}\{\}\arm{additional info}}
+% \end{ttquote}
+%
+% With the \opt{article} option, you can use the \cmd{artcolophon} command (see below)
+% or the \cmd{thanks} command:
+% \begin{ttquote}
+% \cmd{author}\{\meta{Name Surname}\cmd{thanks}\{This work has been typeset with \LaTeX{},\\
+% using the \cmd{textsf}\{suftesi\} cass by Ivan Valbusa\}.\}
+% \end{ttquote}
+%
+% \cmditem{bookcolophon}{copyright notice}{attribution notice and other informations}
+%
+% This command is similar to \cmd{colophon} but it is completely customizable.
+% The first argument prints its content (usually the copyright notice) in the center of the page.
+% The second argument prints its content at the bottom, preceded by the title ``Colophon''. For example:
+%
+% \begin{verbatim}
+% \colophon{Copyright © 2007 by Ivan Valbusa}{This work has been
+% typeset with \LaTeX, using the \sty{suftesi} class by Ivan
+% Valbusa\index{Valbusa, Ivan}. The normal font is Palatino by Hermann
+% Zapf. The sans serif font is Iwona by Janusz M.~Nowacki.}
+% \end{verbatim}
+%
+% \cmditem{artcolophon}{copyright notice, attribution and other informations}
+%
+% This command has only one argument. It simply prints its content at the bottom of the page. Here is an example:
+%
+% \begin{verbatim}
+% \artcolophon{This work is licensed under the Creative Commons
+% Attribution-NonCommercial-NoDerivs 3.0 Unported License. To view
+% a copy of this license, visit
+% \begin{center}
+% \texttt{http://creativecommons.org/licenses/by-nc-nd/3.0/}
+% \end{center}
+% or send a letter to Creative Commons, 444 Castro Street, Suite 900,
+% Mountain View, California, 94041, USA.\\[1ex]
+%
+% Typeset with \LaTeX, using the \sty{suftesi} class by Ivan Valbusa.}
+% \end{verbatim}
+%
+% \cmditem{finalcolophon}{colophon content}
+%
+% The same as \cmd{artcolophon}, but centering its content at the top of the page. It is aimed to typeset a classical \emph{colophon} at the end of the work.
+%
+% \cmditem{chapterintro}
+%
+% Prints an unnumbered introduction at the beginning of the chapters,
+% with the correct hyperlink. In order to use this command the \sty{hyperref} package must be loaded.
+%
+% \cmditem{chapterintroname}{name}\hfill(default=\texttt{Introduzione})
+%
+% Changes in \meta{name} the title printed by the \cmd{chapterintro} command.
+%
+% \cmditem{appendicesname}{name}\hfill(default=\texttt{Appendici})
+%
+% Changes in \meta{name} the title printed by the \cmd{appendix} command.
+%
+% \cmditem{headbreak}
+%
+% A manual break which is active for the table of contents but not in the text or in the headings
+%
+% \cmditem{xheadbreak}
+%
+% A manual break which is active in the text and in the headings but not in the table of contents.
+%
+% \cmditem{chapnumfont}{name}
+%
+% Sets the font for the chapter number with the \opt{sufelements} option.
+% The default is ``\texttt{pplj}'' (\LaTeX) or ``Palatino'' (\XeLaTeX).
+% \end{ltxsyntax}
+%
+% \StopEventually{\PrintChanges\PrintIndex}
+%
+% \section{The Code}
+% \subsection{Declaration and Execution of Options}
+%<*class>
+% \begin{macrocode}
+\newif\ifsuftesi@centertitle
+\newif\ifsuftesi@sctitles
+\newif\ifsuftesi@artemisia
+\newif\ifsuftesi@porson
+\newif\ifsuftesi@defaultfont
+\newif\ifsuftesi@defaultgreek
+\newif\ifsuftesi@centerheadings
+\newif\ifsuftesi@sufplain
+\newif\ifsuftesi@bozza
+\newif\ifsuftesi@article
+\newif\ifsuftesi@authortitle
+\newif\ifsuftesi@nofront
+\newif\ifsuftesi@compact
+\newif\ifsuftesi@supercompact
+\newif\ifsuftesi@elements
+\newif\ifsuftesi@sufelements
+\newif\ifsuftesi@nocrop
+\newif\ifsuftesi@nomarginpar
+\DeclareOption{centertitle}{\suftesi@centertitletrue}
+\DeclareOption{sctitles}{\suftesi@sctitlestrue}
+\DeclareOption{disablefront}{\suftesi@nofronttrue}
+\DeclareOption{defaultfont}{\suftesi@defaultfonttrue\suftesi@defaultgreektrue}
+\DeclareOption{artemisia}{\suftesi@artemisiatrue\suftesi@porsonfalse
+ \suftesi@defaultgreekfalse}
+\DeclareOption{porson}{\suftesi@porsontrue\suftesi@artemisiafalse
+ \suftesi@defaultgreekfalse}
+\DeclareOption{defaultgreek}{\suftesi@defaultgreektrue
+ \suftesi@artemisiafalse\suftesi@porsonfalse}
+\DeclareOption{centerheadings}{\suftesi@centerheadingstrue}
+\DeclareOption{sufplain}{\suftesi@sufplaintrue}
+\DeclareOption{bozza}{\suftesi@bozzatrue}
+\DeclareOption{compact}{\suftesi@compacttrue}
+\DeclareOption{supercompact}{\suftesi@supercompacttrue}
+\DeclareOption{elements}{\suftesi@elementstrue\suftesi@sufelementstrue
+\suftesi@supercompactfalse\suftesi@compactfalse}
+\DeclareOption{sufelements}{\suftesi@sufelementstrue\suftesi@sctitlestrue}
+\DeclareOption{nocrop}{\suftesi@nocroptrue}
+\DeclareOption{nomarginpar}{\suftesi@nomarginpartrue}
+\DeclareOption{article}{\suftesi@articletrue}
+\DeclareOption{authortitle}{\suftesi@authortitletrue}
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
+\ExecuteOptions{artemisia}
+\ProcessOptions
+\relax
+% \end{macrocode}
+% \subsection{Package Loading}
+% \begin{macrocode}
+\LoadClass[a4paper]{book}
+\RequirePackage{color}
+ \definecolor{sufred}{rgb}{0.5,0,0}
+ \definecolor{sufgray}{rgb}{0.5,0.5,0.5}
+\RequirePackage{ifxetex,ifluatex,metalogo}
+\ifxetex\relax
+ \else
+ \RequirePackage[letterspace=110]{microtype}
+ \microtypesetup{expansion=false}%
+ \fi
+\RequirePackage{textcase}
+\RequirePackage{multicol}
+\RequirePackage{emptypage}
+\RequirePackage{mparhack}
+% \end{macrocode}
+% \subsection{The greek font}
+% Thanks to Enrico Gregorio for the following macros:
+% \begin{macrocode}
+\ifxetex
+ \relax
+ \else
+\RequirePackage[LGR,T1]{fontenc}
+\AtBeginDocument{\fontencoding{T1}\selectfont}
+\ifsuftesi@defaultfont
+ \relax
+ \else
+\RequirePackage[osf,sc]{mathpazo}
+\RequirePackage[scaled=0.8]{beramono}
+ \linespread{1.05}
+ \renewcommand{\sfdefault}{iwona}
+ \fi
+\ifsuftesi@artemisia
+ \def\suftesi@greekfamily{artemisiaeuler}
+ \fi
+\ifsuftesi@defaultgreek
+ \def\suftesi@greekfamily{cmr}
+ \fi
+\ifsuftesi@porson
+ \sbox\z@{\fontsize{10}{10}\normalfont A}
+ \sbox\tw@{\font\temp=gporsonrg6a at 10pt \temp A}
+ \dimen@=
+ \dimexpr(0.001\dimexpr\numexpr(\dimexpr(1000\ht\z@)/\ht\tw@)\p@)
+ \edef\art@scale{\strip@pt\dimen@}
+ \DeclareFontFamily{LGR}{porson}{}
+ \DeclareFontShape{LGR}{porson}{m}{n}{<-> s * [\art@scale] gporsonrg6a}{}
+ \DeclareFontShape{LGR}{porson}{m}{it}{<-> ssub * porson/m/n}{}
+ \DeclareFontShape{LGR}{porson}{b}{n}{<-> ssub * porson/m/n}{}
+ \DeclareFontShape{LGR}{porson}{b}{it}{<-> ssub * porson/m/n}{}
+ \DeclareFontShape{LGR}{porson}{m}{sl}{<-> ssub * porson/m/n}{}
+ \DeclareFontShape{LGR}{porson}{b}{sl}{<-> ssub * porson/m/n}{}
+ \DeclareFontShape{LGR}{porson}{m}{sc}{<-> ssub * porson/m/n}{}
+ \DeclareFontShape{LGR}{porson}{bx}{n}{<-> ssub * porson/m/n}{}
+ \DeclareFontShape{LGR}{porson}{bx}{it}{<-> ssub * porson/m/n}{}
+ \DeclareFontShape{LGR}{porson}{bx}{sl}{<-> ssub * porson/m/n}{}
+ \def\suftesi@greekfamily{porson}
+ \fi
+\AtBeginDocument{
+ \DeclareRobustCommand{\greektext}{%
+ \fontencoding{LGR}\fontfamily{\suftesi@greekfamily}\selectfont
+ \def\encodingdefault{LGR}}}
+\fi
+% \end{macrocode}
+% \subsection{The layout}
+% \begin{macrocode}
+\RequirePackage{geometry}
+ \parindent1em
+\ifcase\@ptsize\relax
+ \geometry{%
+ textwidth=312pt,
+ textheight=624pt}\or
+ \geometry{%
+ textwidth=324pt,
+ textheight=648pt}\or
+ \geometry{%
+ textwidth=324pt,
+ textheight=648pt}
+ \fi
+ \geometry{%
+ marginparsep=12pt,
+ includehead,
+ hmarginratio=1:2,
+ vmarginratio=1:2,
+ heightrounded,
+ marginparwidth=82pt}
+\ifsuftesi@nocrop
+ \relax
+ \else
+ \RequirePackage[a4,cam,center]{crop}
+\fi
+% \end{macrocode}
+%\subsubsection{The \opt{compact} layout}
+% \begin{macrocode}
+\ifsuftesi@compact
+ \geometry{
+ textheight=16.5cm,
+ textwidth=11cm,
+ paperwidth=16cm,
+ paperheight=24cm,
+ hmarginratio=2:3,
+ vmarginratio=2:3,
+ includefoot,
+ includehead,
+ heightrounded,
+ marginparwidth=65pt,
+ marginparsep=10pt}
+ \else
+% \end{macrocode}
+%\subsubsection{The \opt{supercompact} layout}
+% \begin{macrocode}
+\ifsuftesi@supercompact
+ \geometry{
+ textheight=15cm,
+ textwidth=10cm,
+ paperwidth=14cm,
+ paperheight=21cm,
+ hmarginratio=2:3,
+ vmarginratio=2:3,
+ includefoot,
+ includehead,
+ heightrounded,
+ marginparwidth=50pt,
+ marginparsep=9pt}
+ \else
+% \end{macrocode}
+%\subsubsection{The \opt{elements} layout}
+% \begin{macrocode}
+\ifsuftesi@elements
+\geometry{%
+ textwidth=251pt,
+ textheight=502pt,
+ marginparwidth=60pt,
+ marginparsep=18pt,
+ paperwidth=378pt,
+ paperheight=654pt,
+ heightrounded,
+ outer=91.2pt,
+ top=64pt}
+\else
+ \fi
+ \fi
+ \fi
+% \end{macrocode}
+% And now a macro to produce oneside documents:
+% \begin{macrocode}
+ \if@twoside
+ \relax
+ \else
+ \geometry{hmarginratio=1:1}
+\fi
+% \end{macrocode}
+% \subsubsection{Titles}
+% \begin{macrocode}
+\RequirePackage{titlesec}
+\newlength{\sectionsep}
+\setlength{\sectionsep}{\dimexpr(\baselineskip) plus 1pt minus 1pt}
+\ifsuftesi@supercompact
+ \DeclareRobustCommand{\sufchaptersize}{\large}
+ \else
+ \ifsuftesi@compact
+ \DeclareRobustCommand{\sufchaptersize}{\Large}
+ \else
+ \DeclareRobustCommand{\sufchaptersize}{\Large}
+ \fi
+\fi
+\ifxetex
+ \DeclareRobustCommand{\suftesi@smallcaps}[1]{%
+ \addfontfeature{LetterSpace=6}\scshape\MakeTextLowercase{#1}}
+ \DeclareRobustCommand{\sectitle}[1]{%
+ \addfontfeature{LetterSpace=6}\scshape\MakeTextUppercase{#1}}%
+ \newcommand{\chapnumfont}[1]{%
+ \def\@chapnumfont{\fontspec{#1}}}
+ \chapnumfont{Palatino}
+\else
+ \DeclareRobustCommand{\suftesi@smallcaps}[1]{%
+ \scshape\lsstyle\MakeTextLowercase{#1}}%
+ \DeclareRobustCommand{\sectitle}[1]{%
+ \textls[110]{\MakeTextUppercase{#1}}}%
+ \newcommand{\chapnumfont}[1]{%
+ \def\@chapnumfont{\fontfamily{#1}}}
+ \chapnumfont{pplj}
+\fi
+% \end{macrocode}
+% Some basic settings for \opt{article} mode:
+% \begin{macrocode}
+\ifsuftesi@article
+ \renewcommand \thesection {\@arabic\c@section}
+ \renewcommand\thesubsection {\thesection.\@arabic\c@subsection}
+ \renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
+ \renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph}
+ \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
+% \end{macrocode}
+% \subsubsection{Part}
+% Defining |\part| command for \opt{article} mode:
+% \begin{macrocode}
+\renewcommand\part{%
+ \if@noskipsec \leavevmode \fi
+ \par
+ \addvspace{4ex}%
+ \@afterindentfalse
+ \secdef\@part\@spart}
+\def\@part[#1]#2{%
+ \ifnum \c@secnumdepth >\m@ne
+ \refstepcounter{part}%
+ \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
+ \else
+ \addcontentsline{toc}{part}{#1}%
+ \fi
+ {\parindent \z@ \raggedright
+ \interlinepenalty \@M
+ \normalfont
+ \ifnum \c@secnumdepth >\m@ne
+ \normalsize \partname\nobreakspace\thepart
+ \par\nobreak
+ \fi
+ \large #2%
+ \markboth{}{}\par}%
+ \nobreak
+ \vskip 3ex
+ \@afterheading}
+\def\@spart#1{%
+ {\parindent \z@ \raggedright
+ \interlinepenalty \@M
+ \normalfont
+ \huge \bfseries #1\par}%
+ \nobreak
+ \vskip 3ex
+ \@afterheading}
+\else
+% \end{macrocode}
+% Defining |\part| command for default style:
+% \begin{macrocode}
+\titleformat{\part}[display]
+ {\LARGE\filcenter}
+ {\sufchaptersize\ifsuftesi@sctitles\scshape\else\fi\partname~\Roman{part}}
+ {3ex}
+ {\sufchaptersize\ifsuftesi@sctitles\expandafter\suftesi@smallcaps\else\fi}
+\fi
+% \end{macrocode}
+% \subsubsection{Chapter}
+% \paragraph{The \opt{elements} styles}
+% \begin{macrocode}
+\ifsuftesi@sufelements
+ \titleformat{\chapter}[block]
+ {}%
+ {\begin{picture}(0,0)
+\setlength{\unitlength}{1pt}
+ \@chapnumfont%
+ \ifsuftesi@elements
+ \fontsize{64}{64}\selectfont%
+ \put(0,-73){%
+ \hskip\dimexpr(\textwidth+\marginparsep)\textcolor{sufgray}{\thechapter}}%
+ \else
+ \fontsize{95}{95}\selectfont%
+ \put(0,-83){\hskip\dimexpr(\textwidth+\marginparsep)%
+ \textcolor{sufgray}{\thechapter}}%
+ \fi
+ \end{picture}}%
+ {0pt}
+ {\sectitle}
+ [\rule{\textwidth}{.1pt}]
+\else
+% \end{macrocode}
+% \paragraph{The default styles}
+% \begin{macrocode}
+\ifsuftesi@centertitle
+ \titleformat{\chapter}[display]
+ {\filcenter}
+ {\sufchaptersize\thechapter}
+ {3ex}
+ {\sufchaptersize\ifsuftesi@sctitles\expandafter\suftesi@smallcaps\else\fi}
+ \else
+ \titleformat{\chapter}[hang]
+ {\filright}
+ {\sufchaptersize\thechapter.}
+ {3ex}
+ {\sufchaptersize\ifsuftesi@sctitles\expandafter\suftesi@smallcaps\else\fi}
+ \fi
+\fi
+\ifsuftesi@compact
+ \titlespacing*{\chapter}{0em}{0ex}{18ex}
+ \else
+ \ifsuftesi@supercompact
+ \titlespacing*{\chapter}{0em}{0ex}{18ex}
+ \else
+ \ifsuftesi@elements
+ \titlespacing*{\chapter}{0em}{-45pt}{10pt}[0em]
+ \else
+ \ifsuftesi@sufelements
+ \titlespacing*{\chapter}{0em}{6ex}{10pt}[0em]
+ \else
+ \titlespacing*{\chapter}{0em}{6ex}{18ex}
+ \fi
+ \fi
+ \fi
+\fi
+% \end{macrocode}
+% \subsubsection{Section, subsection, subsubsection, \dots}
+% \paragraph{\opt{elements}}
+% \begin{macrocode}
+\ifsuftesi@elements
+\titleformat{\section}[hang]
+ {\raggedright}
+ {\textnormal\thesection}
+ {1em}
+ {\small\suftesi@smallcaps}
+ \titlespacing*{\section}{0em}{\baselineskip}{\baselineskip}[0em]
+\titleformat{\subsection}[block]
+ {\filright\normalsize\itshape}
+ {\textnormal\thesubsection}
+ {1em}
+ {}
+ \titlespacing*{\subsection}{0em}{\baselineskip}{\baselineskip}[0em]
+\titleformat{\subsubsection}[block]
+ {\filright\normalsize\itshape}
+ {\textnormal\thesubsubsection}
+ {1em}
+ {}
+ \titlespacing*{\subsubsection}{0em}{\baselineskip}{\baselineskip}[0em]
+\else
+% \end{macrocode}
+% \paragraph{\opt{default}}
+% \begin{macrocode}
+\titleformat{\section}[hang]
+ {\filright}
+ {\thesection}
+ {.5em}
+ {\unskip\ifsuftesi@sctitles\expandafter\suftesi@smallcaps\else\itshape\fi}
+ \titlespacing*{\section}{0ex}{\sectionsep}{\sectionsep}[0ex]
+\titleformat{\subsection}[hang]
+ {}
+ {\textnormal\thesubsection}
+ {.5em}
+ {\itshape}
+ \titlespacing*{\subsection}{\parindent}{\sectionsep}{\sectionsep}[0ex]
+\titleformat{\subsubsection}[hang]
+ {}
+ {\textnormal\thesubsubsection}
+ {.5em}
+ {\itshape}
+ \titlespacing*{\subsubsection}{\parindent}{\baselineskip}{\baselineskip}[0ex]
+\fi
+\titleformat{\paragraph}[runin]
+ {\itshape}
+ {}
+ {}
+ {}
+ [.\hspace*{1em}]
+ \titlespacing*{\paragraph}{\parindent}{.5\sectionsep}{.5\sectionsep}
+\titleformat{\subparagraph}[runin]
+ {}
+ {}
+ {}
+ {}
+ [.\hspace*{1em}]
+ \titlespacing*{\subparagraph}{\parindent}{.5\sectionsep}{.5\sectionsep}
+% \end{macrocode}
+% \subsubsection{List of contents}
+% \begin{macrocode}
+\RequirePackage{titletoc}
+\ifsuftesi@article
+\renewcommand\tableofcontents{% article mode
+ \thispagestyle{empty}
+ \section*{\contentsname
+ \@mkboth{\contentsname}{\contentsname}}%
+ \@starttoc{toc}%
+ \vspace*{2ex}
+ }
+\else
+\renewcommand\tableofcontents{% book mode
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \chapter*{\contentsname
+ \@mkboth{\contentsname}{\contentsname}}%
+ \@starttoc{toc}%
+ \if@restonecol\twocolumn\fi
+ }
+ \fi
+\titlecontents{part}
+ [0em]
+ {\addvspace{3ex}\partname~}
+ {\thecontentslabel\hspace*{1em}}
+ {}
+ {}
+ [\addvspace{1ex}]
+\titlecontents{chapter}
+ [0em]
+ {\addvspace{2ex}}
+ {\thecontentslabel\hspace*{1em}}
+ {}
+ {\titlerule*{}\contentspage}
+ [\addvspace{1ex}]
+ \titlecontents{section}
+ [1.5em]
+ {}
+ {\thecontentslabel\hspace*{1em}}
+ {}
+ {\titlerule*{}\contentspage}
+\titlecontents{subsection}
+ [3em]
+ {}
+ {\thecontentslabel\hspace*{1em}}
+ {}
+ {\titlerule*{}\contentspage}
+\titlecontents{subsubsection}
+ [4.5em]
+ {}
+ {\thecontentslabel\hspace*{1em}}
+ {}
+ {\titlerule*{}\contentspage}
+\titlecontents{figure}
+ [1.5em]
+ {}
+ {\thecontentslabel\hspace*{1em}}
+ {}
+ {\titlerule*{}\contentspage}
+\titlecontents{table}
+ [1.5em]
+ {}
+ {\thecontentslabel\hspace*{1em}}
+ {}
+ {\titlerule*{}\contentspage}
+% \end{macrocode}
+% \subsubsection{Headings}
+% \begin{macrocode}
+\RequirePackage{fancyhdr}
+\pagestyle{fancy}
+\renewcommand{\headrulewidth}{0pt}
+\renewcommand{\footnoterule}{}
+% \end{macrocode}
+% \paragraph{The \opt{elements} headings}
+% \begin{macrocode}
+\ifsuftesi@elements %
+ \renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
+ \renewcommand{\sectionmark}[1]{\markright{#1}}
+\fancypagestyle{elements}{%
+ \fancyhf{}
+ \fancyfoot[LE,RO]{\thepage}
+ \fancyhead[RO]{%
+ \begin{picture}(0,0)
+ \setlength{\unitlength}{1pt}
+ \put(0,-104){%
+ \hskip\marginparsep
+ \parbox[t]{\marginparwidth}{\itshape\raggedright\leftmark}}%
+ \end{picture}}
+ \fancyhead[LE]{%
+ \begin{picture}(0,0)
+ \setlength{\unitlength}{1pt}
+ \put(0,-104){%
+ \hskip-\marginparwidth
+ \hskip-\marginparsep
+ \parbox[t]{\marginparwidth}{\itshape\raggedleft\rightmark}}%
+ \end{picture}}
+ }
+\else
+% \end{macrocode}
+% \paragraph{The \opt{default} headings}
+% \begin{macrocode}
+ \renewcommand{\chaptermark}[1]{\markboth{\chaptertitlename\ \thechapter}{#1}}
+ \renewcommand{\sectionmark}[1]{}
+\fi
+% \end{macrocode}
+% \subparagraph{The \opt{plain} style}
+% \begin{macrocode}
+\fancypagestyle{plain}{%
+ \fancyhf{}
+ \fancyfoot[C]{}
+ \renewcommand{\headrulewidth}{0pt}
+ \renewcommand{\footrulewidth}{0pt}}
+% \end{macrocode}
+% \subparagraph{The \opt{sufplain} style}
+% \begin{macrocode}
+\fancypagestyle{sufplain}{%
+ \fancyhf{}%
+ \fancyfoot[RE,LO]{\ifsuftesi@bozza \footnotesize Version of \today\else\fi}
+ \fancyfoot[C]{\footnotesize\sufthepage}}
+% \end{macrocode}
+% \subparagraph{The \opt{centerheadings} style}
+% \begin{macrocode}
+\fancypagestyle{centerheadings}{%
+ \fancyhf{}%
+ \fancyfoot[RE,LO]{\ifsuftesi@bozza \footnotesize Version of \today\else\fi}
+ \fancyhead[CO]{\footnotesize\xheadbreakfalse\suf@rightmark}
+ \fancyhead[CE]{\footnotesize\xheadbreakfalse%
+ \ifsuftesi@article
+ \ifsuftesi@authortitle
+ \suf@leftmark
+ \else
+ \suf@rightmark
+ \fi
+ \else
+ \suf@leftmark
+ \fi}
+ \fancyfoot[C]{\footnotesize\sufthepage}%
+ }
+% \end{macrocode}
+% \subparagraph{The \opt{sufdefault} style}
+% \begin{macrocode}
+\fancypagestyle{sufdefault}{%
+ \fancyhf{}%
+ \fancyfoot[RE,LO]{\ifsuftesi@bozza \footnotesize Version of \today\else\fi}
+ \fancyhead[LE,RO]{\footnotesize\sufthepage}
+ \fancyhead[LO]{\footnotesize\xheadbreakfalse\suf@rightmark}
+ \fancyhead[RE]{\footnotesize\xheadbreakfalse%
+ \ifsuftesi@article
+ \ifsuftesi@authortitle
+ \suf@leftmark
+ \else
+ \suf@rightmark
+ \fi
+ \else
+ \suf@leftmark
+ \fi}
+ }
+% \end{macrocode}
+% \subparagraph{The \opt{article} and \opt{sctitles} styles}
+% \begin{macrocode}
+\ifsuftesi@article
+ \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
+ \else\fi
+\ifsuftesi@sctitles
+ \ifsuftesi@authortitle
+ \def\suf@rightmark{\suftesi@smallcaps{\@title}}
+ \else
+ \def\suf@rightmark{\suftesi@smallcaps{\rightmark}}
+ \fi
+\else
+ \ifsuftesi@authortitle
+ \def\suf@rightmark{\nouppercase{\@title}}
+ \else
+ \def\suf@rightmark{\nouppercase{\rightmark}}
+ \fi
+\fi
+\ifsuftesi@sctitles
+ \ifsuftesi@authortitle
+ \def\suf@leftmark{\suftesi@smallcaps{\@author}}
+ \else
+ \def\suf@leftmark{\suftesi@smallcaps{\suf@leftrightmark}}
+ \fi
+\else
+ \ifsuftesi@authortitle
+ \def\suf@leftmark{\nouppercase{\@author}}
+ \else
+ \def\suf@leftmark{\nouppercase{\suf@leftrightmark}}
+ \fi
+\fi
+\ifsuftesi@sctitles
+ \def\sufthepage{\suftesi@smallcaps{\thepage}}
+\else
+ \def\sufthepage{\thepage}
+\fi
+\def\suf@leftrightmark{%
+ \if@mainmatter\leftmark\else\rightmark\fi}
+% \end{macrocode}
+% Setting the default page style:
+% \begin{macrocode}
+\pagestyle{sufdefault}
+\ifsuftesi@centerheadings\pagestyle{centerheadings}\else\fi
+\ifsuftesi@sufplain\pagestyle{sufplain}\else\fi
+\ifsuftesi@elements\pagestyle{elements}\else\fi
+% \end{macrocode}
+% \subsubsection{Title page}
+% \begin{macrocode}
+\let\standardtitle\maketitle
+\if@titlepage% titlepage
+ \renewcommand\maketitle{\begin{titlepage}%
+ \let\footnotesize\small
+ \let\footnoterule\relax
+ \let \footnote \thanks
+ \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+ \null\vfil
+ \vskip 60\p@
+ \begin{center}%
+ {\sufchaptersize\color{sufred}\sffamily\ifsuftesi@sctitles%
+ \suftesi@smallcaps{\@title}\else\@title\fi \par}%
+ \vskip 3em%
+ {\small\lineskip .75em%
+ \begin{tabular}[t]{c}%
+ \@author
+ \end{tabular}\par}%
+ \vskip 1.5em%
+ {\small\@date\par}%
+ \end{center}\par
+ \@thanks
+ \vfil\null
+ \end{titlepage}%
+ \setcounter{footnote}{0}%
+ \global\let\thanks\relax
+ \global\let\maketitle\relax
+ \global\let\@thanks\@empty
+% \global\let\@author\@empty
+ \global\let\@date\@empty
+% \global\let\@title\@empty
+% \global\let\title\relax
+% \global\let\author\relax
+ \global\let\date\relax
+ \global\let\and\relax
+}
+\else% notitlepage
+\renewcommand\maketitle{\par
+ \begingroup
+ \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+ \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
+ \long\def\@makefntext##1{\parindent 1em\noindent
+ \hb@xt@1.8em{%
+ \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
+ \if@twocolumn
+ \ifnum \col@number=\@ne
+ \@maketitle
+ \else
+ \twocolumn[\@maketitle]%
+ \fi
+ \else
+ \newpage
+ \global\@topnum\z@ % Prevents figures from going at top of page.
+ \@maketitle
+ \fi
+ \thispagestyle{plain}\@thanks
+ \endgroup
+ \setcounter{footnote}{0}%
+ \global\let\thanks\relax
+ \global\let\maketitle\relax
+ \global\let\@maketitle\relax
+ \global\let\@thanks\@empty
+% \global\let\@author\@empty
+ \global\let\@date\@empty
+% \global\let\@title\@empty
+% \global\let\title\relax
+% \global\let\author\relax
+ \global\let\date\relax
+ \global\let\and\relax}
+ \def\@maketitle{%
+ \newpage
+ \null
+ \vskip 2em%
+ \begin{center}%
+ \let \footnote \thanks
+ {\sufchaptersize\color{sufred}\sffamily\ifsuftesi@sctitles%
+ \suftesi@smallcaps{\@title}\else\@title\fi\par}%
+ \vskip 1.5em%
+ {\small\lineskip .5em%
+ \begin{tabular}[t]{c}%
+ \@author\par
+ \end{tabular}\par}%
+ \vskip 1em%
+ {\small\@date\par}%
+ \end{center}%
+ \par
+ \vskip 1.5em}
+\fi
+% \end{macrocode}
+% \subsubsection{Index}
+% \begin{macrocode}
+\renewenvironment{theindex}
+ {\setlength\columnseprule{0pt}
+ \setlength\columnsep{35pt}%
+ \cleardoublepage
+ \@makeschapterhead{\indexname}%
+ \begin{multicols}{2}
+ \markboth{\indexname}{\indexname}%
+ \raggedright\small
+ \setlength\parindent{0pt}%
+ \setlength\parskip{0pt plus 0.3pt}%
+ \thispagestyle{plain}\let\item\@idxitem}
+ {\end{multicols}}
+\renewcommand\@idxitem{\par\hangindent 15\p@}
+% \end{macrocode}
+% \subsubsection{Appendices}
+% \begin{macrocode}
+\newcommand{\appendicesname}[1]{\def\suff@appendices{#1}}
+\appendicesname{Appendici}
+\newcommand{\appendixpage}{\@appendixpage}
+\def\@appendixpage{%
+\@mainmattertrue
+\titlecontents{part}
+ [0em]
+ {\addvspace{3ex}}
+ {}
+ {}
+ {}
+ [\addvspace{1ex}]
+\let\contentspage\relax
+ \cleardoublepage
+ \thispagestyle{empty}
+ \addcontentsline{toc}{part}{\suff@appendices}
+ \begingroup
+ \centering
+ \null\vfil
+ {\LARGE\suff@appendices\par}
+ \vfil
+ \endgroup
+ \cleardoublepage
+\titlecontents{part}
+ [0em]
+ {\addvspace{3ex}\partname~}
+ {\thecontentslabel\hspace*{1em}}
+ {}
+ {}
+ [\addvspace{1ex}]
+}
+\ifsuftesi@sufelements
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@Alph\c@chapter}
+ \titleformat{\chapter}[block]
+ {\vskip-22pt}%
+ {\small\sectitle{\appendixname}~\Alph{chapter}:\hskip.5em}
+ {0pt}
+ {\small\sectitle}
+ [\rule{\textwidth}{.4pt}]
+ \titlespacing*{\chapter}{0em}{10pt}{10pt}[0em]
+ \titlecontents{chapter}[1em]
+ {\filright\hskip.5em}
+ {\suftesi@smallcaps{\appendixname~\thecontentslabel:}\hskip1em}
+ {}
+ {\contentspage\vspace{5pt}}}
+ \else
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@Alph\c@chapter}}
+\fi
+% \end{macrocode}
+% \subsection{Text elements}
+% \subsubsection{Captions}
+% \begin{macrocode}
+\RequirePackage{caption}
+\ifsuftesi@elements
+\captionsetup{labelsep=period,font={small,sf},singlelinecheck=false}
+\else
+ \captionsetup{labelsep=period,font=small,singlelinecheck=false}
+\fi
+% \end{macrocode}
+% \subsubsection{Epigraphs}
+% \begin{macrocode}
+\RequirePackage{epigraph}
+\ifsuftesi@elements
+ \relax
+ \else
+ \ifsuftesi@sufelements
+ \relax
+ \else
+ \setlength{\beforeepigraphskip}{-3\baselineskip}
+ \setlength{\afterepigraphskip}{2\baselineskip}
+ \setlength{\epigraphrule}{0pt}
+ \renewcommand{\textflush}{flushepinormal}
+ \renewcommand{\sourceflush}{flushepinormal}
+ \renewcommand{\epigraphsize}{\footnotesize}
+ \fi
+\fi
+% \end{macrocode}
+% \subsubsection{Lists}
+% \begin{macrocode}
+\RequirePackage{enumitem}
+ \setlist{labelsep=0.6em,noitemsep,font=\normalfont}
+ \setdescription{font=\normalfont\itshape,noitemsep}
+\ifsuftesi@compact
+ \setenumerate[1]{leftmargin=1em,label=\arabic*}
+ \setenumerate[2]{leftmargin= 1.5em,label=\arabic*}
+ \setenumerate[3]{leftmargin= 1.5em,label=\arabic*}
+ \setitemize[1]{leftmargin=1em}
+ \setitemize[2]{leftmargin=1.5em}
+ \setitemize[3]{leftmargin=1.5em}
+ \else
+ \ifsuftesi@supercompact
+ \setenumerate[1]{leftmargin=1em,label=\arabic*}
+ \setenumerate[2]{leftmargin= 1.5em,label=\arabic*}
+ \setenumerate[3]{leftmargin= 1.5em,label=\arabic*}
+ \setitemize[1]{leftmargin=1em}
+ \setitemize[2]{leftmargin=1.5em}
+ \setitemize[3]{leftmargin=1.5em}
+ \else
+ \setenumerate[1]{leftmargin=0pt,label=\arabic*}
+ \setenumerate[2]{leftmargin= 1.3em,label=\arabic*}
+ \setenumerate[3]{leftmargin= 1.3em,label=\arabic*}
+ \setitemize[1]{leftmargin=0pt}
+ \setitemize[2]{leftmargin=1.3em}
+ \setitemize[3]{leftmargin=1.3em}
+ \fi
+\fi
+% \end{macrocode}
+% \subsubsection{Block Quotations}
+% \begin{macrocode}
+\renewcommand\labelitemii{\normalfont \textendash}
+% \end{macrocode}
+% \begin{environment}{quotation}
+% \begin{macrocode}
+\renewenvironment{quotation}
+ {\list{}{\listparindent\parindent%
+ \itemindent \listparindent
+ \rightmargin \parindent
+ \leftmargin \parindent
+ \parsep \z@ \@plus\p@}%
+ \item\relax\footnotesize\noindent\ignorespaces}
+ {\endlist}
+% \end{macrocode}
+% \end{environment}
+% \begin{environment}{quote}
+% \begin{macrocode}
+\renewenvironment{quote}
+ {\list{}{\rightmargin \parindent
+ \leftmargin \parindent}%
+ \item\relax\footnotesize}
+ {\endlist}
+% \end{macrocode}
+% \end{environment}
+% \begin{environment}{verse}
+% \begin{macrocode}
+\renewenvironment{verse}
+ {\let\\\@centercr
+ \list{}{\footnotesize%
+ \itemsep \z@
+ \itemindent -1.5em%
+ \listparindent\itemindent
+ \rightmargin \leftmargin
+ \advance\leftmargin 1.5em}%
+ \item\relax}
+ {\endlist}
+% \end{macrocode}
+% \end{environment}
+% \subsubsection{Notes}
+% \begin{macro}{\@makefntext}
+% Renew the |\@makefntext| command according to the look \emph{The Elements of Typographic Styles} by R. Bringhurst:
+% \begin{macrocode}
+\renewcommand\@makefntext{%
+ \hskip-2.5em\makebox[2em][r]{\@thefnmark}\hskip.5em}
+% \end{macrocode}
+%\end{macro}
+% \begin{macro}{\marginpar}
+% Renew the |\marginpar| command according to the look of \emph{L'arte di scrivere con \LaTeX} by L.~Pantieri e T.~Gordini:
+% \begin{macrocode}
+\def\graffito@setup{%thanks to Lorenzo Pantieri and Enrico Gregorio
+ \itshape\footnotesize%
+ \parindent=0pt \lineskip=0pt \lineskiplimit=0pt %
+ \tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300%
+ \doublehyphendemerits=100000%
+ \finalhyphendemerits=\doublehyphendemerits}
+\newcommand{\graffito}[1]{\marginnote%
+ [\graffito@setup\raggedleft\hspace{0pt}{#1}]%
+ {\graffito@setup\raggedright\hspace{0pt}{#1}}}
+ \let\marginnote\marginpar
+ \def\marginpar{% thanks to Antonio Macrì
+ \@ifnextchar[\marginnote\graffito}
+\ifsuftesi@nomarginpar
+ \let\graffito\@gobble
+ \renewcommand\marginpar[2][]{}
+ \else
+ \fi
+% \end{macrocode}
+% \end{macro}
+% \subsubsection{Abstract}
+% This is the macro that defines the \env{abstract} environment in \sty{article} class. In \sty{suftesi} it simply prints the abstract name in normal font:
+% \begin{macrocode}
+\if@titlepage
+ \newenvironment{abstract}{%
+ \titlepage
+ \null\vfil
+ \@beginparpenalty\@lowpenalty
+ \begin{center}%
+ \abstractname
+ \@endparpenalty\@M
+ \end{center}}%
+ {\par\vfil\null\endtitlepage}
+\else
+ \newenvironment{abstract}{%
+ \if@twocolumn
+ \section*{\abstractname}%
+ \else
+ \small
+ \begin{center}%
+ {\abstractname\vspace{-.5em}\vspace{\z@}}%
+ \end{center}%
+ \quotation
+ \fi}
+ {\if@twocolumn\else\endquotation\fi}
+\fi
+\newcommand\abstractname{Abstract}
+% \end{macrocode}
+% \subsubsection{Colophon}
+% Some useful commands to print a colophon or a coyright notice:
+% \begin{macrocode}
+\edef\sufengine{%
+ \ifxetex
+ \noexpand\XeLaTeX
+ \else
+ \ifluatex
+ Lua\noexpand\LaTeX
+ \else
+ \noexpand\LaTeX
+ \fi
+ \fi}
+% \end{macrocode}
+% \begin{macro}{\colophon}
+% \begin{macrocode}
+\newcommand{\colophon}[3][]{%
+ \thispagestyle{empty}
+ \null
+ \vfill
+ \def\next{#2}
+ \ifx\next\@empty\else
+ \noindent Copyright \copyright{} \the\year~#2\\[1ex]
+ All rights reserved
+ \fi
+ \vfill
+ \section*{Colophon}
+ {\small This work has been typeset with \sufengine{}%
+ \def\next{#1}
+ \ifx\next\@empty\else su #1
+ \fi using the \textsf{suftesi} class by
+ Ivan Valbusa\index{Valbusa, Ivan}. #3\par}
+ \cleardoublepage}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\bookcolophon}
+% \begin{macrocode}
+\newcommand{\bookcolophon}[2]{%
+ \thispagestyle{empty}
+ \null
+ \vfill
+ \noindent #1
+ \vfill
+ \section*{Colophon}
+ {\small #2\par}
+ \cleardoublepage}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\artcolophon}
+% \begin{macrocode}
+\newcommand{\artcolophon}[1]{%
+\thispagestyle{empty}
+ \null
+ \vfill
+ {\small #1\par}}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\finalcolophon}
+% \begin{macrocode}
+\newcommand{\finalcolophon}[1]{%
+\thispagestyle{empty}
+ \null\vspace*{\stretch{1}}
+ \begin{center}
+ \begin{minipage}{.5\textwidth}
+ \centering\small #1
+ \end{minipage}
+ \end{center}
+ \vspace*{\stretch{6}}
+ }
+% \end{macrocode}
+% \end{macro}
+% \subsection{Commands}
+% \begin{macro}{\chapterintro}
+% A command to typeset an unnumbered section:
+% \begin{macrocode}
+\def\chapterintro{
+ \@ifstar{\@tempswafalse\@chapterintro}{\@tempswatrue\@chapterintro}}
+\def\@chapterintro{\phantomsection
+ \if@tempswa\section*{\suffchapterintroname}\fi
+ \addcontentsline{toc}{section}{\suffchapterintroname}}
+\newcommand{\chapterintroname}[1]{\def\suffchapterintroname{#1}}
+\chapterintroname{Introduzione}
+% \end{macrocode}
+% \end{macro}
+%\begin{macro}{\itshape}
+% Renew |\itshape| to allow hyphenation in some italian epressions, such as ``l'\emph{Enciclopedia}'':
+% \begin{macrocode}
+\DeclareRobustCommand\itshape
+ {\penalty\@M\hskip\z@skip\not@math@alphabet\itshape
+ \mathit\fontshape\itdefault\selectfont}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\headbreak}
+%Active in the table of contents but not in the text or in the headings
+% \begin{macrocode}
+\newif\ifheadbreak\headbreakfalse
+ \DeclareRobustCommand{\headbreak}
+ {\ifheadbreak\\\else\fi}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\xheadbreak}
+% Active in the text and in the headings but not in the table of contents.
+% \begin{macrocode}
+\newif\ifxheadbreak\xheadbreaktrue
+ \DeclareRobustCommand{\xheadbreak}
+ {\ifxheadbreak\\\else\fi}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\tableofcontents}
+% \begin{macrocode}
+\let\origtableofcontents\tableofcontents
+ \renewcommand{\tableofcontents}{%
+ \begingroup\headbreaktrue\xheadbreakfalse%
+ \origtableofcontents\endgroup}
+% \end{macrocode}
+% \end{macro}
+% Renew |\frontmatter| to have arabic page numbering:
+% \begin{macrocode}
+\renewcommand\frontmatter{\cleardoublepage\@mainmatterfalse}
+\renewcommand\mainmatter{\cleardoublepage\@mainmattertrue}
+% \end{macrocode}
+% \subsection{Backward compatibility}
+% \begin{environment}{bibliografia}
+% An environment to manually typeset the bibliography. (Use \sty{biblatex} instead!)
+% \begin{macrocode}
+\newenvironment{bibliografia}{%
+ \ifsuftesi@article
+ \section*{\refname}
+ \addcontentsline{toc}{section}{\refname}
+ \else
+ \chapter{\bibname}%
+ \fi
+ \normalfont \list{}{%
+ \setlength{\itemindent}{-\parindent}
+ \setlength{\leftmargin}{\parindent}
+ \setlength{\labelwidth}{\leftmargin}
+ \setlength{\parsep}{\parskip}
+ \let\makelabel}}
+ {\endlist}
+% \end{macrocode}
+% \end{environment}
+% \begin{environment}{sigle}
+% An environment to manually typeset the list of shorthands. (Use \sty{biblatex} instead!)
+% \begin{macrocode}
+\newcommand{\losname}{Sigle}
+\newcommand{\itlabel}[1]{\itshape\hbox to 6em{#1}}
+\newenvironment{sigle}{%
+ \chapter{\losname}
+ \normalfont \list{}{%
+ \setlength{\labelsep}{0.5em}
+ \setlength{\itemindent}{0pt}
+ \setlength{\leftmargin}{6em}
+ \setlength{\labelwidth}{\leftmargin}
+ \setlength{\listparindent}{\parindent}
+ \setlength{\parsep}{\parskip}
+ \let\makelabel\itlabel}}
+ {\endlist}
+% \end{macrocode}
+% \end{environment}
+% \begin{macrocode}
+\let\hemph\emph
+% \end{macrocode}
+% \subsection{Final settings}
+% Just one touch of french typography:
+% \begin{macrocode}
+\frenchspacing
+%</class>
+% \end{macrocode}
+%
+% \section{The bibliography file}
+%
+%<*bib>
+% \begin{verbatim}
+@book{Morison:1111,
+ Author = {Stanley Morison},
+ Booktitle = {First Principles of Typography},
+ Date = {1936},
+ Location = {Cambridge},
+ Origdate = {2008},
+ Origlocation = {Pisa-Roma},
+ Origpublisher = {Fabrizio Serra editore},
+ Origtitle = {I principi fondamentali della tipografia},
+ Publisher = {Cambridge University Press},
+ Title = {First Principles of Typography}}
+
+@book{Eco:1980,
+ Author = {Umberto Eco},
+ Booktitle = {Il nome della rosa},
+ Keywords = {secondaria},
+ Location = {Milano},
+ Publisher = {Bompiani},
+ Title = {Il nome della rosa},
+ Year = {1980}}
+
+@online{Gregorio:frontespizio,
+ Author = {Enrico Gregorio},
+ Keywords = {primaria},
+ Note = {version 1.1},
+ Title = {Il pacchetto \textsf{frontespizio}},
+ Url = {http://www.guit.sssup.it/phpbb/index.php},
+ Year = {2009}}
+
+@article{Valbusa:2010,
+ Author = {Ivan Valbusa},
+ Date-Added = {2010-08-24 11:46:14 +0200},
+ Date-Modified = {2011-07-02 15:52:06 +0200},
+ Journal = {\Ars},
+ Keywords = {secondaria},
+ Month = {10},
+ Number = {9},
+ Title = {Creare stili bibliografici con \textsf{biblatex}:
+ l'esperienza del pacchetto {biblatex-philosophy}},
+ Year = {2010}}
+
+@book{Bringhurst:1996,
+ Author = {Robert Bringhurst},
+ Booktitle = {The Elements of Typographic Style},
+ Date = {1996},
+ Edition = {2},
+ Keywords = {primaria},
+ Location = {Vancouver},
+ Publisher = {Hurtley \& Marks Publisher},
+ Title = {The Elements of Typographyc Style},
+ Annote = {In questa voce sono state date le indicazioni complete
+ dell'edizione originale, ed è stato indicato solo il luogo e la data della
+ traduzione italiana}}
+
+@book{Tschichold:1975,
+ Author = {Jan Tschichold},
+ Booktitle = {Ausgewählte Aufsätze über Fragen der Gestalt des
+ Buches und der Typographie},
+ Keywords = {primaria},
+ Location = {Basel},
+ Origdate = {2003},
+ Origlocation = {Milano},
+ Origpublisher = {Sylvestre Bonnard},
+ Origtitle = {La forma del libro},
+ Publisher = {Birkhäuser Verlag},
+ Title = {Ausgewählte Aufsätze über Fragen der Gestalt des Buches
+ und der Typographie},
+ Year = {1975}}
+
+@online{Lehman:2010,
+ Author = {Philipp Lehman},
+ Keywords = {secondaria},
+ Note = {Versione 0.9a},
+ Title = {The \textsf{biblatex} package},
+ Url = {http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/},
+ Year = {2010}}
+
+@book{Pantieri:2011,
+ Author = {Lorenzo Pantieri and Tommaso Gordini},
+ Booktitle = {L'arte di scrivere con LATEX},
+ Date = {2011},
+ Edition = {new edition},
+ Foreword = {Enrico Gregorio},
+ Hyphenation = {italian},
+ Keywords = {primaria},
+ Subtitle = {Un'in\-troduzione a \LaTeXe},
+ Title = {L'arte di scrivere con \LaTeX},
+ Url = {http://www.lorenzopantieri.net/LaTeX_files/ArteLaTeX.pdf},
+ Annote = {Questa guida è diventata il punto di riferimento degli utenti
+ italiani di \LaTeX\ ed è apprezzata per la chiarezza espositiva e la
+ completezza dei contenuti}}
+
+@article{Pantieri:2009,
+ Author = {Lorenzo Pantieri},
+ Keywords = {secondaria},
+ Title = {L'arte di gestire la bibliografia con \pack{biblatex}},
+ Url = {http://www.lorenzopantieri.net/LaTeX_files/Bibliografia.pdf},
+ Year = {2009}}
+
+@article{Mori:2008,
+ Author = {Lapo F. Mori},
+ Journal = {\Ars},
+ Keywords = {secondaria},
+ Month = {10},
+ Pages = {37-51},
+ Title = {Gestire la bibliografia con {\LaTeX}},
+ Volume = {6},
+ Year = {2008}}
+% \end{verbatim}
+%</bib>
+%
+% \section*{Changes}
+%
+% \begin{changelog}
+% \begin{release}{0.7}{\filedate}
+% \item Corrected some bugs
+% \item Provided a thesis template (in italian)
+% \item Files generated with \file{docstrip} utility
+% \end{release}
+%
+% \begin{release}{0.6c}{2011-11-16}
+% \item Corrected some bugs
+% \item Updated documentation
+% \end{release}
+%
+% \begin{release}{0.6b}{2011-11-07}
+% \item Improved full compatibility with \XeLaTeX
+% \item \sty{varioref} and \sty{footmisc} packages are no longer loaded
+% \item Updated documentation
+% \end{release}
+%
+% \begin{release}{0.6a}{2011-10-24}
+% \item Updated documentation
+% \end{release}
+%
+% \begin{release}{0.6}{2011-10-21}
+% \item New command \cmd{bookcolophon} \see{sec:commands}
+% \item New command \cmd{artcolophon} \see{sec:commands}
+% \item New option \opt{authortitle} \see{sec:options}
+% \item Renamed option \opt{plain} to \opt{centerheadings} \see{sec:options}
+% \item Renamed option \opt{fullplain} to \opt{sufplain} \see{sec:options}
+% \item New english documentation
+% \end{release}
+%
+% \begin{release}{0.5}{2011-07-29}
+% \item The frontispiece of \sty{suftesi}{} is now included in the package \sty{frontespizio}
+% \item New command \cmd{chapnumfont}
+% \item changed option \opt{sctitles} \see{sec:options}
+% \item New option \opt{article} \see{sec:options}
+% \item New option \opt{fullplain} \see{sec:options}
+% \item New option \opt{elements} \see{sec:options}
+% \item New option \opt{sufelements} \see{sec:options}
+% \item New option \opt{supercompact} \see{sec:options}
+% \item New option \opt{compact} \see{sec:options}
+% \item New option \opt{nocrop} \see{sec:options}
+% \item New option \opt{nomarginpar} \see{sec:options}
+% \end{release}
+%
+% \end{changelog}
+%
+% \defbibnote{note}{\sffamily This bibliography has been typeset with
+% the \sty{biblatex-philosophy} styles, created by the same author of this class.}
+% \addcontentsline{toc}{section}{\refname}
+% \printbibliography[prenote=note]
+%
+% \Finale
diff --git a/Master/texmf-dist/source/latex/suftesi/suftesi.ins b/Master/texmf-dist/source/latex/suftesi/suftesi.ins
new file mode 100644
index 00000000000..297fb8113e3
--- /dev/null
+++ b/Master/texmf-dist/source/latex/suftesi/suftesi.ins
@@ -0,0 +1,65 @@
+%% suftesi.ins
+%% Copyright (C) 2012-2012 Ivan Valbusa
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% Author: Ivan Valbusa
+%% ivan dot valbusa at univr dot it
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This file will generate fast loadable files and documentation
+%% driver files from the doc files in this package when run through
+%% LaTeX or TeX.
+%%
+%% This work consists of all files listed in README
+%%
+%% --------------- start of docstrip commands ------------------
+%%
+\input docstrip
+\preamble
+
+ Copyright 2009-2012 by Ivan Valbusa
+
+ This program is provided under the terms of the
+ LaTeX Project Public License distributed from CTAN
+ archives in directory macros/latex/base/lppl.txt.
+
+ Author: Ivan Valbusa
+ ivan dot valbusa at univr dot it
+
+ This work has the LPPL maintenance status "author-maintained".
+
+\endpreamble
+
+\keepsilent
+\askforoverwritefalse
+
+\Msg{*** Generating the class file ***}
+\generate{\file{suftesi.cls}{\from{suftesi.dtx}{class}}
+ \nopreamble\nopostamble
+ \file{suftesi.bib}{\from{suftesi.dtx}{bib}}
+ }
+
+\Msg{***********************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* files into a directory searched by TeX:}
+\Msg{*}
+\Msg{* \space\space suftesi.cls}
+\Msg{*}
+\Msg{*}
+\Msg{* To produce the documentation on suftesi's code run}
+\Msg{* the file ending with `.dtx' through (pdf)LaTeX. See the}
+\Msg{* README file for more details.}
+\Msg{*}
+\Msg{* Happy TeXing}
+\Msg{***********************************************************}
+
+\endbatchfile
diff --git a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
index 762451e4feb..2d2edd12ca5 100644
--- a/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
+++ b/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
@@ -1,7 +1,12 @@
%%
%% This is file `suftesi.cls',
+%% generated with the docstrip utility.
%%
-%% Copyright (C) 2010-11 Ivan Valbusa
+%% The original source files were:
+%%
+%% suftesi.dtx (with options: `class')
+%%
+%% Copyright 2009-2012 by Ivan Valbusa
%%
%% This program is provided under the terms of the
%% LaTeX Project Public License distributed from CTAN
@@ -14,16 +19,12 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesClass{suftesi}
- [2011/11/16 v. 0.6c
- A class for typesetting theses, books and articles]
-%****************************************
-% declare options
-%****************************************
+[2011/12/25 v0.7 A class for typesetting theses, books and articles]
\newif\ifsuftesi@centertitle
\newif\ifsuftesi@sctitles
-\newif\ifsuftesi@artemisia
-\newif\ifsuftesi@porson
-\newif\ifsuftesi@defaultfont
+\newif\ifsuftesi@artemisia
+\newif\ifsuftesi@porson
+\newif\ifsuftesi@defaultfont
\newif\ifsuftesi@defaultgreek
\newif\ifsuftesi@centerheadings
\newif\ifsuftesi@sufplain
@@ -41,37 +42,32 @@
\DeclareOption{sctitles}{\suftesi@sctitlestrue}
\DeclareOption{disablefront}{\suftesi@nofronttrue}
\DeclareOption{defaultfont}{\suftesi@defaultfonttrue\suftesi@defaultgreektrue}
-\DeclareOption{artemisia}{\suftesi@artemisiatrue\suftesi@porsonfalse \suftesi@defaultgreekfalse}
+\DeclareOption{artemisia}{\suftesi@artemisiatrue\suftesi@porsonfalse
+\suftesi@defaultgreekfalse}
\DeclareOption{porson}{\suftesi@porsontrue\suftesi@artemisiafalse
- \suftesi@defaultgreekfalse}
+\suftesi@defaultgreekfalse}
\DeclareOption{defaultgreek}{\suftesi@defaultgreektrue
- \suftesi@artemisiafalse\suftesi@porsonfalse}
-\DeclareOption{centerheadings}{\suftesi@centerheadingstrue}
-\DeclareOption{sufplain}{\suftesi@sufplaintrue}
-\DeclareOption{bozza}{\suftesi@bozzatrue}
-\DeclareOption{compact}{\suftesi@compacttrue}
-\DeclareOption{supercompact}{\suftesi@supercompacttrue}
-\DeclareOption{elements}{\suftesi@elementstrue\suftesi@sufelementstrue}
-\DeclareOption{sufelements}{\suftesi@sufelementstrue\suftesi@sctitlestrue}
-\DeclareOption{nocrop}{\suftesi@nocroptrue}
-\DeclareOption{nomarginpar}{\suftesi@nomarginpartrue}
+\suftesi@artemisiafalse\suftesi@porsonfalse}
+\DeclareOption{centerheadings}{\suftesi@centerheadingstrue}
+\DeclareOption{sufplain}{\suftesi@sufplaintrue}
+\DeclareOption{bozza}{\suftesi@bozzatrue}
+\DeclareOption{compact}{\suftesi@compacttrue}
+\DeclareOption{supercompact}{\suftesi@supercompacttrue}
+\DeclareOption{elements}{\suftesi@elementstrue\suftesi@sufelementstrue
+\suftesi@supercompactfalse\suftesi@compactfalse}
+\DeclareOption{sufelements}{\suftesi@sufelementstrue\suftesi@sctitlestrue}
+\DeclareOption{nocrop}{\suftesi@nocroptrue}
+\DeclareOption{nomarginpar}{\suftesi@nomarginpartrue}
\DeclareOption{article}{\suftesi@articletrue}
\DeclareOption{authortitle}{\suftesi@authortitletrue}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
-\ExecuteOptions{artemisia}
+\ExecuteOptions{artemisia}
\ProcessOptions
\relax
-\ifsuftesi@article
-\LoadClass[a4paper,notitlepage]{book}
-\else
\LoadClass[a4paper]{book}
-\fi
-%****************************************
-% PACKAGES
-%****************************************
\RequirePackage{color}
- \definecolor{sufred}{rgb}{0.5,0,0}
- \definecolor{sufgray}{rgb}{0.5,0.5,0.5}
+\definecolor{sufred}{rgb}{0.5,0,0}
+\definecolor{sufgray}{rgb}{0.5,0.5,0.5}
\RequirePackage{ifxetex,ifluatex,metalogo}
\ifxetex\relax
\else
@@ -82,34 +78,6 @@
\RequirePackage{multicol}
\RequirePackage{emptypage}
\RequirePackage{mparhack}
-\RequirePackage{caption}
- \captionsetup{labelsep=period,font=small}
-\RequirePackage{epigraph}
- \setlength{\beforeepigraphskip}{-3\baselineskip}
- \setlength{\afterepigraphskip}{2\baselineskip}
- \setlength{\epigraphrule}{0pt}
- \renewcommand{\textflush}{flushepinormal}
- \renewcommand{\sourceflush}{flushepinormal}
- \renewcommand{\epigraphsize}{\footnotesize}
-\RequirePackage{enumitem}
-\ifsuftesi@elements
- \setdescription{font=\normalfont\itshape,noitemsep}
- \setenumerate[1]{font=\normalfont,leftmargin=0pt,label=\arabic*}
- \setitemize[1]{font=\normalfont,leftmargin=0pt}
-\else
- \setlist{labelsep=0.6em,itemsep=0ex,font=\normalfont}
- \setdescription{font=\normalfont\sffamily,itemsep=0ex}
- \setenumerate[1]{leftmargin=0pt,label=\arabic*}
- \setenumerate[2]{leftmargin= 1.3em,label=\arabic*}
- \setenumerate[3]{leftmargin= 1.3em,label=\arabic*}
- \setitemize[1]{leftmargin=0pt}
- \setitemize[2]{leftmargin=1.3em}
- \setitemize[3]{leftmargin=1.3em}
-\fi
-%****************************************
-% GREEK FONT
-%****************************************
-%...thanks to the TeX guru Enrico Gregorio
\ifxetex
\relax
\else
@@ -124,28 +92,28 @@
\renewcommand{\sfdefault}{iwona}
\fi
\ifsuftesi@artemisia
- \def\suftesi@greekfamily{artemisiaeuler}
+\def\suftesi@greekfamily{artemisiaeuler}
\fi
\ifsuftesi@defaultgreek
- \def\suftesi@greekfamily{cmr}
+\def\suftesi@greekfamily{cmr}
\fi
\ifsuftesi@porson
- \sbox\z@{\fontsize{10}{10}\normalfont A}
- \sbox\tw@{\font\temp=gporsonrg6a at 10pt \temp A}
- \dimen@=
- \dimexpr(0.001\dimexpr\numexpr(\dimexpr(1000\ht\z@)/\ht\tw@)\p@)
- \edef\art@scale{\strip@pt\dimen@}
- \DeclareFontFamily{LGR}{porson}{}
- \DeclareFontShape{LGR}{porson}{m}{n}{<-> s * [\art@scale] gporsonrg6a}{}
- \DeclareFontShape{LGR}{porson}{m}{it}{<-> ssub * porson/m/n}{}
- \DeclareFontShape{LGR}{porson}{b}{n}{<-> ssub * porson/m/n}{}
- \DeclareFontShape{LGR}{porson}{b}{it}{<-> ssub * porson/m/n}{}
- \DeclareFontShape{LGR}{porson}{m}{sl}{<-> ssub * porson/m/n}{}
- \DeclareFontShape{LGR}{porson}{b}{sl}{<-> ssub * porson/m/n}{}
- \DeclareFontShape{LGR}{porson}{m}{sc}{<-> ssub * porson/m/n}{}
- \DeclareFontShape{LGR}{porson}{bx}{n}{<-> ssub * porson/m/n}{}
- \DeclareFontShape{LGR}{porson}{bx}{it}{<-> ssub * porson/m/n}{}
- \DeclareFontShape{LGR}{porson}{bx}{sl}{<-> ssub * porson/m/n}{}
+\sbox\z@{\fontsize{10}{10}\normalfont A}
+\sbox\tw@{\font\temp=gporsonrg6a at 10pt \temp A}
+\dimen@=
+\dimexpr(0.001\dimexpr\numexpr(\dimexpr(1000\ht\z@)/\ht\tw@)\p@)
+\edef\art@scale{\strip@pt\dimen@}
+\DeclareFontFamily{LGR}{porson}{}
+\DeclareFontShape{LGR}{porson}{m}{n}{<-> s * [\art@scale] gporsonrg6a}{}
+\DeclareFontShape{LGR}{porson}{m}{it}{<-> ssub * porson/m/n}{}
+\DeclareFontShape{LGR}{porson}{b}{n}{<-> ssub * porson/m/n}{}
+\DeclareFontShape{LGR}{porson}{b}{it}{<-> ssub * porson/m/n}{}
+\DeclareFontShape{LGR}{porson}{m}{sl}{<-> ssub * porson/m/n}{}
+\DeclareFontShape{LGR}{porson}{b}{sl}{<-> ssub * porson/m/n}{}
+\DeclareFontShape{LGR}{porson}{m}{sc}{<-> ssub * porson/m/n}{}
+\DeclareFontShape{LGR}{porson}{bx}{n}{<-> ssub * porson/m/n}{}
+\DeclareFontShape{LGR}{porson}{bx}{it}{<-> ssub * porson/m/n}{}
+\DeclareFontShape{LGR}{porson}{bx}{sl}{<-> ssub * porson/m/n}{}
\def\suftesi@greekfamily{porson}
\fi
\AtBeginDocument{
@@ -153,30 +121,26 @@
\fontencoding{LGR}\fontfamily{\suftesi@greekfamily}\selectfont
\def\encodingdefault{LGR}}}
\fi
-%****************************************
-% LAYOUT
-%****************************************
\RequirePackage{geometry}
\parindent1em
\ifcase\@ptsize\relax
- \geometry{%
- textwidth=312pt,
- textheight=624pt}\or
- \geometry{%
- textwidth=324pt,
- textheight=648pt}\or
- \geometry{%
- textwidth=324pt,
- textheight=648pt}
- \fi
- \geometry{%
- marginparsep=12pt,
- includehead,
- hmarginratio=1:2,
- vmarginratio=1:2,
- heightrounded,
- marginparwidth=82pt,
- }
+\geometry{%
+ textwidth=312pt,
+ textheight=624pt}\or
+\geometry{%
+ textwidth=324pt,
+ textheight=648pt}\or
+\geometry{%
+ textwidth=324pt,
+ textheight=648pt}
+ \fi
+\geometry{%
+ marginparsep=12pt,
+ includehead,
+ hmarginratio=1:2,
+ vmarginratio=1:2,
+ heightrounded,
+ marginparwidth=82pt}
\ifsuftesi@nocrop
\relax
\else
@@ -194,8 +158,7 @@
includehead,
heightrounded,
marginparwidth=65pt,
- marginparsep=10pt,
- }
+ marginparsep=10pt}
\else
\ifsuftesi@supercompact
\geometry{
@@ -209,62 +172,63 @@
includehead,
heightrounded,
marginparwidth=50pt,
- marginparsep=9pt,
-}
+ marginparsep=9pt}
\else
\ifsuftesi@elements
\geometry{%
- textwidth=251pt,
- textheight=502pt,
- marginparwidth=60pt,
- marginparsep=18pt,
- paperwidth=378pt,
- paperheight=654pt,
+textwidth=251pt,
+textheight=502pt,
+marginparwidth=60pt,
+marginparsep=18pt,
+paperwidth=378pt,
+paperheight=654pt,
heightrounded,
- outer=90pt,
- top=64pt,
-}
-
+outer=91.2pt,
+top=64pt}
\else
- \fi
- \fi
+ \fi
+ \fi
\fi
\if@twoside
\relax
\else
\geometry{hmarginratio=1:1}
\fi
-%****************************************
-% SECTION TITLES
-%****************************************
\RequirePackage{titlesec}
-
-\DeclareRobustCommand{\sufchaptersize}{%
- \ifsuftesi@supercompact\large\else\ifsuftesi@compact\Large\else\LARGE\fi\fi}
+\newlength{\sectionsep}
+\setlength{\sectionsep}{\dimexpr(\baselineskip) plus 1pt minus 1pt}
+\ifsuftesi@supercompact
+\DeclareRobustCommand{\sufchaptersize}{\large}
+\else
+\ifsuftesi@compact
+ \DeclareRobustCommand{\sufchaptersize}{\Large}
+\else
+\DeclareRobustCommand{\sufchaptersize}{\Large}
+\fi
+\fi
\ifxetex
- \DeclareRobustCommand{\suftesi@smallcaps}[1]{%
- \addfontfeature{LetterSpace=6}\scshape\MakeTextLowercase{#1}}
- \DeclareRobustCommand{\sectitle}[1]{%
- \addfontfeature{LetterSpace=6}\scshape\MakeTextUppercase{#1}}%
- \newcommand{\chapnumfont}[1]{%
- \def\@chapnumfont{\fontspec{#1}}}
- \chapnumfont{Palatino}
+\DeclareRobustCommand{\suftesi@smallcaps}[1]{%
+ \addfontfeature{LetterSpace=6}\scshape\MakeTextLowercase{#1}}
+\DeclareRobustCommand{\sectitle}[1]{%
+\addfontfeature{LetterSpace=6}\scshape\MakeTextUppercase{#1}}%
+\newcommand{\chapnumfont}[1]{%
+ \def\@chapnumfont{\fontspec{#1}}}
+\chapnumfont{Palatino}
\else
- \DeclareRobustCommand{\suftesi@smallcaps}[1]{%
- \scshape\lsstyle\MakeTextLowercase{#1}}%
- \DeclareRobustCommand{\sectitle}[1]{%
- \textls[110]{\MakeTextUppercase{#1}}}%
- \newcommand{\chapnumfont}[1]{%
- \def\@chapnumfont{\fontfamily{#1}}}
- \chapnumfont{pplj}
+\DeclareRobustCommand{\suftesi@smallcaps}[1]{%
+ \scshape\lsstyle\MakeTextLowercase{#1}}%
+\DeclareRobustCommand{\sectitle}[1]{%
+\textls[110]{\MakeTextUppercase{#1}}}%
+\newcommand{\chapnumfont}[1]{%
+ \def\@chapnumfont{\fontfamily{#1}}}
+\chapnumfont{pplj}
\fi
-
-\ifsuftesi@article% article mode
- \renewcommand \thesection {\@arabic\c@section}
- \renewcommand\thesubsection {\thesection.\@arabic\c@subsection}
- \renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
- \renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph}
- \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
+\ifsuftesi@article
+\renewcommand \thesection {\@arabic\c@section}
+\renewcommand\thesubsection {\thesection.\@arabic\c@subsection}
+\renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
+\renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph}
+\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
\renewcommand\part{%
\if@noskipsec \leavevmode \fi
\par
@@ -298,124 +262,126 @@
\nobreak
\vskip 3ex
\@afterheading}
-\else% book mode
+\else
\titleformat{\part}[display]
- {\LARGE\filcenter}
- {\sufchaptersize\ifsuftesi@sctitles\scshape\else\fi\partname~\Roman{part}}
- {3ex}
- {\sufchaptersize\ifsuftesi@sctitles\expandafter\suftesi@smallcaps\else\fi}
+ {\LARGE\filcenter}
+ {\sufchaptersize\ifsuftesi@sctitles\scshape\else\fi\partname~\Roman{part}}
+ {3ex}
+ {\sufchaptersize\ifsuftesi@sctitles\expandafter\suftesi@smallcaps\else\fi}
\fi
-% common settings
+\ifsuftesi@sufelements
+ \titleformat{\chapter}[block]
+ {}%
+ {\begin{picture}(0,0)
+\setlength{\unitlength}{1pt}
+ \@chapnumfont%
+ \ifsuftesi@elements
+ \fontsize{64}{64}\selectfont%
+ \put(0,-73){%
+ \hskip\dimexpr(\textwidth+\marginparsep)\textcolor{sufgray}{\thechapter}}%
+ \else
+ \fontsize{95}{95}\selectfont%
+ \put(0,-83){\hskip\dimexpr(\textwidth+\marginparsep)%
+ \textcolor{sufgray}{\thechapter}}%
+ \fi
+ \end{picture}}%
+ {0pt}
+ {\sectitle}
+ [\rule{\textwidth}{.1pt}]
+\else
\ifsuftesi@centertitle
- \titleformat{\chapter}[display]
- {\filcenter}
- {\sufchaptersize\thechapter}
- {3ex}
- {\sufchaptersize\ifsuftesi@sctitles\expandafter\suftesi@smallcaps\else\fi}
+\titleformat{\chapter}[display]
+ {\filcenter}
+ {\sufchaptersize\thechapter}
+ {3ex}
+ {\sufchaptersize\ifsuftesi@sctitles\expandafter\suftesi@smallcaps\else\fi}
\else
- \titleformat{\chapter}[hang]
- {\filright}
- {\sufchaptersize\thechapter.}
- {3ex}
- {\sufchaptersize\ifsuftesi@sctitles\expandafter\suftesi@smallcaps\else\fi}
+\titleformat{\chapter}[hang]
+ {\filright}
+ {\sufchaptersize\thechapter.}
+ {3ex}
+ {\sufchaptersize\ifsuftesi@sctitles\expandafter\suftesi@smallcaps\else\fi}
+ \fi
\fi
\ifsuftesi@compact
\titlespacing*{\chapter}{0em}{0ex}{18ex}
\else
- \ifsuftesi@supercompact
+ \ifsuftesi@supercompact
\titlespacing*{\chapter}{0em}{0ex}{18ex}
\else
- \titlespacing*{\chapter}{0em}{6ex}{18ex}
- \fi
+ \ifsuftesi@elements
+ \titlespacing*{\chapter}{0em}{-45pt}{10pt}[0em]
+ \else
+ \ifsuftesi@sufelements
+ \titlespacing*{\chapter}{0em}{6ex}{10pt}[0em]
+ \else
+ \titlespacing*{\chapter}{0em}{6ex}{18ex}
+ \fi
+ \fi
+ \fi
\fi
-% sufelements
-\ifsuftesi@sufelements
- \titleformat{\chapter}[block]
- {\vskip-22pt}%
- {\begin{picture}(0,0)
- \setlength{\unitlength}{1pt}
- \@chapnumfont
- \ifsuftesi@elements
- \fontsize{65}{65}\selectfont
- \else
- \fontsize{95}{95}\selectfont
- \fi
- \put(0,-88){%
- \hskip\textwidth
- \hskip\marginparsep
- \textcolor{sufgray}{\thechapter}}%
- \end{picture}}
- {0pt}
- {\sectitle}
- [\rule{\textwidth}{.4pt}]
- \titlespacing*{\chapter}{0em}{10pt}{10pt}[0em]
-\else\fi
-% elements
\ifsuftesi@elements
\titleformat{\section}[hang]
- {\raggedright}
- {\textnormal\thesection}
- {1em}
- {\small\suftesi@smallcaps}
- \titlespacing*{\section}{0em}{10pt}{10pt}[0em]
+ {\raggedright}
+ {\textnormal\thesection}
+ {1em}
+ {\small\suftesi@smallcaps}
+\titlespacing*{\section}{0em}{\baselineskip}{\baselineskip}[0em]
\titleformat{\subsection}[block]
- {\filright\normalsize\itshape}
- {\textnormal\thesubsection}
- {1em}
- {}
- \titlespacing*{\subsection}{0em}{10pt}{10pt}[0em]
+ {\filright\normalsize\itshape}
+ {\textnormal\thesubsection}
+ {1em}
+ {}
+\titlespacing*{\subsection}{0em}{\baselineskip}{\baselineskip}[0em]
\titleformat{\subsubsection}[block]
- {\filright\normalsize\itshape}
- {\textnormal\thesubsubsection}
- {1em}
- {}
- \titlespacing*{\subsubsection}{0em}{10pt}{10pt}[0em]
+ {\filright\normalsize\itshape}
+ {\textnormal\thesubsubsection}
+ {1em}
+ {}
+\titlespacing*{\subsubsection}{0em}{\baselineskip}{\baselineskip}[0em]
\else
\titleformat{\section}[hang]
- {\filright}
- {\thesection}
- {.5em}
- {\unskip\ifsuftesi@sctitles\expandafter\suftesi@smallcaps\else\itshape\fi}
- \titlespacing*{\section}{0ex}{\baselineskip}{\baselineskip}[0ex]
-\fi
+ {\filright}
+ {\thesection}
+ {.5em}
+ {\unskip\ifsuftesi@sctitles\expandafter\suftesi@smallcaps\else\itshape\fi}
+\titlespacing*{\section}{0ex}{\sectionsep}{\sectionsep}[0ex]
\titleformat{\subsection}[hang]
- {}
- {\textnormal\thesubsection}
- {.5em}
- {\itshape}
- \titlespacing*{\subsection}{\parindent}{\baselineskip}{\baselineskip}[0ex]
+ {}
+ {\textnormal\thesubsection}
+ {.5em}
+ {\itshape}
+\titlespacing*{\subsection}{\parindent}{\sectionsep}{\sectionsep}[0ex]
\titleformat{\subsubsection}[hang]
- {}
- {\textnormal\thesubsubsection}
- {.5em}
- {}
- \titlespacing*{\subsubsection}{\parindent}{\baselineskip}{\baselineskip}[0ex]
+ {}
+ {\textnormal\thesubsubsection}
+ {.5em}
+ {\itshape}
+\titlespacing*{\subsubsection}{\parindent}{\baselineskip}{\baselineskip}[0ex]
+\fi
\titleformat{\paragraph}[runin]
- {\itshape}
- {}
- {}
- {}
- [\hspace*{1em}]
- \titlespacing*{\paragraph}{\parindent}{.5\baselineskip}{.5\baselineskip}
+ {\itshape}
+ {}
+ {}
+ {}
+ [.\hspace*{1em}]
+\titlespacing*{\paragraph}{\parindent}{.5\sectionsep}{.5\sectionsep}
\titleformat{\subparagraph}[runin]
- {}
- {}
- {}
- {}
- [.\hspace*{1em}]
- \titlespacing*{\subparagraph}{\parindent}{.5\baselineskip}{.5\baselineskip}
-%****************************************
-% TOC, LOF, LOT
-%****************************************
+ {}
+ {}
+ {}
+ {}
+ [.\hspace*{1em}]
+\titlespacing*{\subparagraph}{\parindent}{.5\sectionsep}{.5\sectionsep}
\RequirePackage{titletoc}
-\ifsuftesi@article
+\ifsuftesi@article
\renewcommand\tableofcontents{% article mode
- \thispagestyle{empty}
- \section*{\contentsname
- \@mkboth{\contentsname}{\contentsname}}%
- \@starttoc{toc}%
- \vspace*{2ex}
- }
+\thispagestyle{empty}
+ \section*{\contentsname
+ \@mkboth{\contentsname}{\contentsname}}%
+ \@starttoc{toc}%
+ \vspace*{2ex}
+ }
\else
\renewcommand\tableofcontents{% book mode
\if@twocolumn
@@ -429,125 +395,123 @@
\if@restonecol\twocolumn\fi
}
\fi
-\titlecontents{part}
- [0em]
- {\addvspace{3ex}\partname~}
- {\thecontentslabel\hspace*{1em}}
- {}
- {}
- [\addvspace{1ex}]
-\titlecontents{chapter}
- [0em]
- {\addvspace{2ex}}
- {\thecontentslabel\hspace*{1em}}
- {}
- {\titlerule*{}\contentspage}
- [\addvspace{1ex}]
+\titlecontents{part}
+[0em]
+{\addvspace{3ex}\partname~}
+{\thecontentslabel\hspace*{1em}}
+{}
+{}
+[\addvspace{1ex}]
+\titlecontents{chapter}
+[0em]
+{\addvspace{2ex}}
+{\thecontentslabel\hspace*{1em}}
+{}
+{\titlerule*{}\contentspage}
+[\addvspace{1ex}]
\titlecontents{section}
- [1.5em]
- {}
- {\thecontentslabel\hspace*{1em}}
- {}
- {\titlerule*{}\contentspage}
+[1.5em]
+{}
+{\thecontentslabel\hspace*{1em}}
+{}
+{\titlerule*{}\contentspage}
\titlecontents{subsection}
- [3em]
- {}
- {\thecontentslabel\hspace*{1em}}
- {}
- {\titlerule*{}\contentspage}
+[3em]
+{}
+{\thecontentslabel\hspace*{1em}}
+{}
+{\titlerule*{}\contentspage}
\titlecontents{subsubsection}
- [4.5em]
- {}
- {\thecontentslabel\hspace*{1em}}
- {}
- {\titlerule*{}\contentspage}
+[4.5em]
+{}
+{\thecontentslabel\hspace*{1em}}
+{}
+{\titlerule*{}\contentspage}
\titlecontents{figure}
- [1.5em]
- {}
- {\thecontentslabel\hspace*{1em}}
- {}
- {\titlerule*{}\contentspage}
+[1.5em]
+{}
+{\thecontentslabel\hspace*{1em}}
+{}
+{\titlerule*{}\contentspage}
\titlecontents{table}
- [1.5em]
- {}
- {\thecontentslabel\hspace*{1em}}
- {}
- {\titlerule*{}\contentspage}
-%****************************************
-% APPENDIX
-%****************************************
-\newcommand{\appendicesname}[1]{\def\suff@appendices{#1}}
-\appendicesname{Appendici}
-\newcommand{\appendixpage}{\@appendixpage}
-\def\@appendixpage{%
-\@mainmattertrue
-\titlecontents{part}
- [0em]
- {\addvspace{3ex}}
- {}
- {}
- {}
- [\addvspace{1ex}]
-\let\contentspage\relax
- \cleardoublepage
- \thispagestyle{empty}
- \addcontentsline{toc}{part}{\suff@appendices}
- \begingroup
- \centering
- \null\vfil
- {\LARGE\suff@appendices\par}
- \vfil
- \endgroup
- \cleardoublepage
-\titlecontents{part}
- [0em]
- {\addvspace{3ex}\partname~}
- {\thecontentslabel\hspace*{1em}}
- {}
- {}
- [\addvspace{1ex}]
-}
-\ifsuftesi@sufelements
-\renewcommand\appendix{\par
- \setcounter{chapter}{0}%
- \setcounter{section}{0}%
- \gdef\@chapapp{\appendixname}%
- \gdef\thechapter{\@Alph\c@chapter}
- \titleformat{\chapter}[block]
- {\vskip-22pt}%
- {\small\sectitle{\appendixname}~\Alph{chapter}:\hskip.5em}
- {0pt}
- {\small\sectitle}
- [\rule{\textwidth}{.4pt}]
- \titlespacing*{\chapter}{0em}{10pt}{10pt}[0em]
- \titlecontents{chapter}[1em]
- {\filright\hskip.5em}
- {\suftesi@smallcaps{\appendixname~\thecontentslabel:}\hskip1em}
- {}
- {\contentspage\vspace{5pt}}}
- \else
-\renewcommand\appendix{\par
- \setcounter{chapter}{0}%
- \setcounter{section}{0}%
- \gdef\@chapapp{\appendixname}%
- \gdef\thechapter{\@Alph\c@chapter}}
-\fi
-%****************************************
-% HEADINGS
-%****************************************
+[1.5em]
+{}
+{\thecontentslabel\hspace*{1em}}
+{}
+{\titlerule*{}\contentspage}
\RequirePackage{fancyhdr}
\pagestyle{fancy}
-\renewcommand{\headrulewidth}{0pt}
+\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footnoterule}{}
-\ifsuftesi@elements % Elements
- \renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
- \renewcommand{\sectionmark}[1]{\markright{#1}}
-\else % book
- \renewcommand{\chaptermark}[1]{\markboth{\chaptertitlename\ \thechapter}{#1}}
- \renewcommand{\sectionmark}[1]{}
+\ifsuftesi@elements %
+\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
+\renewcommand{\sectionmark}[1]{\markright{#1}}
+\fancypagestyle{elements}{%
+\fancyhf{}
+\fancyfoot[LE,RO]{\thepage}
+\fancyhead[RO]{%
+\begin{picture}(0,0)
+ \setlength{\unitlength}{1pt}
+ \put(0,-104){%
+\hskip\marginparsep
+\parbox[t]{\marginparwidth}{\itshape\raggedright\leftmark}}%
+\end{picture}}
+\fancyhead[LE]{%
+\begin{picture}(0,0)
+ \setlength{\unitlength}{1pt}
+ \put(0,-104){%
+\hskip-\marginparwidth
+\hskip-\marginparsep
+ \parbox[t]{\marginparwidth}{\itshape\raggedleft\rightmark}}%
+\end{picture}}
+}
+\else
+\renewcommand{\chaptermark}[1]{\markboth{\chaptertitlename\ \thechapter}{#1}}
+\renewcommand{\sectionmark}[1]{}
\fi
-\ifsuftesi@article % article
- \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
+\fancypagestyle{plain}{%
+\fancyhf{}
+\fancyfoot[C]{}
+\renewcommand{\headrulewidth}{0pt}
+\renewcommand{\footrulewidth}{0pt}}
+\fancypagestyle{sufplain}{%
+\fancyhf{}%
+\fancyfoot[RE,LO]{\ifsuftesi@bozza \footnotesize Version of \today\else\fi}
+\fancyfoot[C]{\footnotesize\sufthepage}}
+\fancypagestyle{centerheadings}{%
+\fancyhf{}%
+\fancyfoot[RE,LO]{\ifsuftesi@bozza \footnotesize Version of \today\else\fi}
+\fancyhead[CO]{\footnotesize\xheadbreakfalse\suf@rightmark}
+\fancyhead[CE]{\footnotesize\xheadbreakfalse%
+\ifsuftesi@article
+ \ifsuftesi@authortitle
+ \suf@leftmark
+ \else
+ \suf@rightmark
+ \fi
+ \else
+ \suf@leftmark
+ \fi}
+\fancyfoot[C]{\footnotesize\sufthepage}%
+}
+\fancypagestyle{sufdefault}{%
+\fancyhf{}%
+\fancyfoot[RE,LO]{\ifsuftesi@bozza \footnotesize Version of \today\else\fi}
+\fancyhead[LE,RO]{\footnotesize\sufthepage}
+\fancyhead[LO]{\footnotesize\xheadbreakfalse\suf@rightmark}
+\fancyhead[RE]{\footnotesize\xheadbreakfalse%
+\ifsuftesi@article
+ \ifsuftesi@authortitle
+ \suf@leftmark
+ \else
+ \suf@rightmark
+ \fi
+ \else
+ \suf@leftmark
+ \fi}
+}
+\ifsuftesi@article
+ \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
\else\fi
\ifsuftesi@sctitles
\ifsuftesi@authortitle
@@ -581,86 +545,11 @@
\def\sufthepage{\thepage}
\fi
\def\suf@leftrightmark{%
- \if@mainmatter\leftmark\else\rightmark\fi}
-\fancypagestyle{plain}{%
- \fancyhf{}
- \fancyfoot[C]{}
- \renewcommand{\headrulewidth}{0pt}
- \renewcommand{\footrulewidth}{0pt}}
-\fancypagestyle{sufplain}{%
- \fancyhf{}%
- \fancyfoot[RE,LO]{\ifsuftesi@bozza \footnotesize Version of \today\else\fi}
- \fancyfoot[C]{\footnotesize\sufthepage}}
-\fancypagestyle{centerheadings}{%
- \fancyhf{}%
- \fancyfoot[RE,LO]{\ifsuftesi@bozza \footnotesize Version of \today\else\fi}
- \fancyhead[CO]{\footnotesize\xheadbreakfalse\suf@rightmark}
- \fancyhead[CE]{\footnotesize\xheadbreakfalse%
- \ifsuftesi@article
- \ifsuftesi@authortitle
- \suf@leftmark
- \else
- \suf@rightmark
- \fi
- \else
- \suf@leftmark
- \fi}
- \fancyfoot[C]{\footnotesize\sufthepage}%
- }
-\fancypagestyle{sufdefault}{%
- \fancyhf{}%
- \fancyfoot[RE,LO]{\ifsuftesi@bozza \footnotesize Version of \today\else\fi}
- \fancyhead[LE,RO]{\footnotesize\sufthepage}
- \fancyhead[LO]{\footnotesize\xheadbreakfalse\suf@rightmark}
- \fancyhead[RE]{\footnotesize\xheadbreakfalse%
- \ifsuftesi@article
- \ifsuftesi@authortitle
- \suf@leftmark
- \else
- \suf@rightmark
- \fi
- \else
- \suf@leftmark
- \fi}
- }
-\fancypagestyle{elements}{%
- \fancyhf{}
- \fancyfoot[LE,RO]{\thepage}
- \fancyhead[RO]{%
- \begin{picture}(0,0)
- \setlength{\unitlength}{1pt}
- \put(0,-104){%
- \hskip\marginparsep
- \parbox[t]{\marginparwidth}{\itshape\raggedright\leftmark}}%
- \end{picture}}
- \fancyhead[LE]{%
- \begin{picture}(0,0)
- \setlength{\unitlength}{1pt}
- \put(0,-104){%
- \hskip-\marginparwidth
- \hskip-\marginparsep
- \parbox[t]{\marginparwidth}{\itshape\raggedleft\rightmark}}%
- \end{picture}}
- }
-%\renewcommand{\author}[1]{\gdef\@sufauthor{#1}}
-%\def\@sufauthor{--missing author--%
-% \ClassWarningNoLine{suftesi}
-% {Missing \protect\author}%
-% \gdef\univrart@author{--missing author--}}
-%
-%\renewcommand{\title}[1]{\gdef\@suftitle{#1}}
-%\def\@suftitle{--missing title--%
-% \ClassWarningNoLine{suftesi}
-% {Missing \protect\title}%
-% \gdef\univrart@author{--missing title--}}
+\if@mainmatter\leftmark\else\rightmark\fi}
\pagestyle{sufdefault}
\ifsuftesi@centerheadings\pagestyle{centerheadings}\else\fi
\ifsuftesi@sufplain\pagestyle{sufplain}\else\fi
\ifsuftesi@elements\pagestyle{elements}\else\fi
-
-%****************************************
-% TITLE PAGE
-%****************************************
\let\standardtitle\maketitle
\if@titlepage% titlepage
\renewcommand\maketitle{\begin{titlepage}%
@@ -671,14 +560,15 @@
\null\vfil
\vskip 60\p@
\begin{center}%
- {\sufchaptersize\color{sufred}\sffamily\ifsuftesi@sctitles\suftesi@smallcaps{\@title}\else\@title\fi \par}%
+ {\sufchaptersize\color{sufred}\sffamily\ifsuftesi@sctitles%
+ \suftesi@smallcaps{\@title}\else\@title\fi \par}%
\vskip 3em%
{\small\lineskip .75em%
\begin{tabular}[t]{c}%
\@author
\end{tabular}\par}%
\vskip 1.5em%
- {\small\@date\par}%
+ {\small\@date\par}%
\end{center}\par
\@thanks
\vfil\null
@@ -687,183 +577,175 @@
\global\let\thanks\relax
\global\let\maketitle\relax
\global\let\@thanks\@empty
-% \global\let\@author\@empty
\global\let\@date\@empty
-% \global\let\@title\@empty
-% \global\let\title\relax
-% \global\let\author\relax
\global\let\date\relax
\global\let\and\relax
}
\else% notitlepage
\renewcommand\maketitle{\par
- \begingroup
- \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
- \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
- \long\def\@makefntext##1{\parindent 1em\noindent
- \hb@xt@1.8em{%
- \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
- \if@twocolumn
- \ifnum \col@number=\@ne
- \@maketitle
- \else
- \twocolumn[\@maketitle]%
- \fi
- \else
- \newpage
- \global\@topnum\z@ % Prevents figures from going at top of page.
- \@maketitle
- \fi
- \thispagestyle{plain}\@thanks
- \endgroup
- \setcounter{footnote}{0}%
- \global\let\thanks\relax
- \global\let\maketitle\relax
- \global\let\@maketitle\relax
- \global\let\@thanks\@empty
-% \global\let\@author\@empty
- \global\let\@date\@empty
-% \global\let\@title\@empty
-% \global\let\title\relax
-% \global\let\author\relax
- \global\let\date\relax
- \global\let\and\relax}
+ \begingroup
+ \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+ \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
+ \long\def\@makefntext##1{\parindent 1em\noindent
+ \hb@xt@1.8em{%
+ \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
+ \if@twocolumn
+ \ifnum \col@number=\@ne
+ \@maketitle
+ \else
+ \twocolumn[\@maketitle]%
+ \fi
+ \else
+ \newpage
+ \global\@topnum\z@ % Prevents figures from going at top of page.
+ \@maketitle
+ \fi
+ \thispagestyle{plain}\@thanks
+ \endgroup
+ \setcounter{footnote}{0}%
+ \global\let\thanks\relax
+ \global\let\maketitle\relax
+ \global\let\@maketitle\relax
+ \global\let\@thanks\@empty
+ \global\let\@date\@empty
+ \global\let\date\relax
+ \global\let\and\relax}
\def\@maketitle{%
- \newpage
- \null
- \vskip 2em%
- \begin{center}%
- \let \footnote \thanks
- {\sufchaptersize\color{sufred}\sffamily\ifsuftesi@sctitles\suftesi@smallcaps{\@title}\else\@title\fi\par}%
- \vskip 1.5em%
- {\small\lineskip .5em%
- \begin{tabular}[t]{c}%
+ \newpage
+ \null
+ \vskip 2em%
+ \begin{center}%
+ \let \footnote \thanks
+ {\sufchaptersize\color{sufred}\sffamily\ifsuftesi@sctitles%
+ \suftesi@smallcaps{\@title}\else\@title\fi\par}%
+ \vskip 1.5em%
+ {\small\lineskip .5em%
+ \begin{tabular}[t]{c}%
\@author\par
- \end{tabular}\par}%
- \vskip 1em%
- {\small\@date\par}%
- \end{center}%
- \par
- \vskip 1.5em}
+ \end{tabular}\par}%
+ \vskip 1em%
+ {\small\@date\par}%
+ \end{center}%
+ \par
+ \vskip 1.5em}
\fi
-%****************************************
-% NOTES
-%****************************************
-\RequirePackage{ltxcmds}
-\renewcommand\@makefntext{\hskip-2.5em\makebox[2em][r]{\@thefnmark}\hskip.5em}
-% thanks to Lorenzo Pantieri and Enrico Gregorio
-\def\graffito@setup{%
- \itshape\footnotesize%
- \parindent=0pt \lineskip=0pt \lineskiplimit=0pt %
- \tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300%
- \doublehyphendemerits=100000%
- \finalhyphendemerits=\doublehyphendemerits}
-\newcommand{\graffito}[1]{\marginnote%
- [\graffito@setup\raggedleft\hspace{0pt}{#1}]%
- {\graffito@setup\raggedright\hspace{0pt}{#1}}}
- \let\marginnote\marginpar
- \def\marginpar{% thanks to Antonio Macrì
- \@ifnextchar[\marginnote\graffito}
-\ifsuftesi@nomarginpar
- \let\graffito\@gobble
- \renewcommand\marginpar[2][]{}
- \else
- \fi
-%***************************************
-% COLOPHON
-%****************************************
-\edef\compilatore{%
- \ifxetex
- \noexpand\XeLaTeX
- \else
- \ifluatex
- Lua\noexpand\LaTeX
- \else
- \noexpand\LaTeX
- \fi
- \fi}
-\newcommand{\colophon}[3][]{%
- \thispagestyle{empty}
- \null
- \vfill
- \def\next{#2}
- \ifx\next\@empty\else
- \noindent Copyright \copyright{} \the\year~#2\\[1ex]
- Tutti i diritti sono riservati.
- \fi
- \vfill
- \section*{Colophon}
- {\small Questo lavoro \`e stato realizzato con \compilatore{}%
- \def\next{#1}
- \ifx\next\@empty\else su #1
- \fi usando la classe \textsf{suftesi} di
- Ivan Valbusa\index{Valbusa, Ivan}. #3\par}
- \cleardoublepage}
-\newcommand{\bookcolophon}[2]{%
- \thispagestyle{empty}
- \null
- \vfill
- \noindent #1
- \vfill
- \section*{Colophon}
- {\small #2\par}
- \cleardoublepage}
-\newcommand{\artcolophon}[1]{%
-\thispagestyle{empty}
- \null
- \vfill
- {\small #1\par}}
-%****************************************
-% INDEX
-%****************************************
\renewenvironment{theindex}
- {\renewcommand{\indexname}{Indice dei nomi}
- \setlength\columnseprule{0pt}
- \setlength\columnsep{35pt}%
- \cleardoublepage
- \@makeschapterhead{\indexname}%
- \begin{multicols}{2}
- \markboth{\indexname}{\indexname}%
- \raggedright\small
- \setlength\parindent{0pt}%
- \setlength\parskip{0pt plus 0.3pt}%
- \thispagestyle{plain}\let\item\@idxitem}
- {\end{multicols}}
+{\setlength\columnseprule{0pt}
+ \setlength\columnsep{35pt}%
+ \cleardoublepage
+ \@makeschapterhead{\indexname}%
+\begin{multicols}{2}
+ \markboth{\indexname}{\indexname}%
+ \raggedright\small
+ \setlength\parindent{0pt}%
+ \setlength\parskip{0pt plus 0.3pt}%
+ \thispagestyle{plain}\let\item\@idxitem}
+{\end{multicols}}
\renewcommand\@idxitem{\par\hangindent 15\p@}
-%****************************************
-% BIBLIOGRAPHY AND SHORTHANDS
-%****************************************
-\newenvironment{bibliografia}{%
- \ifsuftesi@article
- \section*{\refname}
- \addcontentsline{toc}{section}{\refname}
+\newcommand{\appendicesname}[1]{\def\suff@appendices{#1}}
+\appendicesname{Appendici}
+\newcommand{\appendixpage}{\@appendixpage}
+\def\@appendixpage{%
+\@mainmattertrue
+\titlecontents{part}
+[0em]
+{\addvspace{3ex}}
+{}
+{}
+{}
+[\addvspace{1ex}]
+\let\contentspage\relax
+ \cleardoublepage
+ \thispagestyle{empty}
+ \addcontentsline{toc}{part}{\suff@appendices}
+ \begingroup
+ \centering
+ \null\vfil
+ {\LARGE\suff@appendices\par}
+ \vfil
+\endgroup
+ \cleardoublepage
+\titlecontents{part}
+[0em]
+{\addvspace{3ex}\partname~}
+{\thecontentslabel\hspace*{1em}}
+{}
+{}
+[\addvspace{1ex}]
+}
+\ifsuftesi@sufelements
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@Alph\c@chapter}
+ \titleformat{\chapter}[block]
+ {\vskip-22pt}%
+ {\small\sectitle{\appendixname}~\Alph{chapter}:\hskip.5em}
+ {0pt}
+ {\small\sectitle}
+ [\rule{\textwidth}{.4pt}]
+\titlespacing*{\chapter}{0em}{10pt}{10pt}[0em]
+\titlecontents{chapter}[1em]
+ {\filright\hskip.5em}
+ {\suftesi@smallcaps{\appendixname~\thecontentslabel:}\hskip1em}
+ {}
+ {\contentspage\vspace{5pt}}}
\else
- \chapter{\bibname}%
- \fi
- \normalfont \list{}{%
- \setlength{\itemindent}{-\parindent}
- \setlength{\leftmargin}{\parindent}
- \setlength{\labelwidth}{\leftmargin}
- \setlength{\parsep}{\parskip}
- \let\makelabel}}
- {\endlist}
-\newcommand{\losname}{Sigle}
-\newcommand{\itlabel}[1]{\itshape\hbox to 6em{#1}}
-\newenvironment{sigle}{%
- \chapter{\losname}
- \normalfont \list{}{%
- \setlength{\labelsep}{0.5em}
- \setlength{\itemindent}{0pt}
- \setlength{\leftmargin}{6em}
- \setlength{\labelwidth}{\leftmargin}
- \setlength{\listparindent}{\parindent}
- \setlength{\parsep}{\parskip}
- \let\makelabel\itlabel}}
- {\endlist}
-%*************************************************************
-% ENVIRONMENTS
-%*************************************************************
-% quotations
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@Alph\c@chapter}}
+\fi
+\RequirePackage{caption}
+\ifsuftesi@elements
+\captionsetup{labelsep=period,font={small,sf},singlelinecheck=false}
+\else
+\captionsetup{labelsep=period,font=small,singlelinecheck=false}
+\fi
+\RequirePackage{epigraph}
+\ifsuftesi@elements
+ \relax
+ \else
+ \ifsuftesi@sufelements
+ \relax
+ \else
+\setlength{\beforeepigraphskip}{-3\baselineskip}
+\setlength{\afterepigraphskip}{2\baselineskip}
+\setlength{\epigraphrule}{0pt}
+\renewcommand{\textflush}{flushepinormal}
+\renewcommand{\sourceflush}{flushepinormal}
+\renewcommand{\epigraphsize}{\footnotesize}
+\fi
+\fi
+\RequirePackage{enumitem}
+\setlist{labelsep=0.6em,noitemsep,font=\normalfont}
+\setdescription{font=\normalfont\itshape,noitemsep}
+\ifsuftesi@compact
+\setenumerate[1]{leftmargin=1em,label=\arabic*}
+\setenumerate[2]{leftmargin= 1.5em,label=\arabic*}
+\setenumerate[3]{leftmargin= 1.5em,label=\arabic*}
+\setitemize[1]{leftmargin=1em}
+\setitemize[2]{leftmargin=1.5em}
+\setitemize[3]{leftmargin=1.5em}
+ \else
+ \ifsuftesi@supercompact
+\setenumerate[1]{leftmargin=1em,label=\arabic*}
+\setenumerate[2]{leftmargin= 1.5em,label=\arabic*}
+\setenumerate[3]{leftmargin= 1.5em,label=\arabic*}
+\setitemize[1]{leftmargin=1em}
+\setitemize[2]{leftmargin=1.5em}
+\setitemize[3]{leftmargin=1.5em}
+ \else
+\setenumerate[1]{leftmargin=0pt,label=\arabic*}
+\setenumerate[2]{leftmargin= 1.3em,label=\arabic*}
+\setenumerate[3]{leftmargin= 1.3em,label=\arabic*}
+\setitemize[1]{leftmargin=0pt}
+\setitemize[2]{leftmargin=1.3em}
+\setitemize[3]{leftmargin=1.3em}
+ \fi
+\fi
\renewcommand\labelitemii{\normalfont \textendash}
\renewenvironment{quotation}
{\list{}{\listparindent\parindent%
@@ -881,14 +763,32 @@
\renewenvironment{verse}
{\let\\\@centercr
\list{}{\footnotesize%
- \itemsep \z@
+ \itemsep \z@
\itemindent -1.5em%
\listparindent\itemindent
\rightmargin \leftmargin
\advance\leftmargin 1.5em}%
\item\relax}
- {\endlist}
-% abstract
+ {\endlist}
+\renewcommand\@makefntext{%
+\hskip-2.5em\makebox[2em][r]{\@thefnmark}\hskip.5em}
+\def\graffito@setup{%thanks to Lorenzo Pantieri and Enrico Gregorio
+ \itshape\footnotesize%
+ \parindent=0pt \lineskip=0pt \lineskiplimit=0pt %
+ \tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300%
+ \doublehyphendemerits=100000%
+ \finalhyphendemerits=\doublehyphendemerits}
+\newcommand{\graffito}[1]{\marginnote%
+ [\graffito@setup\raggedleft\hspace{0pt}{#1}]%
+ {\graffito@setup\raggedright\hspace{0pt}{#1}}}
+ \let\marginnote\marginpar
+ \def\marginpar{% thanks to Antonio Macrì
+ \@ifnextchar[\marginnote\graffito}
+\ifsuftesi@nomarginpar
+\let\graffito\@gobble
+\renewcommand\marginpar[2][]{}
+ \else
+\fi
\if@titlepage
\newenvironment{abstract}{%
\titlepage
@@ -912,9 +812,58 @@
\fi}
{\if@twocolumn\else\endquotation\fi}
\fi
-%*************************************************************
-% COMMANDS
-%*************************************************************
+\newcommand\abstractname{Abstract}
+\edef\sufengine{%
+ \ifxetex
+ \noexpand\XeLaTeX
+ \else
+ \ifluatex
+ Lua\noexpand\LaTeX
+ \else
+ \noexpand\LaTeX
+ \fi
+ \fi}
+\newcommand{\colophon}[3][]{%
+\thispagestyle{empty}
+\null
+ \vfill
+ \def\next{#2}
+ \ifx\next\@empty\else
+ \noindent Copyright \copyright{} \the\year~#2\\[1ex]
+ All rights reserved
+ \fi
+\vfill
+ \section*{Colophon}
+{\small This work has been typeset with \sufengine{}%
+ \def\next{#1}
+ \ifx\next\@empty\else su #1
+ \fi using the \textsf{suftesi} class by
+ Ivan Valbusa\index{Valbusa, Ivan}. #3\par}
+ \cleardoublepage}
+\newcommand{\bookcolophon}[2]{%
+\thispagestyle{empty}
+\null
+ \vfill
+ \noindent #1
+\vfill
+ \section*{Colophon}
+{\small #2\par}
+ \cleardoublepage}
+\newcommand{\artcolophon}[1]{%
+\thispagestyle{empty}
+\null
+ \vfill
+{\small #1\par}}
+\newcommand{\finalcolophon}[1]{%
+\thispagestyle{empty}
+\null\vspace*{\stretch{1}}
+\begin{center}
+ \begin{minipage}{.5\textwidth}
+ \centering\small #1
+ \end{minipage}
+ \end{center}
+ \vspace*{\stretch{6}}
+}
\def\chapterintro{
\@ifstar{\@tempswafalse\@chapterintro}{\@tempswatrue\@chapterintro}}
\def\@chapterintro{\phantomsection
@@ -922,28 +871,50 @@
\addcontentsline{toc}{section}{\suffchapterintroname}}
\newcommand{\chapterintroname}[1]{\def\suffchapterintroname{#1}}
\chapterintroname{Introduzione}
-\newcommand{\hemph}[1]{\penalty10000\hskip0pt\emph{#1}}
-% breaks in toc but not in headings and text
-\newif\ifheadbreak\headbreakfalse
- \DeclareRobustCommand{\headbreak}
- {\ifheadbreak\\\else\fi}
-% breaks in text and headings but not in toc
+\DeclareRobustCommand\itshape
+{\penalty\@M\hskip\z@skip\not@math@alphabet\itshape
+\mathit\fontshape\itdefault\selectfont}
+\newif\ifheadbreak\headbreakfalse
+\DeclareRobustCommand{\headbreak}
+{\ifheadbreak\\\else\fi}
\newif\ifxheadbreak\xheadbreaktrue
- \DeclareRobustCommand{\xheadbreak}
- {\ifxheadbreak\\\else\fi}
+\DeclareRobustCommand{\xheadbreak}
+{\ifxheadbreak\\\else\fi}
\let\origtableofcontents\tableofcontents
- \renewcommand{\tableofcontents}{%
- \begingroup\headbreaktrue\xheadbreakfalse%
- \origtableofcontents\endgroup}
-%****************************************
-% PAGE NUMBERS
-%****************************************
-\renewcommand\frontmatter{\cleardoublepage\@mainmatterfalse}
-\renewcommand\mainmatter{\cleardoublepage\@mainmattertrue}
-
+\renewcommand{\tableofcontents}{%
+\begingroup\headbreaktrue\xheadbreakfalse%
+\origtableofcontents\endgroup}
+\renewcommand\frontmatter{\cleardoublepage\@mainmatterfalse}
+\renewcommand\mainmatter{\cleardoublepage\@mainmattertrue}
+\newenvironment{bibliografia}{%
+ \ifsuftesi@article
+ \section*{\refname}
+ \addcontentsline{toc}{section}{\refname}
+ \else
+\chapter{\bibname}%
+ \fi
+ \normalfont \list{}{%
+\setlength{\itemindent}{-\parindent}
+\setlength{\leftmargin}{\parindent}
+\setlength{\labelwidth}{\leftmargin}
+\setlength{\parsep}{\parskip}
+\let\makelabel}}
+{\endlist}
+\newcommand{\losname}{Sigle}
+\newcommand{\itlabel}[1]{\itshape\hbox to 6em{#1}}
+\newenvironment{sigle}{%
+\chapter{\losname}
+\normalfont \list{}{%
+\setlength{\labelsep}{0.5em}
+\setlength{\itemindent}{0pt}
+\setlength{\leftmargin}{6em}
+\setlength{\labelwidth}{\leftmargin}
+\setlength{\listparindent}{\parindent}
+\setlength{\parsep}{\parskip}
+\let\makelabel\itlabel}}
+{\endlist}
+\let\hemph\emph
\frenchspacing
-\hfuzz=1.5pt
-
\endinput
-
-
+%%
+%% End of file `suftesi.cls'.