% \iffalse meta-comment
%<*internal>
\begingroup
\input docstrip
\preamble

 Copyright 2009-2015 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{***********************************************************}

\endgroup
%</internal>
%
% Copyright (C) 2009-2015 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>
    [2015/03/31 v2.0.1 A class for typesetting theses, books and articles]
%</class>
%<*driver>
\documentclass[12pt]{ltxdoc}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[greek.ancient,english]{babel}
\let\cs\relax
\let\cmd\relax
\usepackage{ltxdockit}
\usepackage{array}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{siunitx}
\usepackage[svgnames]{xcolor}
  \definecolor{sufred}{rgb}{0.5,0,0}
  \definecolor{sufgray}{rgb}{0.5,0.5,0.5}
\usepackage[autostyle]{csquotes}
\usepackage[style=philosophy-classic,backend=biber]{biblatex}
  \addbibresource{suftesi.bib}
\usepackage[osf,p,mono=false]{libertine}
\usepackage[libertine]{newtxmath}
\usepackage{pifont}
  \newcommand{\redtriangle}{\noindent\textcolor{red}{\ding{228}}}
\usepackage{metalogo}
\usepackage[final]{microtype}
\usepackage{geometry}
  \geometry{hmarginratio=1:1,a4paper,margin=2cm,headheight=15pt}
\usepackage{sectsty}
  \allsectionsfont{\sffamily}
  \sectionfont{\LARGE\sffamily}
  \subsectionfont{\Large\sffamily}

\usepackage{fancyhdr}
  \fancyhf{}
  \fancyhead[L]{© 2009--\the\year\quad Ivan Valbusa}
  \fancyfoot[L]{\textsf{suftesi.cls} \fileversion{} -- \filedate}
  \renewcommand{\footrulewidth}{0.4pt}
  \fancyhead[R]{\thepage}
    \pagestyle{fancy}
\usepackage[framemethod=TikZ]{mdframed}
  \mdfsetup{roundcorner=3pt,linecolor=olive}
% New commands
\def\suftesi{\textsf{suftesi}}
\newcommand{\argstyle}{\itshape}
\DeclareRobustCommand*{\ar}[1]{\texttt{\char`\{}\textrm{\argstyle#1}\texttt{\char`\}}}
\DeclareRobustCommand*{\oar}[1]{\texttt{[}\textrm{\argstyle#1}\texttt{]}}
\DeclareRobustCommand*{\meta}[1]{%
  $\langle${\argstyle\rmfamily#1\kern0.12em}$\rangle$}
\DeclareRobustCommand*{\arm}[1]{\ar{\meta{\argstyle#1}}}
\DeclareRobustCommand*{\oarm}[1]{\oar{\meta{\argstyle#1}}}
% New environments
\newenvironment{ttquote}
  {\begin{mdframed}
  \ttfamily\microtypesetup{activate=false}}
  {\end{mdframed}}
\newenvironment{latexcode}
  {\begin{mdframed}}
  {\end{mdframed}}
\makeatletter
\renewenvironment*{optionlist}
  {\list{}{%
     \setlength{\labelwidth}{\marglistwidth}%
     \setlength{\labelsep}{\z@}%
     \setlength{\leftmargin}{2cm}%
     \renewcommand*{\makelabel}[1]{\hss\optionlistfont##1}}%
   \ltd@optionlist}
  {\endlist}
\renewenvironment*{ltxsyntax}
  {\list{}{%
     \setlength{\labelwidth}{\marglistwidth}%
     \setlength{\labelsep}{0pt}%
     \setlength{\leftmargin}{2cm}%
     \renewcommand*{\makelabel}[1]{%
       \hss\ltxsyntaxfont\ltxsyntaxlabelfont##1}}%
   \let\csitem\ltd@csitem
   \let\cmditem\ltd@cmditem
   \let\envitem\ltd@envitem
   \let\lenitem\ltd@csitem
   \let\boolitem\ltd@boolitem
   \let\cntitem\ltd@item
   \let\optitem\ltd@item}
  {\endlist}
\renewenvironment*{valuelist}[1][]
  {\list{}{%
     \ifblank{#1}
       {\setlength{\labelwidth}{5em}}
       {\setlength{\labelwidth}{#1}}%
     \setlength{\labelsep}{1em}%
     \setlength{\leftmargin}{\labelwidth}%
     \addtolength{\leftmargin}{\labelsep}%
     \setlength{\itemsep}{0pt}%
     \renewcommand*{\makelabel}[1]{\valuelistfont##1\hss}}}
  {\endlist}
\newcommand*{\valuelistfont}{%
  \color{olive}\sffamily\displayverbfont}
\renewcommand*{\optionlistfont}{%
  \color{sufred}\sffamily\displayverbfont}
\renewcommand*{\ltxsyntaxlabelfont}{%
  \color{sufred}\sffamily\displayverbfont}
% Table of contents
\renewcommand\tableofcontents{%
\setlength{\columnsep}{1cm}
{\centering	    
   \section*{\contentsname}%
	      \@mkboth{\contentsname}{\contentsname}%
	 }	 
        \thispagestyle{empty}
        \begin{multicols}{2}
	    \@starttoc{toc}%
	    	\end{multicols}
		}
% Correct (?) \optitem to use \meta inside #2
\renewcommand*{\ltd@ol@optitem}[3][]{%
  \ifblank{#1}
    {\ltd@option{}{#2}{#3}{}}
    {\ltd@option{}{#2}{#3}{\ltd@textverb{#1}}}}%
\makeatother


\setcounter{tocdepth}{3}
\setcounter{section}{-1}
% HYPERREF
\usepackage{hyperref}
\hypersetup{%
    pdftitle={User's Guide to \textsf{suftesi}},
    pdfsubject={A document class for typesetting theses, 
      books and articles},
    pdfauthor={Ivan Valbusa},
    pdfkeywords={thesis, humanities, books},
    hidelinks
    }   

\EnableCrossrefs         
\CodelineIndex
\RecordChanges

\begin{document}
  \DocInput{suftesi.dtx}
\end{document}
%
%</driver>
% \fi
%
% \CheckSum{4112}
%
% \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{v2.0.1}{2015/03/31}{Corrected a bug in \opt{version} option.}
% \changes{v2.0}{2015/03/29}{New page layout \opt{standardaureo}. Enhanced support for \LuaLaTeX. Headers settings are now executed \cmd{AtBeginDocument}. Loaded \sty{ifluatex} and \sty{ifthen} packages. Added \opt{listparindent} to \cmd{setlist} options. Updated documentation.}
% \changes{v1.9c}{2014/04/05}{The \opt{cbgreek} value for the \opt{greekfont} option allows now to use the full set of the CB Greek font together with the default font (Palatino).}
%  \changes{v1.9b}{2014/02/16}{Corrected a bug in ``toc'', ``lof'' and ``lot'' commands.}
%  \changes{v1.9a}{2014/02/11}{Maintenance release. Updated greek support. Updated documentation.}
% \changes{v1.9}{2013/09/21}{Added \opt{italic}, \opt{smallcaps} and \opt{sanserif} values for \opt{captionstyle} option. New \opt{twocolcontents} option. New \opt{supercompactaureo} page layout. Changed \cmd{toclabelspace} command and renamed to \cmd{toclabelwidth}. New \opt{collection} document structure}
% \changes{v1.8}{2013/07/18}{Maintenance release. Corrected a bug in the definition of \cmd{appendix}}
% \changes{v1.7}{2013/06/20}{Renamed \opt{viewmode} option to \opt{version}:  
% renamed \opt{print} value to \opt{draft} and 
% added \opt{final} value. New \opt{smallcapsstyle} option.}
% \changes{v1.6}{2013/04/17}{New option \opt{viewmode}. Corrected bugs in the definition of \cmd{listoffigures}, \cmd{listoftables} and \cmd{tableofcontens} commands. Updated documentation.}
% \changes{v1.5}{2013/03/22}{The \sty{microtype} package is loaded for all engines. Improved compatibility with \sty{todonotes} package and with \sty{mdframed} and \sty{bookmark} packages when using \sty{style} class option. New option \opt{viewmode}}
% \changes{v1.4}{2013/03/15}{New value \opt{periodicalaureo} for option \opt{pagelayout}. Changed code for \cmd{xfootnote} command.}
% \changes{v1.3}{2013/03/05}{Updated documentation. Added \opt{FSPLa}, 
% \opt{FSPLb} and \opt{FSPLc} styles.}
% \changes{v1.2}{2012/10/24}{Maintenance release. Added the 
% \cmd{toclabelspace} command.}
% \changes{v1.1}{2012/10/20}{Added the \sty{fixltxhyph} package. 
% Documentation updated.}
% \changes{v0.9c}{2012/09/25}{Maintenance release, no changes}
% \changes{v0.9b}{2012/09/23}{Restored \opt{11pt} and \opt{12pt} option 
% to default}
% \changes{v0.9a}{2012/08/31}{Added \option{inline} option to 
% \sty{enumitem} package. Deleted \opt{centertitle} option. 
% Deleted \opt{sctitles} option. 
% Changed code for toc, lot and lof elements. }
% \changes{v0.9}{2012/04/22}{Improved compatibility 
% with \sty{mathspec}}
% \changes{v0.8}{2012/03/19}{Added macro for using \sty{frontespizio} 
% package with \opt{compact} and \opt{supercompact} options.}
% \changes{v0.7}{2011/02/05}{Maintenance release, no changes. 
% Provided a thesis template}
% \changes{v0.6c}{2011/11/16}{Maintenance release, no changes}
% \changes{v0.6b}{2011/11/07}{Improved full compatibility with 
% \XeLaTeX. 
% \sty{varioref} and \sty{footmisc} packages are no longer loaded}
% \changes{v0.6a}{2011/10/24}{Maintenance release, no changes}
% \changes{v0.6}{2011/10/21}{English documentation. Renamed options 
% \opt{plain} and \opt{fullplain} to \opt{centerheadings} 
% and \opt{sufplain}.}
% \changes{v0.5}{2011/10/21}{First public release. 
% The frontispiece of \sty{suftesi}{} is now
% included in the package \sty{frontespizio}. 
% New option \opt{fullplain} 
% Changed option \opt{sctitles}.}
% \GetFileInfo{suftesi.dtx}
%
% \DoNotIndex{\hskip,\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}
% \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,\vfil,\vspace,\write,\z@}
% \DoNotIndex{\addvspace,\setcounter,\addcontentsline}
% \DoNotIndex{\filleft,\filcenter,\filright,\geometry}
% \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{% 
% {\fontsize{32}{34}\color{sufred}\bfseries 
%   User's Guide to 
% \textsf{S\kern-2pt\lower3pt\hbox{U}\kern-2.5ptF\kern-1pttesi}\\[3mm]}
% {\large\itshape A document class for typesetting theses, 
% books and articles\\[3ex]}
% \normalsize\fileversion{} -- \filedate}
% \author{Ivan Valbusa\\
%  \small Dipartimento di Filologia, Letteratura e Linguistica\\[-0.2ex]
%  \small Università degli Studi di Verona\\
%  \footnotesize\texttt{ivan dot valbusa at univr dot it}}
% \date{}
% \maketitle
% \thispagestyle{empty}
%
% \begin{abstract}
% \noindent The standard document classes allow you to typeset beautiful
% documents but their layout is quite far from the stylistic requests
% of some humanists (mainly Italian). The \sty{suftesi} class
% provides a set of ``humanistic'' page layouts, title styles 
% and heading styles to typeset books, articles and theses. 
% The styles are very simple and sober and also have the aim of
% finding an aesthetic harmony in its formal simplicity. They are
% largely inspired by some interesting readings, particularly
% \citetitle{Bringhurst:1992} by R.~\citeauthor{Bringhurst:1992}, \citetitle{Tschichold:1975} by J.~\citeauthor{Tschichold:1975} and
% \citetitle{Morison:1111} by S.~\citeauthor{Morison:1111}.
% \end{abstract}
% 
% \tableofcontents
%
% \vfill
%
% 
% \section*{Copyright notice}
%
%Copyright \copyright\ 2009-\the\year{} 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 ora later (\url{http://latex-project.org/lppl}). This software is provided ''as is'', without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose.
%
% \bigskip
%
%\noindent In addition to the terms of this license 
% the author requires an attribution notice (see section 
% \ref{sec:commands}) like the following one: \emph{This work has been 
% typeset with \LaTeX{}, using the \textsf{suftesi} class by Ivan Valbusa.}
%
% \bigskip
%
% \noindent The most essence of this class is the set of styles it
% provides. For this reason 
% \textcolor{sufred}{\scshape\lsstyle do not modify the styles of this class with packages 
% and/or commands which change the layout of the document. 
% If you do not like these styles, use another class.}
% 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*{Feedback}
%
%
%If you have any questions, feedback or requests please email me. 
%My mail address is at the top of this document. If you need specific features not already implemented, remember to attach the example files.
%
% \clearpage
%
% \section{A brief history}
%
% The \sty{suftesi} class was born as a result of the course \emph{Introduzione a \LaTeX{} per le scienze umane} (\emph{Introduction to \LaTeX{} for the human sciences}) which I held at the Graduate School of Human Sciences and Philosophy  (\textcolor{sufred}{\textbf{S}}cienze \textcolor{sufred}{\textbf{U}}mane e \textcolor{sufred}{\textbf{F}}ilosofia) of Verona University (Italy) in June 2010. Originally thought as a class to typeset theses, during these years it has developed many new features and styles. Finally it has become the referential class of the Joint Project \emph{Formal Style for PhD Theses with LaTeX} of the University of Verona (Italy).
%
%\bigskip
%
% {\em\noindent I would like to thank Professors Paola Di~Nicola,
% Director of the Graduate School, and Ugo Savardi who suggested to propose the course precisely to that School; Gilberto D'Arduini, Matteo Lanza and Antonio Rinaldi, who installed \LaTeX{} on the computers used during the course; Catia Cordioli, for her help in the organization of the lessons; Corrado Ferreri, responsible of the \mbox{E-Learning} Center, who provided the \TeX{}~Live~2009 \textsc{DVD}s.
% Special thanks to Professors Enrico~Gregorio, the Italian guru of \TeX, for the \TeX pert support and his priceless ``magic formulas'', and Tommaso Gordini for his valuable advice in choosing and improving the class features during these years.
%I would finally thank all the participants to the course who patiently resisted the four intensive lessons. This work is dedicated to them.}
%
%
% \section{Use}
% 
% The \sty{suftesi} class is called as usual by
% \begin{ttquote}
% \cmd{documentclass}\oarm{options}\ar{suftesi}
% \end{ttquote}
% You do not need to set the \opt{a4paper} option as it is automatically loaded. 
% All the options defined by the class are in the \meta{key}=\meta{value} format.
% ^^A \begin{verbatim}
% ^^A \cmd{documentclass}[\\
% ^^A \opt{pagelayout=periodical},\\
% ^^A \opt{chapfont=roman},\\
% ^^A \opt{tocstyle=ragged},\\
% ^^A \opt{marginpar=false},\\
% ^^A ...\\
% ^^A ]\ar{suftesi}
% ^^A \end{verbatim}
% In addition to these you can also use the options defined by the standard \sty{book} class (on which \sty{suftesi} is based) except those modifying 
% the page dimensions (\opt{a5paper}, \opt{b5paper},  \opt{legalpaper}, \opt{executivepaper}  and \opt{landscape}), which are automatically disabled.
%
% \subsection*{The document structure}
%
% With \sty{suftesi} you can typeset book-style documents (i.e. with chapters) as well as article-style documents (i.e. without chapters). The kind of document is set by the \opt{documentstructure} option which defaults to \opt{book}. With the \opt{collection} document structure you can also create collections of papers (see section \ref{sec:collection}). 
%
% \begin{ttquote}
% \cmd{documentclass}\oar{documentstructure=book,\meta{options}}\ar{suftesi}\\
% \cmd{documentclass}\oar{documentstructure=article,\meta{options}}\ar{suftesi}\\
% \cmd{documentclass}\oar{documentstructure=collection,\meta{options}}\ar{suftesi}
% \end{ttquote}
% 
% \paragraph*{Loaded packages}
%
% \changes{v0.9b}{2012/09/23}{The \sty{mparhack} package is no longer loaded. 
% It is not compatible with \sty{crop}}
%
% The class loads the following packages: \sty{beramono},
% \sty{caption}, \sty{color}, \sty{enumitem}, \sty{emptypage}, \sty{extramarks}, 
% \sty{fancyhdr}, \sty{fixltxhyph}, \sty{fontenc}, \sty{geometry},  
% \sty{ifxetex}, \sty{ifluatex}, \sty{ifthen}, \sty{mathpazo}, 
% \sty{microtype}, \sty{multicol}, \sty{substitutefont}, \sty{textcase}, \sty{titlesec}, \sty{titletoc}, \sty{xkeyval}. 
% \changes{v0.9b}{2012/09/23}{The \sty{epigraph} package is no longer loaded}
%
% \paragraph*{Use with \XeLaTeX{} and \LuaLaTeX}
% 
% For using the class with the \XeTeX{} and \LuaTeX{} engines you need to load the \sty{fontspec} package (\sty{mathspec} is an alternative only for \XeTeX). Whit these engines the font options are turned off and the \LaTeX{} default font (Computer Modern) is loaded. 
%
%
% \section{Class features}
% 
% The \sty{suftesi} class provides a large set of options to customize the style of page, titles, headings and other text elements (see section \ref{sec:options}). The simplest way to get to know the class features is therefore to typeset one of the templates which you can find in the \texttt{/doc/latex/suftesi} folder in your \LaTeX{} distribution.
% 
%
% \subsection{Page layouts}
%
% The class provides six page layouts which can be selected by the \opt{pagelayout} option (see section \ref{sec:page-styles}). The \opt{standard} layout (set by default) is aimed to typeset standard A4 documents, while the other five layouts are particularly suitable to typeset compact books and articles (see table \ref{tab:layouts} for details).
%
% \begin{table}[h]
% \centering
% \begin{tabular}{lcccccccc}
%\toprule
%&\multicolumn{4}{c}{Dimensions (mm)}&\multicolumn{4}{c}{Proportions}\\\cmidrule(lr){2-5}\cmidrule(lr){6-9}
%&\multicolumn{2}{c}{Text}&\multicolumn{2}{c}{Page}& \multicolumn{2}{c}{Margins}&&\\\cmidrule(lr){2-3}\cmidrule(lr){4-5}\cmidrule(lr){6-7}
%Layout         &width &	height&	width&	height&t\,/\,b&i\,/\,o&Text block& Page\\\cmidrule(lr){2-3}\cmidrule(lr){4-5}\cmidrule(lr){6-7}\cmidrule(lr){8-9}\cmidrule(lr){1-1}
%\opt{standard} &	110&	220&	210&	297&$1:2$&$1:2$&$1:2$&$1:\kern-3pt\sqrt{2}$\\
%\opt{standardaureo} &	136&	220&	210&	297&$2:3$&$2:3$&$5:8$\makebox[0pt]{\ \textsuperscript{*}}&$1:\kern-3pt\sqrt{2}$\\
%\opt{compact}&	110&	165&	160&	240&$2:3$&$2:3$&$2:3$&$2:3$\\
%\opt{compactaureo}&	118&	191&	160&	240&$2:3$&$2:3$&$5:8$\makebox[0pt]{\ \textsuperscript{*}}&$2:3$\\
%\opt{supercompact}&	100	&150&	140&	210&$2:3$&$2:3$&$2:3$&$2:3$\\
%\opt{supercompactaureo}&	108	&175&	140&	210&$1:1$&$1:1$&$5:8$\makebox[0pt]{\ \textsuperscript{*}}&$2:3$\\
%\opt{periodical}	&110&	165&	170&	240&$2:3$&$2:3$&$2:3$&$1:\kern-3pt\sqrt{2}$\\
%\opt{periodicalaureo}&	120&	194&	170&	240&$2:3$&$2:3$&$5:8$\makebox[0pt]{\ \textsuperscript{*}}&$1:\kern-3pt\sqrt{2}$\\
%
%\opt{elements} (pt)&	251&	502&	374&	648&$1:2$&$2:5$&$1:2$&$1:\kern-3pt\sqrt{3}$\\
% \bottomrule\\[-2ex]
% \multicolumn{9}{r}{\footnotesize\textsuperscript{*} $5:8\approx 1:1,618$}
%\end{tabular}\\[-4ex]
% \caption{The layouts of \sty{suftesi}}\label{tab:layouts}
% \end{table}
%
% \subsection{Font}
%
% The default serif font for body text is
% {\fontfamily{ppl}\selectfont Palatino designed by Hermann Zapf}\index{Zapf, Hermann} and loaded through the \sty{mathpazo} package, but you can simply choose {\fontfamily{lmr}\selectfont the standard Latin Modern} through the \opt{defaultfont} option (see section \ref{sec:options}). 
% The \textsf{sans serif} font is Iwona designed by Janusz M.~Nowacki\index{Nowacki, Janusz M.} and the \texttt{monospaced} typeface is Bera Mono, opportunely scaled to match Palatino. 
% This choice has been inspired by \emph{L'arte di scrivere con \LaTeX{}} \parencite{Pantieri:2011}. 
% The  Greek text is {\fontfamily{artemisia}\selectfont Artemisia} by the {\fontfamily{artemisia}\selectfont Greek Font Society} (a) which is particularly suitable for Palatino, but with the \opt{greekfont} option (see section \ref{sec:options}) you can choose also Porson (b) or CB Greek (c). 
% The first code for the Porson font has been written by Enrico 
% Gregorio. Claudio Beccari successively added the code to improve the 
% scale factor when using this greek font in combination with Palatino.
%
% \begin{mdframed}
%\fontfamily{ppl}\selectfont\small
%\noindent\begin{minipage}[t]{.32\textwidth}
% \raggedright
%\foreignlanguage{greek}{%
%\fontfamily{artemisia}\selectfont
%T`o g`ar kal`on >en meg'ejei ka`i t'axei >est'in.}~Il bello infatti sta nella grandezza e 
% nell'ordinata disposizione delle parti.
%
% {\vskip2ex\footnotesize\centering (a) Artemisia (Greek Font Society)\\}
%\end{minipage}\hfill
%\begin{minipage}[t]{.32\textwidth}
% \raggedright
%\foreignlanguage{greek}{%
%\fontfamily{porson}\selectfont
%T`o g`ar kal`on >en meg'ejei ka`i t'axei >est'in.}~Il bello infatti sta nella grandezza e 
% nell'ordinata disposizione delle parti.
%
% {\vskip2ex\footnotesize\centering  (b) Porson (Greek Font Society)\\}
%\end{minipage}\hfill
%\begin{minipage}[t]{.32\textwidth}
% \raggedright
%\foreignlanguage{greek}{%
%\fontfamily{lmr}\selectfont
%T`o g`ar kal`on >en meg'ejei ka`i t'axei >est'in.}~Il bello infatti sta nella grandezza e 
% nell'ordinata disposizione delle parti.
% {\vskip2ex\footnotesize\centering  (c) CB Greek (Claudio Beccari)\\}
%\end{minipage}
% \end{mdframed}
% You can use other fonts as well. In this case remember to load the \opt{defaultfont=standard} class option 
% which turns off the default font settings. 
%
% \subsection{Frontispiece} 
%
% The class has an original frontispiece (see figure \ref{fig:frontispiece}) now directly available 
% loading the \sty{frontespizio} package  
% with the \opt{suftesi} option % \parencite[see][version 1.4 or later]{Gregorio:frontespizio}:
% \begin{ttquote}
% \cmd{usepackage}\oar{suftesi}\ar{frontespizio}
% \end{ttquote}
% 
% The \sty{frontespizio} package produces a frontispiece in the standard Computer Modern typeface. If you prefer a consistent font remember to load the needed packages or commands in the \cmd{Preambolo} command inside the \env{frontespizio} environment (see package documentation for details).
%
%
%
% \begin{figure}
%\vbox to .9\textheight{
% \vskip-1cm
%\begin{tikzpicture}[overlay]
% \draw[draw=none,yshift=-23.8cm,xshift=.8cm,scale=0.75,fill=gray!20] (0,0) rectangle (21cm,29.7cm);
% \draw[draw=none,yshift=-23.5cm,xshift=.5cm,scale=0.75,fill=gray!5] (0,0) rectangle (21cm,29.7cm);
%\draw[line width=1.5mm,fill=sufred!50,text=white,draw=sufred!60] (4.5cm,-4.25cm) circle (9mm) node {\parbox{12mm}{\centering\scriptsize * * * \\  St. Anford\\ University\\[1mm] * * * }};
%\node[anchor=north west] at (5.95cm,-3.3cm) {%
%  \parbox{8cm}{%
%    \small University of St. Anford\par
%      \normalsize Department of Typography
%      \vskip1ex\hrule\vskip1.2ex
%        \large Ph.D. degree in \TeX{} and \LaTeX
%
% \vspace{4cm}
%
%    {\LARGE\sffamily\color{sufred} How to prepare\par
%      a formal frontispiece\par}
%      \vspace{2ex}
%      
%      {\normalsize\sffamily Theory and practice\par}
%
% \vspace{3cm}
%
%    {\normalsize\sffamily Candidate:\par}
%    \small Enrico Gregorio
%      \vspace{5ex}
%      
%    {\normalsize\sffamily Thesis advisor:\par}
%    \small Prof. R. J. Drofnats
%    \vspace{2ex}
%
%    {\normalsize\sffamily Research supervisors:\par}
%    \small J. H. Quick\par 
%     B. L. User\vspace{2.5cm}
%
% Thesis submitted in 2010
% }
%      };
%
%\end{tikzpicture}
%}
%\caption{The frontispiece of \sty{suftesi}}\label{fig:frontispiece}
% \end{figure}
%
% \section{Options}\label{sec:options}
%
% \subsection{Layout}\label{sec:page-styles}
%
%\begin{optionlist}
% \setlength{\labelwidth}{3cm}%
%\optitem[book]{documentstructure}{\opt{book}, \opt{article}, \opt{collection}}
% \changes{v0.9b}{2012/09/23}{New option \opt{documentstructure}} 
% \begin{valuelist}[3cm]
% \item[book] For typesetting texts with chapters.
% \item[article] For typesetting articles or short theses 
% (that is  without chapter division).
% \item[collection] For typesetting journals or collections of articles (see section \ref{sec:collection}).
% \end{valuelist}
%\optitem[standard]{pagelayout}{\opt{standard}, \opt{standardaureo},  \opt{periodical}, \opt{periodicalaureo}, \opt{compact}, \opt{compactaureo},  \opt{supercompact}, \opt{supercompact}, \opt{elements}}
% \changes{v0.9b}{2012/09/23}{New option \opt{pagestyle}}
%\begin{valuelist}
%\item[standard]
% Prints an A4 typeblock with a 
% text area of $\SI{110}{mm} \times \SI{220}{mm}$.
%\end{valuelist}
% With the following values the option prints the typeblock 
% on a an A4 paper showing the crop marks which can be controlled 
% by the \opt{version} option.
%\begin{valuelist}[3.2cm]
%\item[periodical]
% Prints a typeblock  of $\SI{17}{cm} \times \SI{24}{cm}$ with a text area of  $\SI{11}{cm} \times \SI{16,5}{cm}$.
%\item[periodicalaureo] The same of \opt{periodical} but with a 
% \emph{golden ratio} text area of $\SI{120}{cm} \times \SI{194}{mm}$. 
%\item[compact]
% Prints a typeblock  of $\SI{16}{cm} \times \SI{24}{cm}$ with a text area of $\SI{11}{cm} \times \SI{16,5}{cm}$. 
%\item[compactaureo]
% The same as \opt{compact} but with 
% a \emph{golden ratio} text area of $\SI{11,8}{cm} \times \SI{19,1}{cm}$.%\item[supercompact]
% Prints a typeblock  of  $\SI{14}{cm} \times \SI{21}{cm}$  with a text area of $\SI{10}{cm} \times \SI{15,5}{cm}$.
%\item[supercompactaureo]
% The same as \opt{supercompact} but with 
% a \emph{golden ratio} text area of $\SI{10,8}{cm} \times \SI{17,5}{cm}$.
% \item[elements] Prints a typeblock with the dimensions of 
% \textcite{Bringhurst:1992}.
% To reproduce the whole 
% style of this book use \opt{style=elements} option instead.
%\end{valuelist}
% The details of this option are shown in table \ref{tab:layouts}.
% \optitem[final]{version}{\opt{screen}, \opt{draft}, \opt{final}}
% \begin{valuelist}
% \item[screen] 
% Prints the \textsc{pdf} with its real dimensions (according to the \opt{pagelayout} option) and execute the \opt{oneside} option.
% It is provided to have a better view when you are 
% typesetting and reading the \textsc{pdf} on the screen.
% \item[draft] 
% Prints the output on a A4 paper, showing the crop marks.
% \item[final] Prints the output on a A4 paper, hiding the crop marks.
% \end{valuelist}
%\end{optionlist}
%
%\subsection{Fonts}
%
% \redtriangle{} These options are available only with \LaTeX.
% Using \XeLaTeX{} or \LuaLaTeX{} 
% the default font is the Computer Modern but you can change it through 
% the \sty{fontspec} or \sty{mathspec} (\XeLaTeX{} only) packages. With these engines I do suggest the EB Garamond or Linux Libertine font families.
% 
%\begin{optionlist}
% \setlength{\labelwidth}{2.5cm}%
% \optitem[palatino]{defaultfont}{\opt{palatino}, \opt{standard}}
%   \begin{valuelist}
%     \item[palatino] Loads the Palatino font family.
%     \item[standard] Loads the {\fontfamily{lmr}\selectfont Latin Modern} font family 
%                     and the standard CB Greek font.
%   \end{valuelist}
% \optitem[artemisia]{greekfont}{\opt{artemisia}, \opt{porson}, 
% \opt{cbgreek}}
% \changes{v0.9b}{2012/09/23}{New option \opt{greekfont}}
%   \begin{valuelist}
%     \item[artemisia] Loads the Artemisia font.
%     \item[porson] Loads the Porson font.
%     \item[cbgreek] Loads the standard CB~Greek font.
%   \end{valuelist}
% \end{optionlist}
%
% 	\subsection{Titles}
%
% \begin{optionlist}
% \setlength{\labelwidth}{2.5cm}%
% \optitem[roman]{\meta{level}font}{\opt{roman}, \opt{italic}, 
% \opt{smallcaps}}
%   \begin{valuelist}
%     \item[roman] Prints the \meta{level} title in roman.
%     \item[italic] Prints the \meta{level} title in \emph{italic}.
%     \item[smallcaps] Prints the \meta{level} title 
%      in \textsc{small caps}
%   \end{valuelist}
%   Where \meta{level} can be \opt{part}, \opt{chap}, \opt{sec},
%   \opt{subsec}, \opt{subsubsec}.
% \optitem[left]{\meta{level}style}{\opt{left}, \opt{center}, 
% \opt{right}, \opt{parleft}, \opt{parcenter}, 
% \opt{parright}}
%   \begin{valuelist}
%     \item[left] Aligns the \meta{level} title on the left.
%     \item[center] Centers the \meta{level} title. 
%     \item[right] Aligns the \meta{level} title on the right.
%   \end{valuelist}
%   Where \meta{level} can be \opt{part}, \opt{chap}, \opt{sec}
%   \opt{subsec}, \opt{subsubsec}.
%   \begin{valuelist}
%     \item[parleft] As \opt{left} but with the title below the number.
%     \item[parcenter] As \opt{center} but with the title below the number.
%     \item[parright] As \opt{right} but with the title below the number.
%   \end{valuelist}
%   Where \meta{level} can be \opt{part}, \opt{chap}, \opt{sec}.
%   \begin{valuelist}
%     \item[elements] Print a chapter number in the style of \textcite{Bringhurst:1992}.
%   \end{valuelist}
%   Where \meta{level} can be \opt{chap}.
% \optitem[Roman/arabic/arabic]{\meta{level}numstyle}{\opt{arabic}, 
% \opt{roman}, \opt{Roman}, \opt{dotarabic}, \opt{dotroman}, 
% \opt{dotRoman}}
%   \begin{valuelist}
%     \item[arabic] Arabic \meta{level} number.
%     \item[roman] Small caps lowercase roman \meta{level} number.
%     \item[Roman] Uppercase roman \meta{level} number.
%     \item[dotarabic] As \opt{arabic} but followed by a dot.
%     \item[dotroman] As \opt{roman} but followed by a dot.
%     \item[dotRoman] As \opt{Roman} but followed by a dot.
%   \end{valuelist}
%   Where \meta{level} can be \opt{part}, \opt{chap}, \opt{sec}.
% \optitem[standard]{tocstyle}{\opt{standard}, \opt{dotted}, 
% \opt{ragged}, \opt{leftpage}}
% \changes{v0.9b}{2012/09/23}{New option \opt{tocstyle}}
%	\begin{valuelist}
%		\item[standard] Prints a standard table of contents with
%   page numbers on the right margin.
%		\item[dotted] As the previous one but with dotted lines.
%		\item[ragged] Aligns the table of contents on the left 
%			as suggested by \textcite{Bringhurst:1992}.
%		\item[leftpage] Prints a table of contents with page numbers 
%     on the left margin.
%	\end{valuelist}
% \optitem[all]{twocolcontents}{\opt{toc}, \opt{lof}, 
% \opt{lot}, \opt{toclof}, \opt{toclot}, \opt{loflot}, \opt{all}}
% This option activates the \opt{tocstyle=ragged} option 
% and disables the other values of \opt{tocstyle}.
%	\begin{valuelist}
%		\item[toc] Prints the table of contents in two columns.
%		\item[lof] Prints the list of figures in two columns.
%		\item[lot] Prints the list of tables in two columns.
%		\item[toclof] Prints the table of contents 
%    and the list of figures in two columns.
%		\item[toclot] Prints the table of contents 
%    and the list of tables in two columns.
%		\item[loflot] Prints the list of figures 
%    and the list of tables in two columns.
%		\item[all] Prints the table of contents, 
%    the list of figures and the list of tables in two columns.
%	\end{valuelist}
% \optitem[low]{smallcapsstyle}{\opt{low}, \opt{upper}}
% This option is active only with \opt{\meta{level}font=smallcaps} options.
%   \begin{valuelist}
%     \item[low] Prints lowercase \textsc{small capitals}.
%     \item[upper] Prints \textsc{Small Capitals} without changing the case.
%   \end{valuelist}
% \end{optionlist}
%
% \subsection{Headings}
%
% \begin{optionlist}
% \setlength{\labelwidth}{2.5cm}%
% \optitem[inner]{headerstyle}{\opt{inner}, \opt{center}, 
% \opt{plain}, \opt{authortitleinner}, \opt{authortitlecenter}, 
% \opt{elements}}
%   \begin{valuelist}[3.1cm]
%     \item[inner] Prints the chapter title and the string ``Chapter~ 
%     \meta{n}'' in the inner side 
%      respectively of even and odd 
%     headers, and the page number in the outer side.
%     \item[center] Centers the header and footer and puts 
%       the page number in the center of the footer.
%     \item[plain] Prints no headers and puts the page number 
%       in the center of the footer.
%     \item[authortitleinner]
%       Prints the author's 
%       name on the even pages and the title on the odd ones. 
%       In order to use this option the \cmd{title} and 
%       \cmd{author} commands are required.
%     \item[authortitlecenter]
%       As the previous one but with centered headers and footers.
%     \item[elements]
%       Prints the chapter title and the section title in the margin 
%       respectively of even pages and odd pages. The page number is 
%       put in the outer side of the footer. This is the style loaded 
%       by the option \opt{style=elements}.
%   \end{valuelist}
% \optitem[roman]{headerfont}{\opt{roman}, \opt{italic}, 
% \opt{smallcaps}}
%   \begin{valuelist}
%     \item[roman] Prints the headers in roman.
%     \item[italic] Prints the headers in \emph{italic}.
%     \item[smallcaps] Prints the headers in \textsc{small caps}.
%   \end{valuelist}
% \end{optionlist}
%
% \subsection{Notes, lists, quotations}
%
% \begin{optionlist}
% \setlength{\labelwidth}{2.5cm}%
% \optitem[center]{quotestyle}{\opt{center}, \opt{right}}
%  \changes{v0.9b}{2012/09/23}{New option \opt{quotestyle}} 
% \begin{valuelist}
% \item[center] 
% Indents the block quotations
% on both the left and right margins.
% \item[right] 
% Indents the block quotations
% only on the left margin.
% \end{valuelist}
% \optitem[footnotesize]{quotesize}{\opt{footnotesize}, \opt{small}}
%  \changes{v0.9b}{2012/09/23}{New option \opt{quotationfont}} 
% \begin{valuelist}[2.3cm]
% \item[footnotesize] 
% Prints the block quotations 
% in \cmd{footnotesize} size.
% \item[small] 
% Prints the block quotations 
% in \cmd{small} size.
% \end{valuelist}
% \optitem[bulged]{footnotestyle}{\opt{bulged}, \opt{hung}, 
% \opt{dotted}, \opt{superscript}}
% \changes{v0.9b}{2012/09/23}{Changed \opt{standardfootnote} option 
% and renamed to \opt{footnotestyle}}
% \begin{valuelist}[2cm]
% \item[bulged] The footnote number protrudes beyond the left margin.
% \item[hung] 
% Indents the footnote text, so it will hang 
% under the first line of the text. 
% \item[dotted] 
% The footnote number is aligned to the left margin
% and followed by a dot. 
% \item[superscript] 
% Prints a superscript footnote number aligned to the left margin. 
% \end{valuelist}
% \boolitem[false]{fewfootnotes}
% \changes{v0.9b}{2012/09/23}{New option \opt{fewfootnotes}}
% Uses symbols instead of numbers to mark footnotes.
% It is active only in documents with 
% three footnotes per page maximum. 
% The symbol sequence is: *, **, ***. 
% With more footnotes you should not need this option.
% \optitem[bulged]{liststyle}{\opt{bulged}, \opt{aligned}, \opt{indented}}
% \begin{valuelist}
% \item[bulged]
% The item number or symbol protrudes beyond the left margin.
% \item[aligned]
%  Aligns the lists to the left margin.
% \item[indented]
%  Prints standard indented lists.
% \end{valuelist}
% \optitem[standard]{captionstyle}{\opt{standard}, \opt{sanserif}, \opt{italic}, \opt{smallcaps}, \opt{elements}}
% All these values print the caption in small size, changing the shape:
% \begin{valuelist}
% \item[standard] Prints the caption text and label in normal font.
% \item[sanserif] Prints the caption text and label in \textsf{sanserif}.
% \item[italic] Prints the caption text and label in \emph{italic}. 
% \item[smallcaps] Prints only the caption label in \textsc{small caps}.
% \item[elements] An alias of \opt{sanserif}.
% \end{valuelist}
% \end{optionlist}
%
%
% \subsection{Other options}
%
%\begin{optionlist}
% \settowidth{\labelwidth}{marginpar}
% \optitem[compact]{parindent}{\opt{compact}, \opt{wide}}
%  \changes{v0.9b}{2012/09/23}{New option \opt{parindent}} 
% \begin{valuelist}
% Sets the indentation of the first line of each paragraph except those following a section title.
% \item[compact] 
%  Sets indentation to 1\,em.
% \item[wide] 
% Sets indentation to 1.5\,em.
% \end{valuelist}
%\boolitem[true]{marginpar}
% \begin{valuelist}
% \item[true] Prints the marginal notes.
% \item[false] Hide the marginal notes.
% \end{valuelist}
%\boolitem[false]{partpage}
% \changes{v0.9b}{2012/09/23}{New option \opt{partpage}}
% \redtriangle{} This option is active only with \opt{documentstructure=article}.
% \begin{valuelist}
% \item[true] Prints the part title in a separate page as in 
% \opt{documentstructure=book}
% \item[false] Prints a part title similar to the one used in the standard \opt{article} class.
% \end{valuelist}
% \optitem[false]{draftdate}{\opt{true}, \opt{false}}
%  \changes{v1.0}{2012/10/14}{First stable release. Renamed option \opt{bozza} to \opt{draftdate}} 
% If \opt{true} it prints the string ``Version of \meta{date}'' in the footer. It requires the \cmd{date}\ar{\meta{date}} command.
%\boolitem[true]{crop}
% \redtriangle{}  This option is actually useless. Use the \opt{version} option instead.
% \begin{valuelist}
% \item[true] Prints the output on a A4 paper, showing the crop marks. It is the same of \opt{version=draft}.
% \item[false] Prints a \textsc{pdf} with page dimensions 
% according to the \opt{pagelayout} option. It is similar to \opt{version=screen} but it does not execute \opt{oneside} option and it does not redefine \cmd{crop}.
% \end{valuelist}
% \end{optionlist}
%
% \subsection{Pre-defined styles}\label{sec:predefined-styles}
%
% These pre-defined styles are intended as shotrcuts to some groups of 
% class options. Combining them
% with \opt{dottedchap} and \opt{romanchapnum} options 
% you can get up to 120 variants. 
%
% \begin{optionlist}
% \optitem[roman1]{style}{\opt{roman(1-6)}, \opt{italic(1-12)}, 
% \opt{smallcaps(1-6)}, \opt{elements}, \opt{sufelements}}
% \begin{valuelist}[3cm]
% \item[roman(1-6)] The titles of chapters and headers are printed 
% in roman. The number of the chapter is on the same line in styles 
% 1-3 and above the title in styles 4-6.
% The title can be printed on the left (styles 1 and 4), 
% in the center (styles 2 and 5) or on the right (styles 3 and 6).
% \item[italic(1-12)]
% The titles of chapters and headers are in \emph{italic}. The section title is in \emph{italic}  in styles 1-6 and in \textsc{small caps}  in styles 7-12.
% There are three position for the title and two positions for the number as above.
% \item[smallcaps(1-12)]
% The titles of chapters and headers are in \textsc{small caps}. The  title of the section is in \emph{italic}  in styles 1-6 and in \textsc{small caps}  in styles 7-12.
% There are three position for the title and two positions for the chapter as above.
% \item[elements] Reproduces the style of the Italian edition of \textcite{Bringhurst:1992}.
% \item[sufelements] Combines the \opt{elements}-style sections with standard small caps headers. It can be used with all the page layouts.
% \end{valuelist}
% \end{optionlist}
% \begin{mdframed}[frametitle={The FSPL styles},linecolor=black!30,linewidth=1pt]
% 
% The following styles are only meant to typeset a doctoral thesis respecting the features required by the Joint Project \emph{Formal Style for PhD Theses with LaTeX} of the Verona University  (Italy).\footnote{\url{http://www.univr.it/main?ent=catdoc&id=3727&idDest=6&serv=127\#1431}.}
% \begin{optionlist}
% \optitem{style}{\opt{FSPLa}, \opt{FSPLb}, \opt{FSPLc}}
%   \begin{valuelist}
%     \item[FSPLa] Equal to: 
%   \opt{pagelayout=periodical},
%    \opt{style=roman1},\\
%    \opt{footnotestyle=superscript},
%    \opt{liststyle=indented},\\
%    \opt{tocstyle=ragged}.
%     \item[FSPLb] Equal to:
%    \opt{pagelayout=periodical},
%    \opt{style=italic5},\\
%    \opt{headerstyle=center},
%    \opt{chapnumstyle=roman},
%    \opt{secstyle=center},
%    \opt{quotestyle=right},
%    \opt{footnotestyle=hung},
%    \opt{liststyle=indented}.
%    \opt{tocstyle=dotted}.
%     \item[FSPLc] Equal to:
%    \opt{pagelayout=periodical},
%    \opt{style=smallcaps5},\\
%    \opt{secfont=smallcaps},
%    \opt{headerstyle=center},\\
%    \opt{footnotestyle=dotted},
%    \opt{liststyle=indented},\\
%    \opt{tocstyle=leftpage}.
%   \end{valuelist}
% \end{optionlist}
% \begin{ltxsyntax}
% \cmditem{FSPLcolophon}
% \changes{v1.3}{2013/03/05}{New command \cmd{FSPLcolophon}}
%
% To typeset the colophon in the FSPL style (see example below), according to the Joint Project \emph{Formal Style for PhD Theses with \LaTeX} of the Verona University  (Italy):
% 
% \begin{minipage}{.85\textwidth}
% \raggedright
% \rule{\textwidth}{.4pt}
%
%\noindent\textcircled{\raisebox{1pt}{\scalebox{.7}{cc}}} \the\year{} \meta{Name Surname}%
%\vskip1ex
% 
%
%\small\noindent This work is licensed under the Creative Commons 
%Attribution-NonCommercial-NoDerivs 3.0 Unported License. 
%To view a copy of this license, 
%visit http://creativecom mons.org/licenses/by-nc-nd/3.0/.
%
%\footnotesize
%
%\null\vspace{\stretch{1}}
%
%\noindent Typeset with \LaTeX{} in collaboration with the Joint Project 
%\emph{Formal Style for PhD Theses with \LaTeX{}} (University of Verona, 
%Italy) using the \textsf{suftesi} class by Ivan Valbusa. The text face 
%is Palatino, designed by Hermann Zapf. The sans serif font is Iwona by 
%Janusz M. Nowacki.
% \rule{\textwidth}{.4pt}
% \end{minipage}
% \end{ltxsyntax}
% \end{mdframed}
%
% \section{New commands}\label{sec:commands}
%
% \subsection{Printing the colophon} 
% 
% As explained at the beginning of this documentation, in addition to the terms of the \LaTeX{} Project Public License, \textsf{suftesi} requires a specific attribution notice. You can typeset the attribution notice manually or using one of these 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 of the page. For different languages 
% use the \cmd{bookcolophon} instead (see below).
% 
% If you don't need the copyright notice, leave the second argument of 
% the command empty:
% \begin{ttquote}
% \cmd{colophon\oarm{OS}\ar{}\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{latexcode}
%\begin{verbatim}
%\author{Name Surname
%  \thanks{This work has been typeset with \LaTeX,
%          using the  \textsf{suftesi} class by Ivan Valbusa}.}
%\end{verbatim}
%\end{latexcode}
%
% \cmditem{bookcolophon}{copyright notice}{attribution notice and 
% other informations}
% \changes{v0.6}{2011/10/21}{New command \cmd{bookcolophon}}
%
% Similar to \cmd{colophon} but completely customizable. 
% The first argument prints its content (usually the copyright notice) in the center of the page. 
% The second one prints its content at the bottom. For example:
%
%\begin{latexcode}
%\begin{verbatim}
% \bookcolophon{
%    Copyright © 2007 by Ivan Valbusa}{%
%    This work has been typeset with \LaTeX,
%    using the  \textsf{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}
%\end{latexcode}
%
% \cmditem{artcolophon}{copyright notice, attribution and other informations}
% \changes{v0.6}{2011/10/21}{New command \cmd{artcolophon}}
%
% This command only has one argument. It simply prints its content at the 
% bottom of the page.
%
% Here is an example:
%
%\begin{latexcode}
%\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 \textsf{suftesi} class 
%    by Ivan Valbusa.}
%\end{verbatim}
%\end{latexcode}
%
% \cmditem{finalcolophon}{colophon content}
%
% The same as \cmd{artcolophon}, but centering its content at the 
% top of the page. It is aimed at typesetting a classical \emph{colophon} 
% at the end of the work.
%
% \end{ltxsyntax}
%
% \subsection[Breaking titles]{Breaking titles in text body, headers and table of contents}
%
% \begin{ltxsyntax}
% \cmditem{headbreak}
%
% A manual break which is active for the table of contents but not in the text or in the headers.
%
% \begin{latexcode}
% \begin{verbatim}
% \section{This title will be break here \headbreak{} 
%     inside the table of contents}
%\end{verbatim}
% \end{latexcode}
% \cmditem{xheadbreak}
%
% A manual break which is active in the text but not in the headers and in the table of contents.
%
% \begin{latexcode}
% \begin{verbatim}
% \section{This title will be break here \xheadbreak{} 
%     inside the text}
%\end{verbatim}
% \end{latexcode}
%
% \end{ltxsyntax}
%
% \subsection{Other commands}
%
% \begin{ltxsyntax}
% \cmditem{toclabelwidth}{level}{dim}
%  \changes{v0.9a}{2012/08/31}{New command \cmd{toclabelspace}}
%
% Adds the \meta{dim} to the \meta{level} label in the table of contents, where \meta{level} can be \opt{part}, \opt{chap},  \opt{sec},  \opt{subsec},  \opt{subsubsec},  \opt{par},  \opt{subpar}, \opt{fig}, \opt{tab}. For example, when using \opt{chapnumstyle=Roman} you would probably need to adjust the width of the chapter label with:
%\begin{latexcode}
%\begin{verbatim}
% \toclabelwidth{chap}{1em}
%\end{verbatim}
%\end{latexcode}
% \end{ltxsyntax}
%
% \begin{ltxsyntax}
% \cmditem{xfootnote}[symbol]{footnote text}
% \changes{v0.9b}{2012/09/23}{New command \cmd{xfootnote}}
%
% A command to print a footnote with a discretionary
% symbols given in the optional argument (default=*).  
% It does not increment the footnote counter.
% \begin{ttquote}
% \cmd{xfootnote}\oar{\textdollar\cmd{dagger}\textdollar}\arm{Footnote text}\\
% \cmd{xfootnote}\oar{\cmd{textdagger}}\arm{Footnote text}
% \end{ttquote}
% \end{ltxsyntax}
%
%
% \begin{ltxsyntax}
%
% \cmditem{title}[short title for headers]{complete title for titlepage}
% \changes{v0.8}{2012/03/19}{Renewed \cmd{title} command}
% 
% Useful with \opt{authortitle} option if the title is too long
% or has some breaks. 
%
% \cmditem{chapterintro}
%
% Prints an unnumbered introduction at the beginning of the chapter, 
% 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{appendixpage}
% 
% Prints a page with the argument of \cmd{appendicesname} (default=\texttt{Appendici}) at the center. Particularly useful if you have two or more appendices.
%
% \cmditem{appendicesname}{name}\hfill(default=\texttt{Appendici})
%
% Changes in \meta{name} the title printed by the \cmd{appendixpage} command.
%
%
% \cmditem{chapnumfont}{name}
%
% \changes{v0.5}{2011/10/21}{New command \opt{chapnumfont}}
% Sets the font of the chapter number of \opt{style=elements/sufelements} styles. 
% The default is Palatino (\LaTeX) or Computer Modern  (\XeLaTeX{} and \LuaLaTeX). Using (pdf)\LaTeX{} you can change it simply giving the name of the font family. 
%
%For example, to select the Helvetica family you will need:
%\begin{latexcode}
%\begin{verbatim}
% \chapnumfont{phv}
%\end{verbatim}
%\end{latexcode}
% With \XeLaTeX{} and \LuaLaTeX{} the \cmd{fontspec} command is required:
%\begin{latexcode}
%\begin{verbatim}
% \chapnumfont{\fontspec[Numbers=OldStyle]{Helvetica}}
%\end{verbatim}
%\end{latexcode}
% \end{ltxsyntax} 
%
% \section{The \opt{collection} document structure}\label{sec:collection}
% 
% The \opt{collection} document structure is thought to compose a collection of papers. Each paper has to be typeset in a separate \file{.tex} file with the following structure:
%\begin{latexcode}
%\begin{verbatim}
% \author{Author}
% \title{Title of the paper}
%
%  % The abstract is optional.
%  % \begin{abstract}
%  %  The abstract
%  % \end{abstract}
%
% \maketitle
%
%   Text of the paper
%\end{verbatim}
% \end{latexcode}
% If the names of the papers are \file{article1.tex}, \file{article2.tex}, \file{article3.tex}, etc., then a minimal main file should be similar to this:
%
%\begin{latexcode}
%\begin{verbatim}
% \documentclass[documentstructure=collection]{suftesi}
%
% \begin{document}
%  \includeart{article1}
%  \includeart{article2}
%  \includeart{article3}
% \end{document}
%\end{verbatim}
%\end{latexcode}
%
%
% \subsection{Options}
%
% In addition to the following options you can use the other options of the class too. In particular, with the \opt{chapstyle} and \opt{chapfont} options you can customize all the section titles which are treated as a normal unnumbered chapters in the \opt{book} document structure, such as ``Table of Contents'', ``Index'', ``Bibliography'', etc.
%
% \begin{optionlist}
% \setlength{\labelwidth}{2cm}%
% \optitem[left]{papertitlestyle}{\opt{left}, \opt{center}, \opt{right}}
%   \begin{valuelist}
%     \item[left] Aligns the author-title block on the left.
%     \item[center] Centers the author-title block. 
%     \item[right] Aligns the author-title block on the right.
%   \end{valuelist}
% \optitem[false]{revauthortitle}{\opt{true}, \opt{false}}
%   \begin{valuelist}
%     \item[true] Prints the author’s name below the title.
%     \item[false] Prints the author’s name above the title.
%   \end{valuelist}
% \optitem[italic]{titlefont}{\opt{roman}, \opt{italic}, \opt{smallcaps}}
%   \begin{valuelist}
%     \item[roman] Prints the title of the articles in roman.
%     \item[italic] Prints the  title of the articles in \emph{italic}.
%     \item[smallcaps] Prints the  title of the articles 
%      in \textsc{small caps}.
%   \end{valuelist}
% \optitem[roman]{authorfont}{\opt{roman}, \opt{italic}, \opt{smallcaps}}
%   \begin{valuelist}
%     \item[roman] Prints the author's name in roman.
%     \item[italic] Prints the author's name in \emph{italic}.
%     \item[smallcaps] Prints the author's name in \textsc{small caps}. 
%
%       \redtriangle{} Note that if you use this last option you need 
%         to protect the \cmd{thanks} command:
% \begin{latexcode}
% \begin{verbatim}
%\author{The Author\protect\thanks{...}}
%\end{verbatim}
% \end{latexcode}
%\end{valuelist}
% \end{optionlist}
%
% \subsection{Commands} 
% \begin{ltxsyntax} 
% \cmditem{includeart}{file name} 
%
% Include the \meta{file name} in the collection. 
% \cmditem{frontispiece} 
% 
% Typeset the frontispiece of the collection.
%
% It requires the \cmd{collectiontitle} and \cmd{collectioneditor} commands in the preamble of your document.
%
% \cmditem{collectiontitle}{The Title of the Collection} 
%
% Sets the title of the collection. 
%
% \cmditem{collectioneditor}{The Editor(s)} 
%
% Sets the editor(s) of the collection.
%\end{ltxsyntax}
%
%
% ^^A\section*{Obsolete options}
%
% ^^A \begin{multicols}{2}
% ^^A \begin{ltxsyntax}
% ^^A \setlength{\parskip}{.5ex}
% ^^A \setlength{\itemindent}{1.5cm}
% ^^A \setlength{\labelwidth}{2.5cm}
% ^^A \optitem{defaultparindent}
% \changes{v0.9a}{2012/08/31}{New option \opt{defaultparindent}} 
% ^^A $\rightarrow$ \opt{parindent=compact}
% ^^A \optitem{ralignquotation}
% \changes{v0.9a}{2012/08/31}{New option \opt{ralignquotation}}
% ^^A$\rightarrow$ \opt{quotestyle=right}
% ^^A \optitem{smallquotation}
% \changes{v0.9a}{2012/08/31}{New option \opt{smallquotation}} 
% ^^A $\rightarrow$ \opt{quotesize=small}
% ^^A \optitem{dottedfootnote}
% \changes{v0.9a}{2012/08/31}{New option \opt{dottedfootnote}}
% ^^A $\rightarrow$ \opt{footnotes=dot}
% ^^A \optitem{indentlist} 
% \changes{v0.9a}{2012/08/31}{New option \opt{indentlist}} 
% ^^A $\rightarrow$ \opt{liststyle=indented}
% ^^A \optitem{alignlist} 
% \changes{v0.9a}{2012/08/31}{New option \opt{alignlist}} 
% ^^A $\rightarrow$ \opt{liststyle=aligned}
% ^^A \optitem{artemisia} $\rightarrow$ \opt{greekfont=artemisia}
% ^^A \optitem{porson} $\rightarrow$ \opt{greekfont=porson}
% ^^A \optitem{defaultgreek} $\rightarrow$ \opt{greekfont=cbgreek}
% ^^A \optitem{defaultfont} 
% ^^A $\rightarrow$ \opt{defaultfont=standard}
% ^^A \optitem{centerpart}
% \changes{v0.9a}{2012/08/31}{New option \opt{centerpart}} 
% ^^A $\rightarrow$ \opt{partstyle=center}
% ^^A \optitem{centerchap}
% \changes{v0.9a}{2012/08/31}{New option \opt{centerchap}} 
% ^^A $\rightarrow$ \opt{chapstyle=center}
% ^^A \optitem{centersec}
% \changes{v0.9a}{2012/08/31}{New option \opt{centersec}} 
% ^^A $\rightarrow$ \opt{secstyle=center}
% ^^A \optitem{rightpart}
% \changes{v0.9a}{2012/08/31}{New option \opt{rightpart}} 
% ^^A $\rightarrow$ \opt{partstyle=right}
% ^^A \optitem{rightchap}
% \changes{v0.9a}{2012/08/31}{New option \opt{rightchap}} 
% ^^A $\rightarrow$ \opt{chapstyle=right}
% ^^A \optitem{rightsec}
% \changes{v0.9a}{2012/08/31}{New option \opt{rightsec}} 
% ^^A $\rightarrow$ \opt{secstyle=right}
% ^^A \optitem{numparpart}
% \changes{v0.9a}{2012/08/31}{New option \opt{numparpart}} 
% ^^A $\rightarrow$ \opt{partnumposition=above}
% ^^A \optitem{numparchap}
% \changes{v0.9a}{2012/08/31}{New option \opt{numparchap}} 
% ^^A $\rightarrow$ \opt{chapnumposition=above}
% ^^A \optitem{numparsec}
% \changes{v0.9a}{2012/08/31}{New option \opt{numparsec}} 
% ^^A $\rightarrow$ \opt{secnumposition=above}
% ^^A \optitem{smallcapspart}
% \changes{v0.9a}{2012/08/31}{New option \opt{smallcapspart}} 
% ^^A $\rightarrow$ \opt{partstyle=smallcaps}
% ^^A \optitem{smallcapschap}
% \changes{v0.9a}{2012/08/31}{New option \opt{smallcapschap}} 
% ^^A $\rightarrow$ \opt{chapstyle=smallcaps}
% ^^A \optitem{smallcapssec}
% \changes{v0.9a}{2012/08/31}{New option \opt{smallcapssec}} 
% ^^A $\rightarrow$ \opt{subsecstyle=smallcaps}
% ^^A \optitem{italicpart}
% \changes{v0.9a}{2012/08/31}{New option \opt{italicpart}} 
% ^^A $\rightarrow$ \opt{partstyle=italic}
% ^^A \optitem{italicchap}
% \changes{v0.9a}{2012/08/31}{New option \opt{italicchap}} 
% ^^A $\rightarrow$ \opt{chapsecstyle=italic}
% ^^A \optitem{italicsec}
% \changes{v0.9a}{2012/08/31}{New option \opt{italicsec}} 
% ^^A $\rightarrow$ \opt{secstyle=italic}
% ^^A \optitem{italicsubsec}
% \changes{v0.9a}{2012/08/31}{New option \opt{italicsubsec}}
% ^^A $\rightarrow$ \opt{subsecstyle=italic}
% ^^A \optitem{romanchapnum}
% \changes{v0.9a}{2012/08/31}{New option \opt{romanchap}} 
% ^^A $\rightarrow$ \opt{chapnumstyle=roman}
% ^^A \optitem{dottedchap}
% \changes{v0.9a}{2012/08/31}{New option \opt{dottedchap}}
% ^^A $\rightarrow$ \opt{chapnumstyle}
% ^^A \optitem{italicheader} 
% \changes{v0.9a}{2012/08/31}{New option \opt{italicheader}} 
% ^^A $\rightarrow$ \opt{headerfont=italic}
% ^^A \optitem{centerheader}
% ^^A $\rightarrow$ \opt{headerstyle=center}
% ^^A \optitem{sufplain}
% ^^A $\rightarrow$ \opt{headerstyle=plain}
% ^^A \optitem{authortitle}
% \changes{v0.6}{2011/10/21}{New option \opt{authortitle}}
% ^^A $\rightarrow$ \opt{headerstyle}
% ^^A \optitem{periodical} 
% \changes{v0.8}{2012/03/19}{New option \opt{periodical}}
% ^^A $\rightarrow$ \opt{pagestyle=periodical}
% ^^A \optitem{compact} 
% \changes{v0.5}{2011/10/21}{New option \opt{compact}}
% ^^A $\rightarrow$ \opt{pagestyle=compact}
% ^^A \optitem{supercompact} 
% \changes{v0.5}{2011/10/21}{New option \opt{supercompact}}
% ^^A $\rightarrow$ \opt{pagestyle=supercompact}
% ^^A \optitem{dottedtoc} 
% \changes{v0.9}{2012/04/22}{New option \opt{dottedtoc}}
% ^^A $\rightarrow$ \opt{tocstyle=dotted}
% ^^A \optitem{raggedtoc} 
% \changes{v0.9}{2012/04/22}{New option \opt{raggedtoc}}
% ^^A $\rightarrow$ \opt{tocstyle=ragged}
% ^^A \optitem{tocpageleft}  
% \changes{v0.9a}{2012/08/31}{New option \opt{tocpageleft}}
% ^^A $\rightarrow$ \opt{tocstyle=leftpage}
% ^^A \optitem{dottedpart}
% \changes{v0.9a}{2012/08/31}{New option \opt{dottedpart}} 
% ^^A $\rightarrow$ \opt{partnumstyle=dotarabic}
% ^^A \optitem{elements} 
% \changes{v0.5}{2011/10/21}{New option \opt{elements}}
% ^^A $\rightarrow$ \opt{style=elements}
% ^^A \optitem{nomarginpar}
% \changes{v0.5}{2011/10/21}{New option \opt{nomarginpar}}
% ^^A $\rightarrow$ \opt{marginpar=false}
% ^^A \optitem{nocrop} 
% \changes{v0.5}{2011/10/21}{New option \opt{nocrop}}
% ^^A $\rightarrow$ \opt{crop=false}
% ^^A \optitem{rmstyle(1-6)} 
% \changes{v0.9a}{2012/08/31}{New option \opt{rmstyle(1-6)}} 
% ^^A $\rightarrow$ \opt{style=roman(1-6)}
% ^^A \optitem{itstyle(1-12)}
% \changes{v0.9a}{2012/08/31}{New option \opt{itstyle(1-12)}} 
% ^^A $\rightarrow$ \opt{style=italic(1-6)}
% ^^A \optitem{scstyle(1-12)}
% \changes{v0.9a}{2012/08/31}{New option \opt{scstyle(1-12)}}
% ^^A $\rightarrow$ \opt{style=smallcaps(1-6)}
% ^^A \optitem{sufelements} 
% \changes{v0.5}{2011/10/21}{New option \opt{sufelements}}
% ^^A $\rightarrow$ \opt{style=sufelements}
% ^^A \optitem{standardfootnote} 
% \changes{v0.9a}{2012/08/31}{New option \opt{standardfootnote}}
% ^^A $\rightarrow$ \opt{footnotes=superscript}
% ^^A \optitem{smallcapsheader}
% \changes{v0.9a}{2012/08/31}{New option \opt{smallcapsheader}} 
% ^^A $\rightarrow$ \opt{headerfont=smallcaps} 
% ^^A \optitem{viewmode}
% ^^A $\rightarrow$ \opt{version} 
% ^^A \end{ltxsyntax}
% ^^A \end{multicols}
%
%
% \defbibnote{note}{\sffamily This bibliography has been typeset with 
% the \sty{biblatex-philosophy} package, created by the same author of this class.}
% \addcontentsline{toc}{section}{\refname}
% \printbibliography[prenote=note]
%
% \StopEventually{\PrintChanges\PrintIndex}
% 
% \newgeometry{hmarginratio=1:1,a4paper,margin=2cm,left=4cm}
% \section{The Code}
% \iffalse
%<*class>
% \fi
%    \begin{macrocode}
\ClassWarningNoLine{suftesi}{%
  ******************************************\MessageBreak
  * DO NOT MODIFY THE STYLES OF THIS CLASS\MessageBreak 
  * WITH PACKAGES AND/OR COMMANDS WHICH\MessageBreak 
  * MAY CHANGE THE LAYOUT OF THE DOCUMENT.\MessageBreak 
  * SEE DOCUMENTATION FOR DETAILS.\MessageBreak
  * ANYWAY, DON'T WORRY!\MessageBreak
  * THIS IS A HARMLESS MESSAGE :-)\MessageBreak
  ******************************************}{}%
\RequirePackage{xkeyval}
\newif\ifsuftesi@standardfont 
\newif\ifsuftesi@porson 
\newif\ifsuftesi@centerheader
\newif\ifsuftesi@sufplain
\newif\ifsuftesi@article
\newif\ifsuftesi@authortitle
\newif\ifsuftesi@periodical
\newif\ifsuftesi@periodicalaureo
\newif\ifsuftesi@compact
\newif\ifsuftesi@compactaureo
\newif\ifsuftesi@supercompact
\newif\ifsuftesi@supercompactaureo
\newif\ifsuftesi@sufelements
\newif\ifsuftesi@nocrop
\newif\ifsuftesi@dottedtoc
\newif\ifsuftesi@raggedtoc
\newif\ifsuftesi@numparpart
\newif\ifsuftesi@numparchap
\newif\ifsuftesi@numparsec
\newif\ifsuftesi@numparsubsec
\newif\ifsuftesi@numparsubsubsec
\newif\ifsuftesi@smallcapspart
\newif\ifsuftesi@smallcapschap
\newif\ifsuftesi@smallcapssec
\newif\ifsuftesi@elementschap
\newif\ifsuftesi@elementsheader
\newif\ifsuftesi@elementsstructure
\newif\ifsuftesi@elementspagelayout
\newif\ifsuftesi@draftdate
\newif\ifsuftesi@fewfootnotes
\newif\ifsuftesi@partpage
\newif\ifsuftesi@FSPL
\newif\ifsuftesi@screen
\newif\ifsuftesi@pagelefttoc
\newif\ifsuftesi@twocolumntoc
\newif\ifsuftesi@twocolumnlof
\newif\ifsuftesi@twocolumnlot
\newif\ifsuftesi@reverseauthortitle
\newif\ifsuftesi@collection
\DeclareOption{a5paper}{%
  \ClassError{suftesi}{Option 'a5paper' not available}}
\DeclareOption{b5paper}{%
  \ClassError{suftesi}{Option 'b5paper' not available}}
\DeclareOption{legalpaper}{%
  \ClassError{suftesi}{Option 'legalpaper' not available}}
\DeclareOption{executivepaper}{%
  \ClassError{suftesi}{Option 'executivepaper' not available}}
\DeclareOption{landscape}{%
  \ClassError{suftesi}{Option 'landscape' not available}}
%    \end{macrocode}
% \sty{suftesi} is based on the standard \sty{book} class!
%    \begin{macrocode}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}   
\ProcessOptions
\relax
\LoadClass{book} 
%    \end{macrocode}
% \subsection{Document srtucture}
%    \begin{macrocode}
\define@choicekey{}{documentstructure}[\val\nr]
    {book,article,collection}[book]{%
\ifcase\nr\relax
\disable@keys{}{secnumstyle}
\or
\suftesi@articletrue
\@titlepagefalse
\or
\suftesi@collectiontrue
  \setkeys{}{headerstyle=authortitleinner}
\fi}
%    \end{macrocode}
% \subsection{Page layout}
%    \begin{macrocode}
\RequirePackage{geometry}
\define@choicekey{}{pagelayout}[\val\nr]
    {standard,standardaureo,periodical,compact,compactaureo,supercompact,
    supercompactaureo,elements,periodicalaureo}[standard]{%
\ifcase\nr\relax
  \DeclareRobustCommand{\SUF@chaptersize}{\Large}
  \geometry{%
    heightrounded,
    a4paper,
    includeheadfoot=true,
    textwidth=      110mm,
    textheight=     220mm,
    marginratio=    1:2,
    marginparwidth= 30mm,
    marginparsep=   12pt}
\or
  \DeclareRobustCommand{\SUF@chaptersize}{\Large}
  \geometry{%
    heightrounded,
    a4paper,
    includeheadfoot=true,
    textwidth=      136mm,
    textheight=     220mm,
    marginratio=    2:3,
    marginparwidth= 30mm,
    marginparsep=   12pt}
\or
\suftesi@periodicaltrue
  \DeclareRobustCommand{\SUF@chaptersize}{\large}
  \geometry{
    heightrounded,
    includeheadfoot=false,
    textheight=     165mm,
    textwidth=      110mm,
    paperwidth=     170mm,
    paperheight=    240mm,
    marginratio=    2:3,
    marginparwidth= 26mm,
    marginparsep=   10pt}
\or
\suftesi@compacttrue
  \DeclareRobustCommand{\SUF@chaptersize}{\large}
  \geometry{
    heightrounded,
    includeheadfoot=false,
    textheight=     165mm,
    textwidth=      110mm,
    paperwidth=     160mm,
    paperheight=    240mm,
    marginratio=    2:3,
    marginparwidth= 22mm,
    marginparsep=   9pt}
\or
\suftesi@compactaureotrue
  \DeclareRobustCommand{\SUF@chaptersize}{\large}
  \geometry{
    heightrounded,
    includeheadfoot=false,
    textheight=     191mm,
    textwidth=      118mm,
    paperwidth=     160mm,
    paperheight=    240mm,
    marginratio=    2:3,
    marginparwidth= 19mm,
    marginparsep=   9pt}
\or
\suftesi@supercompacttrue
  \DeclareRobustCommand{\SUF@chaptersize}{\large}
  \geometry{
    heightrounded,
    includeheadfoot=false,
    textheight=     150mm,
    textwidth=      100mm,
    paperwidth=     140mm,
    paperheight=    210mm,
    marginratio=    2:3,
    marginparwidth= 18mm,
    marginparsep=   8pt}
\or
\suftesi@supercompactaureotrue
  \DeclareRobustCommand{\SUF@chaptersize}{\large}
  \geometry{
    heightrounded,
    includeheadfoot=false,
    textheight=     175mm,
    textwidth=      108mm,
    paperwidth=     140mm,
    paperheight=    210mm,
    marginratio=    1:1,
    marginparwidth= 11mm,
    marginparsep=   7pt}\or
\suftesi@elementspagelayouttrue
  \geometry{%
    heightrounded,
    includeheadfoot=false,
    textwidth=      251pt,
    textheight=     502pt,
    paperwidth=     374pt,
    paperheight=    648pt,
    vmarginratio=   1:2,
    marginparwidth= 60pt,
    marginparsep=   18pt,
    outer=          90pt}
\or
\suftesi@periodicalaureotrue
  \DeclareRobustCommand{\SUF@chaptersize}{\large}
  \geometry{%
    heightrounded,
    includeheadfoot=true,
    textwidth=      120mm,
    textheight=     194mm,
    paperwidth=     17cm,
    paperheight=    24cm,
    marginratio=    2:3,
    marginparwidth= 62pt,
    marginparsep=   10pt}
\or
\fi}
%    \end{macrocode}
% \subsection{Sections style}
% These macros control the position of titles and numbers of parts, 
% chapters, sections, subsections and subsubsection.
%    \begin{macrocode}
\define@choicekey{}{partstyle}[\val\nr]{%
    left,center,right,parleft,parcenter,parright}[left]{%
\ifcase\nr\relax
  \def\SUF@lr@PARTSwitch{\filright}
\or
  \def\SUF@lr@PARTSwitch{\filcenter}
\or
  \def\SUF@lr@PARTSwitch{\filleft}
\or%numpar
  \def\SUF@lr@PARTSwitch{\filright}
  \suftesi@numparparttrue
\or
  \def\SUF@lr@PARTSwitch{\filcenter}
  \suftesi@numparparttrue
\or
  \def\SUF@lr@PARTSwitch{\filleft}
  \suftesi@numparparttrue
\fi}
\define@choicekey{}{chapstyle}[\val\nr]{%
    left,center,right,parleft,parcenter,parright,elements}[left]{%
\ifcase\nr\relax
  \def\SUF@lr@CHAPSwitch{\filright}
\or
  \def\SUF@lr@CHAPSwitch{\filcenter}
\or
  \def\SUF@lr@CHAPSwitch{\filleft}
\or%numparchap
  \def\SUF@lr@CHAPSwitch{\filright}
  \suftesi@numparchaptrue
\or
  \def\SUF@lr@CHAPSwitch{\filcenter}
  \suftesi@numparchaptrue
\or
  \def\SUF@lr@CHAPSwitch{\filleft}
  \suftesi@numparchaptrue
\or
  \suftesi@elementschaptrue
\fi}
\define@choicekey{}{secstyle}[\val\nr]{%
    left,center,right,parleft,parcenter,parright}[left]{%
\ifcase\nr\relax
  \def\SUF@lr@SECSwitch{\filright}
\or
  \def\SUF@lr@SECSwitch{\filcenter}
\or
  \def\SUF@lr@SECSwitch{\filleft}
\or%numparsec
  \def\SUF@lr@SECSwitch{\filright}
  \suftesi@numparsectrue
\or
  \def\SUF@lr@SECSwitch{\filcenter}
  \suftesi@numparsectrue
\or
  \def\SUF@lr@SECSwitch{\filleft}
  \suftesi@numparsectrue
\fi}
\define@choicekey{}{subsecstyle}[\val\nr]{left,center,right}[left]{%
\ifcase\nr\relax
  \def\SUF@lr@SUBSECSwitch{\filright}
\or
  \def\SUF@lr@SUBSECSwitch{\filcenter}
\or
  \def\SUF@lr@SUBSECSwitch{\filleft}
\fi}
\define@choicekey{}{subsubsecstyle}[\val\nr]{left,center,right}[left]{%
\ifcase\nr\relax
  \def\SUF@lr@SUBSUBSECSwitch{\filright}
\or
  \def\SUF@lr@SUBSUBSECSwitch{\filcenter}
\or
  \def\SUF@lr@SUBSUBSECSwitch{\filleft}
\fi}
%    \end{macrocode}
% \subsection{Sections font}
% These macros control the style of part, chapter, section,
% subsection and subsubsection levels.
%    \begin{macrocode}
\define@choicekey{}{partfont}[\val\nr]{roman,italic,smallcaps}[roman]{%
\ifcase\nr\relax
\def\SUF@PART@StyleSwitch{\relax}
\or
\def\SUF@PART@StyleSwitch{\itshape}
\or
\def\SUF@PART@StyleSwitch{\expandafter\SUF@titlesmallcaps}
\fi}
\define@choicekey{}{chapfont}[\val\nr]{roman,italic,smallcaps}[roman]{%
\ifcase\nr\relax
\def\SUF@CHAP@StyleSwitch{\relax}
\or
\def\SUF@CHAP@StyleSwitch{\itshape}
\or
\def\SUF@CHAP@StyleSwitch{\expandafter\SUF@titlesmallcaps}
\fi}
\define@choicekey{}{secfont}[\val\nr]{roman,italic,smallcaps}[italic]{%
\ifcase\nr\relax
\def\SUF@SEC@StyleSwitch{\relax}
\or
\def\SUF@SEC@StyleSwitch{\itshape}
\or
\def\SUF@SEC@StyleSwitch{\expandafter\SUF@titlesmallcaps}
\fi}
\define@choicekey{}{subsecfont}[\val\nr]{roman,italic,smallcaps}[roman]{%
\ifcase\nr\relax
\def\SUF@SUBSEC@StyleSwitch{\relax}
\or
\def\SUF@SUBSEC@StyleSwitch{\itshape}
\or
\def\SUF@SUBSEC@StyleSwitch{\expandafter\SUF@titlesmallcaps}
\fi}
\define@choicekey{}{subsubsecfont}[\val\nr]{roman,italic,smallcaps}[roman]{%
\ifcase\nr\relax
\def\SUF@SUBSUBSEC@StyleSwitch{\relax}
\or
\def\SUF@SUBSUBSEC@StyleSwitch{\itshape}
\or
\def\SUF@SUBSUBSEC@StyleSwitch{\expandafter\SUF@titlesmallcaps}
\fi}
%    \end{macrocode}
% \subsection{Sections number style}
% \subsubsection{Part number style}
%    \begin{macrocode}
\define@choicekey{}{partnumstyle}[\val\nr]
    {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
\ifcase\nr\relax
  \def\SUF@thepart{\arabic{part}}
  \def\SUF@dotpart{}
  \def\SUF@toclabelnum{}
\or
  \def\SUF@thepart{\textsc{\roman{part}}}
  \def\SUF@dotpart{}
  \def\SUF@toclabelnum{\scshape\@roman}
\or
  \def\SUF@thepart{\Roman{part}}
  \def\SUF@dotpart{}
  \def\SUF@toclabelnum{\@Roman}
\or
  \def\SUF@thepart{\arabic{part}}
  \def\SUF@dotpart{.}
  \def\SUF@toclabelnum{}
\or
  \def\SUF@thepart{\textsc{\roman{part}}}
  \def\SUF@dotpart{.}
  \def\SUF@toclabelnum{\scshape\@roman}
\or
  \def\SUF@thepart{\Roman{part}}
  \def\SUF@dotpart{.}
  \def\SUF@toclabelnum{\@Roman}
\fi}
%    \end{macrocode}
% \subsubsection{Chapter number style}
%    \begin{macrocode}
\define@choicekey{}{chapnumstyle}[\val\nr]{arabic,roman,Roman,
dotarabic,dotroman,dotRoman}[arabic]{%
\ifcase\nr\relax
  \def\SUF@thechapter{\arabic{chapter}}
  \def\SUF@dotchap{}
  \def\SUF@toclabelnum{}
\or
  \def\SUF@thechapter{\textsc{\roman{chapter}}}
  \def\SUF@dotchap{}
  \def\SUF@toclabelnum{\scshape\@roman}
\or
  \def\SUF@thechapter{\Roman{chapter}}
  \def\SUF@dotchap{}
  \def\SUF@toclabelnum{\@Roman}
\or
  \def\SUF@thechapter{\arabic{chapter}}
  \def\SUF@dotchap{.}
  \def\SUF@toclabelnum{}
\or
  \def\SUF@thechapter{\textsc{\roman{chapter}}}
  \def\SUF@dotchap{.}
  \def\SUF@toclabelnum{\scshape\@roman}
\or
  \def\SUF@thechapter{\Roman{chapter}}
  \def\SUF@dotchap{.}
  \def\SUF@toclabelnum{\@Roman}
\fi}
%    \end{macrocode}
% \subsubsection{Section number style}
%    \begin{macrocode}
\define@choicekey{}{secnumstyle}[\val\nr]
    {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
\ifcase\nr\relax
  \def\SUF@thesection{\arabic{section}}
  \def\SUF@dotsec{}
  \def\SUF@toclabelnum{}
\or
  \def\SUF@thesection{\textsc{\roman{section}}}
  \def\SUF@dotsec{}
  \def\SUF@toclabelnum{\scshape\@roman}
\or
  \def\SUF@thesection{\Roman{section}}
  \def\SUF@dotsec{}
  \def\SUF@toclabelnum{\@Roman}
\or
  \def\SUF@thesection{\arabic{section}}
  \def\SUF@dotsec{.}
  \def\SUF@toclabelnum{}
\or
  \def\SUF@thesection{\textsc{\roman{section}}}
  \def\SUF@dotsec{.}
  \def\SUF@toclabelnum{\scshape\@roman}
\or
  \def\SUF@thesection{\Roman{section}}
  \def\SUF@dotsec{.}
  \def\SUF@toclabelnum{\@Roman}
\fi}
%    \end{macrocode}
% This option controls the style of small capitals used in the 
% title of chapters and sections using \opt{\meta{level}font=smallcaps} option:
%    \begin{macrocode}
\define@choicekey{}{smallcapsstyle}[\val\nr]
    {low,upper}[low]{%
\ifcase\nr\relax
  \def\suftesi@MakeTextLowercase{\MakeTextLowercase}
\or
  \def\suftesi@MakeTextLowercase{\relax}
\fi}
%    \end{macrocode}
% \subsection{Headers}
% \subsubsection{Header style}
%    \begin{macrocode}
\define@choicekey{}{headerstyle}[\val\nr]
    {inner,center,plain,authortitleinner,
     authortitlecenter,elements}[inner]{%
\ifcase\nr\relax
  \def\SUF@rightmark{\SUF@Rheadstyle{\rightmark}}
  \def\SUF@leftmark{\SUF@Lheadstyle{\SUF@leftrightmark}}
\or
  \suftesi@centerheadertrue
  \def\SUF@rightmark{\SUF@Rheadstyle{\rightmark}}
  \def\SUF@leftmark{\SUF@Lheadstyle{\SUF@leftrightmark}}
\or
  \suftesi@sufplaintrue
\or
  \suftesi@authortitletrue
  \def\SUF@rightmark{\let\thanks\@gobble\SUF@Rheadstyle{\@headtitle}}
  \def\SUF@leftmark{\let\thanks\@gobble\SUF@Lheadstyle{\@author}}
\or
  \suftesi@authortitletrue
  \def\SUF@rightmark{\let\thanks\@gobble\SUF@Rheadstyle{\@headtitle}}
  \def\SUF@leftmark{\let\thanks\@gobble\SUF@Lheadstyle{\@author}}
  \suftesi@centerheadertrue
\or
  \suftesi@elementsheadertrue
\fi}
%    \end{macrocode}
% \subsubsection{Header font}
%    \begin{macrocode}
\define@choicekey{}{headerfont}[\val\nr]
    {roman,italic,smallcaps}[roman]{%
\ifcase\nr\relax
  \def\SUF@Rheadstyle{}
  \def\SUF@Lheadstyle{}
  \def\SUF@thepage{\thepage}
\or
  \def\SUF@Rheadstyle{\itshape}
  \def\SUF@Lheadstyle{\itshape}
  \def\SUF@thepage{\thepage}
\or
  \def\SUF@Rheadstyle{\SUF@headingsmallcaps}
  \def\SUF@Lheadstyle{\SUF@headingsmallcaps}
  \def\SUF@thepage{\SUF@headingsmallcaps{\thepage}}
\fi}
%    \end{macrocode}
% \subsection{Text elements}
% \subsubsection{Lists}
%    \begin{macrocode}
\RequirePackage[inline]{enumitem}
\renewcommand\labelitemi{\color{sufgray}\textbullet}
\setlist{itemsep=.5ex,parsep=0pt,listparindent=\parindent}
\setlist[description]{font=\normalfont\itshape}
\define@choicekey{}{liststyle}[\val\nr]
    {bulged,aligned,indented}[bulged]{%
\ifcase\nr\relax
    \setlist[enumerate,1]{leftmargin=0pt,label=\arabic*.}
    \setlist[enumerate,2]{leftmargin= 1.3\parindent,label=\alph*.}
    \setlist[enumerate,3]{leftmargin= 1.3\parindent,label=\roman*.}
    \setlist[itemize,1]{leftmargin=0pt}
    \setlist[itemize,2]{leftmargin=1.3\parindent}
    \setlist[itemize,3]{leftmargin=1.3\parindent}
\or
    \setlist[enumerate,1]{leftmargin=1\parindent,label=\arabic*.}
    \setlist[enumerate,2]{leftmargin= 1.5\parindent,label=\alph*.}
    \setlist[enumerate,3]{leftmargin= 1.5\parindent,label=\roman*.}
    \setlist[itemize,1]{leftmargin=1\parindent}
    \setlist[itemize,2]{leftmargin=1.5\parindent}
    \setlist[itemize,3]{leftmargin=1.5\parindent}
\or
    \setlist[enumerate,1]{leftmargin=2\parindent,label=\arabic*.}
    \setlist[enumerate,2]{leftmargin= 2.5\parindent,label=\alph*.}
    \setlist[enumerate,3]{leftmargin= 2.5\parindent,label=\roman*.}
    \setlist[itemize,1]{leftmargin=2\parindent}
    \setlist[itemize,2]{leftmargin=2.5\parindent}
    \setlist[itemize,3]{leftmargin=2.5\parindent}
\fi}
%    \end{macrocode}
% \subsubsection{Block quotations}
% \paragraph{Quotation style}
%    \begin{macrocode}
\define@choicekey{}{quotestyle}[\val\nr]
    {center,right}[center]{%
\ifcase\nr\relax
\def\SUF@quote@style{\rightmargin=\parindent}
\or
\def\SUF@quote@style{}
\fi}
%    \end{macrocode}
% \paragraph{Quotation size}
%    \begin{macrocode}
\define@choicekey{}{quotesize}[\val\nr]
    {footnotesize,small}[footnotesize]{%
\ifcase\nr\relax
\def\SUF@quotation@size{\footnotesize}
\or
\def\SUF@quotation@size{\small}
\fi}
%    \end{macrocode}
% \subsubsection{Footnotes}
%    \begin{macrocode}
\define@choicekey{}{footnotestyle}[\val\nr]
    {bulged,hung,dotted,superscript}[bulged]{%
\ifcase\nr\relax
    \renewcommand\@makefntext{%
      \hskip-2.5em\makebox[2em][r]{\@thefnmark}\hskip.5em}
\or
    \renewcommand\@makefntext{%
      \leftskip=1em\hskip-1.5em%
        \makebox[1em][r]{\@thefnmark}\hskip.5em}
\or
    \renewcommand\@makefntext{%
         \@thefnmark.\hskip.5em}
\or
  \renewcommand\@makefntext{%
    \textsuperscript{\@thefnmark}\hskip.3em}
\fi}
\define@choicekey{}{fewfootnotes}[\val\nr]
    {true,false}[true]{%
\ifcase\nr\relax
  \suftesi@fewfootnotestrue
\or
  \relax
\fi}
%    \end{macrocode}
% \subsubsection{Captions}
%    \begin{macrocode}
\RequirePackage{caption}
\define@choicekey{}{captionstyle}[\val\nr]
    {standard,sanserif,italic,smallcaps,elements}[standard]{%
\ifcase\nr\relax
   \captionsetup{labelsep=period,font=small}
\or
   \captionsetup{labelsep=period,font=small}
   \captionsetup{font+=sf}
\or
   \captionsetup{labelsep=period,font=small}
   \captionsetup{font+=it}
\or
   \captionsetup{labelsep=period,font=small,labelfont=sc}
\or
   \captionsetup{labelsep=period,font=small}
   \captionsetup{font+=sf}
\fi
}
%    \end{macrocode}
% \subsubsection{Marginal notes}
%    \begin{macrocode}
\define@choicekey{}{marginpar}[\val\nr]
    {true,false}[true]{%
\ifcase\nr\relax
\or   
  \renewcommand\marginpar[2][]{}
\fi}
%    \end{macrocode}
% \subsubsection{Table of contents}
%    \begin{macrocode}
\define@choicekey{}{tocstyle}[\val\nr]{%
    standard,dotted,ragged,leftpage}[standard]{%
\ifcase\nr\relax
  \def\SUF@titlerule{\titlerule*{}}
  \def\SUF@chaptitlerule{\titlerule*{}}
\or
\suftesi@dottedtoctrue
  \def\SUF@titlerule{\titlerule*{\footnotesize .\ }}
  \def\SUF@chaptitlerule{\titlerule*{}}
\or
\suftesi@raggedtoctrue
  \def\SUF@titlerule{\hspace{1em}}
  \def\SUF@chaptitlerule{\hspace{1em}}
\or
\suftesi@pagelefttoctrue
\fi}
\define@choicekey{}{twocolcontents}[\val\nr]{%
    toc,lof,lot,toclof,toclot,loflot,all}[all]{%
\ifcase\nr\relax
  \suftesi@twocolumntoctrue
  \setkeys{}{tocstyle=ragged}
\or
  \suftesi@twocolumnloftrue
  \setkeys{}{tocstyle=ragged}
\or
  \suftesi@twocolumnlottrue
  \setkeys{}{tocstyle=ragged}
\or
  \suftesi@twocolumntoctrue
  \suftesi@twocolumnloftrue
  \setkeys{}{tocstyle=ragged}
\or
  \suftesi@twocolumntoctrue
  \suftesi@twocolumnlottrue
  \setkeys{}{tocstyle=ragged}
\or
  \suftesi@twocolumnloftrue
  \suftesi@twocolumnlottrue
  \setkeys{}{tocstyle=ragged}
\or
  \suftesi@twocolumntoctrue
  \suftesi@twocolumnloftrue
  \suftesi@twocolumnlottrue
  \setkeys{}{tocstyle=ragged}
\fi
}
%    \end{macrocode}
% \subsection{Fonts}
% \subsubsection{Roman fonts}
%    \begin{macrocode}
\define@choicekey{}{defaultfont}[\val\nr]{%
    palatino,standard}[palatino]{%
\ifcase\nr\relax
\or
  \suftesi@standardfonttrue
	\def\SUF@greekfamily{lmr}
\fi}
%    \end{macrocode}
% \subsubsection{Greek fonts}
%    \begin{macrocode}
\define@choicekey{}{greekfont}[\val\nr]{%
    artemisia,porson,cbgreek}[artemisia]{%
\ifcase\nr\relax
	\def\SUF@greekfamily{artemisiaeuler}
\or
	\def\SUF@greekfamily{porson}
	\suftesi@porsontrue
\or
	\def\SUF@greekfamily{lmr}
\fi}
%    \end{macrocode}
% \subsection{Other options}
% \subsubsection{Indentation}
%    \begin{macrocode}
\define@choicekey{}{parindent}[\val\nr]
    {compact,wide}[compact]{%
\ifcase\nr\relax
\setlength\parindent{1em}
\or
\setlength\parindent{1.5em}
\fi}
%    \end{macrocode}
% \subsubsection{Part page}
%    \begin{macrocode}
\define@choicekey{}{partpage}[\val\nr]{true,false}[true]{%
\ifcase\nr\relax
  \suftesi@partpagetrue
\or
  \relax
\fi}
%    \end{macrocode}
% \subsubsection{Crop marks}
%    \begin{macrocode}
\define@choicekey{}{crop}[\val\nr]
    {true,false}[true]{%
\ifcase\nr\relax
\or
  \suftesi@nocroptrue
  \newcommand*\crop[1][]{}
\fi}
%    \end{macrocode}
% \subsubsection{Draftdate}
%    \begin{macrocode}
\define@choicekey{}{draftdate}[\val\nr]
    {true,false}[true]{%
\ifcase\nr\relax
  \suftesi@draftdatetrue
\or
\fi}
%    \end{macrocode}
% \subsubsection{View mode}
%    \begin{macrocode}
\define@choicekey{}{version}[\val\nr]
    {screen,draft,final}[draft]{%
\ifcase\nr\relax
  \@twosidefalse
  \suftesi@nocroptrue
  \newcommand*\crop[1][]{}
\or
\or
  \AtBeginDocument{\crop[off]}
\fi}
%    \end{macrocode}
% \subsubsection{Titlepage}
%    \begin{macrocode}
\define@choicekey{}{titlepage}[\val\nr]
    {true,false}[true]{%
\ifcase\nr\relax
  \@titlepagetrue
\or
  \@titlepagefalse
\fi}
%    \end{macrocode}
% \subsubsection{Pre-defined styles}
%    \begin{macrocode}
\define@choicekey{}{style}[\val\nr]
  {roman1,roman2,roman3,roman4,roman5,roman6,
  italic1,italic2,italic3,italic4,italic5,italic6,
  italic7,italic8,italic9,italic10,italic11,italic12,
  smallcaps1,smallcaps2,smallcaps3,smallcaps4,smallcaps5,smallcaps6,
  smallcaps7,smallcaps8,smallcaps9,smallcaps10,smallcaps11,smallcaps12,
  elements,sufelements,FSPLa,FSPLb,FSPLc}  
  [roman1]{%
\ifcase\nr\relax
%    \end{macrocode}
% The 'roman' styles:
%    \begin{macrocode}
  \setkeys{}{chapstyle=left}
\or
  \setkeys{}{chapstyle=center}
\or
  \setkeys{}{chapstyle=right}
\or
  \setkeys{}{chapstyle=parleft}
\or
  \setkeys{}{chapstyle=parcenter}
\or
  \setkeys{}{chapstyle=parright}
\or
%    \end{macrocode}
% The 'italic' styles:
%    \begin{macrocode}
  \setkeys{}{
  chapstyle=left,
  chapfont=italic,
  headerfont=italic}
\or
  \setkeys{}{
  chapstyle=center,
  chapfont=italic,
  headerfont=italic}
\or
  \setkeys{}{
  chapstyle=right,
  chapfont=italic,
  headerfont=italic}
\or
  \setkeys{}{
  chapstyle=parleft,
  chapfont=italic,
  headerfont=italic}
\or
  \setkeys{}{
  chapstyle=parcenter,
  chapfont=italic,
  headerfont=italic}
\or
  \setkeys{}{
  chapstyle=parright,
  chapfont=italic,
  headerfont=italic}
\or
  \setkeys{}{
  chapstyle=left,
  chapfont=italic,
  secfont=smallcaps,
  headerfont=italic}
\or
  \setkeys{}{
  chapstyle=center,
  chapfont=italic,
  secfont=smallcaps,
  headerfont=italic}
\or
  \setkeys{}{
    chapstyle=right,
    chapfont=italic,
    secfont=smallcaps,
    headerfont=italic}
\or
  \setkeys{}{
   chapstyle=parleft,
   chapfont=italic,
   secfont=smallcaps,
   headerfont=italic}
\or
  \setkeys{}{
    chapstyle=parcenter,
    chapfont=italic,
    secfont=smallcaps,
    headerfont=italic}
\or
  \setkeys{}{
    chapstyle=parright,
    chapfont=italic,
    secfont=smallcaps,
    headerfont=italic}
\or
%    \end{macrocode}
% The 'smallcaps' styles:
%    \begin{macrocode}
  \setkeys{}{
  chapstyle=left,
  chapfont=smallcaps,
  headerfont=smallcaps}
\or
  \setkeys{}{
  chapstyle=center,
  chapfont=smallcaps,
  headerfont=smallcaps}
\or
  \setkeys{}{
  chapstyle=right,
  chapfont=smallcaps,
  headerfont=smallcaps}
\or
  \setkeys{}{
  chapstyle=parleft,
  chapfont=smallcaps,
  headerfont=smallcaps}
\or
  \setkeys{}{
  chapstyle=parcenter,
  chapfont=smallcaps,
  headerfont=smallcaps}
\or
  \setkeys{}{
  chapstyle=parright,
  chapfont=smallcaps,
  headerfont=smallcaps}
\or
  \setkeys{}{
  chapstyle=left,
  chapfont=smallcaps,
  secfont=smallcaps,
  headerfont=smallcaps}
\or
  \setkeys{}{
  chapstyle=center,
  chapfont=smallcaps,
  secfont=smallcaps,
  headerfont=smallcaps}
\or
  \setkeys{}{
  chapstyle=right,
  chapfont=smallcaps,
  secfont=smallcaps,
  headerfont=smallcaps}
\or
  \setkeys{}{
  chapstyle=parleft,
  chapfont=smallcaps,
  secfont=smallcaps,
  headerfont=smallcaps}
\or
  \setkeys{}{
  chapstyle=parcenter,
  chapfont=smallcaps,
  secfont=smallcaps,
  headerfont=smallcaps}
\or
  \setkeys{}{
  chapstyle=parright,
  chapfont=smallcaps,
  secfont=smallcaps,
  headerfont=smallcaps}
\or
%    \end{macrocode}
% The 'elements' style:
%    \begin{macrocode}
  \setkeys{}{
    pagelayout=elements,
    headerstyle=elements,
    chapstyle=elements,
    secfont=smallcaps,
    subsecfont=italic,    
    captionstyle=elements}
\disable@keys{}
    {pagelayout,headerstyle,chapstyle,secfont,subsecfont,captionstyle}
\or
%    \end{macrocode}
% The 'sufelements' style:
%    \begin{macrocode}
  \setkeys{}{
    chapstyle=elements,
    headerfont=smallcaps,
    secfont=smallcaps,
    subsecfont=italic}
\disable@keys{}
    {headerstyle,chapstyle,secfont,subsecfont}
\or
%    \end{macrocode}
% The \opt{FSPLa} style:
%    \begin{macrocode}
\suftesi@periodicalaureotrue
\suftesi@FSPLtrue
  \setkeys{}{%
    pagelayout=periodicalaureo,
    style=roman5,
    chapnumstyle=roman,
    headerstyle=inner,
    footnotestyle=hung,
    liststyle=indented,
    tocstyle=leftpage}
\disable@keys{}
{documentstructure,pagelayout,partfont,chapfont,secfont,%
subsecfont,subsubsecfont,partstyle,chapstyle,secstyle,%
subsecstyle,subsubsecstyle,partnumstyle,chapnumstyle,%
secnumstyle,tocstyle,headerstyle,headerfont,quotestyle,%
quotesize,footnotestyle,liststyle,captionstyle,parindent}
\or
%    \end{macrocode}
% The \opt{FSPLb} style:
%    \begin{macrocode}
\suftesi@periodicalaureotrue
\suftesi@FSPLtrue
  \setkeys{}{%  
    pagelayout=periodicalaureo,
    style=italic5,
    chapnumstyle=roman,
    headerstyle=inner,
    headerfont=italic,
    footnotestyle=hung,
    liststyle=indented,
    tocstyle=leftpage}
\disable@keys{}
{documentstructure,pagelayout,partfont,chapfont,secfont,%
subsecfont,subsubsecfont,partstyle,chapstyle,secstyle,%
subsecstyle,subsubsecstyle,partnumstyle,chapnumstyle,%
secnumstyle,tocstyle,headerstyle,headerfont,quotestyle,%
quotesize,footnotestyle,liststyle,captionstyle,parindent}
\or
%    \end{macrocode}
% The \opt{FSPLc} style:
%    \begin{macrocode}
\suftesi@periodicalaureotrue
\suftesi@FSPLtrue
  \setkeys{}{%
    pagelayout=periodicalaureo,
    style=smallcaps5,
    chapnumstyle=roman,
    headerstyle=inner,
    headerfont=smallcaps,
    secfont=smallcaps,
    footnotestyle=hung,
    liststyle=indented,
    tocstyle=leftpage}
\disable@keys{}
{documentstructure,pagelayout,partfont,chapfont,secfont,%
subsecfont,subsubsecfont,partstyle,chapstyle,secstyle,%
subsecstyle,subsubsecstyle,partnumstyle,chapnumstyle,%
secnumstyle,tocstyle,headerstyle,headerfont,quotestyle,%
quotesize,footnotestyle,liststyle,captionstyle,parindent}
\fi}
% EXPERIMENTAL
\define@choicekey{}{papertitlestyle}[\val\nr]{%
    left,center,right}[left]{%
\ifcase\nr\relax
  \def\SUF@lr@coll@titleSwitch{\filright}
\or
  \def\SUF@lr@coll@titleSwitch{\filcenter}
\or
  \def\SUF@lr@coll@titleSwitch{\filleft}
\fi}
\define@choicekey{}{revauthortitle}[\val\nr]
    {true,false}[false]{%
\ifcase\nr\relax
\suftesi@reverseauthortitletrue
\or\relax
\fi}
\define@choicekey{}{titlefont}[\val\nr]{roman,italic,smallcaps}[roman]{%
\ifcase\nr\relax
\def\SUF@titlefont@Switch{\relax}
\or
\def\SUF@titlefont@Switch{\itshape}
\or
\def\SUF@titlefont@Switch{\expandafter\SUF@titlesmallcaps}
\fi}

\define@choicekey{}{authorfont}[\val\nr]{roman,italic,smallcaps}[roman]{%
\ifcase\nr\relax
\def\SUF@authorfont@Switch{\relax}
\or
\def\SUF@authorfont@Switch{\itshape}
\or
\def\SUF@authorfont@Switch{\expandafter\SUF@titlesmallcaps}
\fi}
%    \end{macrocode}
% Execute and process options:
%    \begin{macrocode}
\ExecuteOptionsX<>{
  captionstyle=standard,
  marginpar=true,
  parindent=compact,
  tocstyle=standard,
  greekfont=artemisia,
  pagelayout=standard,
  headerstyle=inner,
  liststyle=bulged,
  footnotestyle=bulged,
  quotesize=footnotesize,
  quotestyle=center,
  partstyle=left,
  chapstyle=left,
  secstyle=left,
  subsecstyle=left,
  subsubsecstyle=left,
  partfont=roman,
  chapfont=roman,
  secfont=italic,
  subsecfont=roman,
  subsubsecfont=roman,
  headerfont=roman,
  secnumstyle=arabic,
  partnumstyle=Roman,
  chapnumstyle=arabic,
  smallcapsstyle=low,
  titlefont=italic,
  authorfont=roman,
  revauthortitle=false,
  papertitlestyle=left,
  authorfont=roman,
  titlefont=italic}
\ProcessOptionsX<>\relax
%    \end{macrocode}
% The use of the \cmd{XKV@useoption} command, provided by 
% the \sty{xkeyval}, is a trick to delete the option given as 
% its argument from the list stored in \cmd{@unusedoptionlist} 
% so that the option will not produce the ``Unused global options''
% message:
%    \begin{macrocode}
\XKV@useoption{a4paper}   \XKV@useoption{10pt}      
\XKV@useoption{11pt}      \XKV@useoption{12pt}
\XKV@useoption{oneside}   \XKV@useoption{twoside}
\XKV@useoption{onecolumn} \XKV@useoption{twocolumn}
\XKV@useoption{titlepage} \XKV@useoption{notitlepage}
\XKV@useoption{openright} \XKV@useoption{openany}
\XKV@useoption{leqno}     \XKV@useoption{fleqn}
\XKV@useoption{a5paper}   \XKV@useoption{b5paper}
\XKV@useoption{legalpaper}\XKV@useoption{executivepaper}
\XKV@useoption{landscape}
%    \end{macrocode}
% A trick to delete the class options from \cmd{XKV@classoptionslist},
% in order to avoid incompatibility with packages using options 
% defined by \sty{suftesi} too. Thanks to Enrico Gregorio!
%    \begin{macrocode}
\def\XKV@classoptionslist{}
%    \end{macrocode}
% \subsection{Basic packages}
%    \begin{macrocode}
\RequirePackage{color}
    \definecolor{sufred}{rgb}{0.5,0,0}
    \definecolor{sufgray}{rgb}{0.5,0.5,0.5}
\RequirePackage{multicol}
\RequirePackage{emptypage}
\RequirePackage{textcase}
\RequirePackage{ifxetex}
\RequirePackage{ifluatex}
\RequirePackage{ifthen}
\RequirePackage{microtype}
\newcommand{\versionstring}[1]{\def\version@string{#1}}
\versionstring{Version of}
%    \end{macrocode}
% The FSPL style requires a verbose colophon which uses specific icons:
%    \begin{macrocode}
\ifsuftesi@FSPL
  \RequirePackage{cclicenses}
 \else
\fi
%    \end{macrocode}
% \subsection{Greek fonts}
% Thanks to Claudio Beccari and Enrico Gregorio for these macros:
%    \begin{macrocode}
\ifthenelse{\boolean{xetex}\or\boolean{luatex}}
{% if xetex or luatex
\AtBeginDocument{%
\@ifpackageloaded{fontspec}
  {\relax}
  {\ClassError{suftesi}
    {***********************************\MessageBreak
    * For using suftesi with XeLaTeX\MessageBreak
    * load either 'fontspec' or 'mathspec'\MessageBreak
    * For using suftesi with LuaLaTeX\MessageBreak
    * load 'fontspec' \MessageBreak
    ************************************}
    {***********************************\MessageBreak
    * For using suftesi with XeLaTeX\MessageBreak
    * load either 'fontspec' or 'mathspec'\MessageBreak
    * For using suftesi with LuaLaTeX\MessageBreak
    * load 'fontspec' \MessageBreak
    ************************************}}
  }
  }
{% if pdftex
\RequirePackage[LGR,T1]{fontenc}
\RequirePackage{substitutefont}
\AtBeginDocument{\fontencoding{T1}\selectfont}
\ifsuftesi@standardfont
     \RequirePackage{lmodern}
  \relax
   \else
     \RequirePackage[osf,sc]{mathpazo}
     \RequirePackage[scaled=0.8]{beramono}
       \renewcommand{\sfdefault}{iwona}
\AtBeginDocument{
\substitutefont{LGR}{\rmdefault}{\SUF@greekfamily}
  \DeclareRobustCommand{\greektext}{%
     \usefont{LGR}{\SUF@greekfamily}{\f@series}{\f@shape}
     \def\encodingdefault{LGR}}
  \DeclareTextFontCommand{\textgreek}{\greektext}
    }
%    \end{macrocode}
% Thanks to Claudio Beccari for these macros.
%    \begin{macrocode}
 \DeclareFontFamily{LGR}{pplj}{}
 \DeclareFontShape{LGR}{pplj}{m}{n}{<->ssub * lmr/m/n}{}
 \DeclareFontShape{LGR}{pplj}{m}{it}{<->ssub * lmr/m/it}{}
 \DeclareFontShape{LGR}{pplj}{m}{sl}{<->ssub * lmr/m/sl}{}
 \DeclareFontShape{LGR}{pplj}{m}{sc}{<->ssub * lmr/m/sc}{}
 \DeclareFontShape{LGR}{pplj}{b}{n}{<->ssub * lmr/bx/n}{}
 \DeclareFontShape{LGR}{pplj}{b}{it}{<->ssub * lmr/bx/it}{}
 \DeclareFontShape{LGR}{pplj}{b}{sl}{<->ssub * lmr/bx/sl}{}
 \DeclareFontShape{LGR}{pplj}{b}{sc}{<->ssub * lmr/bx/sc}{}
 \DeclareFontShape{LGR}{pplj}{bx}{n}{<->ssub * lmr/bx/n}{}
 \DeclareFontShape{LGR}{pplj}{bx}{it}{<->ssub * lmr/bx/it}{}
 \DeclareFontShape{LGR}{pplj}{bx}{sl}{<->ssub * lmr/bx/sl}{}
 \DeclareFontShape{LGR}{pplj}{bx}{sc}{<->ssub * lmr/bx/sc}{} 
 \DeclareFontShape{LGR}{pplj}{m}{li}{<->ssub * lmr/m/li}{}
 \DeclareFontShape{LGR}{pplj}{b}{li}{<->ssub * lmr/b/li}{}
 \DeclareFontShape{LGR}{pplj}{bx}{li}{<->ssub * lmr/bx/li}{}
 \DeclareFontShape{LGR}{pplj}{m}{ui}{<->ssub * lmr/m/ui}{}
 \DeclareFontShape{LGR}{pplj}{b}{ui}{<->ssub * lmr/m/ui}{}
 \DeclareFontShape{LGR}{pplj}{bx}{ui}{<->ssub * lmr/bx/ui}{}
 \DeclareFontShape{LGR}{pplj}{m}{rs}{<->ssub * lmr/m/rs}{}
 \DeclareFontShape{LGR}{pplj}{b}{rs}{<->ssub * lmr/m/rs}{}
 \DeclareFontShape{LGR}{pplj}{bx}{rs}{<->ssub * lmr/bx/rs}{}
\fi
%    \end{macrocode}
% Scale the Porson font:
%    \begin{macrocode}
\ifsuftesi@porson
\sbox\z@{\fontsize{10}{10}\normalfont A}
\sbox\tw@{\font\temp=gporsonrg6a at 10pt \temp A}
\dimen@=\dimexpr \p@*\ht\z@/\ht\tw@\relax
\sbox\z@{\normalfont\fontsize{10}{10}\selectfont a}
\sbox\tw@{\font\temp=gporsonrg6a at 10pt \temp a}
\dimen2=\dimexpr \p@*\ht\z@/\ht\tw@\relax
\dimen4= 0.6\p@
\dimen@=\dimexpr \dimen@ - \dimen4*\dimen@/\p@+\dimen4*\dimen2/\p@\relax
\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}{} 
   \fi
}
%    \end{macrocode}
% \subsection{Page layout}
%    \begin{macrocode}
\ifsuftesi@nocrop
  \relax
    \else
  \RequirePackage[a4,cam,center]{crop}
\fi
%    \end{macrocode}
% A trick to produce one-side documents:
%    \begin{macrocode}
 \if@twoside
   \relax
     \else
   \geometry{hmarginratio=1:1}
\fi
%    \end{macrocode}
% \subsection{Section titles}
%    \begin{macrocode}
\RequirePackage{titlesec}
    \newlength{\sectionsep}
    \setlength{\sectionsep}{\dimexpr(\baselineskip) plus 1pt minus 1pt}
\ifthenelse{\boolean{xetex}\or\boolean{luatex}}
  {% if xetex or luatex
  \DeclareRobustCommand{\SUF@titlesmallcaps}[1]{%
    \addfontfeature{LetterSpace=6}\scshape\suftesi@MakeTextLowercase{#1}}
  \DeclareRobustCommand{\SUF@headingsmallcaps}[1]{%
    \addfontfeature{LetterSpace=6}\scshape\suftesi@MakeTextLowercase{#1}}
    \newcommand{\chapnumfont}[1]{%
      \def\SUF@chapnumfont{#1}}
      \chapnumfont{\relax}%
  }
  {% if pdftex
  \DeclareRobustCommand{\SUF@titlesmallcaps}[1]{%
    \scshape\suftesi@MakeTextLowercase{\lsstyle #1}}%
  \DeclareRobustCommand{\SUF@headingsmallcaps}[1]{%
    \scshape\suftesi@MakeTextLowercase{\lsstyle #1}}%
  \newcommand{\chapnumfont}[1]{%
    \def\SUF@chapnumfont{\fontfamily{#1}}}
    \chapnumfont{pplj}
  }
%    \end{macrocode}
% \paragraph{The \opt{elements} style} 
%    \begin{macrocode}
\define@key[SUF]{elements}{chapsize}[90]{%
  \def\cmdSUF@elements@chapsize{\fontsize{#1}{#1}\selectfont}}
\define@key[SUF]{elements}{chapposition}[-83]{%
  \def\cmdSUF@elements@chapposition{#1}}
%    \end{macrocode}
% The chapter for \opt{elements} style:
%    \begin{macrocode}
\def\SUF@elements@CHAPTER{%
  \titleformat{\chapter}[block]
     {\Large}%
     {\begin{picture}(0,0)
     \setlength{\unitlength}{1pt}
	     \SUF@chapnumfont%
	     \cmdSUF@elements@chapsize
	      \put(0,\cmdSUF@elements@chapposition){%
       \hskip\dimexpr(\textwidth+0.9\marginparsep)%
        \textcolor{sufgray}{\SUF@thechapter}}%
   \end{picture}}%
  {0pt}
  {\SUF@titlesmallcaps}
  [\vspace*{-6pt}\rule{\textwidth}{.1pt}]
  }
%    \end{macrocode}
% The sections for elements style:
%    \begin{macrocode}
\def\SUF@elements@SECTIONS{
\titleformat{\section}[block]
	  {\extramarks{}{}\filright}
	  {\textnormal\thesection}
	  {1em}
	  {\SUF@titlesmallcaps}
	\titlespacing*{\section}{0em}{1em}{1em}[0em] 
\titleformat{\subsection}[block]
	  {\filright\normalsize\itshape}
	  {\textnormal\thesubsection}
	  {1em}
	  {}
  \titlespacing*{\subsection}{0em}{\baselineskip}{\baselineskip}[0em] 
\titleformat{\subsubsection}[block]
	  {\filright\normalsize}
	  {\textnormal\thesubsubsection}
	  {1em}
	  {}
  \titlespacing*{\subsubsection}{0em}{\baselineskip}{\baselineskip}[0em] 
}
%    \end{macrocode}
% \DescribeMacro{\chapter}
% Default styles:
%    \begin{macrocode}
\newlength\SUF@ADJnumparchap
\def\SUF@default@CHAPTER{
\ifsuftesi@numparchap
  \titleformat{\chapter}[display]
    {\SUF@chaptersize\SUF@lr@CHAPSwitch}
    {\SUF@thechapter\SUF@dotchap}
    {2ex}
    {\SUF@CHAP@StyleSwitch}
  \else
  \titleformat{\chapter}[hang]
    {\SUF@chaptersize\SUF@lr@CHAPSwitch}
    {\SUF@thechapter\SUF@dotchap}
    {3em}
    {\SUF@CHAP@StyleSwitch}
  \fi
\ifsuftesi@numparchap
  \setlength{\SUF@ADJnumparchap}{-2.5\baselineskip}
    \else
  \setlength{\SUF@ADJnumparchap}{0pt}
\fi}
%    \end{macrocode}
% \DescribeMacro{\section}
%    \begin{macrocode}
\def\SUF@default@SECTIONS{
\ifsuftesi@numparsec
\titleformat{\section}[display]
	  {\SUF@lr@SECSwitch}
	  {\ifsuftesi@article\SUF@thesection
	    \else\thesection\fi\SUF@dotsec}
	  {0ex}
	  {\SUF@SEC@StyleSwitch}
	\titlespacing*{\section}{0em}{\sectionsep}{\sectionsep}[0em]	 
\else
\titleformat{\section}[hang]
	  {\SUF@lr@SECSwitch}
	  {\ifsuftesi@article\SUF@thesection
	    \else\thesection\fi\SUF@dotsec}
	  {1em}
	  {\SUF@SEC@StyleSwitch}
	\titlespacing*{\section}{0ex}{\sectionsep}{\sectionsep}[0ex]	  
\fi
%    \end{macrocode}
% \DescribeMacro{\subsection}
%    \begin{macrocode}
\ifsuftesi@numparsubsec
\titleformat{\subsection}[display]
	  {\SUF@lr@SUBSECSwitch}
	  {\textnormal\thesubsection}
	  {0ex}
	  {\SUF@SUBSEC@StyleSwitch}
	\titlespacing*{\subsection}{0em}{\sectionsep}{\sectionsep}[0em]
\else
\titleformat{\subsection}[hang]
	  {\SUF@lr@SUBSECSwitch}
	  {\textnormal\thesubsection}
	  {1em}
	  {\SUF@SUBSEC@StyleSwitch}
	\titlespacing*{\subsection}{\parindent}{\sectionsep}{\sectionsep}[0ex]
\fi
%    \end{macrocode}
% \DescribeMacro{\subsubsection}
%    \begin{macrocode}
\ifsuftesi@numparsubsubsec
\titleformat{\subsubsection}[display]
	  {\SUF@lr@SUBSUBSECSwitch}
	  {\textnormal\thesubsubsection}
	  {0ex}
	  {\SUF@SUBSUBSEC@StyleSwitch}
	\titlespacing*{\subsubsection}{0em}{\sectionsep}{\sectionsep}[0em]  
\else
\titleformat{\subsubsection}[hang]
	  {\SUF@lr@SUBSUBSECSwitch}
	  {\textnormal\thesubsubsection}
	  {1em}
	  {\SUF@SUBSUBSEC@StyleSwitch}
	\titlespacing*{\subsubsection}{\parindent}{\sectionsep}{\sectionsep}[0ex]  
  \fi
}
\ifsuftesi@elementschap
\RequirePackage{extramarks}
  \SUF@elements@CHAPTER
  \SUF@elements@SECTIONS
\ifsuftesi@periodical
  \titlespacing*{\chapter}{0em}{-\baselineskip}{10pt}[0pt]
    \setkeys[SUF]{elements}{chapsize=80,chapposition=-83}
\else
\ifsuftesi@periodicalaureo
  \titlespacing*{\chapter}{0em}{-\baselineskip}{10pt}[0pt]
    \setkeys[SUF]{elements}{chapsize=80,chapposition=-83}
\else
\ifsuftesi@compact
  \titlespacing*{\chapter}{0em}{-1\baselineskip}{10pt}[0pt]
    \setkeys[SUF]{elements}{chapsize=75,chapposition=-83}
\else
\ifsuftesi@compactaureo
  \titlespacing*{\chapter}{0em}{-1\baselineskip}{10pt}[0pt]
    \setkeys[SUF]{elements}{chapsize=75,chapposition=-83}
\else
\ifsuftesi@supercompact
  \titlespacing*{\chapter}{0em}{-1\baselineskip}{10pt}[0pt]
    \setkeys[SUF]{elements}{chapsize=70,chapposition=-73}
\else
\ifsuftesi@supercompactaureo
  \titlespacing*{\chapter}{0em}{-1\baselineskip}{10pt}[0pt]
    \setkeys[SUF]{elements}{chapsize=70,chapposition=-73}
\else
\ifsuftesi@elementspagelayout
  \titlespacing*{\chapter}{0em}{-\baselineskip}{10pt}[0pt]
    \setkeys[SUF]{elements}{chapsize=60,chapposition=-73}
\else
  \titlespacing*{\chapter}{0em}{-\baselineskip}{10pt}[0pt]
    \setkeys[SUF]{elements}{chapsize=90,chapposition=-83}
            \fi
          \fi
        \fi
      \fi
    \fi
  \fi
\fi
\else
  \SUF@default@CHAPTER
  \SUF@default@SECTIONS
\ifsuftesi@periodicalaureo
  \titlespacing*{\chapter}{0em}{0\SUF@ADJnumparchap}{18ex}
  \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
\else
\ifsuftesi@periodical
  \titlespacing*{\chapter}{0em}{\SUF@ADJnumparchap}{18ex}
  \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
    \else
      \ifsuftesi@compact
        \titlespacing*{\chapter}{0em}{\SUF@ADJnumparchap}{18ex}
        \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
         \else
           \ifsuftesi@supercompact
            \titlespacing*{\chapter}{0em}{\SUF@ADJnumparchap}{18ex}
            \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
          \else
        \titlespacing*{\chapter}{0em}{%
     \dimexpr(6ex+\SUF@ADJnumparchap)}{18ex}	
        \titlespacing*{name=\chapter,numberless}{0em}{6ex}{18ex}
        \fi
      \fi
    \fi
  \fi
\fi
%    \end{macrocode}
% \subparagraph{Redefinitions for \opt{`article'} mode}
%    \begin{macrocode}
\ifsuftesi@article
\def\chapter#1{\ClassError{suftesi}
  {\noexpand\chapter level is undefined 
     using 'documentstructure=article'}
  {\noexpand\chapter level is undefined 
     using 'documentstructure=article'}}
  \setcounter{tocdepth}{3}
    \setcounter{secnumdepth}{3}
 		  \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}
% The \opt{partpage} options allows you to print a standard part page
% in \opt{article} mode.
%    \begin{macrocode}
\ifsuftesi@partpage
  \relax
    \else
%    \end{macrocode}
% In \opt{article} mode the \cmd{part} command is similar to a 
% \cmd{section} but with more vertical space before and after. 
%    \begin{macrocode}  
  \titleclass{\part}{straight}
  \titlespacing*{\part}{0ex}{2\sectionsep}{2\sectionsep}[0ex]
\fi
\ifsuftesi@numparpart
\titleformat{\part}[display]
  {\SUF@chaptersize\SUF@lr@PARTSwitch}
  {\SUF@PART@StyleSwitch\partname\hskip.5em\SUF@thepart\SUF@dotpart}
  {2ex}
  {\SUF@PART@StyleSwitch}
\else
\titleformat{\part}[hang]
  {\SUF@chaptersize\SUF@lr@PARTSwitch}
  {\SUF@PART@StyleSwitch\partname\hskip.5em\SUF@thepart\SUF@dotpart}
  {1em}
  {\SUF@PART@StyleSwitch}
\fi
\else
%    \end{macrocode}
% \subparagraph{The default \opt{`book'} mode}
%    \begin{macrocode}
\ifsuftesi@numparpart
\titleformat{\part}[display]
  {\SUF@chaptersize\SUF@lr@PARTSwitch}
  {\SUF@PART@StyleSwitch\partname\hskip.5em\SUF@thepart\SUF@dotpart}
  {2ex}
  {\SUF@PART@StyleSwitch}
\else
\titleformat{\part}[hang]
  {\SUF@chaptersize\SUF@lr@PARTSwitch}
  {\SUF@PART@StyleSwitch\partname\hskip.5em\SUF@thepart\SUF@dotpart}
  {1em}
  {\SUF@PART@StyleSwitch}
\fi
\fi

%    \end{macrocode}
% \DescribeMacro{\paragraph}
%    \begin{macrocode}
\titleformat{\paragraph}[runin]
  {}
  {\theparagraph}
  {.5em}
  {\itshape}
  [{.}\hspace*{1em}]
\titlespacing*{\paragraph}{\parindent}{.5\sectionsep}{.5\sectionsep}
%    \end{macrocode}
% \DescribeMacro{\subparagraph}
%    \begin{macrocode}
\titleformat{\subparagraph}[runin]
  {}
  {\thesubparagraph}
  {.5em}
  {}
  [{.}\hspace*{1em}]
\titlespacing*{\subparagraph}{\parindent}{.5\sectionsep}{.5\sectionsep}
%    \end{macrocode}
% The \sty{biblatex} package uses the \sty{book} class
% definitions of bibliography and list of shorthands,
% so we must redefine them according to the styles of \sty{suftesi},
% which does not use uppercase letters in the headings.
%    \begin{macrocode}
\ifsuftesi@article			
\AtBeginDocument{%
\@ifpackageloaded{biblatex}{%
  \defbibheading{bibliography}[\refname]{%
    \section*{#1}%
    \markboth{#1}{#1}}
  \defbibheading{shorthands}[\losname]{%
    \section*{#1}%
    \markboth{#1}{#1}}
  \defbibheading{bibintoc}[\refname]{%
    \section*{#1}%
    \addcontentsline{toc}{section}{#1}%
    \markboth{#1}{#1}}
  \defbibheading{losintoc}[\losname]{%
    \section*{#1}%
    \addcontentsline{toc}{section}{#1}%
    \markboth{#1}{#1}}
  \defbibheading{bibnumbered}[\refname]{%
    \section{#1}%
    \if@twoside\markright{#1}\fi}
  \defbibheading{losnumbered}[\losname]{%
    \section{#1}%
    \if@twoside\markright{#1}\fi}
  \defbibheading{subbibliography}[\refname]{%
    \subsection*{#1}}
  \defbibheading{subbibintoc}[\refname]{%
    \subsection*{#1}%
    \addcontentsline{toc}{subsection}{#1}}
  \defbibheading{subbibnumbered}[\refname]{%
    \subsection{#1}}}%
    {\relax}%
}%
\else							
\AtBeginDocument{%
\@ifpackageloaded{biblatex}{%
  \defbibheading{bibliography}[\bibname]{%
    \chapter*{#1}%
    \markboth{#1}{#1}}
  \defbibheading{shorthands}[\losname]{%
    \chapter*{#1}%
    \markboth{#1}{#1}}
  \defbibheading{bibintoc}[\bibname]{%
    \chapter*{#1}%
    \addcontentsline{toc}{chapter}{#1}%
    \markboth{#1}{#1}}
  \defbibheading{losintoc}[\losname]{%
    \chapter*{#1}%
    \addcontentsline{toc}{chapter}{#1}%
    \markboth{#1}{#1}}
  \defbibheading{bibnumbered}[\bibname]{%
    \chapter{#1}%
    \if@twoside\markright{#1}\fi}
  \defbibheading{losnumbered}[\losname]{%
    \chapter{#1}%
    \if@twoside\markright{#1}\fi}
  \defbibheading{subbibliography}[\refname]{%
    \section*{#1}%
    \if@twoside\markright{#1}\fi}
  \defbibheading{subbibintoc}[\refname]{%
    \section*{#1}%
    \addcontentsline{toc}{section}{#1}%
    \if@twoside\markright{#1}\fi}
  \defbibheading{subbibnumbered}[\refname]{%
    \section{#1}}}
    {\relax}%
}%
\fi
%    \end{macrocode}
% \subsection{Title page}
% \DescribeMacro{\title}
% The new \cmd{title} command has an optional argument 
% which can be used in the headers.
%    \begin{macrocode}
\renewcommand*{\title}[2][]{\gdef\@headtitle{#1}\gdef\@title{#2}}
    \edef\title{\noexpand\@dblarg
  \expandafter\noexpand\csname\string\title\endcsname}
    \def\@headtitle{--missing title--%
        \protect\ClassWarningNoLine{suftesi}{%
            No \string\title\space given \MessageBreak%
            See the class documentation for explanation}}
    \def\@title{--missing title--%
        \protect\ClassWarningNoLine{suftesi}{%
            No \string\title\space given\MessageBreak%
            See the class documentation for explanation}}
    \def\@author{--missing author--%
        \protect\ClassWarningNoLine{suftesi}{%
            No \string\author\space given\MessageBreak%
            See the class documentation for explanation}}
%    \end{macrocode}
% \DescribeMacro{\maketitle} 
% For |titlepage| (default) option:
%    \begin{macrocode}
\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}%
    {\SUF@chaptersize\color{sufred}\sffamily%
    \ifsuftesi@smallcapschap%
     \SUF@titlesmallcaps{\@title}
      \else
      \ifsuftesi@article
       \ifsuftesi@smallcapssec
        \SUF@titlesmallcaps{\@title}
         \else
          \@title
        \fi
       \else
      \@title
     \fi
    \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\@date\@empty
  \global\let\date\relax
  \global\let\and\relax}
%    \end{macrocode}
% \DescribeMacro{\standardtitle} Reproduces the standard |\maketitle| style:
%    \begin{macrocode}
\newcommand\standardtitle{\begin{titlepage}%
  \let\footnotesize\small
  \let\footnoterule\relax
  \let \footnote \thanks
  \null\vfil
  \vskip 60\p@
  \begin{center}%
    {\LARGE \@title \par}%
    \vskip 3em%
    {\large
     \lineskip .75em%
      \begin{tabular}[t]{c}%
        \@author
      \end{tabular}\par}%
      \vskip 1.5em%
    {\large \@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\@date\@empty
  \global\let\date\relax
  \global\let\and\relax}
\else
%    \end{macrocode}
% \DescribeMacro{\maketitle} For |notitlepage| option:
%    \begin{macrocode}
\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\@date\@empty
   \global\let\date\relax
   \global\let\and\relax}
     \def\@maketitle{%
   \newpage
   \null
   \vskip 2em%
   \begin{center}%
   \let \footnote \thanks
     {\SUF@chaptersize\color{sufred}\sffamily%
    \ifsuftesi@smallcapschap%
     \SUF@titlesmallcaps{\@title}
      \else
      \ifsuftesi@article
       \ifsuftesi@smallcapssec
        \SUF@titlesmallcaps{\@title}
         \else
          \@title
        \fi
       \else
      \@title
     \fi
  \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{macrocode}
% \DescribeMacro{\standardtitle} Reproduces the standard |\maketitle| style:
%    \begin{macrocode}
\newcommand\standardtitle{\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
        \@standardmaketitle
      \else
        \twocolumn[\@standardmaketitle]%
      \fi
    \else
      \newpage
      \global\@topnum\z@   
      \@standardmaketitle
    \fi
    \thispagestyle{plain}\@thanks
  \endgroup
   \setcounter{footnote}{0}%
   \global\let\thanks\relax
   \global\let\maketitle\relax
   \global\let\@standardmaketitle\relax
   \global\let\@thanks\@empty
   \global\let\@date\@empty
   \global\let\date\relax
   \global\let\and\relax}
\def\@standardmaketitle{%
  \newpage
  \null
  \vskip 2em%
  \begin{center}%
  \let \footnote \thanks
    {\LARGE \@title \par}%
    \vskip 1.5em%
    {\large
      \lineskip .5em%
      \begin{tabular}[t]{c}%
        \@author
      \end{tabular}\par}%
    \vskip 1em%
    {\large \@date}%
  \end{center}%
  \par
  \vskip 1.5em}
\fi
%    \end{macrocode}
% \subsection{The \opt{collection} document structure}
%    \begin{macrocode}
\ifsuftesi@collection
\newcounter{journalnumber}
\newcounter{journalvolume}
\newcounter{issue}
\newcounter{title}
\setcounter{title}{1}
\newcounter{article}
\setcounter{article}{0}
\setcounter{journalnumber}{0}
\setcounter{tocdepth}{0}
\def\journalname#1{\gdef\@journalname{#1}}
  \def\@journalname{\@latex@warning@no@line{%
    No \noexpand\journalname given}}
\def\issn#1{\gdef\@issn{#1}}
  \def\@issn{\@latex@warning@no@line{%
    No \noexpand\issn given}}
\def\doi#1{\gdef\@doi{#1}}
  \def\@doi{\@latex@warning@no@line{%
    No \noexpand\doi given}}
\def\journalvolume#1{\gdef\@journalvolume{#1}}
  \def\@journalvolume{\@latex@warning@no@line{%
    No \noexpand\journalvolume given}}
\def\journalnumber#1{\gdef\@journalnumber{#1}}
  \def\@journalnumber{\@latex@warning@no@line{%
    No \noexpand\journalnumber given}}
\def\issue#1{\gdef\@issue{#1}}
  \def\@issue{\@latex@warning@no@line{%
    No \noexpand\issue given}}
\def\journalyear#1{\gdef\@journalyear{#1}}
  \def\@journalyear{\@latex@warning@no@line{%
    No \noexpand\journalyear given}}
\def\journalwebsite#1{\gdef\@journalwebsite{\url{#1}}}
  \def\@journalwebsite{\@latex@warning@no@line{%
    No \noexpand\journalwebsite given}}
\def\thanks#1{\footnotemark\ \protected@xdef\@thanks{%
  \@thanks\protect\footnotetext[\the\c@footnote]{#1}}}
\def\fulljournal{\emph{\@journalname} \@journalnumber, %
  \@issue{} \@journalyear}
\def\issuename#1{\gdef\@issuename{#1}}
\def\collectiontitle#1{\gdef\@collectiontitle{#1}}
  \def\@collectiontitle{\@latex@warning@no@line{%
    No \noexpand\collectiontitle given}}
\def\collectioneditor#1{\gdef\@collectioneditor{#1}}
  \def\@collectioneditor{\@latex@warning@no@line{%
    No \noexpand\collectioneditor given}}
%    \end{macrocode}
% \DescribeMacro{\l@title} 
%    \begin{macrocode}
\newcommand*\l@title[2]{%
  \ifnum \c@tocdepth >\m@ne
    \addpenalty{-\@highpenalty}%
    \vskip 1.0ex \@plus\p@
    \begingroup
      \parindent \z@ \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      \advance\leftskip1em
      \hskip -\leftskip
      #1\nobreak%
    \ifsuftesi@dottedtoc\dotfill%
      \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
        \else
          \ifsuftesi@raggedtoc%
            \nobreak\hskip1em #2 \hfill\null\par
              \else
                \ifsuftesi@pagelefttoc
              \ClassError{suftesi}
                {\MessageBreak
                You can not use tocstyle=leftpage\MessageBreak
                  with documentstructure=collection}
                {You can not use tocstyle=leftpage\MessageBreak
                  with documentstructure=collection}
            \else
          \nobreak\hfill #2\par
        \fi
      \fi
    \fi
      \penalty\@highpenalty
    \endgroup
  \fi}
%    \end{macrocode}
% \DescribeMacro{\maketitle}
% \DescribeMacro{\@maketitle}
%    \begin{macrocode}
\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}%
  \setcounter{section}{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
  \let\thanks\@gobble}
\AtBeginDocument{\def\@maketitle{%
  \SUF@chaptersize
   \SUF@lr@coll@titleSwitch
    \let\footnote\thanks
     \parindent=0pt
    \refstepcounter{title}%
    {\ifsuftesi@reverseauthortitle
      \SUF@titlefont@Switch{\@title}%
        \else\SUF@authorfont@Switch{\@author}\fi}%
%     \label{begin:\thetitle}%
    \begingroup%
    \let\thanks\@gobble
    \addcontentsline{toc}{title}{\normalfont{\@author}\newline%
      \itshape\@headtitle}
    \endgroup%
    \vspace{2ex}\par
    {\ifsuftesi@reverseauthortitle
      \SUF@authorfont@Switch{\@author}%
        \else
      \SUF@titlefont@Switch{\@title}%
    \fi\\}
    \vskip1.5cm}}
%    \end{macrocode}
% \DescribeMacro{\includeart} The command to include a paper in the collection.
%    \begin{macrocode}
\newenvironment{article}
  {\begingroup
  \global\let\@thanks\@empty
  \setcounter{footnote}{0}
  \refstepcounter{article}
  \label{begin:\thearticle}
}
  {\label{end:\thearticle}\endgroup
  }
\newcommand{\includeart}[1]{%
    \clearpage
    \input{#1}
}
%    \end{macrocode}
% \DescribeMacro{\frontispiece} The command to typeset 
% the frontispiece of the collection.
%    \begin{macrocode}
\newcommand{\frontispiece}{%
  \thispagestyle{empty}%
    \begingroup
     \centering
       \null\vspace{\stretch{1}}
     
       {\SUF@chaptersize\@collectiontitle\par}
         \vskip5ex
     
       \@collectioneditor
       \vspace{\stretch{2}}
       
     \@date
     
  \endgroup
  \clearpage}
%    \end{macrocode}
% In the collection document structure the articles are treated as
% chapters but you would not need to print in
% the table of contents all the sections of every article. So first of all we include in the table of contents only the author and the title of each paper:
%    \begin{macrocode}
  \setcounter{tocdepth}{0}
%    \end{macrocode}
% Anyway the sections inside each paper are numbered 
% as in standard articles:
%    \begin{macrocode}
  \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}
  \else
\fi
%    \end{macrocode}
% \subsection{Frontispiece}
%    \begin{macrocode}
\AtBeginDocument{%
\@ifpackagewith{frontespizio}{suftesi}
     {\ifsuftesi@periodical
          \Margini {5.5cm}{7cm}{4.5cm}{0cm}
        \else
      \ifsuftesi@compact
          \Margini {4.5cm}{7cm}{4.5cm}{0cm}
        \else
          \ifsuftesi@supercompact
          \Margini {4.5cm}{10cm}{6cm}{1cm}
        \else
      \ifsuftesi@periodicalaureo
          \Margini {5.5cm}{7cm}{4.5cm}{0cm}
      \fi
    \fi
  \fi
\fi}
{\@ifpackageloaded{frontespizio}
     {\ifsuftesi@periodical
          \Margini {1cm}{7cm}{5cm}{1cm}
          \Rientro{1cm}
        \else
      \ifsuftesi@compact
          \Margini {1cm}{7cm}{6cm}{1cm}
          \Rientro{1cm}
        \else
          \ifsuftesi@supercompact
          \Margini {1cm}{10cm}{8cm}{1cm}
          \Rientro{1cm}
        \else
          \ifsuftesi@periodicalaureo
          \Margini {1cm}{7cm}{5cm}{1cm}
          \Rientro{1cm}
        \fi
     \fi
  \fi
\fi}
{\relax}}}
%    \end{macrocode}
% \begin{environment}{theindex}
%    \begin{macrocode}
\renewenvironment{theindex}
               {\if@twocolumn
                  \@restonecolfalse
                \else
                  \@restonecoltrue
                \fi
                \ifsuftesi@article
                \twocolumn[\section*{\indexname}]%
                \else
                \twocolumn[\@makeschapterhead{\indexname}]%
                \fi
                \@mkboth{\indexname}{\indexname}%
                \thispagestyle{plain}%
                \raggedright%
                \parindent\z@
                \parskip\z@ \@plus .3\p@\relax
                \columnseprule \z@
                \columnsep 35\p@
                \let\item\@idxitem}
               {\if@restonecol\onecolumn\else\clearpage\fi}
%    \end{macrocode}
% \end{environment}
% \subsection{Appendix}
% \DescribeMacro{\appendicesname}
% \DescribeMacro{\appendixpage}
%    \begin{macrocode}
\newcommand{\appendicesname}[1]{\def\SUF@appendices{#1}}
    \appendicesname{Appendici}
    \newcommand{\appendixpage}{\SUF@appendixpage}
\def\SUF@appendixpage{%
  \@mainmattertrue
    \titlecontents{part}                                                  
      [0em]                                                                    
      {\addvspace{3ex}}
      {}
      {}
      {}
      [\addvspace{1ex}]
\let\contentspage\relax
    \cleardoublepage
       \thispagestyle{empty}
         \addcontentsline{toc}{part}{\SUF@appendices}
     \begingroup
       \centering
          \null\vfil
        {\LARGE\SUF@appendices\par}
          \vfil
   \endgroup
    \cleardoublepage
\titlecontents{part}                                                  
   [0em]                                                                    
  {\addvspace{3ex}\partname~}                                                 
  {\makebox[\SUF@label@part][l]{%
    \SUF@toclabelnum\thecontentslabel}\hspace*{1em}}                                                    
  {}                                                                      
  {}
  [\addvspace{1ex}]
}
%    \end{macrocode}
% \DescribeMacro{\appendix}
%    \begin{macrocode}
\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%
      \SUF@titlesmallcaps{\appendixname}~\Alph{chapter}:\hskip.5em}
      {0pt}
      {\small\SUF@titlesmallcaps}
      [\rule{\textwidth}{.4pt}]
      \titlespacing*{\chapter}{0em}{-16pt}{10pt}[0em]}
    \else
      \ifsuftesi@article
          \renewcommand\appendix{\par
              \setcounter{section}{0}%
              \setcounter{subsection}{0}%
              \gdef\SUF@thesection{\@Alph\c@section}}
   \else
         \renewcommand\appendix{\par
             \setcounter{chapter}{0}%
             \setcounter{section}{0}%
             \gdef\@chapapp{\appendixname}%
             \gdef\SUF@thechapter{\@Alph\c@chapter}}
    \fi
\fi
%    \end{macrocode}
% \subsection{Headings}
%    \begin{macrocode}
\RequirePackage{fancyhdr}
\AtBeginDocument{%
 \pagestyle{fancy}
  \renewcommand{\headrulewidth}{0pt} 
  \renewcommand{\footnoterule}{}
\def\SUF@versionstring{\texttt{\version@string{} \today}}
%    \end{macrocode}
% \paragraph{The \opt{elements} headers}
%    \begin{macrocode}
\ifsuftesi@elementsheader% 
  \renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
  \renewcommand{\sectionmark}[1]{\markright{#1}}
		 \fancypagestyle{elements}{%
		  \setlength{\unitlength}{1pt}
		   \fancyhf{}
		   \fancyfoot[LE,RO]{\thepage} 
		   \fancyhead[RO]{%
		    \begin{picture}(0,0)
		      \put(0,-104){%
		      \hskip\marginparsep
		      \parbox[t]{\marginparwidth}{\itshape\raggedright\leftmark}}%
		    \end{picture}}
		   \fancyhead[LE]{%
		     \begin{picture}(0,0)
		       \put(0,-104){%
		       \hskip-\dimexpr(\marginparwidth+\marginparsep)
		       \parbox[t]{\marginparwidth}{\itshape\raggedleft\rightmark}}%
		    \end{picture}}%
		  }%
\else
%    \end{macrocode}
% \paragraph{The \opt{default} headers}
%    \begin{macrocode}
	\renewcommand{\chaptermark}[1]{%
	    \markboth{\chaptertitlename\ \SUF@thechapter}{#1}}
	\ifsuftesi@article
	  \renewcommand{\sectionmark}[1]{\markright{\SUF@thesection.\ #1}}
	    \else
	  \renewcommand{\sectionmark}[1]{}
	\fi
\fi
%    \end{macrocode}
% \paragraph{The \opt{plain} style}
%    \begin{macrocode}
\fancypagestyle{plain}{\fancyhf{}}
%    \end{macrocode}
% \paragraph{The \opt{sufplain} style}
%    \begin{macrocode}
\fancypagestyle{sufplain}{%
 \fancyhf{}%
 \fancyfoot[RE,LO]{%
   \ifsuftesi@draftdate\footnotesize\SUF@versionstring\else\fi}
 \fancyfoot[C]{\footnotesize\SUF@thepage}}
%    \end{macrocode}
% \paragraph{The \opt{centerheader} style}
%    \begin{macrocode}
\fancypagestyle{centerheader}{%
  \fancyhf{}%
  \fancyfoot[RE,LO]{%
    \ifsuftesi@draftdate\footnotesize\SUF@versionstring\else\fi}
  \fancyhead[CO]{\footnotesize\xheadbreakfalse\SUF@rightmark} 
  \fancyhead[CE]{\footnotesize\xheadbreakfalse%
    \SUF@LR@MarkSwitch} 
  \fancyfoot[C]{\footnotesize\SUF@thepage}%
  }%
%    \end{macrocode}
% \paragraph{The \opt{sufdefault} style}
%    \begin{macrocode}
\fancypagestyle{sufdefault}{%
  \fancyhf{}%
  \fancyfoot[RE,LO]{%
    \ifsuftesi@draftdate\footnotesize\SUF@versionstring\else\fi}
  \fancyhead[LE,RO]{\footnotesize\SUF@thepage} 
  \fancyhead[LO]{\footnotesize\xheadbreakfalse\SUF@rightmark}
  \fancyhead[RE]{\footnotesize\xheadbreakfalse%
    \SUF@LR@MarkSwitch}
  }%
%
\ifsuftesi@article
				\ifsuftesi@authortitle
				\def\SUF@LR@MarkSwitch{\SUF@leftmark}
				\else
				\def\SUF@LR@MarkSwitch{\SUF@rightmark}
				\fi
\else
        \def\SUF@LR@MarkSwitch{\SUF@leftmark}
\fi
\def\SUF@leftrightmark{%
 \if@mainmatter\leftmark\else\rightmark\fi} 
%    \end{macrocode}
% Setting the default page style:
%    \begin{macrocode}
\pagestyle{sufdefault}
  \ifsuftesi@centerheader\pagestyle{centerheader}\else\fi
  \ifsuftesi@sufplain\pagestyle{sufplain}\else\fi
  \ifsuftesi@elementsheader\pagestyle{elements}\else\fi
}
%    \end{macrocode}
% \subsection{Text elements}
%
% \subsubsection{Block Quotations}
%
% \DescribeEnv{quotation}
% \DescribeEnv{quote}
% \DescribeEnv{verse}
% New environments for block quotations according to a popular Italian style. 
% The font size is the same of the footnotes and the margins are set to \cmd{parindent}.
%    \begin{macrocode}
\renewenvironment{quotation}
            {\list{}{\listparindent\parindent%
                     \itemindent    \listparindent
                     \leftmargin     \parindent
                     \SUF@quote@style                       
                     \parsep        \z@ \@plus\p@}%
               \item\relax%
                 \SUF@quotation@size%
                 \noindent\ignorespaces}
               {\endlist}
\renewenvironment{quote}
            {\list{}{\leftmargin \parindent
            \SUF@quote@style}%
               \item\relax%
                 \SUF@quotation@size}%\ignorespaces?
               {\endlist}
\renewenvironment{verse}
               {\let\\\@centercr
                \list{}{\itemsep      \z@
                        \itemindent   -1.5em%
                        \listparindent\itemindent
                        \rightmargin  \leftmargin
                        \advance\leftmargin 1.5em}%
                \item\relax
                 \SUF@quotation@size}
               {\endlist}  
%    \end{macrocode}
% \paragraph{The \opt{fewfootnotes} option}
% Enable only with three footnotes per page maximum.
%    \begin{macrocode}
\ifsuftesi@fewfootnotes
\AtBeginDocument{%
\def\@fnsymbol#1{\ensuremath{\ifcase#1\or*\or{*}{*}\or{*}{*}{*}\or%
  \ClassError{suftesi}%
  {Too many footnotes\MessageBreak
  Remove the class option 'fewfootnote'}
  {Too many footnotes\MessageBreak
  Remove the class option 'fewfootnote'}
  \else\@ctrerr\fi}}}
\def\thefootnote{\@fnsymbol\c@footnote}%
\else\fi
%    \end{macrocode}
% \DescribeMacro{\xfootnote}
% Prints a footnote with discretionary
% symbol give in the first argument.
%    \begin{macrocode}
\newcommand*\xfootnote[1][*]{%
    \xdef\@thefnmark{#1}%
    \@footnotemark\@footnotetext}
%    \end{macrocode}
% \subsubsection{Marginal notes}
% \DescribeMacro{\marginpar}
% The |\marginpar| command is redefined according to the look 
% of \emph{Classic Thesis} by 
% André \textcite{Miede:2011}\index{Miede, André}. 
% Thanks to Lorenzo Pantieri\index{Pantieri, Lorenzo} 
% and Enrico Gregorio\index{Gregorio, Enrico}.
%    \begin{macrocode}
\def\SUF@mpsetup{%
%    \end{macrocode}
% In the \emph{Elements} (i.e. with \opt{elements} option) 
% the marginal notes are printed in roman, 
% but I prefer italic shape for the other options:
%    \begin{macrocode}
    \ifsuftesi@elementsheader\relax
      \else\itshape\fi
    \footnotesize%
    \parindent=0pt \lineskip=0pt \lineskiplimit=0pt %
    \tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300%
    \doublehyphendemerits=100000%
    \finalhyphendemerits=\doublehyphendemerits}
  \let\oldmarginpar\marginpar
  \renewcommand{\marginpar}[1]{\oldmarginpar%
     [\SUF@mpsetup\raggedleft\hspace{0pt}{#1}]%
     {\SUF@mpsetup\raggedright\hspace{0pt}{#1}}}
%    \end{macrocode}
% Redefine an internal command of the \sty{todonotes} package in 
% order to use the class-specific marginal notes when this 
% package is loaded. This redefinition simply substitute 
% \cmd{oldmarginpar} to \cmd{marginpar}:
%    \begin{macrocode}
\AtBeginDocument{%
\@ifpackageloaded{todonotes}{%
\renewcommand{\@todonotes@drawMarginNoteWithLine}{%
\begin{tikzpicture}[remember picture, overlay, baseline=-0.75ex]%
    \node [coordinate] (inText) {};%
\end{tikzpicture}%
\oldmarginpar[{% Draw note in left margin
    \@todonotes@drawMarginNote%
    \@todonotes@drawLineToLeftMargin%
}]{% Draw note in right margin
    \@todonotes@drawMarginNote%
    \@todonotes@drawLineToRightMargin%
}%
}%
}
{\relax}}
%    \end{macrocode}
% \subsubsection{Abstract}
% \DescribeEnv{quotation}
% This is the macro that defines the \env{abstract} environment in \sty{article} class. In \sty{suftesi} it simply prints the abstract name in roman font:
%    \begin{macrocode}
\ifsuftesi@collection
  \newenvironment{abstract}{%
      \if@twocolumn
        \section*{\abstractname}%
      \else
        \small
        \begin{center}%
          {\abstractname\vspace{-.5em}\vspace{\z@}}%
        \end{center}%
        \quotation
      \fi}
      {\if@twocolumn\else\endquotation\fi\vspace{6ex}}
\else
\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
\fi
\newcommand\abstractname{Abstract}
%    \end{macrocode}
% \subsubsection{Colophon} 
% Some useful commands to print a colophon or a copyright notice.
% \DescribeMacro{\colophon}
%    \begin{macrocode}
\newcommand{\colophon}[3][]{%
  \thispagestyle{empty}
  \null
    \vfill
     \def\next{#2}
         \ifx\next\@empty\else
            \noindent Copyright \copyright{} \the\year~#2\\[1ex]
          Tutti i diritti riservati
        \fi
  \vfill  
  {\small\noindent Questo lavoro \`e stato composto con \LaTeX{}%
     \def\next{#1}
        \ifx\next\@empty\else su #1 
      \fi usando la classe \textsf{suftesi} di 
      Ivan Valbusa\index{Valbusa, Ivan}. #3\par}
      \cleardoublepage}
%    \end{macrocode}
% \DescribeMacro{\bookcolophon}
%    \begin{macrocode}
\newcommand{\bookcolophon}[2]{%
  \thispagestyle{empty}
  \null
    \vfill
            \noindent #1
  \vfill  
  {\small\noindent #2\par}
      \cleardoublepage}
%    \end{macrocode}
% \DescribeMacro{\artcolophon}
%    \begin{macrocode}
\newcommand{\artcolophon}[1]{%
\thispagestyle{empty}
  \null
    \vfill
  {\small\noindent #1\par}}
%    \end{macrocode}
% \DescribeMacro{\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}
% \DescribeMacro{\FSPLcolophon}
% This command is defined only for the \opt{style=FSPL*} options.
%    \begin{macrocode}
\ifsuftesi@FSPL
\newcommand{\FSPLcolophon}[1][\the\year]{%
\begingroup
\thispagestyle{empty}
\null\vspace{\stretch{1}}
\noindent \hskip-.5em\cc #1 \@author%
\vskip1ex

\small\noindent This work is licensed under the Creative Commons 
Attribution-NonCommercial-NoDerivs 3.0 Unported License. 
To view a copy of this license, 
visit http://creativecom mons.org/licenses/by-nc-nd/3.0/.

\endgroup

\begingroup
\footnotesize

\null\vspace{\stretch{1}}

\noindent Typeset with \LaTeX{} in collaboration with the Joint Project 
\emph{Formal Style for PhD Theses with \LaTeX{}} (University of Verona, 
Italy) using the \textsf{suftesi} class by Ivan Valbusa. The text face 
is Palatino, designed by Hermann Zapf. The sans serif font is Iwona by 
Janusz M. Nowacki.

\endgroup

\clearpage}
\else
\def\FSPLcolophon{%
 \ClassError{suftesi}
   {\noexpand\FSPLcolophon is defined\MessageBreak 
     only for the FSPL styles}
   {\noexpand\FSPLcolophon is defined\MessageBreak 
     only for the FSPL styles}}
\fi
%    \end{macrocode}
% \subsection{Toc, lof, lot}
%    \begin{macrocode}
\RequirePackage{titletoc}
%    \end{macrocode}
% All the lengths depend on |\SUF@label@chap| 
% so we define this first.
%    \begin{macrocode}
\newlength\SUF@label@chap
\setlength\SUF@label@chap{.5em}
%    \end{macrocode}
% \DescribeMacro{\toclabelwidth}
% |\toclabelwidth| is provided to
% adjust the label width in the table of contents:
%    \begin{macrocode}
\newcommand*{\toclabelwidth}[2]{%
  \AtBeginDocument{
    \addtolength{\csname SUF@label@#1\endcsname}{#2}%
    \addtolength{\csname SUF@tocindent@#1\endcsname}{#2}%
  }
}
\newcommand{\toclabelspace}{%
  \ClassError{suftesi}
    {\MessageBreak
    \noexpand\toclabelspace is not more defined\MessageBreak
    Use \noexpand\toclabelwidth instead.\MessageBreak
    See package documentation for details}
    {\MessageBreak
    \noexpand\toclabelspace is not more defined\MessageBreak
    Use \noexpand\toclabelwidth instead.\MessageBreak
    See package documentation for details}}
%    \end{macrocode}
% \DescribeMacro{\SUF@tochang}
% This macro controls the space between page number and chapter
% label using the \opt{tocpageleft} option:  
%    \begin{macrocode}
\newlength{\SUF@tochang}
\setlength{\SUF@tochang}{3em}
\AtBeginDocument{
\newlength\SUF@label@part
\newlength\SUF@label@sec
\newlength\SUF@label@subsec
\newlength\SUF@label@subsubsec
\newlength\SUF@label@par
\newlength\SUF@label@subpar
\newlength\SUF@label@fig
\newlength\SUF@label@tab
\setlength\SUF@label@part         
    {\SUF@label@chap}
\setlength\SUF@label@sec      
    {\dimexpr(\SUF@label@chap+.5em)}
\setlength\SUF@label@subsec   
    {\dimexpr(\SUF@label@sec+.5em)}
\setlength\SUF@label@subsubsec
    {\dimexpr(\SUF@label@subsec+.5em)}
\setlength\SUF@label@par    
    {\dimexpr(\SUF@label@subsubsec+.5em)}
\setlength\SUF@label@subpar 
    {\dimexpr(\SUF@label@par+.5em)}
\setlength\SUF@label@fig       
    {\SUF@label@sec}
\setlength\SUF@label@tab        
    {\SUF@label@sec}
}
%    \end{macrocode}
% Part in article mode
%    \begin{macrocode}
\titlecontents{part}
  [0em]
  {\addvspace{3ex}\partname\hspace*{.5em}}
  {\makebox[\SUF@label@part][l]{%
    \SUF@toclabelnum\thecontentslabel}\hspace*{1em}}
  {}
  {}
  [\addvspace{1ex}]
%    \end{macrocode}
% \subsubsection{'\opt{tocpageleft}' toc}
%    \begin{macrocode}
\ifsuftesi@pagelefttoc
%    \end{macrocode}
% \DescribeMacro{\contentsmargin}
% First we reset the right margin to zero:
%    \begin{macrocode}
\contentsmargin{0pt}
\AtBeginDocument{
\newlength\SUF@tochang@chap
\newlength\SUF@tochang@sec
\newlength\SUF@tochang@subsec
\newlength\SUF@tochang@subsubsec
\newlength\SUF@tochang@par
\newlength\SUF@tochang@subpar
\newlength\SUF@tochang@fig
\newlength\SUF@tochang@tab
\newlength\SUF@addto@tochang@chap
\newlength\SUF@addto@tochang@sec
\newlength\SUF@addto@tochang@subsec
\newlength\SUF@addto@tochang@subsubsec
\newlength\SUF@addto@tochang@par
\newlength\SUF@addto@tochang@subpar
\newlength\SUF@addto@tochang@fig
\newlength\SUF@addto@tochang@tab
\setlength\SUF@tochang@chap     
    {\dimexpr(1em+\SUF@tochang+\SUF@label@chap+1em)}
\setlength\SUF@tochang@sec      
    {\dimexpr(\SUF@tochang@chap+\SUF@label@sec+1em)}
\setlength\SUF@tochang@subsec   
    {\dimexpr(\SUF@tochang@sec+\SUF@label@subsec+1em)}
\setlength\SUF@tochang@subsubsec
    {\dimexpr(\SUF@tochang@subsec+\SUF@label@subsubsec+1em)}
\setlength\SUF@tochang@par   
    {\dimexpr(\SUF@tochang@subsubsec+\SUF@label@par+1em)}
\setlength\SUF@tochang@subpar   
    {\dimexpr(\SUF@tochang@par+\SUF@label@subpar+1em)}
\setlength\SUF@tochang@fig       
    {\SUF@tochang@chap}
\setlength\SUF@tochang@tab       
    {\SUF@tochang@chap}
\setlength\SUF@addto@tochang@chap      
    {\SUF@tochang}
\setlength\SUF@addto@tochang@sec       
    {\dimexpr(\SUF@addto@tochang@chap+\SUF@label@sec+.5em)}
\setlength\SUF@addto@tochang@subsec    
    {\dimexpr(\SUF@addto@tochang@sec+\SUF@label@subsec+.5em)}
\setlength\SUF@addto@tochang@subsubsec 
    {\dimexpr(\SUF@addto@tochang@subsec+\SUF@label@subsubsec+.5em)}
\setlength\SUF@addto@tochang@par       
    {\dimexpr(\SUF@addto@tochang@subsubsec+\SUF@label@par+.5em)}
\setlength\SUF@addto@tochang@subpar       
    {\dimexpr(\SUF@addto@tochang@par+\SUF@label@subpar+.5em)}
\setlength\SUF@addto@tochang@fig       
    {\dimexpr(\SUF@addto@tochang@chap-\SUF@label@sec+\SUF@label@chap)}
\setlength\SUF@addto@tochang@tab       
    {\dimexpr(\SUF@addto@tochang@chap-\SUF@label@sec+\SUF@label@chap)}
}
%    \end{macrocode}
% \paragraph{TOC entries}
%    \begin{macrocode}
\titlecontents{chapter}
  [\SUF@tochang@chap]
  {\addvspace{2ex}}
  {\hskip-\SUF@tochang@chap%
   \makebox[1em][l]{\thecontentspage}%
    \hskip\SUF@addto@tochang@chap%
      \makebox[\SUF@label@chap][l]{%
        \SUF@toclabelnum\thecontentslabel}\hspace*{1em}}
  {\hskip-\SUF@tochang@chap%
     \makebox[1em][l]{\thecontentspage}%
       \hskip\SUF@addto@tochang@chap}
  {}
  [\addvspace{1ex}]
\titlecontents{section}
  [\SUF@tochang@sec]
  {}
  {\hskip-\SUF@tochang@sec%
   \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@sec%
    \makebox[\SUF@label@sec][l]{%
    \ifsuftesi@article\SUF@toclabelnum%
     \else\fi\thecontentslabel}\hspace*{1em}}
  {\hskip-\SUF@tochang@sec%
   \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@sec}
  {}
\titlecontents{subsection}
  [\SUF@tochang@subsec]
  {}
  {\hskip-\SUF@tochang@subsec%
   \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@subsec%
    \makebox[\SUF@label@subsec][l]{\thecontentslabel}\hspace*{1em}}
  {\hskip-\SUF@tochang@subsec%
   \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@subsec}
  {}
\titlecontents{subsubsection}
  [\SUF@tochang@subsubsec]
  {}
  {\hskip-\SUF@tochang@subsubsec%
   \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@subsubsec%
    \makebox[\SUF@label@subsubsec][l]{\thecontentslabel}\hspace*{1em}}
  {\hskip-\SUF@tochang@subsubsec%
   \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@subsubsec}
  {}
\titlecontents{paragraph}
  [\SUF@tochang@par]
  {}
  {\hskip-\SUF@tochang@par%
   \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@par%
    \makebox[\SUF@label@par][l]{\thecontentslabel}\hspace*{1em}}
  {\hskip-\SUF@tochang@par%
   \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@par}
  {}
\titlecontents{subparagraph}
  [\SUF@tochang@subpar]
  {}
  {\hskip-\SUF@tochang@subpar%
   \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@subpar%
    \makebox[\SUF@label@subpar][l]{\thecontentslabel}\hspace*{1em}}
  {\hskip-\SUF@tochang@subpar%
   \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@subpar}
  {}
\titlecontents{figure}
  [\SUF@tochang@fig]
  {}
  {\hskip-\SUF@tochang@fig%
   \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@fig%
     \makebox[\SUF@label@tab][l]{\thecontentslabel}\hspace*{1em}}
  {}
  {}
\titlecontents{table}
  [\SUF@tochang@tab]
  {}
  {\hskip-\SUF@tochang@tab%
   \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@tab%
     \makebox[\SUF@label@tab][l]{\thecontentslabel}\hspace*{1em}}
  {}
  {}
\else
%    \end{macrocode}
% \subsubsection{Default toc}
%    \begin{macrocode}
\AtBeginDocument{
\newlength\SUF@tocindent@chap
\newlength\SUF@tocindent@sec
\newlength\SUF@tocindent@subsec
\newlength\SUF@tocindent@subsubsec
\newlength\SUF@tocindent@par
\newlength\SUF@tocindent@subpar
\newlength\SUF@tocindent@fig
\newlength\SUF@tocindent@tab
\ifsuftesi@article
\setlength\SUF@tocindent@sec
    {\dimexpr(\SUF@label@chap+1.5em)}
\setlength\SUF@tocindent@subsec
    {\dimexpr(\SUF@tocindent@sec+\SUF@label@subsec+1em)}
\setlength\SUF@tocindent@subsubsec
    {\dimexpr(\SUF@tocindent@subsec+\SUF@label@subsubsec+1em)}
\setlength\SUF@tocindent@par
    {\dimexpr(\SUF@tocindent@subsubsec+\SUF@label@par+1em)}
\setlength\SUF@tocindent@subpar
    {\dimexpr(\SUF@tocindent@par+\SUF@label@subpar+1em)}
\setlength\SUF@tocindent@fig
    {\dimexpr(\SUF@label@chap+1.5em)}
\setlength\SUF@tocindent@tab
    {\dimexpr(\SUF@label@chap+1.5em)}
\else
\setlength\SUF@tocindent@chap
    {\dimexpr(\SUF@label@chap+1em)}
\setlength\SUF@tocindent@sec
    {\dimexpr(\SUF@tocindent@chap+\SUF@label@sec+1em)}
\setlength\SUF@tocindent@subsec
    {\dimexpr(\SUF@tocindent@sec+\SUF@label@subsec+1em)}
\setlength\SUF@tocindent@subsubsec
    {\dimexpr(\SUF@tocindent@subsec+\SUF@label@subsubsec+1em)}
\setlength\SUF@tocindent@par
    {\dimexpr(\SUF@tocindent@subsubsec+\SUF@label@par+1em)}
\setlength\SUF@tocindent@subpar
    {\dimexpr(\SUF@tocindent@par+\SUF@label@subpar+1em)}
\setlength\SUF@tocindent@fig
    {\dimexpr(\SUF@tocindent@chap+\SUF@label@sec-\SUF@label@chap)}
\setlength\SUF@tocindent@tab
    {\dimexpr(\SUF@tocindent@chap+\SUF@label@sec-\SUF@label@chap)}
\fi
}
%    \end{macrocode}
% \paragraph{TOC entries}
%    \begin{macrocode}
\titlecontents{chapter}
  [\SUF@tocindent@chap]
  {\addvspace{2ex}}
  {\hskip-\SUF@tocindent@chap%
    \makebox[\SUF@label@chap][l]{\SUF@toclabelnum\thecontentslabel}%
    \hspace*{1em}}
  {\hskip-\SUF@tocindent@chap}
  {\SUF@chaptitlerule\contentspage}
  [\addvspace{1ex}]
\titlecontents{section}
  [\SUF@tocindent@sec]
  {}
  {\hskip-\dimexpr(\SUF@label@sec+1em)%
    \makebox[\SUF@label@sec][l]{%
    \ifsuftesi@article\SUF@toclabelnum%
      \else\fi\thecontentslabel}\hspace*{1em}}
  {\hskip-\dimexpr(\SUF@label@sec+1em)}
  {\ifsuftesi@article\SUF@chaptitlerule%
       \else\SUF@titlerule\fi\contentspage}
\titlecontents{subsection}
  [\SUF@tocindent@subsec]
  {}
  {\hskip-\dimexpr(\SUF@label@subsec+1em)%
    \makebox[\SUF@label@subsec][l]{\thecontentslabel}\hspace*{1em}}
  {\hskip-\dimexpr(\SUF@label@subsec+1em)}
  {\SUF@titlerule\contentspage}
\titlecontents{subsubsection}
  [\SUF@tocindent@subsubsec]
  {}
  {\hskip-\dimexpr(\SUF@label@subsubsec+1em)%
    \makebox[\SUF@label@subsubsec][l]{\thecontentslabel}\hspace*{1em}}
  {\hskip-\dimexpr(\SUF@label@subsubsec+1em)}
  {\SUF@titlerule\contentspage}
\titlecontents{paragraph}
  [\SUF@tocindent@par]
  {}
  {\hskip-\dimexpr(\SUF@label@par+1em)%
    \makebox[\SUF@label@par][l]{\thecontentslabel}\hspace*{1em}}
  {\hskip-\dimexpr(\SUF@label@par+1em)}
  {\SUF@titlerule\contentspage}
\titlecontents{subparagraph}
  [\SUF@tocindent@subpar]
  {}
  {\hskip-\dimexpr(\SUF@label@subpar+1em)%
    \makebox[\SUF@label@subpar][l]{\thecontentslabel}\hspace*{1em}}
  {\hskip-\dimexpr(\SUF@label@subpar+1em)}
  {\SUF@titlerule\contentspage}
\titlecontents{figure}
  [\SUF@tocindent@fig]
  {}
  {\hskip-\SUF@tocindent@fig%
    \makebox[\SUF@label@fig][l]{\thecontentslabel}\hspace*{1em}}
  {}
  {\SUF@titlerule\contentspage}
\titlecontents{table}
  [\SUF@tocindent@tab]
  {}
  {\hskip-\SUF@tocindent@tab%
    \makebox[\SUF@label@tab][l]{\thecontentslabel}\hspace*{1em}}
  {}
  {\SUF@titlerule\contentspage}
\fi
%    \end{macrocode}
% \DescribeMacro{\tableofcontents}
% \DescribeMacro{\listoffigures}
% \DescribeMacro{\listoftables}
% With \opt{article} option the toc, lof and lot 
% are printed as sections.
%    \begin{macrocode}
\ifsuftesi@article 
\renewcommand\tableofcontents{%
    \vspace{2ex}%
	    \section*{\contentsname}%
	      \@mkboth{\contentsname}{\contentsname}%
        \thispagestyle{empty}
        \ifsuftesi@twocolumntoc
          \begin{multicols}{2}
	          \@starttoc{toc}%
	        \end{multicols}
	      \else
	         \@starttoc{toc}%
	      \fi
    \vspace{2ex}%
   }
\renewcommand\listoffigures{%
    \vspace{2ex}%
    \section*{\listfigurename}%
       \@mkboth{\listfigurename}{\listfigurename}%
     \thispagestyle{empty}
        \ifsuftesi@twocolumnlof
          \begin{multicols}{2}
	          \@starttoc{lof}%
	        \end{multicols}
	      \else
	         \@starttoc{lof}%
	      \fi
    \vspace{2ex}%
    }
\renewcommand\listoftables{%
    \vspace{2ex}%
    \section*{\listtablename}%
        \@mkboth{\listtablename}{\listtablename}%
      \thispagestyle{empty}
        \ifsuftesi@twocolumnlot
          \begin{multicols}{2}
	          \@starttoc{lot}%
	        \end{multicols}
	      \else
	         \@starttoc{lot}%
	      \fi
    \vspace{2ex}%
    }
\else
%    \end{macrocode}
% The default toc, lof and lot are treated as chapters. 
%    \begin{macrocode}
\renewcommand\tableofcontents{%
    \if@twocolumn
      \@restonecoltrue\onecolumn
    \else
      \@restonecolfalse
    \fi
    \chapter*{\contentsname}%
        \@mkboth{%
            \contentsname}
           {\contentsname}%
      \thispagestyle{empty}
        \ifsuftesi@twocolumntoc
          \begin{multicols}{2}
	          \@starttoc{toc}%
	        \end{multicols}
	      \else
	         \@starttoc{toc}%
	      \fi
    \if@restonecol\twocolumn\fi
   }
\renewcommand\listoffigures{%
    \if@twocolumn
      \@restonecoltrue\onecolumn
    \else
      \@restonecolfalse
    \fi
    \chapter*{\listfigurename}%
      \@mkboth{\listfigurename}%
              {\listfigurename}%
     \thispagestyle{empty}
        \ifsuftesi@twocolumnlof
          \begin{multicols}{2}
	          \@starttoc{lof}%
	        \end{multicols}
	      \else
	         \@starttoc{lof}%
	      \fi
    \if@restonecol\twocolumn\fi
    }
\renewcommand\listoftables{%
    \if@twocolumn
      \@restonecoltrue\onecolumn
    \else
      \@restonecolfalse
    \fi
    \chapter*{\listtablename}%
      \@mkboth{%
          \listtablename}%
         {\listtablename}%
     \thispagestyle{empty}
        \ifsuftesi@twocolumnlot
          \begin{multicols}{2}
	          \@starttoc{lot}%
	        \end{multicols}
	      \else
	         \@starttoc{lot}%
	      \fi
    \if@restonecol\twocolumn\fi
    }
\fi
%    \end{macrocode}
% \subsection{New commands}
% \DescribeMacro{\chapterintro}
% A command to typeset an unnumbered section:
%    \begin{macrocode}
\ifsuftesi@article
\def\chapterintro{%
\ClassError{suftesi}
  {Command \noexpand\chapterintro is undefined\MessageBreak 
     using 'documentstructure=article'}
  {Command \noexpand\chapterintro is undefined\MessageBreak 
     using 'documentstructure=article'}}
\else
\def\chapterintro{
  \@ifstar{\@tempswafalse\@chapterintro}{\@tempswatrue\@chapterintro}}
\def\@chapterintro{\phantomsection
  \if@tempswa\section*{\SUF@fchapterintroname}\fi
  \addcontentsline{toc}{section}{\SUF@fchapterintroname}}
\newcommand{\chapterintroname}[1]{\def\SUF@fchapterintroname{#1}}
\chapterintroname{Introduzione}
\fi
%    \end{macrocode}
% \DescribeMacro{\headbreak}
%Active in the table of contents but not in the text.
%    \begin{macrocode}
\newif\ifheadbreak\headbreakfalse
  \DeclareRobustCommand{\headbreak}  
    {\ifheadbreak\\\else\fi}
%    \end{macrocode}
% \DescribeMacro{\xheadbreak}
% Active in the text but not in the table of contents.
%    \begin{macrocode}
\newif\ifxheadbreak\xheadbreaktrue
  \DeclareRobustCommand{\xheadbreak} 
    {\ifxheadbreak\\\else\fi}
%    \end{macrocode}
% \DescribeMacro{\tableofcontents}
%    \begin{macrocode}
\let\origtableofcontents\tableofcontents
  \renewcommand{\tableofcontents}{%
    \begingroup\headbreaktrue\xheadbreakfalse%
  \origtableofcontents\endgroup}
%    \end{macrocode}
% Renew  |\frontmatter| to have arabic page numbering:
%    \begin{macrocode}
\ifsuftesi@article
\renewcommand\frontmatter{\ClassError{suftesi}
  {Command \noexpand\frontmatter is undefined\MessageBreak 
     using 'documentstructure=article'}
  {Command \noexpand\frontmatter is undefined\MessageBreak 
     using 'documentstructure=article'}}
\renewcommand\mainmatter{\ClassError{suftesi}
  {Command \noexpand\mainmatter is undefined\MessageBreak 
     using 'documentstructure=article'}
  {Command \noexpand\mainmatter is undefined\MessageBreak 
     using 'documentstructure=article'}}
\renewcommand\backmatter{\ClassError{suftesi}
  {Command \noexpand\backmatter is undefined\MessageBreak 
     using 'documentstructure=article'}
  {Command \noexpand\backmatter is undefined\MessageBreak 
     using 'documentstructure=article'}}
\else
\renewcommand\frontmatter{\cleardoublepage\@mainmatterfalse} 
\renewcommand\mainmatter{\cleardoublepage\@mainmattertrue} 
\fi
%    \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}{0pt}
      \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}
%
% \subsection{Final settings}
%
% In a previous version the \cmd{hemph} command was provided
% to fix a bug in the hyphenation of some italian expressions
% like ``dell'\emph{encyclopaedia}''. Now the bug has been fixed loading the \sty{fixltxhyph} package by Claudio Beccari. The package 
% must be loaded ofter \sty{babel} or \sty{polyglossia}:
%    \begin{macrocode}
\AtBeginDocument{\RequirePackage{fixltxhyph}}  
%    \end{macrocode}
% The \cmd{hemph} command is provided only for 
% backward compatibility:
%    \begin{macrocode}
\let\hemph\emph
%    \end{macrocode}
% The first line of all sections is indented by default
% using \XeLaTeX{} with italian as main language. Anyway this is 
% incongruous with the \LaTeX{} default.
%    \begin{macrocode}
\ifthenelse{\boolean{xetex}\or\boolean{luatex}}
  {\let\@afterindenttrue\@afterindentfalse}
  {\relax}
%    \end{macrocode}
% Just one touch of french typography:
%    \begin{macrocode}
\frenchspacing
%    \end{macrocode}
%</class>
%
% \restoregeometry
%
% \iffalse
%<*bib>
@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},
  Location = {Milano},
  Publisher = {Bompiani},
  Title = {Il nome della rosa},
  Year = {1980}}

@online{Gregorio:frontespizio,
  Author = {Enrico Gregorio},
  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},
  Journal = {ArsTeXnica},
  Month = {10},
  Number = {9},
  Title = {Creare stili bibliografici con \textsf{biblatex}: 
  l'esperienza del pacchetto {biblatex-philosophy}},
  Year = {2010}}

@book{Bringhurst:1992,
  Author = {Robert Bringhurst},
  Booktitle = {The Elements of Typographic Style},
  Date = {1992},
  Edition = {4th ed. (version 4.0)},
  Location = {Vancouver},
  Publisher = {Hurtley \& Marks Publisher},
  Title = {The Elements of Typographyc Style},
  related = {Bringhurst:1992-ITA}
}
@book{Bringhurst:1992-ITA,
  Author = {Robert Bringhurst},
  title = {Gli elementi dello stile tipografico},
  Date = {2009},
  Edition = {5},
  Location = {Milano},
  Publisher = {Sylvestre Bonnard}}
@book{Tschichold:1975,
  Author = {Jan Tschichold},
  Booktitle = {Ausgewählte Aufsätze über Fragen der Gestalt des 
  Buches und der Typographie},
  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},
  Note = {Versione 0.9a},
  Title = {The \textsf{biblatex} package},
  Url = {http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf},
  Year = {2010}}

@online{Miede:2011,
  Author = {André Miede},
  Title = {A Classic Thesis style},
  Url = {http://mirrors.ctan.org/macros/latex/contrib/classicthesis/ClassicThesis.pdf},
  Date = {2011}}

@book{Pantieri:2011,
  Author = {Lorenzo Pantieri and Tommaso Gordini},
  Booktitle = {L'arte di scrivere con LATEX},
  Date = {2012},
  Edition = {new edition},
  Foreword = {Enrico Gregorio},
  Hyphenation = {italian},
  Subtitle = {Un'introduzione 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},
  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 = {ArsTeXnica},
  Month = {10},
  Pages = {37-51},
  Title = {Gestire la bibliografia con {\LaTeX}},
  Volume = {6},
  Year = {2008}}
%</bib>
% \fi
% \Finale
