texlive[59280] Master/texmf-dist: suftesi (20may21)

commits+karl at tug.org commits+karl at tug.org
Thu May 20 22:18:04 CEST 2021


Revision: 59280
          http://tug.org/svn/texlive?view=revision&revision=59280
Author:   karl
Date:     2021-05-20 22:18:04 +0200 (Thu, 20 May 2021)
Log Message:
-----------
suftesi (20may21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
    trunk/Master/texmf-dist/doc/latex/suftesi/templates.zip
    trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
    trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls

Modified: trunk/Master/texmf-dist/doc/latex/suftesi/suftesi.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/suftesi/templates.zip
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx	2021-05-20 20:17:51 UTC (rev 59279)
+++ trunk/Master/texmf-dist/source/latex/suftesi/suftesi.dtx	2021-05-20 20:18:04 UTC (rev 59280)
@@ -56,7 +56,7 @@
 %<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
 %<class>\ProvidesClass{suftesi}
 %<*class>
-    [2021/02/06 v3.0.2 A class for typesetting theses, books and articles]
+    [2021/05/20 v3.1.0 A class for typesetting theses, books and articles]
 %</class>
 %<*driver>
 \documentclass[12pt]{ltxdoc}
@@ -75,6 +75,9 @@
 \definecolor{sufgray}{rgb}{0.5,0.5,0.5}
 \usepackage{tikz}
   \usetikzlibrary{shadows,patterns}
+  \tikzset{
+    pframe/.style={draw=gray,fill=white,drop shadow},
+    pnode/.style={anchor=north west,align=justify,text width=.85\textwidth}}
 \usepackage[framemethod=TikZ]{mdframed}
   \mdfsetup{roundcorner=3pt,linecolor=white,backgroundcolor=gray!10}
 %--------------------------------------------------------
@@ -195,10 +198,10 @@
 \makeatother
 \newcommand{\mygrpxsize}{12.5}
 \def\latintxt{Aliquam auctor, pede consequat
-  laoreet varius, eros tellus maris quam, pellentesque hendrerit.}  
+  laoreet varius, eros tellus maris quam, pellentesque hendrerit.
+  Verecundia conditur.}  
 \def\latintxtb{Morbi luctus, wisi viverra faucibus pretium,
-  nihil est placerat pro cuius loquentis verba. Sed maleficium in quibusdam
- aeternitaem.}
+  nihil est placerat pro cuius loquentis verba. Sed maleficium in quibusdam certum.}
 \def\greektxt{Πρῶτον εἰπεῖν περὶ τί καὶ τίνος ἐστὶν ἡ σκέψις, ὅτι περὶ 
 ἀπόδειξιν καὶ ἐπιστήμης ἀποδεικτικῆς· εἶτα διορίσαι τί 
 ἐστι πρότασις καὶ τί ὅρος καὶ τί συλλογισμός}    
@@ -205,7 +208,7 @@
 \newcommand{\greekexample}[4]{%
   \noindent\textbf{#3}{ \fontfamily{#1}\selectfont\latintxt\ }% 
     {\fontfamily{#2}\fontsize{#4}{13}\selectfont%
-    \textgreek{\greektxt}} {\fontfamily{#1}\selectfont\latintxtb}\par\smallskip}
+    \textgreek{\greektxt}} {\fontfamily{#1}\selectfont\latintxtb}\par\vskip 6pt plus 1pt minus 1pt}
 % --------------------------------------------------------
 % LAYOUTS THUMBNAILS
 % --------------------------------------------------------
@@ -249,6 +252,65 @@
   \node at (\expaperwidth,-4) (caption) {\parbox{2.5cm}{\centering\footnotesize\texttt{#2}\par (\sufgetlength[cm]{2}{\expaperwidth} $\times$ \sufgetlength[cm]{2}{\expaperheight})\par}};
   \end{tikzpicture}}
 % --------------------------------------------------------
+% OTHER THUMBNAILS
+% --------------------------------------------------------
+\def\shortlipsum{Sed feugiat. Cum sociis natoque penatibus et magnis dis parturient.}
+\newcommand{\fakechapter}[1]{%
+  \noindent
+  \begin{minipage}{.31\textwidth}
+    \begin{tikzpicture}
+      \draw[pframe] (0,0) rectangle (\textwidth,3.8);
+      \node[pnode] at (0.25,3.7) 
+        {\begingroup#1\par\vspace{2\baselineskip}\endgroup
+        \tiny\shortlipsum\shortlipsum\shortlipsum\shortlipsum\par};
+    \end{tikzpicture}
+  \end{minipage}
+}
+\newcommand{\fakefootnote}[1]{%
+ \def\thempfootnote{\tiny 7}
+  \noindent
+  \begin{minipage}{.49\textwidth}
+    #1\footnotesize%
+    \begin{tikzpicture}
+      \draw[pframe] (0,0) rectangle (\textwidth,4.9);
+      \node[pnode] at (0.5,4.6)
+        {\shortlipsum\shortlipsum\shortlipsum\shortlipsum
+        \footnote{\scriptsize\shortlipsum\shortlipsum\par}};
+    \end{tikzpicture}%
+  \end{minipage}
+}
+\newcommand{\fakelist}[1]{%
+  \noindent
+  \begin{minipage}{.31\textwidth}
+    \footnotesize
+    \begin{tikzpicture}
+      \draw[pframe] (0,0) rectangle (\textwidth,3.3);
+      \node[pnode] at (0.3,3.2) 
+        {\shortlipsum%
+        \begin{list}{\color{gray}\textbullet}{\leftmargin=#1\itemsep=0pt}
+        \item first item
+        \item second item
+        \item third item
+        \end{list}};
+    \end{tikzpicture}%
+  \end{minipage}
+}
+\newcommand{\fakequotation}[1]{%
+  \noindent
+  \begin{minipage}{.31\textwidth}
+    \footnotesize%
+    \begin{tikzpicture}
+        \draw[pframe] (0,0) rectangle (\textwidth,7);
+         \node[pnode] at (0.25,6.8) 
+         {\hskip1em\shortlipsum\shortlipsum
+         \begin{list}{}{#1}
+          \item \tiny\shortlipsum\shortlipsum\shortlipsum\shortlipsum
+         \end{list}
+         \hskip1em\shortlipsum\shortlipsum};
+    \end{tikzpicture}%
+  \end{minipage}
+}
+% --------------------------------------------------------
 % HYPERREF SETUP
 % --------------------------------------------------------
 \usepackage{hyperref}
@@ -277,7 +339,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{5380}
+% \CheckSum{5722}
 %
 % \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
@@ -295,6 +357,7 @@
 %   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %   Right brace   \}     Tilde         \~}
 %
+% \changes{v3.1.0}{2021/05/20}{Replaced \cmd{val}\cmd{nr} with \cmd{suftesi at val}\cmd{suftesi at nr}. Corrected a bug with \cmd{maketitle} in \opt{collection} structure. New options \opt{partialtoc} and \opt{maketitlestyle}. New commands for customizing the partial ToC. New value \opt{justify} for \opt{quotestyle} option. Improved \opt{quotesize} option. Renamed the \opt{revauthortitle} option to \opt{reverseauthortitle}. The options \opt{titlefont}, \opt{authorfont}, \opt{reverseauthortitle} now work for every structure. Renewed documentation}
 % \changes{v3.0.2}{2021/02/06}{Improved \opt{subsecstyle} and \opt{subsubsecstyle} options.}
 % \changes{v3.0.1}{2021/01/27}{Maintenance release.}
 % \changes{v3.0}{2021/01/24}{Improved \sty{biblatex} support. Updated documentation.}
@@ -409,9 +472,19 @@
 %};
 % \end{tikzpicture}
 % \clearpage\thispagestyle{empty}
+% \null\vspace{1cm}
 %
-% \null\vfill
+%\hfill\begin{minipage}{.5\textwidth}
+% \raggedleft\footnotesize
+% The serif typeface is Cochineal, created by Michael Sharpe 
+% on the basis of Sebastian Kosch's Crimson. 
+% The \texttt{typewriter} font is Inconsolata, 
+% designed by Raph Levien and the \textsf{sans serif} text 
+% is typeset in Linux Biolinum, created by Philipp H.~Pol. 
+%\end{minipage}
 %
+% \vfill
+%
 % ^^A ----------------------------------------------------------------
 % ^^A
 %        \section*{Legalese}
@@ -524,15 +597,12 @@
 % \begin{ttquote}
 % \cmd{documentclass}\oarm{options}\{suftesi\}
 % \end{ttquote}
-% All the options defined by the class are in 
-% the \meta{key}\texttt{=}\meta{value} format. 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{a4paper}, \opt{a5paper}, \opt{b5paper}, 
-%\opt{legalpaper}, \opt{executivepaper}  and \opt{landscape}), which are 
-% automatically disabled. The class loads the packages listed in 
-% table \ref{tab:pkgloaded}.
 %
+% For using the class with the \hologo{XeTeX} and \hologo{LuaTeX} engines you need 
+% to load the \sty{fontspec} package (\sty{mathspec} is an alternative 
+% only for \hologo{XeTeX}) and to select a main font. 
+%
+%
 % \begin{table}
 % \centering 
 % \begin{tabular}{>{\sffamily}r@{}>{\sffamily}l>{\raggedright\arraybackslash}>{\sffamily}p{9.6cm}}
@@ -554,110 +624,78 @@
 %
 % \changes{v0.9b}{2012/09/23}{The \sty{epigraph} package is no longer loaded}
 %
-%
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection*{Using with \hologo{XeLaTeX} and \hologo{LuaLaTeX}}
+%        \section{Class features}\label{sec:features}
 % ^^A
 % ^^A ----------------------------------------------------------------
+% 
+% The following sections describe the options and commands made available
+% by the class. 
+% All the options are in the \meta{key}\texttt{=}\meta{value} format. 
+% 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{a4paper}, \opt{a5paper}, \opt{b5paper}, 
+% \opt{legalpaper}, \opt{executivepaper}  and \opt{landscape}), which are 
+% automatically disabled. 
 %
-% For using the class with the \hologo{XeTeX} and \hologo{LuaTeX} engines you need 
-% to load the \sty{fontspec} package (\sty{mathspec} is an alternative 
-% only for \hologo{XeTeX}) and to select a main font. 
-%
-% ^^A ----------------------------------------------------------------
-% ^^A
-%        \section{Class features}
-% ^^A
-% ^^A ----------------------------------------------------------------
-% 
-% 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 
+% Since the possible combinations are hundreds, 
+% the simplest way to get to know the class features 
+% is to typeset one of the templates which you can find in the 
 % \texttt{/doc/latex/suftesi} folder in your \hologo{LaTeX} distribution 
 % \parencite[see also][]{valbusa:20122}. The class files as well as the 
 % templates are also available online on the CTAN’s website at 
 % \textcolor{magenta}{\url{http://www.ctan.org/pkg/suftesi}}.
 %
+% The class loads the packages listed in  table \ref{tab:pkgloaded} and
+% since version 2.9.5 relies on \sty{appendix} package to manage 
+% the appendices \parencite[see][]{appendix}. To get the correct label 
+% in titles, headings and table of 
+% contents, you should use the \env{appendices} environment. 
+%
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection{Document structures}
+%        \subsection{Structure}
 % ^^A
 % ^^A ----------------------------------------------------------------
 % 
 % With \sty{suftesi} you can typeset book-style documents (with chapters), 
 % article-style documents (without chapters) and collections of papers 
-% (see section \ref{sec:collection}). The kind of document is set by the 
-% \opt{structure} option which defaults to \opt{book} (see section 
-% \ref{sec:options}).
+% (see section \ref{sec:collection}). 
 %
 % \changes{v0.9b}{2012/09/23}{The \sty{mparhack} package is no longer 
 % loaded. It is not compatible with \sty{crop}.}
 % 
+% \begin{optionlist*}
+% \optitem[book]{structure}{\opt{book}\OR\opt{article}\OR\opt{collection}}
+% \changes{v0.9b}{2012/09/23}{New option \opt{structure}} 
+%   \begin{valuelist}
+%     \item[book] For typesetting texts with chapters.
+%     \item[article] For typesetting articles or short theses 
+%     (without chapters).
+%     \item[collection] For typesetting journals or collections of articles 
+%     (see section \ref{sec:collection}).
+%   \end{valuelist}
+% \end{optionlist*}
+%
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection{Page layouts}
+%        \subsection{Layout}\label{sec:page-styles}
 % ^^A
 % ^^A ----------------------------------------------------------------
 %
-% The class provides eight page layouts which can be selected by the 
-% \opt{pagelayout} option (table \ref{tab:layouts}). The \opt{standard} 
+% The class provides eleven page layouts (table \ref{fig:layouts} and figure  
+% \ref{tab:layouts}). The \opt{standard} 
 % layout (default) or \opt{standardaureo} layout are aimed to typeset 
-% A4 documents, while the other seven layouts are particularly suitable 
+% A4 documents, while the other nine layouts are particularly suitable 
 % to typeset compact books, articles or theses. For these compact layouts 
 % the \opt{version=screen} and \opt{version=cscreen} options are particularly 
-% useful as they show the output in its real size. See section 
-% \ref{sec:page-styles} for details. In figure \ref{fig:layouts} you can see 
-% the thumbnails of the eleven page layouts provided by \sty{suftesi}.
+% useful as they show the output in its real size. 
 %
-% You can define your own layouts through the \cmd{geometry} command
-% and you can change the value of \cmd{baselineskip} too. For example 
-% you can resize the typeblock of the \texttt{supercompactaureo} layout 
-% to fit particular needs, or simply because the font used requires 
-% a smaller line width. As you can see 
-% in the following example, you can change many aspects of the layout, 
-% using the parameters available for the \cmd{geometry} command. 
-% Here we have 
-% modified also the margin ratio, the  value of the upper margin and the 
-% distance between the head and the beginning of the text. For the other parameters
-% sees the documentation of the \sty{geometry} package \parencite{geometry}.
-%
-% \alert Remember that if you change the line spacing with 
-% the \cmd{linespread} command, you need to add \cmd{normalsize}. 
-% \medskip
-%
-%\begin{minipage}{.4\textwidth}
-%\begin{latexcode}
-%\begin{verbatim}
-%\linespread{0.956}
-%\normalsize
-%\geometry{
-%  ignoreall,
-%  paperwidth  = 140mm,
-%  paperheight = 210mm,
-%  textheight  = 165mm,
-%  textwidth   = 100mm,
-%  marginratio = 1:1,
-%  top         = 2.07cm,
-%  headsep     = 5.5mm,
-%  heightrounded}
-%\end{verbatim}
-% \end{latexcode}
-%\end{minipage}
-%\hfill
-%\begin{minipage}{.555\textwidth}
-%\begin{tikzpicture}[scale=2.81]
-%\draw (0,0) rectangle (1.40cm,2.10cm);
-%\draw[xshift=2mm,yshift=2.25mm,fill=gray!20,draw=none] (0,0) rectangle (1.00cm,1.65cm);
-%\draw[xshift=1.6cm,yshift=2.25mm,fill=gray!20,draw=none] (0,0) rectangle (1.00cm,1.65cm);
-%\draw[xshift=1.40cm] (0,0) rectangle (1.40cm,2.10cm);
-%\end{tikzpicture}
-%\end{minipage}
-%
 %\begin{table}
 %\centering
-%\begin{tabular}{@{}lccccr@{\,$:$\,}lr@{\,$:$\,}lcr@{\,$:$\,}l@{}}
+%\begin{tabular}{lccccr@{\,$:$\,}lr@{\,$:$\,}lcr@{\,$:$\,}l}
 %\toprule
 %                                     & 
 % \multicolumn{4}{c}{Dimensions (mm)} &
@@ -704,6 +742,49 @@
 %\caption{The layouts of \sty{suftesi}}\label{tab:layouts}
 %\end{table}
 %
+% \begin{optionlist*}
+% \optitem[standard]{pagelayout}{\opt{standard}\OR\opt{standardaureo}%
+% \OR\opt{periodical}\OR\opt{periodicalaureo}\OR\opt{compact}\OR
+% \opt{compactaureo}\OR\opt{supercompact}\OR\opt{supercompactaureo}\OR\opt{pocketa}\OR\opt{pocketb}\OR\opt{pocketc}}
+% \changes{v0.9b}{2012/09/23}{New option \opt{pagestyle}}
+%   \begin{valuelist}
+%     \item[standard] Prints an A4 page with a 
+%      typeblock 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}
+%     \item[periodical]
+%     Prints a page  of $\SI{17}{cm} \times \SI{24}{cm}$ with a typeblock of  
+%     $\SI{11}{cm} \times \SI{16,5}{cm}$.
+%     \item[periodicalaureo] The same of \opt{periodical} but with a 
+%     \emph{golden ratio} typeblock of $\SI{120}{cm} \times \SI{194}{mm}$. 
+%     \item[compact]
+%     Prints a page  of $\SI{16}{cm} \times \SI{24}{cm}$ with a typeblock of 
+%     $\SI{11}{cm} \times \SI{16,5}{cm}$. 
+%     \item[compactaureo]
+%     The same as \opt{compact} but with 
+%     a \emph{golden ratio} typeblock of $\SI{11,8}{cm} \times \SI{19,1}{cm}$.
+%     \item[supercompact]
+%     Prints a page  of  $\SI{14}{cm} \times \SI{21}{cm}$  with a typeblock of 
+%     $\SI{10}{cm} \times \SI{15,5}{cm}$.
+%     \item[supercompactaureo]
+%     The same as \opt{supercompact} but with 
+%     a \emph{golden ratio} typeblock of $\SI{10,8}{cm} \times \SI{17,5}{cm}$.
+%   \end{valuelist}
+%   \begin{valuelist}
+%     \item[pocketa] 
+%     Prints a page  of $\SI{135}{cm} \times \SI{208}{cm}$ with a typeblock of  
+%     $\SI{102}{cm} \times \SI{153}{cm}$.
+%     \item[pocketb] 
+%     Prints a page  of $\SI{140}{cm} \times \SI{210}{cm}$ with a typeblock of  
+%     $\SI{99}{cm} \times \SI{165}{cm}$.
+%     \item[pocketc] 
+%     Prints a page  of $\SI{116}{cm} \times \SI{193}{cm}$ with a typeblock of  
+%     $\SI{90}{cm} \times \SI{150}{cm}$.
+%   \end{valuelist}
+%
 %\begin{figure}
 % \vspace*{-1cm}
 %\def\sufsetlengths{\sufsetlengthsA}
@@ -729,9 +810,87 @@
 % \caption{The eleven layouts of \sty{suftesi}}\label{fig:layouts}
 %\end{figure}
 %
+% \optitem[final]{version}{\opt{screen}\OR\opt{cscreen}\OR\opt{draft}
+% \OR\opt{final}}
+% The following two options are provided to have a better view when 
+% you are typesetting and reading the \textsc{pdf} on the screen 
+% or for online publications. 
+%   \begin{valuelist}
+%     \item[screen] Prints the PDF with its real dimensions.
+%     \item[cscreen] The same as \opt{version=screen} but with a centered 
+%     typeblock.
+%   \end{valuelist}
+% The following two options are meant for printed documents.
+%   \begin{valuelist}
+%     \item[draft] 
+%     Prints the output on a A4 paper, showing the crop marks. 
+%     Useless with \opt{standard} and \opt{standardaureo} layouts.
+%     \item[final] Prints the output on a A4 paper, hiding the crop marks. 
+%     Useless with \opt{standard} and \opt{standardaureo} layouts.
+%   \end{valuelist}
+% Sometimes it is not desirable to have the crop marks on every page. 
+% In such a case you can use the \cmd{crop}|[off]| command 
+% after the first page of the document.
+%
+% \optitem[\cmd{baselineskip}]{parindent}{\meta{dimen}}
+% \changes{v0.9b}{2012/09/23}{New option \opt{parindent}} 
+%   
+% Sets the indentation of the first line of each paragraph except those following a section title. You can use any unit recognized by \TeX{} (for example: \opt{1em}\OR\opt{1cm}\OR\opt{17pt}, \ldots).
+%
+%\begin{footnotesize}
+%Note that some packages may set the value of \cmd{parindent} inside the \cmd{AtBeginDocument} hook. In these cases the \opt{parindent} option is ineffective and if you want to change the indentation you have to call \cmd{parindent=}\meta{dimen} after |\begin{document}|.\par
+%\end{footnotesize}
+% \end{optionlist*}
+% 
+% \subsubsection{Layout customizations}
+%
+% You can define your own layouts through the \cmd{geometry} command
+% and you can change the value of \cmd{baselineskip} too. For example 
+% you can resize the typeblock of the \texttt{supercompactaureo} layout 
+% to fit particular needs, or simply because the font used requires 
+% a smaller line width. As you can see 
+% in the following example, you can change many aspects of the layout, 
+% using the parameters available for the \cmd{geometry} command. 
+% Here we have 
+% modified also the margin ratio, the  value of the upper margin and the 
+% distance between the head and the beginning of the text. For the other parameters
+% sees the documentation of the \sty{geometry} package \parencite{geometry}.
+%
+% \alert Remember that if you change the line spacing with 
+% the \cmd{linespread} command, you need to add \cmd{normalsize}. 
+%
+% ^^A\begin{minipage}{.4\textwidth}
+%\begin{latexcode}
+%\begin{verbatim}
+%\linespread{0.956}
+%\normalsize
+%\geometry{...}
+%\end{verbatim}
+% \end{latexcode}
+% ^^A \geometry{
+% ^^A  ignoreall,
+% ^^A  paperwidth  = 140mm,
+% ^^A  paperheight = 210mm,
+% ^^A  textheight  = 165mm,
+% ^^A  textwidth   = 100mm,
+% ^^A  marginratio = 1:1,
+% ^^A  top         = 2.07cm,
+% ^^A  headsep     = 5.5mm,
+% ^^A  heightrounded}
+% ^^A\end{minipage}
+% ^^A\hfill
+% ^^A\begin{minipage}{.555\textwidth}
+% ^^A\begin{tikzpicture}[scale=2.81]
+% ^^A\draw (0,0) rectangle (1.40cm,2.10cm);
+% ^^A\draw[xshift=2mm,yshift=2.25mm,fill=gray!20,draw=none] (0,0) rectangle (1.00cm,1.65cm);
+% ^^A\draw[xshift=1.6cm,yshift=2.25mm,fill=gray!20,draw=none] (0,0) rectangle (1.00cm,1.65cm);
+% ^^A\draw[xshift=1.40cm] (0,0) rectangle (1.40cm,2.10cm);
+% ^^A\end{tikzpicture}
+% ^^A\end{minipage}
+%
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection{Fonts}
+%        \subsection{Font}\label{sec:fonts}
 % ^^A
 % ^^A ----------------------------------------------------------------
 % 
@@ -748,8 +907,7 @@
 % The \opt{defaultfont}  option allows you to can change the default roman 
 % font to New PX (Palatino-like), Linux Libertine, or Latin Modern. 
 % You can use other fonts as well, but in this case remember to load the 
-% \opt{defaultfont=none} option which turns off the default font settings 
-% (see section \ref{sec:options} for details). 
+% \opt{defaultfont=none} option which turns off the default font settings. 
 %
 % Today there are several Garamond-like fonts in \TeX~Live distribution. 
 % See, for example Garamond Libre and Cormorant Garamond. 
@@ -768,10 +926,47 @@
 %
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsubsection[Mathematics]{Typesetting mathematics}
+%        \subsubsection{General settings}\label{sec:fonts:options:general}
 % ^^A
 % ^^A ----------------------------------------------------------------
+% 
+% \begin{optionlist*}
+% \optitem[10\OR 10pt]{fontsize}{\meta{dimen}}
+% Sets the main font sizes for the document, changing the \cmd{baselineskip} 
+% accordingly. This option is based on the \sty{fontsize} package \parencite{fontsize}. The \meta{fontsize} can be given in any unit recognized 
+% by TeX (for example: \opt{6mm}, \opt{1ex}, \opt{11.5pt}). 
+% If the unit is not declared it defaults to \texttt{pt}. 
+% If you want to set a specific value for \cmd{baselineskip} 
+% you have to use the \cmd{changefontsize}\oarm{baselineskip}\arm{fontsize} command. 
 %
+% \optitem[low]{smallcapsstyle}{\opt{low}\OR\opt{upper}}
+% Effective only with \opt{\meta{level}font=smallcaps} and \opt{toc\meta{level}font=smallcaps} options (see sections \ref{sec:titles} and \ref{sec:toc}).
+% With \hologo{XeLaTeX} or \hologo{LuaLaTeX} this option is effective only if a font selection command (such as \cmd{setmainfont}) is given.
+%   \begin{valuelist}
+%     \item[low] Prints lowercase spaced \textsc{\lsstyle small capitals}.
+%     \item[upper] Prints spaced \textsc{\lsstyle Small Capitals} with uppercase initials.
+%   \end{valuelist}
+%
+% \optitem[cochineal]{defaultfont}{\opt{none}\OR\opt{cochineal}
+% \OR\opt{libertine}\OR\opt{palatino}\OR\opt{standard}}
+%   \begin{valuelist}
+%     \item[none] Does not load any font. Use this option 
+%    if you want full control over the font selection. This is the default with 
+%    \hologo{XeLaTeX} or \hologo{LuaLaTeX}.
+%     \item[cochineal] Loads the Cochineal serif, the Linux Biolinum sans serif and the Inconsolata typewriter.
+%     \item[libertine] Loads the Linux Libertine serif, the Linux Biolinum sans serif and the Inconsolata typewriter.
+%     \item[palatino] Loads the New PX serif, the Linux Biolinum sans serif and the Inconsolata typewriter. Note that the New PX font does not provide support for Greek. The \opt{greekfont=artemisia} option offers a very good solution.
+% ^^A and {\fontfamily{artemisia}\selectfont Artemisia} by the {\fontfamily{artemisia}\selectfont Greek Font Society} for the greek text.
+%     \item[standard] Loads the \sty{lmodern} package: Latin Modern font family and CB Greek.
+%   \end{valuelist}
+% \end{optionlist*}
+%
+% ^^A ----------------------------------------------------------------
+% ^^A
+%        \subsubsection[Mathematics]{Mathematical support}
+% ^^A
+% ^^A ----------------------------------------------------------------
+%
 % The class loads by default a ‘minimal’ mathematical support for Cochineal 
 % (default), Linux Libertine or New PX via the \sty{newtxmath} or 
 % \sty{newpxmath} packages by Michael Sharpe. Moreover the \opt{mathfont} 
@@ -779,12 +974,24 @@
 % using these fonts. These non-standard fonts have a very good mathematical 
 % support but if you aim at typesetting high mathematics the Latin Modern 
 % font family remains, of course, the better choice: \opt{defaultfont=standard}. 
-% See section \ref{sec:fonts} for details. 
 %
 % If some of the loaded packages conflict or if you simply want to change 
 % some of the default font settings you should first reset the font default 
 % with \opt{defaultfont=none} option and then load the packages in the right 
 % order and with your favorite options. 
+%
+% \begin{optionlist*}
+% \optitem[minimal]{mathfont}{\opt{none}\OR\opt{minimal}\OR\opt{extended}}
+% 
+% Effective only with Cochineal, Libertine and New PX fonts.
+%   \begin{valuelist}
+%     \item[none] Do not load any mathematical support. Use this option if you need some packages that have to be loaded before \sty{newtxmath} and \sty{newpxmath}. This is the default with 
+%    \hologo{XeLaTeX} or \hologo{LuaLaTeX}.
+%     \item[minimal]  Loads \sty{newtxmath} (for Cochineal and Linux Libertine) or \sty{newpxmath} (for PX Fonts).
+%     \item[extended] Loads the previous option plus the \sty{amsthm} and \sty{mathalpha} packages. 
+%   \end{valuelist}
+% \end{optionlist*}
+%
 % ^^AFor example, these are the codes loaded for the three non-standard fonts:
 % ^^A
 % ^^A\paragraph{defaultfont=cochineal}
@@ -836,15 +1043,14 @@
 % ^^A\end{verbatim}
 % ^^A\end{latexcode}
 % 
-%
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsubsection[Greek]{Typesetting Greek}
+%        \subsubsection[Greek]{Greek support}
 % ^^A
 % ^^A ----------------------------------------------------------------
 % 
 % The Cochineal default font is complete of Greek and Cyrillic. Anyway 
-% the class provides the \opt{greekfont} option (see section \ref{sec:fonts}) 
+% the class provides the \opt{greekfont} option 
 % to select four different Greek fonts for use with the roman typeface
 % set by the \opt{defaultfont} option (except for the \opt{defaultfont=standard} 
 % option, i.e. with Latin Modern font family which uses the CB Greek by default). 
@@ -853,6 +1059,20 @@
 % but in this case, as previously cleared, remember to load the 
 % \opt{defaultfont=none} option.
 %
+% \begin{optionlist*}
+% \optitem[none]{greekfont}{\opt{none}\OR\opt{artemisia}\OR\opt{porson}\OR\opt{bodoni}\OR\opt{cbgreek}}
+% Actually useless  with \opt{defaultfont=none} and not available with \opt{defaultfont=standard} options.
+% \changes{v0.9b}{2012/09/23}{New option \opt{greekfont}}
+%   \begin{valuelist}
+%     \item[none] Does not load any Greek font. This is the default with 
+%    \hologo{XeLaTeX} or \hologo{LuaLaTeX}. 
+%     \item[artemisia] Loads the Artemisia font by the Greek Font Society.
+%     \item[porson] Loads the Porson font by the Greek Font Society.
+%     \item[bodoni] Loads the Bodoni font by the Greek Font Society.
+%     \item[cbgreek] Loads the standard CB~Greek font by Claudio Beccari.
+%   \end{valuelist}
+% \end{optionlist*}
+%
 % \begin{mdframed}[backgroundcolor=philA!10,linecolor=white]
 %\greekexample{Cochineal-LF}{Cochineal-LF}{Cochineal/Cochineal}{12.15}
 %\greekexample{Cochineal-LF}{bodoni}{Cochineal/Bodoni}{11.25}
@@ -873,353 +1093,184 @@
 %
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection{Cover page}
+%        \subsection{Sectioning}\label{sec:titles}
 % ^^A
 % ^^A ----------------------------------------------------------------
 %
-% Since version 2.6 \sty{suftesi} provides a command to print a simple 
-% cover page (figure \ref{fig:cover}), inspired by the Italian designer 
-% Bruno \textcite[85-89]{munari:arte-come-mestiere}. The color used for 
-% the text and the circle as well as other graphical elements are partially 
-% customizable (see section \ref{sec:options} for details). The cover shown 
-% in figure \ref{fig:cover} is obtained with the following code:
-% \begin{latexcode}
-%\begin{verbatim}
-%\Cauthor{Bruce Lee}
-%\Ctitle{The Art of Kicking}
-%\Csubtitle{How to survive in the modern societies}
-%\Ceditor{edited by\\ Walker Texas Ranger}
-%\Cfoot{Punch Press\\ \fbox{\bfseries P\&P}}
-%\Cpagecolor{white!90!black}
-%\Ctextcolor{white}
-%\Cfootcolor{black}
-%\makecover[ball color=DarkBlue,draw=none]
-%\end{verbatim}
-% \end{latexcode}
+%\begin{figure}
+%\fakechapter{1 Lorem ipsum}\hfill
+%\fakechapter{\centering I. \textit{Lorem ipsum}}\hfill
+%\fakechapter{\raggedleft \textsc{ii}. \textsc{\lsstyle lipsum}}
 %
-% To produce a complete book cover, with spine and dust jacket, you should 
-% take a look at the \sty{bookcover} class by Tibor \textcite{bookcover}.
+%\bigskip
 %
+%\fakechapter{3.\par \textsc{\lsstyle  lipsum}}\hfill
+%\fakechapter{\centering \textsc{ii}.\par  Lorem ipsum}\hfill
+%\fakechapter{\raggedleft II.\par \textit{ Lorem ipsum}}
 %
+%\caption{Six examples of section titles that can be obtained combining the class options}\label{fig:fakechapter}
+%\end{figure}
+%
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection{Frontispiece} 
+%        \subsubsection{Options}\label{sec:titles:options}
 % ^^A
 % ^^A ----------------------------------------------------------------
 %
-%\begin{figure}
-%\begin{minipage}{.5\textwidth}
-%\centering
-%\begin{tikzpicture}[scale=0.4]%
-%\draw[draw=gray,fill=white,drop shadow] (-\textwidth,0) rectangle (\textwidth,.9\textheight);
-%\draw[line width=.1pt,draw=black] (-4.2,18.1) circle (13mm) node {\parbox{10mm}{\centering\tiny ---*---\\[-.5mm] St. Anford\\ University\\ ---*--- }};
-% \node[scale=0.4,anchor=north west] at (-2.5cm,19cm) {%
-%  \parbox{8cm}{%
-%    \small University of St. Anford\par
-%      \normalsize Department of Typography
-%      \vskip1ex\hrule\vskip1.2ex
-%        \large Ph.D. degree in \TeX{} and \LaTeX
+% Figure \ref{fig:fakechapter} shows some combinations of the following options.
 %
-% \vspace{3cm}
+%   In the following option \meta{level} can be \opt{part}, \opt{chap}, \opt{sec},
+%   \opt{subsec}, \opt{subsubsec}, \opt{par}, \opt{subpar}.
+% \begin{optionlist*}
+% \optitem[roman]{\meta{level}font}{\opt{roman}\OR\opt{italic}\OR 
+% \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{\lsstyle spaced small caps}
+%   \end{valuelist}
+% \end{optionlist*}
+%   In the following options \meta{level} can be \opt{part}, \opt{chap}, \opt{sec},
+%   \opt{subsec}, \opt{subsubsec}, \opt{par}, \opt{subpar}.
+% \begin{optionlist*}
+% \optitem[left]{\meta{level}style}{\opt{left}\OR\opt{center}\OR 
+% \opt{right}\OR\opt{parleft}\OR\opt{parcenter}\OR 
+% \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.
+%     \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}
+% \optitem[Roman/arabic/arabic]{\meta{level}numstyle}{\opt{arabic}\OR 
+% \opt{roman}\OR\opt{Roman}\OR\opt{dotarabic}\OR\opt{dotroman}\OR
+% \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}
 %
-%    {\LARGE\sffamily\color{sufred} How to prepare\par
-%      a formal frontispiece\par}
-%      \vspace{2ex}
-%      
-%      {\normalsize\sffamily Theory and practice\par}
+% \optitem[false]{partpage}{\opt{true}\OR\opt{false}}
+% \changes{v0.9b}{2012/09/23}{New option \opt{partpage}}
+%  Effective only with \opt{structure=article}.
+%   \begin{valuelist}
+%     \item[true] Prints the part title in a separate page as in 
+%      \opt{structure=book}
+%     \item[false] Prints a part title similar to the one used in the standard \opt{article} class.
+%   \end{valuelist}
+% \end{optionlist*}
 %
-% \vspace{2cm}
+% ^^A ----------------------------------------------------------------
+% ^^A
+%        \subsubsection{Commands}\label{sec:titles:commands}
+% ^^A
+% ^^A ----------------------------------------------------------------
 %
-%    {\normalsize\sffamily Candidate:\par}
-%    \small Enrico Gregorio
-%      \vspace{5ex}
-%      
-%    {\normalsize\sffamily Thesis advisor:\par}
-%    \small Prof. R. J. Drofnats
-%    \vspace{2ex}
+% \changes{v2.9.3}{2020/001/29}{New commands to change the font of the section titles and numbers.}
 %
-%    {\normalsize\sffamily Research supervisors:\par}
-%    \small J. H. Quick\par 
-%     B. L. User\vspace{3.5cm}
+% The commands in this section are experimental. They provide a fast way to customize the format of section titles and numbers. Note that in some cases you will have to manually adjust the spacing  accordingly, using \cmd{titlespacing}, \cmd{hskip}/\cmd{hspace}, \cmd{vskip}/\cmd{vspace}, and so on. 
 %
-% Thesis submitted in 2010
-% }
-% };
-%\end{tikzpicture}
-%\caption{The frontispiece of \sty{suftesi}}\label{fig:frontispiece}
-%\end{minipage}
-%\begin{minipage}{.5\textwidth}
-%\centering  
-%\begin{tikzpicture}[scale=0.4]%
-%\draw[draw=gray,fill=gray!5,drop shadow] (-\textwidth,0) rectangle (\textwidth,.9\textheight);
-% \node at (0,.65\textheight) (c) {};
-% \draw[ball color=DarkBlue,draw=none] (c) circle (4.5cm);
-% \node[scale=0.4,anchor=center,text=white] at (c) {\parbox{6cm}{%
-%  \centering
-%       {\scriptsize\scshape Bruce Lee\\}
-%       \vspace*{\baselineskip}
+% \begin{ltxsyntax}
+% \cmditem*{\meta{level}font}{definition}
 %
-%     {\Large\bfseries The Art of Kicking\\}
+% Changes the font of the \meta{level} title, where \meta{level} can be \opt{part},
+% \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
 %
-%       {\smallskip\normalsize How to survive in the modern societies\\}
+% \cmditem*{\meta{level}numfont}{definition}
 %
-%       {\vspace*{2\baselineskip}\scriptsize edited by\\ Walker Texas Ranger\\}}};
-% \node[align=center] at (0,2) {\scriptsize \textcolor{black}{Punch Press}\\\textcolor{black}{\bfseries\small  P\&P}};
-%\end{tikzpicture}
-%\caption{A cover page of \sty{suftesi}}\label{fig:cover}
-%\end{minipage}
-%\end{figure}
+% Changes the font of the \meta{level} number, where \meta{level} can be \opt{part},
+% \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
 %
-% The class has an original frontispiece (see figure \ref{fig:frontispiece}) 
-% now directly available loading the \sty{frontespizio} package  
-% with the \opt{suftesi} option. It is meant only for Italian users
-% \parencite[see][version 1.4 or later]{Gregorio:frontespizio}:
-%
+% For example, if you used the \opt{chapfont=smallcaps} option, you can change the size of the chapter title accordingly with:
 % \begin{latexcode}
 %\begin{verbatim}
-%\usepackage[suftesi]{frontespizio}
+%\chapfont{\fontsize{13}{17}\scshape\lsstyle\expandafter\MakeLowercase}
 %\end{verbatim}
 % \end{latexcode}
-% 
-% Note that this frontispiece requires the use of a logo which could be 
-% restricted by some institutions. So before using it you have to be sure 
-% that you have the required permissions.
 %
-% 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:
-%
+% Combining these commands you can get something like this (or something worse/better):
 % \begin{latexcode}
 %\begin{verbatim}
-%\begin{frontespizio} 
-% \Preambolo{\usepackage[osf]{cochineal}}%  <===
-% ...
-%\end{frontespizio}
-%\end{verbatim}
-% \end{latexcode}
+%\documentclass[pagelayout=periodical\partnameaureo,11pt,
+%version=cscreen,chapstyle=parright]{suftesi}
 %
-% ^^A ----------------------------------------------------------------
-% ^^A
-%        \subsection{Appendices}
-% ^^A
-% ^^A ----------------------------------------------------------------
+%\usepackage{xcolor,lipsum}
 %
-% Since version 2.9.5 the class relies on \sty{appendix} package to manage 
-% the appendices \parencite[see][]{appendix}. To get the correct label in titles, headings and table of 
-% contents, you should use the \env{appendices} environment. 
-% \begin{latexcode}
-%\begin{verbatim}
-%\renewcommand{\appendixpagename}{Appendices}
-%\renewcommand{\appendixname}{Appendix}
-%\addappheadtotoc
+%\chapfont{\bfseries\sffamily\scshape\LARGE}
+%\secfont{\sffamily\fontsize{14.5}{15.5}\selectfont}
 %
+%\chapnumfont{\hskip1cm\hbox{\bfseries\fontsize{100}{100}\selectfont%
+%\color{gray}\arabic{chapter}}\hskip-1cm}
+%\secnumfont{\bfseries---\,\arabic{chapter}.\arabic{section}}
+%
 %\begin{document}
-%... 
-%\appendixpage
 %
-%\begin{appendices}
-% \chapter{First appendix}
-%   Lorem ipsum
-% \chapter{First appendix}
-%   Lorem ipsum
-%\end{appendices}
+%\chapter{Lorem ipsum dolor sit amet, consectetuer adipiscing elit}
 %
+%\section{Dolor sit amet}  
+%\lipsum[1-2]
+%
+%\section{Lorem ipsum dolor sit amet}
+%\subsection{Dolor sit amet}
+%\lipsum[1]
+%
 %\end{document}
 %\end{verbatim}
 % \end{latexcode}
-% 
+% \end{ltxsyntax}
 %
-% ^^A ----------------------------------------------------------------
-% ^^A
-%        \section{Options}\label{sec:options}
-% ^^A
-% ^^A ----------------------------------------------------------------
+% \begin{ltxsyntax}
+% \cmditem{breakintoc}
 %
-% ^^A ----------------------------------------------------------------
-% ^^A
-%        \subsection{Layout}\label{sec:page-styles}
-% ^^A
-% ^^A ----------------------------------------------------------------
+% A manual break which is active for the table of contents but not in the text or in the headers.
 %
-% \begin{optionlist*}
-% \optitem[book]{structure}{\opt{book}\OR\opt{article}\OR\opt{collection}}
-% \changes{v0.9b}{2012/09/23}{New option \opt{structure}} 
-%   \begin{valuelist}
-%     \item[book] For typesetting texts with chapters.
-%     \item[article] For typesetting articles or short theses 
-%     (without chapters).
-%     \item[collection] For typesetting journals or collections of articles 
-%     (see section \ref{sec:collection}).
-%   \end{valuelist}
-% \optitem[standard]{pagelayout}{\opt{standard}\OR\opt{standardaureo}%
-% \OR\opt{periodical}\OR\opt{periodicalaureo}\OR\opt{compact}\OR
-% \opt{compactaureo}\OR\opt{supercompact}\OR\opt{supercompactaureo}\OR\opt{pocketa}\OR\opt{pocketb}\OR\opt{pocketc}}
-% \changes{v0.9b}{2012/09/23}{New option \opt{pagestyle}}
-%   \begin{valuelist}
-%     \item[standard] Prints an A4 page with a 
-%      typeblock 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}
-%     \item[periodical]
-%     Prints a page  of $\SI{17}{cm} \times \SI{24}{cm}$ with a typeblock of  
-%     $\SI{11}{cm} \times \SI{16,5}{cm}$.
-%     \item[periodicalaureo] The same of \opt{periodical} but with a 
-%     \emph{golden ratio} typeblock of $\SI{120}{cm} \times \SI{194}{mm}$. 
-%     \item[compact]
-%     Prints a page  of $\SI{16}{cm} \times \SI{24}{cm}$ with a typeblock of 
-%     $\SI{11}{cm} \times \SI{16,5}{cm}$. 
-%     \item[compactaureo]
-%     The same as \opt{compact} but with 
-%     a \emph{golden ratio} typeblock of $\SI{11,8}{cm} \times \SI{19,1}{cm}$.
-%     \item[supercompact]
-%     Prints a page  of  $\SI{14}{cm} \times \SI{21}{cm}$  with a typeblock of 
-%     $\SI{10}{cm} \times \SI{15,5}{cm}$.
-%     \item[supercompactaureo]
-%     The same as \opt{supercompact} but with 
-%     a \emph{golden ratio} typeblock of $\SI{10,8}{cm} \times \SI{17,5}{cm}$.
-%   \end{valuelist}
-%   \begin{valuelist}
-%     \item[pocketa] 
-%     Prints a page  of $\SI{135}{cm} \times \SI{208}{cm}$ with a typeblock of  
-%     $\SI{102}{cm} \times \SI{153}{cm}$.
-%     \item[pocketb] 
-%     Prints a page  of $\SI{140}{cm} \times \SI{210}{cm}$ with a typeblock of  
-%     $\SI{99}{cm} \times \SI{165}{cm}$.
-%     \item[pocketc] 
-%     Prints a page  of $\SI{116}{cm} \times \SI{193}{cm}$ with a typeblock of  
-%     $\SI{90}{cm} \times \SI{150}{cm}$.
-%   \end{valuelist}
-% The details of this option are shown in table \ref{tab:layouts}.
-% \optitem[final]{version}{\opt{screen}\OR\opt{cscreen}\OR\opt{draft}
-% \OR\opt{final}}
-% The following two options are provided to have a better view when 
-% you are typesetting and reading the \textsc{pdf} on the screen 
-% or for online publications. 
-%   \begin{valuelist}
-%     \item[screen] Prints the PDF with its real dimensions.
-%     \item[cscreen] The same as \opt{version=screen} but with a centered 
-%     typeblock.
-%   \end{valuelist}
-% The following two options are meant for printed documents.
-%   \begin{valuelist}
-%     \item[draft] 
-%     Prints the output on a A4 paper, showing the crop marks. 
-%     Useless with \opt{standard} and \opt{standardaureo} layouts.
-%     \item[final] Prints the output on a A4 paper, hiding the crop marks. 
-%     Useless with \opt{standard} and \opt{standardaureo} layouts.
-%   \end{valuelist}
-% Sometimes it is not desirable to have the crop marks on every page. 
-% In such a case you can use the \cmd{crop}|[off]| command 
-% after the first page of the document.
-% \end{optionlist*}
+% \begin{latexcode}
+%\begin{verbatim}
+%\section{This title will be break here \breakintoc inside the contents}
+%\end{verbatim}
+% \end{latexcode}
+% \cmditem{breakinbody}
+% \cmditem{breakinbodyleft}
 %
-% ^^A ----------------------------------------------------------------
-% ^^A
-%        \subsection{Font}\label{sec:fonts}
-% ^^A
-% ^^A ----------------------------------------------------------------
+% Manual breaks which are active in the body text but not in the headers
+% and in the table of contents. The difference between the two
+% commands is that the former executes |\\| while the latter uses \cmd{newline}. The second one should be used with the \opt{\meta{level}style=left} options to avoid bad line alignments.
 %
-% \begin{optionlist*}
-% \optitem[10\OR 10pt]{fontsize}{\meta{dimen}}
-% Sets the main font sizes for the document, changing the \cmd{baselineskip} 
-% accordingly. This option is based on the \sty{fontsize} package \parencite{fontsize}. The \meta{fontsize} can be given in any unit recognized 
-% by TeX (for example: \opt{6mm}, \opt{1ex}, \opt{11.5pt}). 
-% If the unit is not declared it defaults to \texttt{pt}. 
-% If you want to set a specific value for \cmd{baselineskip} 
-% you have to use the \cmd{changefontsize}\oarm{baselineskip}\arm{fontsize} command. 
+% \begin{latexcode}
+%\begin{verbatim}
+%\section{This title will be break here \breakinbody inside the body text}
+%\section{This title will be break here \breakinbodyleft inside the body text}
+%\end{verbatim}
+% \end{latexcode}
 %
-% \optitem[cochineal]{defaultfont}{\opt{none}\OR\opt{cochineal}
-% \OR\opt{libertine}\OR\opt{palatino}\OR\opt{standard}}
-%   \begin{valuelist}
-%     \item[none] Does not load any font. Use this option 
-%    if you want full control over the font selection. This is the default with 
-%    \hologo{XeLaTeX} or \hologo{LuaLaTeX}.
-%     \item[cochineal] Loads the Cochineal serif, the Linux Biolinum sans serif and the Inconsolata typewriter.
-%     \item[libertine] Loads the Linux Libertine serif, the Linux Biolinum sans serif and the Inconsolata typewriter.
-%     \item[palatino] Loads the New PX serif, the Linux Biolinum sans serif and the Inconsolata typewriter. Note that the New PX font does not provide support for Greek. The \opt{greekfont=artemisia} option offers a very good solution.
-% ^^A and {\fontfamily{artemisia}\selectfont Artemisia} by the {\fontfamily{artemisia}\selectfont Greek Font Society} for the greek text.
-%     \item[standard] Loads the \sty{lmodern} package: Latin Modern font family and CB Greek.
-%   \end{valuelist}
-% \optitem[none]{greekfont}{\opt{none}\OR\opt{artemisia}\OR\opt{porson}\OR\opt{bodoni}\OR\opt{cbgreek}}
-% Actually useless  with \opt{defaultfont=none} and not available with \opt{defaultfont=standard} options.
-% \changes{v0.9b}{2012/09/23}{New option \opt{greekfont}}
-%   \begin{valuelist}
-%     \item[none] Does not load any Greek font. This is the default with 
-%    \hologo{XeLaTeX} or \hologo{LuaLaTeX}. 
-%     \item[artemisia] Loads the Artemisia font by the Greek Font Society.
-%     \item[porson] Loads the Porson font by the Greek Font Society.
-%     \item[bodoni] Loads the Bodoni font by the Greek Font Society.
-%     \item[cbgreek] Loads the standard CB~Greek font by Claudio Beccari.
-%   \end{valuelist}
+% \cmditem{chapterintro}
 %
-% \optitem[minimal]{mathfont}{\opt{none}\OR\opt{minimal}\OR\opt{extended}}
-% 
-% Available only with Cochineal, Libertine and New PX fonts.
-%   \begin{valuelist}
-%     \item[none] Do not load any mathematical support. Use this option if you need some packages that have to be loaded before \sty{newtxmath} and \sty{newpxmath}. This is the default with 
-%    \hologo{XeLaTeX} or \hologo{LuaLaTeX}.
-%     \item[minimal]  Loads \sty{newtxmath} (for Cochineal and Linux Libertine) or \sty{newpxmath} (for PX Fonts).
-%     \item[extended] Loads the previous option plus the \sty{amsthm} and \sty{mathalpha} packages. 
-%   \end{valuelist}
-% \end{optionlist*}
+% Prints an unnumbered introduction at the beginning of the chapter, 
+% with the correct hyperlink.
+% \cmditem{chapterintroname}{name}\hfill default: \texttt{Introduzione}
 %
-% \begin{optionlist*}
-% \optitem[low]{smallcapsstyle}{\opt{low}\OR\opt{upper}}
-% Active only with \opt{\meta{level}font=smallcaps} and \opt{toc\meta{level}font=smallcaps} options (see sections \ref{sec:titles} and \ref{sec:toc}).
-% With \hologo{XeLaTeX} or \hologo{LuaLaTeX} this option is effective only if a font selection command (such as \cmd{setmainfont}) is given.
-%   \begin{valuelist}
-%     \item[low] Prints lowercase spaced \textsc{\lsstyle small capitals}.
-%     \item[upper] Prints spaced \textsc{\lsstyle Small Capitals} with uppercase initials.
-%   \end{valuelist}
-% \end{optionlist*}
+% Changes in \meta{name} the title printed by the \cmd{chapterintro} command.
 %
+% \end{ltxsyntax}
+%
+% \changes{v0.5}{2011/10/21}{New command \opt{chapnumfont}}
+%
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection{Titles}\label{sec:titles}
+%        \subsection{Contents lists}\label{sec:toc}
 % ^^A
 % ^^A ----------------------------------------------------------------
 %
-%   In the following options \meta{level} can be \opt{part}, \opt{chap}, \opt{sec},
-%   \opt{subsec}, \opt{subsubsec}.
-% \begin{optionlist*}
-% \optitem[roman]{\meta{level}font}{\opt{roman}\OR\opt{italic}\OR 
-% \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{\lsstyle spaced small caps}
-%   \end{valuelist}
-% \optitem[left]{\meta{level}style}{\opt{left}\OR\opt{center}\OR 
-% \opt{right}\OR\opt{parleft}\OR\opt{parcenter}\OR 
-% \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.
-%     \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}
-% \optitem[Roman/arabic/arabic]{\meta{level}numstyle}{\opt{arabic}\OR 
-% \opt{roman}\OR\opt{Roman}\OR\opt{dotarabic}\OR\opt{dotroman}\OR
-% \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}
-% \end{optionlist*}
-%
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection{Contents lists}\label{sec:toc}
+%        \subsubsection{Options}\label{sec:toc:options}
 % ^^A
 % ^^A ----------------------------------------------------------------
 %
@@ -1229,7 +1280,7 @@
 % \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.
+%   page numbers on the right.
 %    \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}.
@@ -1237,7 +1288,7 @@
 %     on the left margin.
 %  \end{valuelist}
 % \optitem[sec]{compacttoc}{\opt{sec}\OR\opt{subsec}\OR
-% \opt{subsubsec}}
+% \opt{subsubsec}\OR\opt{par}\OR\opt{subpar}}
 %  \begin{valuelist}
 %    \item[sec] Prints the sections, subsections and sub-subsections 
 %        in a single paragraph. Note that in this case the option 
@@ -1244,6 +1295,8 @@
 %        \opt{tocstyle=dotted} is uneffective as the dots are not printed for chapter entries.
 %    \item[subsec] Prints the subsections and sub-subsections in a single paragraph.
 %    \item[subsubsec] Prints the sub-subsections in a single paragraph.
+%    \item[par] Prints the paragraphs in a single paragraph.
+%    \item[subpar] Prints the subparagraphs in a single paragraph.
 %  \end{valuelist}
 % \optitem[roman]{toc\meta{level}font}{\opt{roman}\OR\opt{italic}\OR
 % \opt{smallcaps}}
@@ -1253,7 +1306,7 @@
 %     \item[smallcaps] Prints the \meta{level} ToC entry 
 %      in \textsc{\lsstyle spaced small caps}
 %  \end{valuelist}
-%   Where \meta{level} can be \opt{part}, \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
+%   Where \meta{level} can be \opt{part}, \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}, \opt{par}, \opt{subpar}.
 % \optitem[all]{twocolcontents}{\opt{toc}\OR\opt{lof}\OR
 % \opt{lot}\OR\opt{toclof}\OR\opt{toclot}\OR\opt{loflot}\OR\opt{all}}
 % This option activates the \opt{tocstyle=ragged} option 
@@ -1270,19 +1323,198 @@
 %    and the list of tables in two columns.
 %    \item[all] Prints all the contents lists in two columns.
 %  \end{valuelist}
+% \optitem[false]{partialtoc}{\opt{true}\OR\opt{false}}
+% This option is effective only with the \opt{structure=book} option.
+%  \begin{valuelist}
+%    \item[true] Prints a partial ToC at the beginning of every chapter.
+%    \item[false] Does not print any partial ToC.
+%  \end{valuelist}
 % \end{optionlist*}
 %
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection{Headings}
+%        \subsubsection{Commands}\label{sec:toc:commands}
 % ^^A
 % ^^A ----------------------------------------------------------------
 %
+% \begin{ltxsyntax}
+% \cmditem*{toc\meta{level}font}{definition}
+%
+% Changes the font of the \meta{level} title, where \meta{level} can be \opt{part},
+% \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
+%
+% \cmditem*{toc\meta{level}numfont}{definition}
+%
+% Changes the font of the \meta{level} number, where \meta{level} can be \opt{part},
+% \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
+%
+% \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 |\toclabelwidth{chap}{1em}|.
+%
+% \cmditem*{tocpartname}{definition}\hfill default: \cmd{partname}
+%
+% Changes the definition of ``Part'' name in ToC. For example:
+% \begin{latexcode}
+%\begin{verbatim}
+%\tocpartname{\begingroup\sffamily\Huge Part\endgroup}
+%\end{verbatim}
+% \end{latexcode}
+% To change the definition of \cmd{partname} you have to use the commands provided 
+% by the \sty{babel} package. For example, if the document is in Italian you will
+% need something like this:
+% \begin{latexcode}
+%\begin{verbatim}
+%\addto{\captionsitalian}{%
+%  \renewcommand{\partname}{\begingroup\sffamily\Huge Parte\endgroup}
+%\end{verbatim}
+% \end{latexcode}
+% Note that in both cases the definition must be enclosed in a group 
+% to prevent it from changing what follows (i.e. the part number and the part title).
+%
+% The following commands allow you to modify some features of the partial ToC
+% printed at the beginning of each chapter when the \opt{partialtoc} option is used.
+%
+% \cmditem*{partialtoc\meta{level}font}{definition}
+% \cmditem*{partialtoc\meta{level}labelfont}{definition} 
+%
+% Sets the font of the partial ToC \meta{level} and \meta{level}'s label respectively. 
+% Where \meta{level} can be \opt{sec}, \opt{subsec}, \opt{subsubsec}, \opt{par}, \opt{subpar}.
+%
+% \cmditem*{partialtocsize}{definition}
+%
+% Sets the font size of the partial ToC.
+%
+% \cmditem*{partialtocbeforespace}{dimen}
+%
+% Sets the space before the partial ToC.
+%
+% \cmditem*{partialtocafterpace}{dimen}
+%
+% Sets the space after the partial ToC.
+%
+% \cmditem*{partialtocbeforecode}{definition} 
+%
+% Arbitrary code to be executed before the partial ToC.
+%
+% \cmditem*{partialtocaftercode}{definitio} 
+%
+% Arbitrary code to be executed after the partial ToC.
+% \end{ltxsyntax}
+%
+% Here is an example of the use of these commands:
+%
+% \begin{latexcode}
+%\begin{verbatim}
+%\partialtocsize{\footnotesize}
+%\partialtocsecfont{\bfseries\itshape}
+%\partialtocsubsecfont{\itshape}
+%\partialtocseclabel{\bfseries}
+%\partialtocbeforecode{\textbf{Contents of this chapter}\smallskip}
+%\end{verbatim}
+% \end{latexcode}
+% which gives this very questionable result:
+%
+% \begin{mdframed}[backgroundcolor=philA!10,linecolor=white]
+% \footnotesize
+% \textbf{Contents of this chapter}\vskip-.5ex
+%
+% \textbf{\itshape 1.1 Lorem ipsum dolor sit amet, consectetuer adipiscing elit}, 1. 
+% 1.1.1 \textit{Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis}, 15. 
+% 1.1.1.1 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna, 17. 
+% 1.1.1.2 Donec vehicula augue eu neque, 21. 
+% 1.1.2 \textit{Cras viverra metus rhoncus sem}, 26. 
+% 1.1.2.1 Nulla et lectus vestibulum urna fringilla ultrices, 29.
+% 1.1.2.2 Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas, 34.
+% \textbf{\itshape 1.2 Nulla et lectus vestibulum urna fringilla ultrices}, 35. 
+% 1.2.1 \textit{Cras viverra metus rhoncus sem}, 39. 
+% 1.2.1.1 Donec vehicula augue eu neque, 40.
+% 1.2.1.2 Phasellus eu tellus sit amet tortor gravida placerat, 45.
+% 1.2.2 \textit{Mauris ut leo}, 49.
+% \end{mdframed}
+%
+% For more radical changes you can of course define your own partial ToC with your
+% favorite package or use the syntax of \sty{titletoc}
+% to redefine the levels to be customized: 
+% \begin{itemize}
+% \item \opt{partialtocsection}
+% \item \opt{partialtocsubsection}
+% \item \opt{partialtocsubsubsection}
+% \item \opt{partialtocparagraph}
+% \item \opt{partialtocsubparagraph}
+% \end{itemize}
+%
+% For example, the following settings:
+%
+% \begin{latexcode}
+%\begin{verbatim}
+%\titlecontents*{partialtocsection}[0cm]
+%  {}
+%  {\S\ \thecontentslabel\ \itshape}
+%  {}
+%  {, \thecontentspage.}
+%
+%\titlecontents*{partialtocsubsection}[0cm]
+%  {}
+%  {\ -- \thecontentslabel\ }
+%  {}
+%  {, \thecontentspage.}
+%\end{verbatim}
+% \end{latexcode}
+% gives this result:
+%
+% \begin{mdframed}[backgroundcolor=philA!10,linecolor=white]
+% \footnotesize
+% § 1.1 \textit{Lorem ipsum dolor sit amet, consectetuer adipiscing elit}, 1. 
+% -- 1.1.1 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis, 12. 
+% -- 1.1.2 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna, 15. 
+% -- 1.1.3 Donec vehicula augue eu neque, 23.
+% § 1.2 \textit{Cras viverra metusrhoncus sem}, 29. 
+% -- 1.2.1 Mauris ut leo, 31. 
+% -- 1.2.2 Phasellus eu tellus sit amet tortor gravida placerat, 35. 
+% -- 1.2.3 Donec vehicula augue eu neque, 37.
+% § 1.3 \textit{Nulla et lectus vestibulum urna fringilla ultrices}, 42. 
+% -- 1.3.1 Cras viverra metus rhoncus sem, 54. 
+% -- 1.3.2 Pellentesque habitant morbi, 56. 
+% -- 1.3.3 Nonummy eget, consectetuer id, 63.
+% \end{mdframed}
+%
+% The last four commands described at the beginning of this section
+% can also be used inside a group to 
+% adjust the vertical spacing only for specific chapters. This is useful, for example,
+% for those chapters starting with special quotations or \textit{epigraphs}:
+% \begin{latexcode}
+%\begin{verbatim}
+%\begingroup
+%
+%\partialtocbeforespace{6cm}
+%\setlength{\beforeepigraphskip}{-5cm}
+%\setlength{\afterepigraphskip}{4cm}
+%
+%\chapter{The things in themselves are what first give rise to
+%         reason, as is proven in the ontological}
+%
+%\epigraph{As is proven in the ontological manuals,
+%          it is obvious that the transcendental unity 
+%          of apperception proves the
+%          validity of the Antinomies}{G.W.F. Hegel}
+%
+%\endgroup
+%\end{verbatim}
+% \end{latexcode}
+%
+% ^^A ----------------------------------------------------------------
+% ^^A
+%        \subsection{Headers and footers}
+% ^^A
+% ^^A ----------------------------------------------------------------
+%
 % \begin{optionlist*}
 % \optitem[inner]{headerstyle}{\opt{inner}\OR\opt{center}\OR
 % \opt{plain}\OR\opt{authortitleinner}\OR\opt{authortitlecenter}}
 %   \begin{valuelist}
-%     \item[inner] Prints the chapter title and the string ``Chapter~ 
+%     \item[inner] Prints the chapter title and ``Chapter~ 
 %     \meta{n}'' in the inner side 
 %      of even and odd 
 %     headers respectively, and the page number in the outer side.
@@ -1304,31 +1536,47 @@
 %     \item[italic] Prints the headers in \emph{italic}.
 %     \item[smallcaps] Prints the headers in \textsc{\lsstyle spaced small caps}.
 %   \end{valuelist}
+%
+% \optitem[false]{draftdate}{\opt{true}\OR\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.
 % \end{optionlist*}
 %
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection{Notes, lists, quotations}
+%        \subsection{Notes}\label{sec:notes}
 % ^^A
 % ^^A ----------------------------------------------------------------
 %
+% ^^A ----------------------------------------------------------------
+% ^^A
+%        \subsubsection{Options}\label{sec:notes:options}
+% ^^A
+% ^^A ----------------------------------------------------------------
+%
+%\begin{figure}
+%\makeatletter
+%\fakefootnote{\renewcommand\@makefntext{%
+%    \hskip-2.5em\makebox[2em][r]{\scriptsize\@thefnmark}\hskip.5em}
+%}\hfill
+%\fakefootnote{\renewcommand\@makefntext{%
+%    \leftskip=1em\hskip-1.5em%
+%      \makebox[1em][r]{\scriptsize\@thefnmark}\hskip.5em}}
+%
+%\medskip
+%
+%\fakefootnote{\renewcommand\@makefntext{%
+%    \scriptsize\@thefnmark.\hskip.5em}%
+%}\hfill
+%\fakefootnote{\renewcommand\@makefntext{%
+%    \textsuperscript{\scriptsize\@thefnmark}\hskip.3em}
+%}
+%\makeatother
+%\caption{The four styles for the footnotes: \opt{bulged}, \opt{hung}, \opt{dotted}, \opt{superscript}}\label{fig:fakefootnote}
+%\end{figure}
+%
 % \begin{optionlist*}
-% \optitem[center]{quotestyle}{\opt{center}\OR\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}\OR\opt{small}}
-% \changes{v0.9b}{2012/09/23}{New option \opt{quotationfont}} 
-%   \begin{valuelist}
-%     \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}\OR\opt{hung}\OR
 % \opt{dotted}\OR\opt{superscript}}
 % \changes{v0.9b}{2012/09/23}{Changed \opt{standardfootnote} option 
@@ -1346,20 +1594,19 @@
 %   \end{valuelist}
 % \optitem[false]{fewfootnotes}{\opt{true}\OR\opt{false}}
 % \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}\OR\opt{aligned}\OR\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.
+%     \item[true] Uses symbols instead of numbers to mark the footnotes.
+% 		It is available only in documents with 
+% 		three footnotes per page maximum. 
+% 		The symbol sequence is: *, **, ***. 
+%     \item[false] Uses numbers to mark the footnotes.
 %   \end{valuelist}
+%
+% \optitem[true]{marginpar}{\opt{true}\OR\opt{false}}
+%   \begin{valuelist}
+%     \item[true] Prints the marginal notes.
+%     \item[false] Hide the marginal notes.
+%   \end{valuelist}
 % \optitem[standard]{captionstyle}{\opt{standard}\OR\opt{sanserif}\OR\opt{italic}\OR\opt{smallcaps}}
 % All these values print the caption in small size, changing the shape:
 %   \begin{valuelist}
@@ -1372,37 +1619,76 @@
 %     \item[smallcaps] 
 %      Prints only the caption label in \textsc{\lsstyle spaced small caps}.
 %   \end{valuelist}
+%
 % \end{optionlist*}
 %
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection{Miscellaneous}\label{sec:miscellaneous}
+%        \subsubsection{Commands}\label{sec:notes:commands}
 % ^^A
 % ^^A ----------------------------------------------------------------
 %
+% \begin{ltxsyntax}
+% \cmditem{xfootnote}[symbol]{footnote text}
+% \changes{v0.9b}{2012/09/23}{New command \cmd{xfootnote}}
+%
+% Aa command to print a footnote with a discretionary
+% symbols given in the optional argument (default:\texttt{*}).  
+% It does not increment the footnote counter.
+%
+% \cmditem{marginpar}{text}
+%
+% A redefinition of the standard command that prints a marginal note 
+% in italic shape and footnote size. 
+% \end{ltxsyntax}
+%
+% ^^A ----------------------------------------------------------------
+% ^^A
+%        \subsection{Lists and quotations}\label{sec:lists}
+% ^^A
+% ^^A ----------------------------------------------------------------
+%
+%\begin{figure}
+% \fakelist{0pt}\hfill
+% \fakelist{1em}\hfill
+% \fakelist{2em}
+%\caption{The three styles for the lists: \opt{bulged}, \opt{aligned}, \opt{indented}}\label{fig:fakelist}
+%\end{figure}
+%
 % \begin{optionlist*}
-% \optitem[\cmd{baselineskip}]{parindent}{\meta{dimen}}
-% \changes{v0.9b}{2012/09/23}{New option \opt{parindent}} 
+% \optitem[bulged]{liststyle}{\opt{bulged}\OR\opt{aligned}\OR\opt{indented}}
 %   \begin{valuelist}
-% Sets the indentation of the first line of each paragraph except those following a section title. You can use any unit recognized by \TeX{} (for example: \opt{1em}\OR\opt{1cm}\OR\opt{17pt}, \ldots).
+%     \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[true]{marginpar}{\opt{true}\OR\opt{false}}
+% \end{optionlist*}
+%
+%\begin{figure}
+%\fakequotation{\rightmargin1em\leftmargin1em}\hfill
+%\fakequotation{\leftmargin1em}\hfill
+%\fakequotation{\leftmargin0pt}
+%\caption{The three styles for the block quotations: \opt{center}, \opt{right}, \opt{justify}}\label{fig:fakequotation}
+%\end{figure}
+%
+% \begin{optionlist*}
+% \optitem[center]{quotestyle}{\opt{center}\OR\opt{right}\OR\opt{justify}}
+% \changes{v0.9b}{2012/09/23}{New option \opt{quotestyle}} 
 %   \begin{valuelist}
-%     \item[true] Prints the marginal notes.
-%     \item[false] Hide the marginal notes.
+%     \item[center] 
+%      Indents the block quotations on both the left and right margins.
+%     \item[right] 
+%      Indents the block quotations only on the left margin.
+%     \item[justify] 
+%      Does not indents the block quotations.
 %   \end{valuelist}
-% \optitem[false]{partpage}{\opt{true}\OR\opt{false}}
-% \changes{v0.9b}{2012/09/23}{New option \opt{partpage}}
-%  Active only with \opt{structure=article}. With \opt{book} structure it is ineffective.
-%   \begin{valuelist}
-%     \item[true] Prints the part title in a separate page as in 
-%      \opt{structure=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}\OR\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.
+% \optitem[footnotesize]{quotesize}{\opt{small}, \dots, \opt{footnotesize}, \dots, \opt{scriptsize}, \dots}
+% You can use all the sizes made available by the \sty{fontsize} package.
+% \changes{v0.9b}{2012/09/23}{New option \opt{quotationfont}} 
+%
 % \end{optionlist*}
 %
 % ^^A ----------------------------------------------------------------
@@ -1439,17 +1725,206 @@
 %
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \section{New commands}\label{sec:commands}
+%        \subsection{Title page}\label{sec:titlepage}
 % ^^A
 % ^^A ----------------------------------------------------------------
 %
+% The class provides a original and simple format for the \cmd{maketitle} commad 
+% but you can print a standard title too (figure \ref{fig:maketitlestyle-suftesi}). 
+% The font used for the author's name, the title and the date can be
+% easily customized through options and commands as well as the order
+% of author and title can be reversed.
+%
+% \begin{figure}
+%\begin{minipage}{.5\textwidth}
+%\centering
+%\begin{tikzpicture}
+% \draw[draw=gray,fill=white,drop shadow] (0,0) rectangle (.9\textwidth,-3)
+% node[midway] {%
+% \parbox{7cm}{
+% \centering
+%
+% \textcolor{sufred}{\Large\sffamily The Art of Kicking}
+% \bigskip
+%
+% {\small Bruce Lee}
+% \smallskip 
+%
+% {\small\today}
+% }
+% };
+%\end{tikzpicture}
+%\end{minipage}
+%\begin{minipage}{.5\textwidth}
+%\begin{tikzpicture}
+% \draw[draw=gray,fill=white,drop shadow] (0,0) rectangle (.9\textwidth,-3)
+% node[midway] {%
+% \parbox{7cm}{
+% \centering
+%
+% {\small Bruce Lee}
+% \bigskip
+%
+% \textcolor{sufred}{\Large\sffamily The Art of Kicking}
+% \smallskip 
+%
+% {\small\today}
+% }
+% };
+%\end{tikzpicture}
+%\end{minipage}
+%
+%\bigskip
+%
+%\begin{minipage}{.5\textwidth}
+%\centering
+%\begin{tikzpicture}
+% \draw[draw=gray,fill=white,drop shadow] (0,0) rectangle (.9\textwidth,-3)
+% node[midway] {%
+% \parbox{7cm}{
+% \centering
+%
+% {\LARGE The Art of Kicking}
+% \bigskip
+%
+% {\large Bruce Lee}
+% \smallskip 
+%
+% {\large\today}
+% }
+% };
+%\end{tikzpicture}
+%\end{minipage}
+%\begin{minipage}{.5\textwidth}
+%\begin{tikzpicture}
+% \draw[draw=gray,fill=white,drop shadow] (0,0) rectangle (.9\textwidth,-3)
+% node[midway] {%
+% \parbox{7cm}{
+% \centering
+%
+% {\large Bruce Lee}
+% \bigskip
+%
+% {\LARGE The Art of Kicking}
+% \smallskip 
+%
+% {\large\today}
+% }
+% };
+%\end{tikzpicture}
+%\end{minipage}
+%
+%\caption{The \opt{suftesi} (above) and \opt{standard} (below) title style}
+% \label{fig:maketitlestyle-suftesi}
+%
+%
+% \end{figure}
+%
+%
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection{Composing the cover page}
+%        \subsubsection{Options}
 % ^^A
 % ^^A ----------------------------------------------------------------
 %
+% \begin{optionlist*}
+% \optitem[suftesi]{maketitlestyle}{\opt{suftesi}\OR\opt{standard}}
+%   \begin{valuelist}
+%     \item[suftesi] The \cmd{maketitle} command prints a \sty{suftesi}-style author-title block.
+%     \item[standard] The \cmd{maketitle} command prints a standard author-title block.
+%   \end{valuelist}
+%
+% \optitem[false]{reverseauthortitle}{\opt{true}\OR\opt{false}}
+%   \begin{valuelist}
+%     \item[true] Prints the author’s name above (below with \opt{structure=collection}) the title.
+%     \item[false] Prints the author’s name below (below with \opt{structure=collection}) the title.
+%   \end{valuelist}
+%
+% \optitem[roman]{titlefont}{\opt{roman}\OR\opt{italic}\OR\opt{smallcaps}}
+%   \begin{valuelist}
+%     \item[roman] Prints the title in roman.
+%     \item[italic] Prints the  title in \emph{italic}.
+%     \item[smallcaps] Prints the  title  
+%      in \textsc{\lsstyle spaced small caps}.
+%   \end{valuelist}
+%
+% \optitem[roman]{authorfont}{\opt{roman}\OR\opt{italic}\OR\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{\lsstyle spaced small caps}.
+%     With this option remember to protect the \cmd{thanks} command:\\ 
+%     |\author{The Author\protect\thanks{...}}|.
+%   \end{valuelist}
+%
+% \optitem[roman]{datefont}{\opt{roman}\OR\opt{italic}\OR\opt{smallcaps}}
+%   \begin{valuelist}
+%     \item[roman] Prints the date in roman.
+%     \item[italic] Prints the date in \emph{italic}.
+%     \item[smallcaps] Prints the date in \textsc{\lsstyle spaced small caps}.
+%   \end{valuelist}
+%
+% \end{optionlist*}
+%
+% ^^A ----------------------------------------------------------------
+% ^^A
+%        \subsubsection{Commands}\label{sec:titlepage-commands}
+% ^^A
+% ^^A ----------------------------------------------------------------
+%
 % \begin{ltxsyntax}
+% \cmditem{title}[short title for headers]{complete title for title page}
+% \changes{v0.8}{2012/03/19}{Renewed \cmd{title} command}
+%
+% Redefinition of the standard command with a new optional argument 
+% for the short title to be printed in the headers. Particularly useful 
+% with the \opt{headerstyle=authortitle} option. 
+%
+% \cmditem{titlefont}{definition}
+% \cmditem{authorfont}{definition}
+% \cmditem{datefont}{definition}
+%
+% These commands change the font of title, author's name and date printed by \cmd{maketitle}. You can combine them with the \opt{maketitlestyle} option. For example:
+%
+% \begin{latexcode}
+%\begin{verbatim}
+%\titlefont{\bfseries\sffamily\scshape}  
+%\authorfont{\itshape\sffamily}
+%\end{verbatim}
+% \end{latexcode}
+% \end{ltxsyntax}
+%
+% ^^A ----------------------------------------------------------------
+% ^^A
+%        \subsection{Cover page}
+% ^^A
+% ^^A ----------------------------------------------------------------
+%
+% Since version 2.6 \sty{suftesi} provides a command to print a simple 
+% cover page (figure \ref{fig:cover}), inspired by the Italian designer 
+% Bruno \textcite[85-89]{munari:arte-come-mestiere}. The color used for 
+% the text and the circle as well as other graphical elements are partially 
+% customizable. The cover shown 
+% in figure \ref{fig:cover} is obtained with the following code:
+% \begin{latexcode}
+%\begin{verbatim}
+%\Cauthor{Bruce Lee}
+%\Ctitle{The Art of Kicking}
+%\Csubtitle{How to survive in the modern societies}
+%\Ceditor{edited by\\ Walker Texas Ranger}
+%\Cfoot{Punch Press\\ \fbox{\bfseries P\&P}}
+%\Cpagecolor{white!90!black}
+%\Ctextcolor{white}
+%\Cfootcolor{black}
+%  \makecover[ball color=DarkBlue,draw=none]
+%\end{verbatim}
+% \end{latexcode}
+%
+% To produce a complete book cover, with spine and dust jacket, you should 
+% take a look at the \sty{bookcover} class by Tibor \textcite{bookcover}.
+%
+%
+% \begin{ltxsyntax}
 % \cmditem{makecover}
 % \cmditem{makecover}[tikz options]
 %
@@ -1526,7 +2001,7 @@
 %\usetikzlibrary{shadows}
 %...
 %\begin{document}
-%\makecover[circular drop shadow]
+%  \makecover[circular drop shadow]
 %\end{document}
 %\end{verbatim}
 % \end{latexcode}
@@ -1541,15 +2016,111 @@
 %\Cfootcolor{black}
 %
 %\begin{document}
-%\makecover[fill=blue!30!black,draw=teal,line width=2mm,dashed]
+%  \makecover[fill=blue!30!black,draw=teal,line width=2mm,dashed]
 %\end{document}
 %\end{verbatim}
+% \end{latexcode} 
+%
+%\begin{figure}
+%\begin{minipage}{.5\textwidth}
+%\centering
+%\begin{tikzpicture}[scale=0.4]%
+%\draw[draw=gray,fill=white,drop shadow] (-\textwidth,0) rectangle (\textwidth,.9\textheight);
+%\draw[line width=.1pt,draw=black] (-4.2,18.1) circle (13mm) node {\parbox{10mm}{\centering\tiny ---*---\\[-.5mm] St. Anford\\ University\\ ---*--- }};
+% \node[scale=0.4,anchor=north west] at (-2.5cm,19cm) {%
+%  \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{3cm}
+%
+%    {\LARGE\sffamily\color{sufred} How to prepare\par
+%      a formal frontispiece\par}
+%      \vspace{2ex}
+%      
+%      {\normalsize\sffamily Theory and practice\par}
+%
+% \vspace{2cm}
+%
+%    {\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{3.5cm}
+%
+% Thesis submitted in 2010
+% }
+% };
+%\end{tikzpicture}
+%\caption{The frontispiece of \sty{suftesi}}\label{fig:frontispiece}
+%\end{minipage}
+%\begin{minipage}{.5\textwidth}
+%\centering  
+%\begin{tikzpicture}[scale=0.4]%
+%\draw[draw=gray,fill=gray!5,drop shadow] (-\textwidth,0) rectangle (\textwidth,.9\textheight);
+% \node at (0,.65\textheight) (c) {};
+% \draw[ball color=DarkBlue,draw=none] (c) circle (4.5cm);
+% \node[scale=0.4,anchor=center,text=white] at (c) {\parbox{6cm}{%
+%  \centering
+%       {\scriptsize\scshape Bruce Lee\\}
+%       \vspace*{\baselineskip}
+%
+%     {\Large\bfseries The Art of Kicking\\}
+%
+%       {\smallskip\normalsize How to survive in the modern societies\\}
+%
+%       {\vspace*{2\baselineskip}\scriptsize edited by\\ Walker Texas Ranger\\}}};
+% \node[align=center] at (0,2) {\scriptsize \textcolor{black}{Punch Press}\\\textcolor{black}{\bfseries\small  P\&P}};
+%\end{tikzpicture}
+%\caption{A cover page of \sty{suftesi}}\label{fig:cover}
+%\end{minipage}
+%\end{figure}
+%
+% ^^A ----------------------------------------------------------------
+% ^^A
+%        \subsection{Frontispiece} 
+% ^^A
+% ^^A ----------------------------------------------------------------
+%
+% The class has an original frontispiece (see figure \ref{fig:frontispiece}) 
+% now directly available loading the \sty{frontespizio} package  
+% with the \opt{suftesi} option. It is meant only for Italian users
+% \parencite[see][version 1.4 or later]{Gregorio:frontespizio}:
+%
+% \begin{latexcode}
+%\begin{verbatim}
+%\usepackage[suftesi]{frontespizio}
+%\end{verbatim}
 % \end{latexcode}
 % 
+% Note that this frontispiece requires the use of a logo which could be 
+% restricted by some institutions. So before using it you have to be sure 
+% that you have the required permissions.
 %
+% 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:
+%
+% \begin{latexcode}
+%\begin{verbatim}
+%\begin{frontespizio} 
+% \Preambolo{\usepackage[osf]{cochineal}}%  <===
+% ...
+%\end{frontespizio}
+%\end{verbatim}
+% \end{latexcode}
+%
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection{Printing the colophon} 
+%        \subsection{Colophon} 
 % ^^A
 % ^^A ----------------------------------------------------------------
 % 
@@ -1634,168 +2205,6 @@
 %
 % ^^A ----------------------------------------------------------------
 % ^^A
-%        \subsection[Breaking titles]{Breaking titles in header and table of contents}
-% ^^A
-% ^^A ----------------------------------------------------------------
-%
-% \begin{ltxsyntax}
-% \cmditem{breakintoc}
-%
-% 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 \breakintoc inside the contents}
-%\end{verbatim}
-% \end{latexcode}
-% \cmditem{breakinbody}
-% \cmditem{breakinbodyleft}
-%
-% Manual breaks which are active in the body text but not in the headers
-% and in the table of contents. The difference between the two
-% commands is that the former executes |\\| while the latter uses \cmd{newline}. The second one should be used with the \opt{\meta{level}style=left} options to avoid bad line alignments.
-%
-% \begin{latexcode}
-%\begin{verbatim}
-%\section{This title will be break here \breakinbody inside the body text}
-%\section{This title will be break here \breakinbodyleft inside the body text}
-%\end{verbatim}
-% \end{latexcode}
-% \end{ltxsyntax}
-%
-% \changes{v0.5}{2011/10/21}{New command \opt{chapnumfont}}
-%
-% ^^A ----------------------------------------------------------------
-% ^^A
-%        \subsection{Customizing titles}\label{sec:secfont}
-% ^^A
-% ^^A ----------------------------------------------------------------
-%
-% \changes{v2.9.3}{2020/001/29}{New commands to change the font of the section titles and numbers.}
-%
-% The commands in this section are experimental. They provide a fast way to customize the format of section titles and numbers. Note that in some cases you will have to manually adjust the spacing  accordingly, using \cmd{titlespacing}, \cmd{hskip}/\cmd{hspace}, \cmd{vskip}/\cmd{vspace}, and so on. 
-%
-% \begin{ltxsyntax}
-% \cmditem*{\meta{level}font}{definition}
-% \cmditem*{toc\meta{level}font}{definition}
-%
-% Changes the font of the \meta{level} title, where \meta{level} can be \opt{part},
-% \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
-% The second command changes the ToC entry. 
-%
-% \cmditem*{\meta{level}numfont}{definition}
-% \cmditem*{toc\meta{level}numfont}{definition}
-%
-% Changes the font of the \meta{level} number, where \meta{level} can be \opt{part},
-% \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
-% The second command changes the ToC entry. 
-%
-% For example, if you used the \opt{chapfont=smallcaps} option, you can change the size of the chapter title accordingly with:
-% \begin{latexcode}
-%\begin{verbatim}
-%\chapfont{\fontsize{13}{17}\scshape\lsstyle\expandafter\MakeLowercase}
-%\end{verbatim}
-% \end{latexcode}
-%
-% Combining these commands you can get something like this (or something worse/better):
-% \begin{latexcode}
-%\begin{verbatim}
-%\documentclass[pagelayout=periodical\partnameaureo,11pt,
-%version=cscreen,chapstyle=parright]{suftesi}
-%
-%\usepackage{xcolor,lipsum}
-%
-%\chapfont{\bfseries\sffamily\scshape\LARGE}
-%\secfont{\sffamily\fontsize{14.5}{15.5}\selectfont}
-%
-%\chapnumfont{\hskip1cm\hbox{\bfseries\fontsize{100}{100}\selectfont%
-%\color{gray}\arabic{chapter}}\hskip-1cm}
-%\secnumfont{\bfseries---\,\arabic{chapter}.\arabic{section}}
-%
-%\begin{document}
-%
-%\chapter{Lorem ipsum dolor sit amet, consectetuer adipiscing elit}
-%
-%\section{Dolor sit amet}  
-%\lipsum[1-2]
-%
-%\section{Lorem ipsum dolor sit amet}
-%\subsection{Dolor sit amet}
-%\lipsum[1]
-%
-%\end{document}
-%\end{verbatim}
-% \end{latexcode}
-% \end{ltxsyntax}
-%
-% ^^A ----------------------------------------------------------------
-% ^^A
-%        \subsection{Miscellaneous}
-% ^^A
-% ^^A ----------------------------------------------------------------
-%
-% \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:\texttt{*}).  
-% It does not increment the footnote counter.
-%
-% \cmditem{title}[short title for headers]{complete title for titlepage}
-% \changes{v0.8}{2012/03/19}{Renewed \cmd{title} command}
-% 
-% Useful with \opt{headerstyle=authortitle} option if the title is too long
-% or has some breaks. 
-%
-% \end{ltxsyntax}
-%
-% \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 |\toclabelwidth{chap}{1em}|.
-% \end{ltxsyntax}
-%
-% \begin{ltxsyntax}
-%
-% \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 title provided by \cmd{appendixpagename} (default:\texttt{Appendices}) at the center according to the \opt{partfont} option. 
-% To redefine the \cmd{appendixpagename} command see the \sty{appendix} package documentation.
-%
-% \cmditem*{tocpartname}{definition}\hfill default: \cmd{partname}
-%
-% Changes the definition of ``Part'' name in ToC. For example:
-% \begin{latexcode}
-%\begin{verbatim}
-%\tocpartname{\begingroup\sffamily\Huge Part\endgroup}
-%\end{verbatim}
-% \end{latexcode}
-% To change the definition of \cmd{partname} you have to use the commands provided 
-% by the \sty{babel} package. For example, if the document is in Italian you will
-% need something like this:
-% \begin{latexcode}
-%\begin{verbatim}
-%\addto{\captionsitalian}{%
-%  \renewcommand{\partname}{\begingroup\sffamily\Huge Parte\endgroup}
-%\end{verbatim}
-% \end{latexcode}
-% Note that in both cases the definition must be enclosed in a group 
-% to prevent it from changing what follows (i.e. the part number and the part title).
-% \end{ltxsyntax}
-%
-% ^^A ----------------------------------------------------------------
-% ^^A
 %        \section{The \opt{collection} structure}\label{sec:collection}
 % ^^A
 % ^^A ----------------------------------------------------------------
@@ -1842,19 +2251,14 @@
 %
 % \begin{optionlist*}
 %\addtolength{\linewidth}{-2em}
-% \optitem[left]{papertitlestyle}{\opt{left}\OR\opt{center}\OR\opt{right}}
+% \optitem[left]{authortitlealign}{\opt{left}\OR\opt{center}\OR\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}\OR\opt{false}}
+% \optitem[roman]{titlefont}{\opt{roman}\OR\opt{italic}\OR\opt{smallcaps}}
 %   \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}\OR\opt{italic}\OR\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 
@@ -1864,16 +2268,9 @@
 %   \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{\lsstyle spaced small caps}. 
-%
-%        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}
+%     \item[smallcaps] Prints the author's name in \textsc{\lsstyle spaced small caps}.
+%     With this option remember to protect the \cmd{thanks} command:\\ 
+%     |\author{The Author\protect\thanks{...}}|.
 %   \end{valuelist}
 % \optitem[italic]{toctitlefont}{\opt{roman}\OR\opt{italic}\OR\opt{smallcaps}}
 %   \begin{valuelist}
@@ -1899,12 +2296,10 @@
 %
 % \begin{ltxsyntax} 
 %
-% \cmditem{frontispiece} 
+% \cmditem{collectiontitlepage} 
 % 
-% Typeset the frontispiece of the collection.
+% Typeset the title page 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. 
@@ -1913,22 +2308,8 @@
 %
 % Sets the editor(s) of the collection.
 %
-% \cmditem{titlefont}{definition}
+% \end{ltxsyntax} 
 %
-% \changes{v2.9.4}{2020/001/29}{New commands to change the font of the title of the articles and of the author's name in the collections}
-%
-% \cmditem{authorfont}{definition}
-%
-% Changes the font of the title of the articles and of the author's name. For example:
-%
-% \begin{latexcode}
-%\begin{verbatim}
-%\titlefont{\bfseries\sffamily\scshape}  
-%\authorfont{\itshape\sffamily}
-%\end{verbatim}
-% \end{latexcode}
-% \end{ltxsyntax}
-%
 % ^^A ----------------------------------------------------------------
 % ^^A
 %        \section{Backward compatibility}
@@ -1956,8 +2337,10 @@
 % \changes{v1.3}{2013/03/05}{New command \cmd{FSPLcolophon}}
 % \begin{ltxsyntax}
 % \cmditem{FSPLcolophon}{Name Surname}
+%
+% A command is provided to typeset the colophon according to the \opt{FSPL} styles.
 % \end{ltxsyntax}
-% A command is provided to typeset the colophon according to the \opt{FSPL} styles.
+%
 % \changes{v0.9a}{2012/08/31}{New options, \opt{defaultparindent}, 
 % \opt{ralignquotation}, \opt{smallquotation}, \opt{dottedfootnote}, \opt{indentlist}, 
 % \opt{alignlist}, \opt{centerpart}, \opt{centerchap}, \opt{centersec}, \opt{rightpart}, 
@@ -1990,13 +2373,16 @@
 %
 %    \begin{macrocode}
 \RequirePackage{xkeyval}
-\newif\ifsuftesi at compatibility
-\newif\ifsuftesi at nofont 
-\newif\ifsuftesi at greekfont 
+\newif\ifsuftesi at article
+\newif\ifsuftesi at authortitle
+\newif\ifsuftesi at collection
 \newif\ifsuftesi at standard
 \newif\ifsuftesi at cochineal
 \newif\ifsuftesi at libertine 
 \newif\ifsuftesi at palatino 
+\newif\ifsuftesi at compatibility
+\newif\ifsuftesi at nofont 
+\newif\ifsuftesi at greekfont 
 \newif\ifsuftesi at porson 
 \newif\ifsuftesi at artemisia
 \newif\ifsuftesi at bodoni
@@ -2003,10 +2389,6 @@
 \newif\ifsuftesi at cbgreek
 \newif\ifsuftesi at mathminimal
 \newif\ifsuftesi at mathextended
-\newif\ifsuftesi at centerheader
-\newif\ifsuftesi at sufplain
-\newif\ifsuftesi at article
-\newif\ifsuftesi at authortitle
 \newif\ifsuftesi at periodical
 \newif\ifsuftesi at periodicalaureo
 \newif\ifsuftesi at compact
@@ -2013,31 +2395,34 @@
 \newif\ifsuftesi at compactaureo
 \newif\ifsuftesi at supercompact
 \newif\ifsuftesi at supercompactaureo
+\newif\ifsuftesi at pocketa
+\newif\ifsuftesi at pocketb
+\newif\ifsuftesi at pocketc
 \newif\ifsuftesi at screen
 \newif\ifsuftesi at screencentered
-\newif\ifsuftesi at dottedtoc
-\newif\ifsuftesi at raggedtoc
+\newif\ifsuftesi at centerheader
+\newif\ifsuftesi at sufplain
 \newif\ifsuftesi at numparpart
 \newif\ifsuftesi at numparchap
 \newif\ifsuftesi at numparsec
 \newif\ifsuftesi at numparsubsec
 \newif\ifsuftesi at numparsubsubsec
-\newif\ifsuftesi at smallcapspart
-\newif\ifsuftesi at smallcapschap
-\newif\ifsuftesi at smallcapssec
-\newif\ifsuftesi at draftdate
-\newif\ifsuftesi at fewfootnotes
-\newif\ifsuftesi at partpage
-\newif\ifsuftesi at FSPL
+\newif\ifsuftesi at dottedtoc
+\newif\ifsuftesi at raggedtoc
 \newif\ifsuftesi at pagelefttoc
 \newif\ifsuftesi at twocolumntoc
 \newif\ifsuftesi at twocolumnlof
 \newif\ifsuftesi at twocolumnlot
-\newif\ifsuftesi at reverseauthortitle
-\newif\ifsuftesi at collection
+\newif\ifsuftesi at partialtoc
 \newif\ifsuftesi at toccompactsec
 \newif\ifsuftesi at toccompactsubsec
 \newif\ifsuftesi at toccompactsubsubsec
+\newif\ifsuftesi at toccompactpar
+\newif\ifsuftesi at toccompactsubpar
+\newif\ifsuftesi at draftdate
+\newif\ifsuftesi at fewfootnotes
+\newif\ifsuftesi at partpage
+\newif\ifsuftesi at FSPL
 %    \end{macrocode}
 % The class is based on the standard \sty{book} class but the following options are disabled as they contrast with the layouts provided by the class. Specifically, the first five options are actually ineffective, while the \opt{landscape} option rotates the page correctly, but sets the text width according to the class options, effectively making it unusable.
 %    \begin{macrocode}
@@ -2065,12 +2450,12 @@
 \ExecuteOptionsX{parindent=\baselineskip}
 \ProcessOptionsX*\relax
 %    \end{macrocode}
-% \subsection{Options definition}
+% \subsection{Options setting}
 % \subsubsection{Structure}
 %    \begin{macrocode}
-\define at choicekey{}{structure}[\val\nr]
+\define at choicekey{}{structure}[\suftesi at val\suftesi at nr]
     {book,article,collection}[book]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
 % \disable at keys{}{secnumstyle}
   \def\SUF at chapswitch{\thechapter.}
 \or
@@ -2082,12 +2467,12 @@
     \setkeys{}{headerstyle=authortitleinner}
   \def\SUF at chapswitch{}
 \fi}
-\define at choicekey{}{documentstructure}[\val\nr]
+\define at choicekey{}{documentstructure}[\suftesi at val\suftesi at nr]
     {book,article,collection}[book]{%
 \ClassWarningNoLine{suftesi}{%
   'documentstructure' option is deprecated.\MessageBreak
   Use 'structure' option instead}
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \setkeys{}{structure=book}
 \or
   \setkeys{}{structure=article}
@@ -2098,9 +2483,9 @@
 % \subsubsection{Fonts}
 % \paragraph{Roman fonts}
 %    \begin{macrocode}
-\define at choicekey{}{defaultfont}[\val\nr]
+\define at choicekey{}{defaultfont}[\suftesi at val\suftesi at nr]
     {none,cochineal,libertine,palatino,standard,compatibility}[cochineal]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at nofonttrue
 \or
   \suftesi at cochinealtrue
@@ -2113,9 +2498,9 @@
 \or
   \suftesi at compatibilitytrue
 \fi}
-\define at choicekey{}{mathfont}[\val\nr]
+\define at choicekey{}{mathfont}[\suftesi at val\suftesi at nr]
     {none,minimal,extended}[minimal]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at mathminimalfalse
   \suftesi at mathextendedfalse 
 \or
@@ -2126,9 +2511,9 @@
 %    \end{macrocode}
 % \paragraph{Greek fonts}
 %    \begin{macrocode}
-\define at choicekey{}{greekfont}[\val\nr]
+\define at choicekey{}{greekfont}[\suftesi at val\suftesi at nr]
     {none,artemisia,porson,bodoni,cbgreek}[none]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at greekfontfalse
 \or
   \suftesi at greekfonttrue\suftesi at artemisiatrue
@@ -2143,10 +2528,10 @@
 % \subsubsection{Layouts}
 %    \begin{macrocode}
 \RequirePackage{geometry}
-\define at choicekey{}{pagelayout}[\val\nr]
+\define at choicekey{}{pagelayout}[\suftesi at val\suftesi at nr]
     {standard,standardaureo,periodical,periodicalaureo,compact,compactaureo,
     supercompact,supercompactaureo,pocketa,pocketb,pocketc}[standard]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \DeclareRobustCommand{\SUF at partsize}{\Large}
   \DeclareRobustCommand{\SUF at chaptersize}{\Large}
   \DeclareRobustCommand{\SUF at sectionsize}{\large}
@@ -2278,8 +2663,8 @@
     marginratio=    1:1,
     marginparwidth= 11mm,
     marginparsep=   7pt}
-\or% pocketa
-\suftesi at supercompactaureotrue
+\or
+\suftesi at pocketatrue
   \DeclareRobustCommand{\SUF at partsize}{\large}
   \DeclareRobustCommand{\SUF at chaptersize}{\large}
   \DeclareRobustCommand{\SUF at sectionsize}{\normalsize}
@@ -2296,8 +2681,8 @@
     vmarginratio=    2:3,
     marginparwidth= 12mm,
     marginparsep=   7pt}
-\or% pocketb
-\suftesi at supercompactaureotrue
+\or
+\suftesi at pocketBtrue
   \DeclareRobustCommand{\SUF at partsize}{\large}
   \DeclareRobustCommand{\SUF at chaptersize}{\large}
   \DeclareRobustCommand{\SUF at sectionsize}{\normalsize}
@@ -2314,8 +2699,8 @@
     vmarginratio=    2:3,
     marginparwidth= 15mm,
     marginparsep=   7pt}
-\or% pocketc
-\suftesi at supercompactaureotrue
+\or
+\suftesi at pocketCtrue
   \DeclareRobustCommand{\SUF at partsize}{\large}
   \DeclareRobustCommand{\SUF at chaptersize}{\large}
   \DeclareRobustCommand{\SUF at sectionsize}{\normalsize}
@@ -2336,15 +2721,15 @@
 %    \end{macrocode}
 % \subsubsection{Sections style}
 %    \begin{macrocode}
-\define at choicekey{}{partstyle}[\val\nr]
+\define at choicekey{}{partstyle}[\suftesi at val\suftesi at nr]
     {left,center,right,parleft,parcenter,parright}[left]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at lr@PARTSwitch{\filright}
 \or
   \def\SUF at lr@PARTSwitch{\filcenter}
 \or
   \def\SUF at lr@PARTSwitch{\filleft}
-\or%numpar
+\or
   \def\SUF at lr@PARTSwitch{\filright}
   \suftesi at numparparttrue
 \or
@@ -2354,15 +2739,15 @@
   \def\SUF at lr@PARTSwitch{\filleft}
   \suftesi at numparparttrue
 \fi}
-\define at choicekey{}{chapstyle}[\val\nr]
+\define at choicekey{}{chapstyle}[\suftesi at val\suftesi at nr]
     {left,center,right,parleft,parcenter,parright}[left]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at lr@CHAPSwitch{\filright}
 \or
   \def\SUF at lr@CHAPSwitch{\filcenter}
 \or
   \def\SUF at lr@CHAPSwitch{\filleft}
-\or%numparchap
+\or
   \def\SUF at lr@CHAPSwitch{\filright}
   \suftesi at numparchaptrue
 \or
@@ -2372,15 +2757,15 @@
   \def\SUF at lr@CHAPSwitch{\filleft}
   \suftesi at numparchaptrue
 \fi}
-\define at choicekey{}{secstyle}[\val\nr]
+\define at choicekey{}{secstyle}[\suftesi at val\suftesi at nr]
     {left,center,right,parleft,parcenter,parright}[left]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at lr@SECSwitch{\filright}
 \or
   \def\SUF at lr@SECSwitch{\filcenter}
 \or
   \def\SUF at lr@SECSwitch{\filleft}
-\or%numparsec
+\or
   \def\SUF at lr@SECSwitch{\filright}
   \suftesi at numparsectrue
 \or
@@ -2390,48 +2775,48 @@
   \def\SUF at lr@SECSwitch{\filleft}
   \suftesi at numparsectrue
 \fi}
-\define at choicekey{}{subsecstyle}[\val\nr]
+\define at choicekey{}{subsecstyle}[\suftesi at val\suftesi at nr]
     {left,center,right,parleft,parcenter,parright}[left]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at lr@SUBSECSwitch{\filright}
 \or
   \def\SUF at lr@SUBSECSwitch{\filcenter}
 \or
   \def\SUF at lr@SUBSECSwitch{\filleft}
-\or%numparsubsec
-\def\SUF at lr@SUBSECSwitch{\filright}
+\or
+  \def\SUF at lr@SUBSECSwitch{\filright}
 \suftesi at numparsubsectrue
 \or
-\def\SUF at lr@SUBSECSwitch{\filcenter}
+  \def\SUF at lr@SUBSECSwitch{\filcenter}
 \suftesi at numparsubsectrue
 \or
-\def\SUF at lr@SUBSECSwitch{\filleft}
+  \def\SUF at lr@SUBSECSwitch{\filleft}
 \suftesi at numparsubsectrue
 \fi}
-\define at choicekey{}{subsubsecstyle}[\val\nr]
+\define at choicekey{}{subsubsecstyle}[\suftesi at val\suftesi at nr]
     {left,center,right,parleft,parcenter,parright}[left]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at lr@SUBSUBSECSwitch{\filright}
 \or
   \def\SUF at lr@SUBSUBSECSwitch{\filcenter}
 \or
   \def\SUF at lr@SUBSUBSECSwitch{\filleft}
-\or%numparsubsubsec
-\def\SUF at lr@SUBSUBSECSwitch{\filright}
+\or
+  \def\SUF at lr@SUBSUBSECSwitch{\filright}
 \suftesi at numparsubsubsectrue
 \or
-\def\SUF at lr@SUBSUBSECSwitch{\filcenter}
+  \def\SUF at lr@SUBSUBSECSwitch{\filcenter}
 \suftesi at numparsubsubsectrue
 \or
-\def\SUF at lr@SUBSUBSECSwitch{\filleft}
+  \def\SUF at lr@SUBSUBSECSwitch{\filleft}
 \suftesi at numparsubsubsectrue
 \fi}
 %    \end{macrocode}
 % \subsubsection{Sections font}
 %    \begin{macrocode}
-\define at choicekey{}{partfont}[\val\nr]
+\define at choicekey{}{partfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at PART@StyleSwitch{\relax}
 \or
   \def\SUF at PART@StyleSwitch{\itshape}
@@ -2438,9 +2823,9 @@
 \or
   \def\SUF at PART@StyleSwitch{\expandafter\SUF at titlesmallcaps}
 \fi}
-\define at choicekey{}{chapfont}[\val\nr]
+\define at choicekey{}{chapfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at CHAP@StyleSwitch{\relax}
 \or
   \def\SUF at CHAP@StyleSwitch{\itshape}
@@ -2447,9 +2832,9 @@
 \or
   \def\SUF at CHAP@StyleSwitch{\expandafter\SUF at titlesmallcaps}
 \fi}
-\define at choicekey{}{secfont}[\val\nr]
+\define at choicekey{}{secfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[italic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at SEC@StyleSwitch{\relax}
 \or
   \def\SUF at SEC@StyleSwitch{\itshape}
@@ -2456,9 +2841,9 @@
 \or
   \def\SUF at SEC@StyleSwitch{\expandafter\SUF at titlesmallcaps}
 \fi}
-\define at choicekey{}{subsecfont}[\val\nr]
+\define at choicekey{}{subsecfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at SUBSEC@StyleSwitch{\relax}
 \or
   \def\SUF at SUBSEC@StyleSwitch{\itshape}
@@ -2465,9 +2850,9 @@
 \or
   \def\SUF at SUBSEC@StyleSwitch{\expandafter\SUF at titlesmallcaps}
 \fi}
-\define at choicekey{}{subsubsecfont}[\val\nr]
+\define at choicekey{}{subsubsecfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at SUBSUBSEC@StyleSwitch{\relax}
 \or
   \def\SUF at SUBSUBSEC@StyleSwitch{\itshape}
@@ -2474,12 +2859,30 @@
 \or
   \def\SUF at SUBSUBSEC@StyleSwitch{\expandafter\SUF at titlesmallcaps}
 \fi}
+\define at choicekey{}{parfont}[\suftesi at val\suftesi at nr]
+    {roman,italic,smallcaps}[roman]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at PAR@StyleSwitch{\relax}
+\or
+  \def\SUF at PAR@StyleSwitch{\itshape}
+\or
+  \def\SUF at PAR@StyleSwitch{\expandafter\SUF at titlesmallcaps}
+\fi}
+\define at choicekey{}{subparfont}[\suftesi at val\suftesi at nr]
+    {roman,italic,smallcaps}[roman]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at SUBPAR@StyleSwitch{\relax}
+\or
+  \def\SUF at SUBPAR@StyleSwitch{\itshape}
+\or
+  \def\SUF at SUBPAR@StyleSwitch{\expandafter\SUF at titlesmallcaps}
+\fi}
 %    \end{macrocode}
 % \paragraph{Small capitals style}
 %    \begin{macrocode}
-\define at choicekey{}{smallcapsstyle}[\val\nr]
+\define at choicekey{}{smallcapsstyle}[\suftesi at val\suftesi at nr]
     {low,upper}[low]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\suftesi at MakeTextLowercase{\MakeLowercase}
   \def\suftesi at MakeTextTOCLowercase{\lowercase}
 \or
@@ -2490,9 +2893,9 @@
 % \subsubsection{Sections number}
 % \paragraph{Part number style}
 %    \begin{macrocode}
-\define at choicekey{}{partnumstyle}[\val\nr]
+\define at choicekey{}{partnumstyle}[\suftesi at val\suftesi at nr]
     {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at thepart{\arabic{part}}
   \def\SUF at dotpart{}
 \or
@@ -2514,9 +2917,9 @@
 %    \end{macrocode}
 % \paragraph{Chapter number style}
 %    \begin{macrocode}
-\define at choicekey{}{chapnumstyle}[\val\nr]
+\define at choicekey{}{chapnumstyle}[\suftesi at val\suftesi at nr]
     {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at thechapter{\arabic{chapter}}
   \def\SUF at HEAD@thechapter{\arabic{chapter}}
   \def\SUF at dotchap{}
@@ -2550,9 +2953,9 @@
 %    \end{macrocode}
 % \paragraph{Section number style}
 %    \begin{macrocode}
-\define at choicekey{}{secnumstyle}[\val\nr]
+\define at choicekey{}{secnumstyle}[\suftesi at val\suftesi at nr]
     {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at thesection{\SUF at chapswitch\arabic{section}}
   \def\SUF at HEAD@thesection{\arabic{section}}
   \def\SUF at dotsec{}
@@ -2586,9 +2989,9 @@
 %    \end{macrocode}
 % \paragraph{Subsection number style}
 %    \begin{macrocode}
-\define at choicekey{}{subsecnumstyle}[\val\nr]
+\define at choicekey{}{subsecnumstyle}[\suftesi at val\suftesi at nr]
     {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at thesubsection{\SUF at thesection.\arabic{subsection}}
   \def\SUF at dotsubsec{}
   \def\SUF at SUBSEC@thecontentslabel{\thecontentslabel}
@@ -2616,9 +3019,9 @@
 %    \end{macrocode}
 % \paragraph{Sub-subsection number style}
 %    \begin{macrocode}
-\define at choicekey{}{subsubsecnumstyle}[\val\nr]
+\define at choicekey{}{subsubsecnumstyle}[\suftesi at val\suftesi at nr]
     {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at thesubsubsection{\SUF at thesubsection.\arabic{subsubsection}}
   \def\SUF at dotsubsubsec{}
   \def\SUF at SUBSUBSEC@thecontentslabel{\thecontentslabel}
@@ -2647,9 +3050,9 @@
 % \subsubsection{Table of contents}
 % \paragraph{Table of contents style}
 %    \begin{macrocode}
-\define at choicekey{}{tocstyle}[\val\nr]
+\define at choicekey{}{tocstyle}[\suftesi at val\suftesi at nr]
     {standard,dotted,ragged,leftpage}[standard]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at titlerule{\titlerule*{}}
   \def\SUF at chaptitlerule{\titlerule*{}}
 \or
@@ -2663,33 +3066,52 @@
 \or
 \suftesi at pagelefttoctrue
 \fi}
-\define at choicekey{}{compacttoc}[\val\nr]
-    {sec,subsec,subsubsec}[sec]{%
-\ifcase\nr\relax
+\define at choicekey{}{compacttoc}[\suftesi at val\suftesi at nr]
+    {sec,subsec,subsubsec,par,subpar}[sec]{%
+\ifcase\suftesi at nr\relax
   \suftesi at toccompactsectrue
   \suftesi at toccompactsubsectrue
   \suftesi at toccompactsubsubsectrue
-  \def\suf at sscorrect{\hskip.5em}
-  \def\suf at ssscorrect{\hskip.5em}
-  \def\suf at ctocdotsec{.}
-  \def\suf at ctocdotssec{}
-  \def\suf at ctocdotsssec{}
+  \suftesi at toccompactpartrue
+  \suftesi at toccompactsubpartrue
+  \def\SUF at sscorrect{\hskip.5em}
+  \def\SUF at ssscorrect{\hskip.5em}
+  \def\SUF at pcorrect{\hskip.5em}
+  \def\SUF at pcorrect{\hskip.5em}
 \or
   \suftesi at toccompactsubsectrue
   \suftesi at toccompactsubsubsectrue
-  \def\suf at sscorrect{\relax}
-  \def\suf at ssscorrect{\hskip.5em}
-  \def\suf at ctocdotssec{.}
-  \def\suf at ctocdotsssec{}
+  \suftesi at toccompactpartrue
+  \suftesi at toccompactsubpartrue
+  \def\SUF at sscorrect{\relax}
+  \def\SUF at ssscorrect{\hskip.5em}
+  \def\SUF at pcorrect{\hskip.5em}
+  \def\SUF at pcorrect{\hskip.5em}
 \or
   \suftesi at toccompactsubsubsectrue
-  \def\suf at sscorrect{\relax}
-  \def\suf at ssscorrect{\relax}
-  \def\suf at ctocdotsssec{.}
+  \suftesi at toccompactpartrue
+  \suftesi at toccompactsubpartrue
+  \def\SUF at sscorrect{\relax}
+  \def\SUF at ssscorrect{\relax}
+  \def\SUF at pcorrect{\hskip.5em}
+  \def\SUF at pcorrect{\hskip.5em}
+\or
+  \suftesi at toccompactpartrue
+  \suftesi at toccompactsubpartrue
+  \def\SUF at sscorrect{\relax}
+  \def\SUF at ssscorrect{\relax}
+  \def\SUF at pcorrect{\relax}
+  \def\SUF at pcorrect{\hskip.5em}
+\or
+  \suftesi at toccompactsubpartrue
+  \def\SUF at sscorrect{\relax}
+  \def\SUF at ssscorrect{\relax}
+  \def\SUF at pcorrect{\relax}
+  \def\SUF at pcorrect{\relax}
 \fi}
-\define at choicekey{}{twocolcontents}[\val\nr]
+\define at choicekey{}{twocolcontents}[\suftesi at val\suftesi at nr]
     {toc,lof,lot,toclof,toclot,loflot,all}[all]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at twocolumntoctrue
   \setkeys{}{tocstyle=ragged}
 \or
@@ -2716,12 +3138,19 @@
   \suftesi at twocolumnlottrue
   \setkeys{}{tocstyle=ragged}
 \fi}
+\define at choicekey{}{partialtoc}[\suftesi at val\suftesi at nr]
+{true,false}[true]{%
+ \ifcase\suftesi at nr\relax
+   \suftesi at partialtoctrue
+ \or
+   \suftesi at partialtocfalse
+ \fi}
 %    \end{macrocode}
 % \paragraph{Table of contents font}
 %    \begin{macrocode}
-\define at choicekey{}{tocpartfont}[\val\nr]
+\define at choicekey{}{tocpartfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at tocPART@font{\relax}
 \or
   \def\SUF at tocPART@font{\itshape}
@@ -2728,9 +3157,9 @@
 \or
   \def\SUF at tocPART@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
-\define at choicekey{}{tocchapfont}[\val\nr]
+\define at choicekey{}{tocchapfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at tocCHAP@font{\relax}
 \or
   \def\SUF at tocCHAP@font{\itshape}
@@ -2737,9 +3166,9 @@
 \or
   \def\SUF at tocCHAP@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
-\define at choicekey{}{tocsecfont}[\val\nr]
+\define at choicekey{}{tocsecfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[italic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at tocSEC@font{\relax}
 \or
   \def\SUF at tocSEC@font{\itshape}
@@ -2746,9 +3175,9 @@
 \or
   \def\SUF at tocSEC@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
-\define at choicekey{}{tocsubsecfont}[\val\nr]
+\define at choicekey{}{tocsubsecfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at tocSUBSEC@font{\relax}
 \or
   \def\SUF at tocSUBSEC@font{\itshape}
@@ -2755,9 +3184,9 @@
 \or
   \def\SUF at tocSUBSEC@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
-\define at choicekey{}{tocsubsubsecfont}[\val\nr]
+\define at choicekey{}{tocsubsubsecfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at tocSUBSUBSEC@font{\relax}
 \or
   \def\SUF at tocSUBSUBSEC@font{\itshape}
@@ -2764,31 +3193,31 @@
 \or
   \def\SUF at tocSUBSUBSEC@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
-\define at choicekey{}{tocauthorfont}[\val\nr]
+\define at choicekey{}{tocparfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
-  \def\SUF at tocAUT@font{\relax}
+\ifcase\suftesi at nr\relax
+  \def\SUF at tocPAR@font{\relax}
 \or
-  \def\SUF at tocAUT@font{\itshape}
+  \def\SUF at tocPAR@font{\itshape}
 \or
-  \def\SUF at tocAUT@font{\expandafter\SUF at TOCtitlesmallcaps}
+  \def\SUF at tocPAR@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
-\define at choicekey{}{toctitlefont}[\val\nr]
-    {roman,italic,smallcaps}[italic]{%
-\ifcase\nr\relax
-  \def\SUF at tocTIT@font{\relax}
+\define at choicekey{}{tocsubparfont}[\suftesi at val\suftesi at nr]
+    {roman,italic,smallcaps}[roman]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at tocSUBPAR@font{\relax}
 \or
-  \def\SUF at tocTIT@font{\itshape}
+  \def\SUF at tocSUBPAR@font{\itshape}
 \or
-  \def\SUF at tocTIT@font{\expandafter\SUF at TOCtitlesmallcaps}
+  \def\SUF at tocSUBPAR@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
 %    \end{macrocode}
 % \subsubsection{Headers}
 % \paragraph{Header style}
 %    \begin{macrocode}
-\define at choicekey{}{headerstyle}[\val\nr]
+\define at choicekey{}{headerstyle}[\suftesi at val\suftesi at nr]
     {inner,center,plain,authortitleinner,authortitlecenter}[inner]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at rightmark{\SUF at Rheadstyle{\rightmark}}
   \def\SUF at leftmark{\SUF at Lheadstyle{\SUF at leftrightmark}}
 \or
@@ -2810,9 +3239,9 @@
 %    \end{macrocode}
 % \paragraph{Header font}
 %    \begin{macrocode}
-\define at choicekey{}{headerfont}[\val\nr]
+\define at choicekey{}{headerfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at Rheadstyle{}
   \def\SUF at Lheadstyle{}
   \def\SUF at thepage{\thepage}
@@ -2830,12 +3259,12 @@
 % \paragraph{Lists}
 %    \begin{macrocode}
 \RequirePackage[inline]{enumitem}
-\renewcommand\labelitemi{\color{sufgray}\textbullet}
-\setlist{itemsep=.5ex,parsep=0pt,listparindent=\parindent}
-\setlist[description]{font=\normalfont\itshape}
-\define at choicekey{}{liststyle}[\val\nr]
+  \setlist[itemize,1]{label=\color{sufgray}\textbullet}
+  \setlist{itemsep=.5ex,parsep=0pt,listparindent=\parindent}
+  \setlist[description]{font=\normalfont\itshape}
+\define at choicekey{}{liststyle}[\suftesi at val\suftesi at nr]
     {bulged,aligned,indented}[bulged]{%
-\ifcase\nr\relax
+\ifcase\suftesi at 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*.}
@@ -2860,26 +3289,23 @@
 %    \end{macrocode}
 % \paragraph{Quotations}
 %    \begin{macrocode}
-\define at choicekey{}{quotestyle}[\val\nr]
-    {center,right}[center]{%
-\ifcase\nr\relax
-  \def\SUF at quote@style{\rightmargin=\parindent}
+\define at choicekey{}{quotestyle}[\suftesi at val\suftesi at nr]
+    {center,right,justify}[center]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at quote@style{\leftmargin=\parindent \rightmargin=\parindent}
 \or
-  \def\SUF at quote@style{}
-\fi}
-\define at choicekey{}{quotesize}[\val\nr]
-    {footnotesize,small}[footnotesize]{%
-\ifcase\nr\relax
-  \def\SUF at quotation@size{\footnotesize}
+  \def\SUF at quote@style{\leftmargin=\parindent}
 \or
-  \def\SUF at quotation@size{\small}
+  \def\SUF at quote@style{\leftmargin=0pt}
 \fi}
+\define at key{}{quotesize}[footnotesize]{
+  \def\SUF at quotation@size{\csname #1\endcsname}}
 %    \end{macrocode}
 % \paragraph{Footnotes}
 %    \begin{macrocode}
-\define at choicekey{}{footnotestyle}[\val\nr]
+\define at choicekey{}{footnotestyle}[\suftesi at val\suftesi at nr]
     {bulged,hung,dotted,superscript}[bulged]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \renewcommand\@makefntext{%
     \hskip-2.5em\makebox[2em][r]{\@thefnmark}\hskip.5em}
 \or
@@ -2893,9 +3319,9 @@
   \renewcommand\@makefntext{%
     \textsuperscript{\@thefnmark}\hskip.3em}
 \fi}
-\define at choicekey{}{fewfootnotes}[\val\nr]
+\define at choicekey{}{fewfootnotes}[\suftesi at val\suftesi at nr]
     {true,false}[true]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at fewfootnotestrue
 \or
   \relax
@@ -2905,9 +3331,9 @@
 %    \begin{macrocode}
 \RequirePackage{caption}
 \captionsetup{labelsep=period,font=small,textformat=period}
-\define at choicekey{}{captionstyle}[\val\nr]
+\define at choicekey{}{captionstyle}[\suftesi at val\suftesi at nr]
     {standard,sanserif,italic,smallcaps}[standard]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
 \or
   \captionsetup{font+=sf}
 \or
@@ -2918,9 +3344,9 @@
 %    \end{macrocode}
 % \paragraph{Marginal notes}
 %    \begin{macrocode}
-\define at choicekey{}{marginpar}[\val\nr]
+\define at choicekey{}{marginpar}[\suftesi at val\suftesi at nr]
     {true,false}[true]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
 \or   
   \renewcommand\marginpar[2][]{}
 \fi}
@@ -2928,9 +3354,9 @@
 % \subsubsection{Other options}
 % \paragraph{Part page}
 %    \begin{macrocode}
-\define at choicekey{}{partpage}[\val\nr]
+\define at choicekey{}{partpage}[\suftesi at val\suftesi at nr]
     {true,false}[true]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at partpagetrue
 \or
   \relax
@@ -2938,9 +3364,9 @@
 %    \end{macrocode}
 % \paragraph{Draftdate}
 %    \begin{macrocode}
-\define at choicekey{}{draftdate}[\val\nr]
+\define at choicekey{}{draftdate}[\suftesi at val\suftesi at nr]
     {true,false}[true]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at draftdatetrue
 \or
   \relax
@@ -2948,9 +3374,9 @@
 %    \end{macrocode}
 % \paragraph{View mode}
 %    \begin{macrocode}
-\define at choicekey{}{version}[\val\nr]
+\define at choicekey{}{version}[\suftesi at val\suftesi at nr]
     {screen,cscreen,draft,final}[draft]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at screentrue
 \or
   \suftesi at screentrue
@@ -2960,12 +3386,12 @@
 \or
   \AtBeginDocument{\crop[off]}
 \fi}
-\define at choicekey{}{crop}[\val\nr]
+\define at choicekey{}{crop}[\suftesi at val\suftesi at nr]
     {true,false}[true]{%
   \ClassWarningNoLine{suftesi}{%
     'crop' option is deprecated.\MessageBreak
     Use 'version' option instead}
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \setkeys{}{version=draft}
 \or
   \setkeys{}{version=screen}
@@ -2973,9 +3399,9 @@
 %    \end{macrocode}
 % \paragraph{Titlepage}
 %    \begin{macrocode}
-\define at choicekey{}{titlepage}[\val\nr]
+\define at choicekey{}{titlepage}[\suftesi at val\suftesi at nr]
     {true,false}[true]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \@titlepagetrue
 \or
   \@titlepagefalse
@@ -2983,7 +3409,7 @@
 %    \end{macrocode}
 % \paragraph{Pre-defined styles}
 %    \begin{macrocode}
-\define at choicekey{}{style}[\val\nr]
+\define at choicekey{}{style}[\suftesi at val\suftesi at nr]
   {roman1,roman2,roman3,roman4,roman5,roman6,
   italic1,italic2,italic3,italic4,italic5,italic6,
   italic7,italic8,italic9,italic10,italic11,italic12,
@@ -2991,7 +3417,7 @@
   smallcaps7,smallcaps8,smallcaps9,smallcaps10,smallcaps11,smallcaps12,
   FSPLa,FSPLb,FSPLc}  
   [roman1]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
 %    \end{macrocode}
 % \subparagraph{The `roman' styles}
 %    \begin{macrocode}
@@ -3165,7 +3591,7 @@
   \setkeys{}{
   chapstyle=parright,
   chapfont=smallcaps,
-  tocchapfont=smallcaps,
+  tocchapfont=smallcaps,file:///tmp/mozilla_ivan0/luatex85.pdf
   secfont=smallcaps,
   headerfont=smallcaps}
 \or
@@ -3229,9 +3655,9 @@
 %    \end{macrocode}
 % \paragraph{Options for the \opt{collection} document structure}
 %    \begin{macrocode}
-\define at choicekey{}{papertitlestyle}[\val\nr]
+\define at choicekey{}{authortitlealign}[\suftesi at val\suftesi at nr]
     {left,center,right}[left]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at lr@coll at titleSwitch{\filright}
 \or
   \def\SUF at lr@coll at titleSwitch{\filcenter}
@@ -3238,30 +3664,96 @@
 \or
   \def\SUF at lr@coll at titleSwitch{\filleft}
 \fi}
-\define at choicekey{}{revauthortitle}[\val\nr]
+\define at choicekey{}{papertitlestyle}[\suftesi at val\suftesi at nr]
+    {left,center,right}[left]{%
+\ClassWarningNoLine{suftesi}{%
+  'papertitlestyle' option is deprecated.\MessageBreak
+  Use 'authortitlealign' option instead}
+\ifcase\suftesi at nr\relax
+  \def\SUF at lr@coll at titleSwitch{\filright}
+\or
+  \def\SUF at lr@coll at titleSwitch{\filcenter}
+\or
+  \def\SUF at lr@coll at titleSwitch{\filleft}
+\fi}
+\define at choicekey{}{reverseauthortitle}[\suftesi at val\suftesi at nr]
     {true,false}[false]{%
-\ifcase\nr\relax
-  \suftesi at reverseauthortitletrue
+\ifcase\suftesi at nr\relax
+  \def\SUF at first{\SUF at Afont@style\SUF at Afont@shape\@author}
+  \def\SUF at second{\SUF at Tfont@style\SUF at Tfont@shape\@title}
 \or
+  \def\SUF at first{\SUF at Tfont@style\SUF at Tfont@shape\@title}
+  \def\SUF at second{\SUF at Afont@style\SUF at Afont@shape\@author}
   \relax
 \fi}
-\define at choicekey{}{titlefont}[\val\nr]
+\define at choicekey{}{revauthortitle}[\suftesi at val\suftesi at nr]
+    {true,false}[false]{%
+\ClassWarningNoLine{suftesi}{%
+  'revauthortitle' option is deprecated.\MessageBreak
+  Use 'reverseauthortitle' option instead}
+\ifcase\suftesi at nr\relax
+  \def\SUF at first{\SUF at Afont@style\SUF at Afont@shape\@author}
+  \def\SUF at second{\SUF at Tfont@style\SUF at Tfont@shape\@title}
+\or
+  \def\SUF at first{\SUF at Tfont@style\SUF at Tfont@shape\@title}
+  \def\SUF at second{\SUF at Afont@style\SUF at Afont@shape\@author}
+  \relax
+\fi}
+\define at choicekey{}{maketitlestyle}[\suftesi at val\suftesi at nr]
+    {suftesi,standard}[suftesi]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at Tfont@style{\SUF at chaptersize\color{sufred}\sffamily}
+  \def\SUF at Afont@style{\small}
+  \def\SUF at datefont{\small}
+\or
+  \def\SUF at Tfont@style{\LARGE}
+  \def\SUF at Afont@style{\large}
+  \def\SUF at datefont{\small}
+\fi}
+\define at choicekey{}{titlefont}[\suftesi at val\suftesi at nr]
+    {roman,italic,smallcaps}[suftesi]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at Tfont@shape{\relax}
+\or
+  \def\SUF at Tfont@shape{\itshape}
+\or
+  \def\SUF at Tfont@shape{\expandafter\SUF at titlesmallcaps}
+\fi}
+\define at choicekey{}{authorfont}[\suftesi at val\suftesi at nr]
+    {roman,italic,smallcaps}[suftesi]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at Afont@shape{\relax}
+\or
+  \def\SUF at Afont@shape{\itshape}
+\or
+  \def\SUF at Afont@shape{\expandafter\SUF at titlesmallcaps}
+\fi}
+\define at choicekey{}{datefont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
-  \def\SUF at titlefont@Switch{\relax}
+\ifcase\suftesi at nr\relax
+  \def\SUF at datefont{\relax}
 \or
-  \def\SUF at titlefont@Switch{\itshape}
+  \def\SUF at datefont{\itshape}
 \or
-  \def\SUF at titlefont@Switch{\expandafter\SUF at titlesmallcaps}
+  \def\SUF at datefont{\expandafter\SUF at titlesmallcaps}
 \fi}
-\define at choicekey{}{authorfont}[\val\nr]
+\define at choicekey{}{toctitlefont}[\suftesi at val\suftesi at nr]
+    {roman,italic,smallcaps}[italic]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at tocTIT@font{\relax}
+\or
+  \def\SUF at tocTIT@font{\itshape}
+\or
+  \def\SUF at tocTIT@font{\expandafter\SUF at TOCtitlesmallcaps}
+\fi}
+\define at choicekey{}{tocauthorfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
-  \def\SUF at authorfont@Switch{\relax}
+\ifcase\suftesi at nr\relax
+  \def\SUF at tocAUT@font{\relax}
 \or
-  \def\SUF at authorfont@Switch{\itshape}
+  \def\SUF at tocAUT@font{\itshape}
 \or
-  \def\SUF at authorfont@Switch{\expandafter\SUF at titlesmallcaps}
+  \def\SUF at tocAUT@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
 %    \end{macrocode}
 % \subsubsection{Execute options}
@@ -3268,46 +3760,52 @@
 %    \begin{macrocode}
 \ExecuteOptionsX<>{
   structure=book,
-  captionstyle=standard,
-  marginpar=true,
-  tocstyle=standard,
+  pagelayout=standard,
+  headerstyle=inner,
+  headerfont=roman,
   defaultfont=cochineal,
+  greekfont=none,
   mathfont=minimal,
-  greekfont=none,
-  pagelayout=standard,
-  headerstyle=inner,
+  smallcapsstyle=low,
   liststyle=bulged,
   footnotestyle=bulged,
   quotesize=footnotesize,
   quotestyle=center,
+  captionstyle=standard,
+  marginpar=true,
+  tocstyle=standard,
   partstyle=left,
   chapstyle=left,
   secstyle=left,
   subsecstyle=left,
   subsubsecstyle=left,
+  partnumstyle=Roman,
+  chapnumstyle=arabic,
+  secnumstyle=arabic,
+  subsecnumstyle=arabic,
+  subsubsecnumstyle=arabic,
   partfont=roman,
   chapfont=roman,
   secfont=italic,
   subsecfont=roman,
   subsubsecfont=roman,
-  headerfont=roman,
-  partnumstyle=Roman,
-  chapnumstyle=arabic,
-  secnumstyle=arabic,
-  subsecnumstyle=arabic,
-  subsubsecnumstyle=arabic,
-  smallcapsstyle=low,
-  titlefont=italic,
-  authorfont=roman,
-  toctitlefont=italic,
-  tocauthorfont=roman,
-  revauthortitle=false,
-  papertitlestyle=left,
+  parfont=italic,
+  subparfont=roman,
   tocpartfont=roman,
   tocchapfont=roman,
   tocsecfont=roman,
   tocsubsecfont=roman,
-  tocsubsubsecfont=roman}
+  tocsubsubsecfont=roman,
+  tocparfont=roman,
+  tocsubparfont=roman,
+  maketitlestyle=suftesi,
+  titlefont=roman,
+  authorfont=roman,
+  datefont=roman,
+  toctitlefont=italic,
+  tocauthorfont=roman,
+  reverseauthortitle=false,
+  authortitlealign=left}
 \ProcessOptionsX<>\relax
 %    \end{macrocode}
 % The use of the \cmd{XKV at useoption} command, provided by 
@@ -3567,22 +4065,22 @@
 \fi
 \unless\ifPDFTeX\else
 \ifsuftesi at greekfont
-    \ifsuftesi at artemisia
-      \def\SUF at greekfamily{artemisia}
-        \else
-          \ifsuftesi at porson
-            \def\SUF at greekfamily{porson}
-                 \else
-                \ifsuftesi at bodoni
-              \def\SUF at greekfamily{bodoni}
-              \else
-                \ifsuftesi at cbgreek
-               \def\SUF at greekfamily{lmr}
-            \else
-          \fi
-        \fi
+ \ifsuftesi at artemisia
+  \def\SUF at greekfamily{artemisia}
+   \else
+    \ifsuftesi at porson
+     \def\SUF at greekfamily{porson}
+      \else
+       \ifsuftesi at bodoni
+        \def\SUF at greekfamily{bodoni}
+         \else
+          \ifsuftesi at cbgreek
+           \def\SUF at greekfamily{lmr}
+         \else
       \fi
     \fi
+  \fi
+\fi
 %    \end{macrocode}
 %The following macro was created by Claudio Beccari. Some time later, Massimiliano Dominici suggested the use of \cmd{AtEndPreamble} instead of \cmd{AtBeginDocument}, to make the \env{otherlanguage} environment work.
 %    \begin{macrocode}
@@ -3646,7 +4144,7 @@
 \fi
 \fi
 %    \end{macrocode}
-% \subsection{Section titles}
+% \subsection{Sectioning}
 %    \begin{macrocode}
 \RequirePackage[newparttoc]{titlesec}
   \newlength{\sectionsep}
@@ -3673,16 +4171,18 @@
 \def\SUF at default@CHAPTER{
 \ifsuftesi at numparchap
   \titleformat{\chapter}[display]
-    {\SUF at chaptersize\SUF at lr@CHAPSwitch}
+    {\startpartialtoc\SUF at chaptersize\SUF at lr@CHAPSwitch}
     {\SUF at thechapter\SUF at dotchap}
     {2ex}
     {\SUF at CHAP@StyleSwitch}
+    [\printpartialtoc]
   \else
   \titleformat{\chapter}[hang]
-    {\SUF at chaptersize\SUF at lr@CHAPSwitch}
+    {\startpartialtoc\SUF at chaptersize\SUF at lr@CHAPSwitch}
     {\SUF at thechapter\SUF at dotchap}
     {3em}
     {\SUF at CHAP@StyleSwitch}
+    [\printpartialtoc]
   \fi
 \ifsuftesi at numparchap
   \setlength{\SUF at ADJnumparchap}{-6ex}
@@ -3763,14 +4263,29 @@
 \ifsuftesi at supercompactaureo
   \titlespacing*{\chapter}{0em}{\SUF at ADJnumparchap}{18ex}
   \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
-\else%standard/standardaureo
+\else
+\ifsuftesi at pocketa
+  \titlespacing*{\chapter}{0em}{\SUF at ADJnumparchap}{18ex}
+  \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
+\else
+\ifsuftesi at pocketb
+  \titlespacing*{\chapter}{0em}{\SUF at ADJnumparchap}{18ex}
+  \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
+\else
+\ifsuftesi at pocketc
+  \titlespacing*{\chapter}{0em}{\SUF at ADJnumparchap}{18ex}
+  \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
+\else
   \titlespacing*{\chapter}{0em}{%
      \dimexpr(6ex+\SUF at ADJnumparchap)}{18ex}  
   \titlespacing*{name=\chapter,numberless}{0em}{6ex}{18ex}
-         \fi
+        \fi
        \fi
+      \fi       
      \fi
+    \fi
    \fi
+  \fi
  \fi
 \fi
 %    \end{macrocode}
@@ -3817,7 +4332,6 @@
   \fi
   \secdef\@part\@spart}
 \fi
-
 \def\@part[#1]#2{%
   \ifnum \c at secnumdepth >-2\relax
   \refstepcounter{part}%
@@ -3842,7 +4356,6 @@
     \fi
     \noindent\SUF at PART@StyleSwitch#2\par}%
   \@endpart}
-
 \def\@spart#1{%
   {\SUF at lr@PARTSwitch\SUF at partsize
     \interlinepenalty \@M
@@ -3849,34 +4362,33 @@
     \addvspace{4ex}   
     \noindent\SUF at PART@StyleSwitch#1\par}%
   \@endpart}
-
 \ifsuftesi at article
-\def\@endpart{%
-  \ifsuftesi at partpage
-  \vfil\newpage
-  \if at twoside
-  \if at openright
-  \null
-  \thispagestyle{empty}%
-  \newpage
-  \fi
-  \fi
-  \fi
-  \if at tempswa
-  \twocolumn
-  \fi}
+  \def\@endpart{%
+    \ifsuftesi at partpage
+    \vfil\newpage
+    \if at twoside
+    \if at openright
+    \null
+    \thispagestyle{empty}%
+    \newpage
+    \fi
+    \fi
+    \fi
+    \if at tempswa
+    \twocolumn
+    \fi}
 \else
-\def\@endpart{\vfil\newpage
-  \if at twoside
-  \if at openright
-  \null
-  \thispagestyle{empty}%
-  \newpage
-  \fi
-  \fi
-  \if at tempswa
-  \twocolumn
-  \fi}
+  \def\@endpart{\vfil\newpage
+    \if at twoside
+    \if at openright
+    \null
+    \thispagestyle{empty}%
+    \newpage
+    \fi
+    \fi
+    \if at tempswa
+    \twocolumn
+    \fi}
 \fi
 %    \end{macrocode}
 % Other sublevels: 
@@ -3885,7 +4397,7 @@
   {}
   {\theparagraph}
   {.5em}
-  {\itshape}
+  {\SUF at PAR@StyleSwitch}
   [{.}\hspace*{1em}]
 \titlespacing*{\paragraph}{\parindent}{.5\sectionsep}{.5\sectionsep}
 \titleformat{\subparagraph}[runin]
@@ -3892,7 +4404,7 @@
   {}
   {\thesubparagraph}
   {.5em}
-  {}
+  {\SUF at SUBPAR@StyleSwitch}
   [{.}\hspace*{1em}]
 \titlespacing*{\subparagraph}{\parindent}{.5\sectionsep}{.5\sectionsep}
 %    \end{macrocode}
@@ -4041,107 +4553,59 @@
 % which can be used in the headers.
 %    \begin{macrocode}
 \def\isbn#1{\gdef\@isbn{#1}}
-  \def\@issn{\@latex at warning@no at line{%
-    No \noexpand\isbn given}}
+\def\@issn{\@latex at warning@no at line{%
+  No \noexpand\isbn given}}
 \def\doi#1{\gdef\@doi{#1}}
-  \def\@doi{\@latex at warning@no at line{%
-    No \noexpand\doi given}}
+\def\@doi{\@latex at warning@no at line{%
+  No \noexpand\doi given}}
 \def\isbn#1{\gdef\@issn{#1}}
-  \def\@issn{\@latex at warning@no at line{%
-    No \noexpand\isbn given}}
+\def\@issn{\@latex at warning@no at line{%
+  No \noexpand\isbn given}}
 \renewcommand*{\title}[2][]{\gdef\@headtitle{#1}\gdef\@title{#2}}
-    \edef\title{\noexpand\@dblarg
+\edef\title{\noexpand\@dblarg
   \expandafter\noexpand\csname\string\title\endcsname}
-    \def\@headtitle{--missing title--%
-        \protect\ClassWarningNoLine{suftesi}{%
+\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}{%
+\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}{%
+\def\@author{--missing author--%
+           \protect\ClassWarningNoLine{suftesi}{%
             No \string\author\space given\MessageBreak%
             See the class documentation for explanation}}
-%    \end{macrocode}
-% \subsubsection{For \opt{titlepage} (default) option}
-%    \begin{macrocode}
-\if at titlepage% titlepage
-  \renewcommand\maketitle{\begin{titlepage}%
-  \let\footnotesize\small
-  \let\footnoterule\relax
-  \let \footnote \thanks
-  \renewcommand\thefootnote{\@fnsymbol\c at footnote}%
-  \null\vfil
-  \vskip 60\p@
-  \begin{center}%
-    {\SUF at chaptersize\color{sufred}\sffamily%
-    \ifsuftesi at smallcapschap%
-     \SUF at titlesmallcaps{\@title}
-      \else
-      \ifsuftesi at article
-       \ifsuftesi at smallcapssec
-        \SUF at 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
+\if at titlepage
+  \renewcommand\maketitle{%
+  \begin{titlepage}
+    \let\footnotesize\small
+    \let\footnoterule\relax
+    \let \footnote \thanks
+    \renewcommand\thefootnote{\@fnsymbol\c at footnote}%
+    \null\vfil
+    \vskip 60\p@
+    \begin{center}%
+      {\SUF at first\par}%
+      \vskip 3em%
+      {\lineskip .75em%
+        \begin{tabular}[t]{c}%
+          \SUF at second
+        \end{tabular}\par}%
+        \vskip 1.5em%
+      {\SUF at datefont\@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\@empty
   \global\let\date\relax
   \global\let\and\relax}
-%    \end{macrocode}
-% \paragraph{The standard \cmd{aketitle} 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}
-%  \subsubsection{For \opt{notitlepage} option}
-%    \begin{macrocode}
 \renewcommand\maketitle{\par
    \begingroup
      \renewcommand\thefootnote{\@fnsymbol\c at footnote}%
@@ -4176,79 +4640,17 @@
    \vskip 2em%
    \begin{center}%
    \let \footnote \thanks
-     {\SUF at chaptersize\color{sufred}\sffamily%
-    \ifsuftesi at smallcapschap%
-     \SUF at titlesmallcaps{\@title}
-      \else
-      \ifsuftesi at article
-       \ifsuftesi at smallcapssec
-        \SUF at titlesmallcaps{\@title}
-         \else
-          \@title
-        \fi
-       \else
-      \@title
-     \fi
-  \fi\par}%
+     {\SUF at first\par}%
      \vskip 1.5em%
-     {\small\lineskip .5em%
+     {\lineskip .5em%
        \begin{tabular}[t]{c}%
-        \@author\par
+        \SUF at second\par
        \end{tabular}\par}%
      \vskip 1em%
-     {\small\@date\par}%
+     {\SUF at datefont\@date\par}%
    \end{center}%
    \par
    \vskip 1.5em}
-%    \end{macrocode}
-% \paragraph{The standard \cmd{maketitle} style}
-%    \begin{macrocode}
-\newcommand\standardtitle{\par
-  \begingroup
-    \renewcommand\thefootnote{\@fnsymbol\c at footnote}%
-    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
-    \long\def\@makefntext##1{\parindent 1em\noindent
-            \hb at xt@1.8em{%
-                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
-    \if at twocolumn
-      \ifnum \col at 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} structure}
@@ -4359,8 +4761,8 @@
     \fi
     \thispagestyle{plain}\@thanks%
   \endgroup
+   \setcounter{section}{0}%
 %  \setcounter{footnote}{0}%
-  \setcounter{section}{0}%
 %  \global\let\thanks\relax
 %  \global\let\maketitle\relax
 %  \global\let\@maketitle\relax
@@ -4371,8 +4773,8 @@
 %  \global\let\title\relax
 %  \global\let\author\relax
 %  \global\let\date\relax
-  \global\let\and\relax
-  \let\thanks\@gobble}
+   \global\let\and\relax
+   \let\thanks\@gobble}
 \AtBeginDocument{\def\@maketitle{%
   \refstepcounter{article}
   \SUF at chaptersize
@@ -4379,14 +4781,19 @@
    \SUF at lr@coll at titleSwitch
     \let\footnote\thanks
      \parindent=0pt
-    {\ifsuftesi at reverseauthortitle
-      \SUF at titlefont@Switch{\@title}%
-        \else\SUF at authorfont@Switch{\@author}\fi}%
+    {\SUF at second}%
    \label{begin:\thearticle}
-     \xdef\@currentHref{title.\thearticle}%
-  \Hy at raisedlink{%
-  \hyper at anchorstart{\@currentHref}\hyper at anchorend}%
-  \csname toc at entry@\endcsname
+%    \end{macrocode}
+% Check if you don't use \sty{hyperrref} provided by Enrico Gregorio
+% (\url{https://tex.stackexchange.com/a/427203/231952}):
+%    \begin{macrocode}
+   \@ifundefined{Hy at raisedlink}{\let\texorpdfstring\@firstoftwo}{%
+    \xdef\@currentHref{title.\thearticle}%
+     \Hy at raisedlink{\hyper at anchorstart{\@currentHref}\hyper at anchorend}%
+    }%  
+%    \end{macrocode}
+%    \begin{macrocode}
+   \csname toc at entry@\endcsname
     \begingroup%
     \let\thanks\@gobble
     \addcontentsline{toc}{title}{%
@@ -4394,11 +4801,8 @@
     {\SUF at tocTIT@font{\@headtitle}}}
     \endgroup%
     \par\nobreak\vspace{2ex}
-    {\ifsuftesi at reverseauthortitle
-      \SUF at authorfont@Switch{\@author}%
-        \else
-      \SUF at titlefont@Switch{\@title}%
-    \fi\vskip1.5cm}}%
+    {\SUF at first%
+    \vskip1.5cm}}%
     }
 % \newenvironment{article}
 %  {\begingroup
@@ -4419,7 +4823,7 @@
     \cleardoublepage
       \global\let\@thanks\@empty
     \endgroup}
-\newcommand{\frontispiece}{%
+\newcommand{\collectiontitlepage}{%
   \thispagestyle{empty}%
     \begingroup
      \centering
@@ -4433,6 +4837,7 @@
             
     \endgroup
   \clearpage}
+\def\frontispiece{\collectiontitlepage}
 %    \end{macrocode}
 % In the collection document structure the articles are treated as
 % chapters but you would not need to print in
@@ -4462,51 +4867,72 @@
 \ifsuftesi at periodical
   \Margini {5.5cm}{7cm}{4.5cm}{0cm}
     \else
+\ifsuftesi at periodicalaureo
+  \Margini {5.5cm}{7cm}{4.5cm}{0cm}
+    \else
 \ifsuftesi at compact
   \Margini {4.5cm}{7cm}{4.5cm}{0cm}
     \else
+\ifsuftesi at compactaureo
+  \Margini {4.5cm}{7cm}{4.5cm}{0cm}
+    \else
 \ifsuftesi at supercompact
   \Margini {4.5cm}{10cm}{6cm}{1cm}
     \else
-\ifsuftesi at compactaureo
-  \Margini {4.5cm}{7cm}{4.5cm}{0cm}
-    \else
 \ifsuftesi at supercompactaureo
   \Margini {4.5cm}{10cm}{6cm}{1cm}
     \else
-\ifsuftesi at periodicalaureo
-  \Margini {5.5cm}{7cm}{4.5cm}{0cm}
+\ifsuftesi at pocketa
+  \Margini {4.5cm}{10cm}{6cm}{1cm}
     \else
-\fi\fi\fi\fi\fi\fi}
+\ifsuftesi at pocketb
+  \Margini {4.5cm}{10cm}{6cm}{1cm}
+    \else
+\ifsuftesi at pocketc
+  \Margini {4.5cm}{10cm}{6cm}{1cm}
+    \else
+\fi\fi\fi\fi\fi\fi\fi\fi\fi}
 {\@ifpackageloaded{frontespizio}{%
 \ifsuftesi at periodical
   \Margini {1cm}{7cm}{5cm}{1cm}
   \Rientro{1cm}
     \else
+\ifsuftesi at periodicalaureo
+  \Margini {1cm}{7cm}{5cm}{1cm}
+  \Rientro{1cm}
+    \else
 \ifsuftesi at compact
   \Margini {1cm}{7cm}{6cm}{1cm}
   \Rientro{1cm}
     \else
+\ifsuftesi at compactaureo
+  \Margini {1cm}{7cm}{6cm}{1cm}
+  \Rientro{1cm}
+    \else
 \ifsuftesi at supercompact
   \Margini {1cm}{10cm}{8cm}{1cm}
   \Rientro{1cm}
     \else
-\ifsuftesi at compactaureo
-  \Margini {1cm}{7cm}{6cm}{1cm}
+\ifsuftesi at supercompactaureo
+  \Margini {1cm}{10cm}{8cm}{1cm}
   \Rientro{1cm}
     \else
-\ifsuftesi at supercompactaureo
+\ifsuftesi at pocketa
   \Margini {1cm}{10cm}{8cm}{1cm}
   \Rientro{1cm}
     \else
-\ifsuftesi at periodicalaureo
-  \Margini {1cm}{7cm}{5cm}{1cm}
+\ifsuftesi at pocketb
+  \Margini {1cm}{10cm}{8cm}{1cm}
   \Rientro{1cm}
     \else
-\fi\fi\fi\fi\fi\fi}
+\ifsuftesi at pocketc
+  \Margini {1cm}{10cm}{8cm}{1cm}
+  \Rientro{1cm}
+    \else
+\fi\fi\fi\fi\fi\fi\fi\fi\fi}
 {\relax}}}
 %    \end{macrocode}
-% \subsection{The index}
+% \subsection{Index}
 %    \begin{macrocode}
 \renewenvironment{theindex}
   {\if at twocolumn
@@ -4613,7 +5039,7 @@
   \ifsuftesi at toccompactsec
   \titlecontents*{section}[\SUF at tochang@chap]{}{%
     \thecontentslabel\adjtoclabelsep\SUF at tocSEC@font}{\SUF at tocSEC@font}{, 
-    \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotsec]
+    \thecontentspage.}[][\adjtocpagesep][]
   \else
   \titlecontents{section}
   [\SUF at tochang@sec]
@@ -4645,7 +5071,7 @@
   \ifsuftesi at toccompactsec
   \titlecontents*{section}[\SUF at tocindent@chap]{}{%
     \thecontentslabel\adjtoclabelsep\SUF at tocSEC@font}{\SUF at tocSEC@font}{, 
-    \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotsec]
+    \thecontentspage.}[][\adjtocpagesep][]
   \else
   \titlecontents{section}
   [\SUF at tocindent@sec]
@@ -4757,7 +5183,6 @@
 \renewenvironment{quotation}
   {\list{}{\listparindent\parindent%
     \itemindent    \listparindent
-    \leftmargin     \parindent
     \SUF at quote@style      
     \parsep    \z@ \@plus\p@}%
     \item\relax%
@@ -4765,7 +5190,7 @@
     \noindent\ignorespaces}
   {\endlist}
 \renewenvironment{quote}
-  {\list{}{\leftmargin \parindent
+  {\list{}{%
     \SUF at quote@style}%
     \item\relax%
     \SUF at quotation@size}% \ignorespaces?
@@ -4965,7 +5390,7 @@
      only for the FSPL styles}}
 \fi
 %    \end{macrocode}
-% \subsection{ToC, LoF and LoT}
+% \subsection{Contents lists}
 %    \begin{macrocode}
 \RequirePackage{titletoc}
 %    \end{macrocode}
@@ -5119,7 +5544,7 @@
 \ifsuftesi at toccompactsec
 \titlecontents*{section}[\SUF at tochang@chap]{}{%
   \SUF at SEC@thecontentslabel\adjtoclabelsep\SUF at tocSEC@font}{\SUF at tocSEC@font}{, 
-  \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotsec]
+  \thecontentspage.}[][\adjtocpagesep][]
 \else
 \titlecontents{section}
   [\SUF at tochang@sec]
@@ -5137,9 +5562,9 @@
   {}
 \fi
 \ifsuftesi at toccompactsubsec
-\titlecontents*{subsection}[\SUF at tochang@sec]{\suf at sscorrect}{%
+\titlecontents*{subsection}[\SUF at tochang@sec]{\SUF at sscorrect}{%
   \SUF at SUBSEC@thecontentslabel\adjtoclabelsep\SUF at tocSUBSEC@font}{\SUF at tocSUBSEC@font}{, 
-  \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotssec]
+  \thecontentspage.}[][\adjtocpagesep][]
 \else
 \titlecontents{subsection}
   [\SUF at tochang@subsec]
@@ -5154,10 +5579,10 @@
   {}
 \fi
 \ifsuftesi at toccompactsubsubsec
-\titlecontents*{subsubsection}[\SUF at tochang@subsec]{\suf at ssscorrect}{%
+\titlecontents*{subsubsection}[\SUF at tochang@subsec]{\SUF at ssscorrect}{%
   \SUF at SUBSUBSEC@thecontentslabel\adjtoclabelsep%
   \SUF at tocSUBSUBSEC@font}{\SUF at tocSUBSUBSEC@font}{, 
-  \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotsssec]
+  \thecontentspage.}[][\adjtocpagesep][]
 \else
 \titlecontents{subsubsection}
   [\SUF at tochang@subsubsec]
@@ -5171,24 +5596,42 @@
      \SUF at tocSUBSUBSEC@font}
   {}
 \fi
+\ifsuftesi at toccompactpar
+\titlecontents*{paragraph}[\SUF at tochang@subsubsec]{\SUF at pcorrect}{%
+ \SUF at PAR@thecontentslabel\adjtoclabelsep%
+ \SUF at tocPAR@font}{\SUF at tocPAR@font}{, 
+ \thecontentspage.}[][\adjtocpagesep][]
+\else
 \titlecontents{paragraph}
-  [\SUF at tochang@par]
-  {}
-  {\hskip-\SUF at tochang@par%
-   \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at par%
-    \makebox[\SUF at label@par][l]{\thecontentslabel}\hspace*{1em}}
-  {\hskip-\SUF at tochang@par%
-   \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at par}
-  {}
+[\SUF at tochang@par]
+{}
+{\hskip-\SUF at tochang@par%
+ \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at par%
+ \makebox[\SUF at label@par][l]{\thecontentslabel}\hspace*{1em}%
+   \SUF at tocPAR@font}
+{\hskip-\SUF at tochang@par%
+ \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at par%
+   \SUF at tocPAR@font}
+{}
+\fi
+\ifsuftesi at toccompactsubpar
+\titlecontents*{subparagraph}[\SUF at tochang@par]{\SUF at pcorrect}{%
+ \SUF at SUBPAR@thecontentslabel\adjtoclabelsep%
+ \SUF at tocSUBPAR@font}{\SUF at tocSUBPAR@font}{, 
+ \thecontentspage.}[][\adjtocpagesep][]
+\else
 \titlecontents{subparagraph}
   [\SUF at tochang@subpar]
   {}
   {\hskip-\SUF at tochang@subpar%
    \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at subpar%
-    \makebox[\SUF at label@subpar][l]{\thecontentslabel}\hspace*{1em}}
+    \makebox[\SUF at label@subpar][l]{\thecontentslabel}\hspace*{1em}%
+      \SUF at tocSUBPAR@font}
   {\hskip-\SUF at tochang@subpar%
-   \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at subpar}
+    \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at subpar%
+      \SUF at tocSUBPAR@font}
   {}
+\fi
 \titlecontents{figure}
   [\SUF at tochang@fig]
   {}
@@ -5267,8 +5710,8 @@
   [\addvspace{1ex}]
 \ifsuftesi at toccompactsec
 \titlecontents*{section}[\SUF at tocindent@chap]{}{%
-  \SUF at SEC@thecontentslabel\adjtoclabelsep\SUF at tocSEC@font}{\SUF at tocSEC@font}{, 
-  \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotsec]
+  \SUF at SEC@thecontentslabel\adjtoclabelsep\SUF at tocSEC@font}
+  {\SUF at tocSEC@font}{, \thecontentspage.}[][\adjtocpagesep][]
 \else
 \titlecontents{section}
   [\SUF at tocindent@sec]
@@ -5285,9 +5728,9 @@
        \else\SUF at titlerule\fi\contentspage}
 \fi
 \ifsuftesi at toccompactsubsec
-\titlecontents*{subsection}[\SUF at tocindent@sec]{\suf at sscorrect}{%
-  \SUF at SUBSEC@thecontentslabel\adjtoclabelsep\SUF at tocSUBSEC@font}{\SUF at tocSUBSEC@font}{, 
-  \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotssec]
+\titlecontents*{subsection}[\SUF at tocindent@sec]{\SUF at sscorrect}{%
+  \SUF at SUBSEC@thecontentslabel\adjtoclabelsep\SUF at tocSUBSEC@font}
+  {\SUF at tocSUBSEC@font}{, \thecontentspage.}[][\adjtocpagesep][]
 \else
 \titlecontents{subsection}
   [\SUF at tocindent@subsec]
@@ -5300,10 +5743,10 @@
   {\SUF at titlerule\contentspage}
 \fi  
 \ifsuftesi at toccompactsubsubsec
-\titlecontents*{subsubsection}[\SUF at tocindent@subsec]{\suf at ssscorrect}{%
+\titlecontents*{subsubsection}[\SUF at tocindent@subsec]{\SUF at ssscorrect}{%
   \SUF at SUBSUBSEC@thecontentslabel\adjtoclabelsep%
   \SUF at tocSUBSUBSEC@font}{\SUF at tocSUBSUBSEC@font}{, 
-  \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotsssec]
+  \thecontentspage.}[][\adjtocpagesep][]
 \else
 \titlecontents{subsubsection}
   [\SUF at tocindent@subsubsec]
@@ -5315,20 +5758,38 @@
     \SUF at tocSUBSUBSEC@font}
   {\SUF at titlerule\contentspage}
 \fi
+\ifsuftesi at toccompactpar
+\titlecontents*{paragraph}[\SUF at tocindent@subsubsec]{\SUF at pcorrect}{%
+ \SUF at PAR@thecontentslabel\adjtoclabelsep%
+ \SUF at tocPAR@font}{\SUF at tocPAR@font}{, 
+ \thecontentspage.}[][\adjtocpagesep][]
+\else
 \titlecontents{paragraph}
   [\SUF at tocindent@par]
   {}
   {\hskip-\dimexpr(\SUF at label@par+1em)%
-    \makebox[\SUF at label@par][l]{\thecontentslabel}\hspace*{1em}}
-  {\hskip-\dimexpr(\SUF at label@par+1em)}
+    \makebox[\SUF at label@par][l]{\thecontentslabel}\hspace*{1em}%
+      \SUF at tocPAR@font}
+  {\hskip-\dimexpr(\SUF at label@par+1em)%
+     \SUF at tocPAR@font}
   {\SUF at titlerule\contentspage}
+\fi
+\ifsuftesi at toccompactsubpar
+\titlecontents*{subparagraph}[\SUF at tocindent@par]{\SUF at pcorrect}{%
+ \SUF at SUBPAR@thecontentslabel\adjtoclabelsep%
+ \SUF at tocSUBPAR@font}{\SUF at tocSUBPAR@font}{, 
+ \thecontentspage.}[][\adjtocpagesep][]
+\else
 \titlecontents{subparagraph}
   [\SUF at tocindent@subpar]
   {}
   {\hskip-\dimexpr(\SUF at label@subpar+1em)%
-    \makebox[\SUF at label@subpar][l]{\thecontentslabel}\hspace*{1em}}
-  {\hskip-\dimexpr(\SUF at label@subpar+1em)}
+    \makebox[\SUF at label@subpar][l]{\thecontentslabel}\hspace*{1em}%
+      \SUF at tocSUBPAR@font}
+  {\hskip-\dimexpr(\SUF at label@subpar+1em)%
+     \SUF at tocSUBPAR@font}
   {\SUF at titlerule\contentspage}
+\fi
 \titlecontents{figure}
   [\SUF at tocindent@fig]
   {}
@@ -5345,6 +5806,37 @@
   {\SUF at titlerule\contentspage}
 \fi
 %    \end{macrocode}
+% \subparagraph{partial ToC}
+%    \begin{macrocode}
+\titlecontents*{partialtocsection}[0cm]{}{%
+ \@partialtocseclabel\adjtoclabelsep\@partialtocsecfont}
+ {\@partialtocsecfont}{, \thecontentspage.}[][\adjtocpagesep][]
+\titlecontents*{partialtocsubsection}[0cm]{\hskip.5em}{%
+ \@partialtocsubseclabel\adjtoclabelsep\@partialtocsubsecfont}
+ {\@partialtocsubsecfont}{, \thecontentspage.}[][\adjtocpagesep][]
+\titlecontents*{partialtocsubsubsection}[0cm]{\hskip.5em}{%
+ \@partialtocsubsubseclabel\adjtoclabelsep\@partialtocsubsubsecfont}
+ {\@partialtocsubsubsecfont}{, \thecontentspage.}[][\adjtocpagesep][]
+\titlecontents*{partialtocparagraph}[0cm]{\hskip.5em}{%
+ \@partialtocparlabelfont\adjtoclabelsep\@partialtocparfont}
+ {\@partialtocparfont}{, \thecontentspage.}[][\adjtocpagesep][]
+\titlecontents*{partialtocsubparagraph}[0cm]{\hskip.5em}{%
+ \@partialtocsubparlabelfont\adjtoclabelsep\@partialtocsubparfont}
+ {\@partialtocsubparfont}{, \thecontentspage.}[][\adjtocpagesep][]
+\newcommand{\startpartialtoc}{%
+ \ifsuftesi at partialtoc\startcontents\fi}
+\newcommand{\printpartialtoc}{%
+ \ifsuftesi at partialtoc
+  \setcounter{tocdepth}{5}
+   \contentsmargin{0cm}
+    \@partialtocsize
+     \@partialtocbeforespace
+      \@partialtocbeforecode\par
+       \printcontents{partialtoc}{1}{}
+      \par\@partialtocaftercode
+    \@partialtocafterspace
+ \fi}
+%    \end{macrocode}
 % \subparagraph{The ToC, LoF and LoT in the \opt{article} structure}
 %    \begin{macrocode}
 \ifsuftesi at article 
@@ -5455,7 +5947,8 @@
     }
 \fi
 %    \end{macrocode}
-% \subsection{Customizing sections font}
+% \subsection{Customizations}
+% \subsubsection{Sections font}
 %    \begin{macrocode}
 \newcommand{\tocpartname}[1]{\def\SUF at tocpartname{#1}}
   \tocpartname{\partname}
@@ -5464,30 +5957,88 @@
 \newcommand{\secfont}[1]{\def\SUF at SEC@StyleSwitch{#1}}
 \newcommand{\subsecfont}[1]{\def\SUF at SUBSEC@StyleSwitch{#1}}
 \newcommand{\subsubsecfont}[1]{\def\SUF at SUBSUBSEC@StyleSwitch{#1}}
-\newcommand{\partnumfont}[1]{\def\SUF at PART@font{#1}}
-  \partnumfont{}
+\newcommand{\partnumfont}[1]{\def\SUF at PART@font{#1}}\partnumfont{}
 \newcommand{\chapnumfont}[1]{\def\SUF at thechapter{#1}}
 \newcommand{\secnumfont}[1]{\def\SUF at thesection{#1}}
 \newcommand{\subsecnumfont}[1]{\def\SUF at thesubsection{#1}}
 \newcommand{\subsubsecnumfont}[1]{\def\SUF at thesubsubsection{#1}}
-\newcommand{\titlefont}[1]{\def\SUF at titlefont@Switch{#1}}
-\newcommand{\authorfont}[1]{\def\SUF at authorfont@Switch{#1}}
+\newcommand{\titlefont}[1]{\def\SUF at Tfont@style{#1}\let\SUF at Tfont@shape\relax}
+\newcommand{\authorfont}[1]{\def\SUF at Afont@style{#1}\let\SUF at Afont@shape\relax}
+\newcommand{\datefont}[1]{\def\SUF at datefont{#1}}
+%    \end{macrocode}
+% \subsubsection{Sections font in ToC}
+%    \begin{macrocode}
 \newcommand{\tocpartfont}[1]{\def\SUF at tocPART@font{#1}}
 \newcommand{\tocchapfont}[1]{\def\SUF at tocCHAP@font{#1}}
 \newcommand{\tocsecfont}[1]{\def\SUF at tocSEC@font{#1}}
 \newcommand{\tocsubsecfont}[1]{\def\SUF at tocSUBSEC@font{#1}}
 \newcommand{\tocsubsubsecfont}[1]{\def\SUF at tocSUBSUBSEC@font{#1}}
-\newcommand{\tocpartnumfont}[1]{\def\SUF at tocPARTnum@font{#1}}
-  \tocpartnumfont{}
+\newcommand{\tocparfont}[1]{\def\SUF at tocPAR@font{#1}}
+\newcommand{\tocsubparfont}[1]{\def\SUF at tocSUBPAR@font{#1}}
+\newcommand{\tocpartnumfont}[1]{\def\SUF at tocPARTnum@font{#1}}\tocpartnumfont{}
 \newcommand{\tocchapnumfont}[1]{%
-  \def\SUF at CHAP@thecontentslabel{#1\thecontentslabel}}
+  \def\SUF at CHAP@thecontentslabel{\begingroup#1\thecontentslabel\endgroup}}
 \newcommand{\tocsecnumfont}[1]{%
-  \def\SUF at SEC@thecontentslabel{#1\thecontentslabel}}
+  \def\SUF at SEC@thecontentslabel{\begingroup#1\thecontentslabel\endgroup}}
 \newcommand{\tocsubsecnumfont}[1]{%
-  \def\SUF at SUBSEC@thecontentslabel{#1\thecontentslabel}}
+  \def\SUF at SUBSEC@thecontentslabel{\begingroup#1\thecontentslabel\endgroup}}
 \newcommand{\tocsubsubsecnumfont}[1]{%
-  \def\SUF at SUBSUBSEC@thecontentslabel{#1\thecontentslabel}}
+  \def\SUF at SUBSUBSEC@thecontentslabel{\begingroup#1\thecontentslabel\endgroup}}
+\newcommand{\tocparnumfont}[1]{%
+ \def\SUF at PAR@thecontentslabel{\begingroup#1\thecontentslabel\endgroup}}
+\newcommand{\tocsubparnumfont}[1]{%
+ \def\SUF at SUBPAR@thecontentslabel{\begingroup#1\thecontentslabel\endgroup}}
+\tocparnumfont{}
+\tocsubparnumfont{}
 %    \end{macrocode}
+% \subsubsection{The partial ToC}
+%    \begin{macrocode}
+\newcommand{\partialtocsize}[1]{%
+  \def\@partialtocsize{#1}} 
+\newcommand{\partialtocsecfont}[1]{%
+  \def\@partialtocsecfont{#1}} 
+\newcommand{\partialtocsubsecfont}[1]{%
+  \def\@partialtocsubsecfont{#1}} 
+\newcommand{\partialtocsubsubsecfont}[1]{%
+  \def\@partialtocsubsubsecfont{#1}} 
+\newcommand{\partialtocparfont}[1]{%
+ \def\@partialtocparfont{#1}} 
+\newcommand{\partialtocsubparfont}[1]{%
+ \def\@partialtocsubparfont{#1}} 
+\newcommand{\partialtocseclabel}[1]{%
+  \def\@partialtocseclabel{\begingroup#1\thecontentslabel\endgroup}} 
+\newcommand{\partialtocsubseclabel}[1]{%
+  \def\@partialtocsubseclabel{\begingroup#1\thecontentslabel\endgroup}} 
+\newcommand{\partialtocsubsubseclabel}[1]{%
+  \def\@partialtocsubsubseclabel{\begingroup#1\thecontentslabel\endgroup}} 
+\newcommand{\partialtocparlabelfont}[1]{%
+ \def\@partialtocparlabelfont{\begingroup#1\thecontentslabel\endgroup}} 
+\newcommand{\partialtocsubparlabelfont}[1]{%
+ \def\@partialtocsubparlabelfont{\begingroup#1\thecontentslabel\endgroup}} 
+\newcommand{\partialtocbeforespace}[1]{%
+  \def\@partialtocbeforespace{\vspace*{#1}}} 
+\newcommand{\partialtocafterspace}[1]{%
+  \def\@partialtocafterspace{\vspace*{#1}}}
+\newcommand{\partialtocbeforecode}[1]{%
+  \def\@partialtocbeforecode{#1}}
+\newcommand{\partialtocaftercode}[1]{%
+  \def\@partialtocaftercode{#1}}
+\partialtocsize{\footnotesize}
+\partialtocsecfont{\itshape}
+\partialtocsubsecfont{}
+\partialtocsubsubsecfont{}
+\partialtocparfont{}
+\partialtocsubparfont{}
+\partialtocseclabel{\itshape}
+\partialtocsubseclabel{}
+\partialtocsubsubseclabel{}
+\partialtocparlabelfont{}
+\partialtocsubparlabelfont{}
+\partialtocbeforespace{18ex}
+\partialtocafterspace{-18ex}
+\partialtocbeforecode{}
+\partialtocaftercode{}
+%    \end{macrocode}
 % \subsection{New commands}
 % A command to print an unnumbered introduction at the beginning of the chapter. The \cmd{chapterintroname} defaults to ``Introduzione'' because the class was initially designed primarily for Italian-speaking users.
 %    \begin{macrocode}
@@ -5520,7 +6071,7 @@
   {\ifbreakinbody\newline\else\fi}
 \let\origtableofcontents\tableofcontents
 \renewcommand{\tableofcontents}{%
-  \begingroup
+  \begingroup\suftesi at partialtocfalse
     \breakintoctrue\breakinbodyfalse%
       \origtableofcontents
   \endgroup}

Modified: trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2021-05-20 20:17:51 UTC (rev 59279)
+++ trunk/Master/texmf-dist/tex/latex/suftesi/suftesi.cls	2021-05-20 20:18:04 UTC (rev 59280)
@@ -26,15 +26,18 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
 \ProvidesClass{suftesi}
-    [2021/02/06 v3.0.2 A class for typesetting theses, books and articles]
+    [2021/05/20 v3.1.0 A class for typesetting theses, books and articles]
 \RequirePackage{xkeyval}
-\newif\ifsuftesi at compatibility
-\newif\ifsuftesi at nofont
-\newif\ifsuftesi at greekfont
+\newif\ifsuftesi at article
+\newif\ifsuftesi at authortitle
+\newif\ifsuftesi at collection
 \newif\ifsuftesi at standard
 \newif\ifsuftesi at cochineal
 \newif\ifsuftesi at libertine
 \newif\ifsuftesi at palatino
+\newif\ifsuftesi at compatibility
+\newif\ifsuftesi at nofont
+\newif\ifsuftesi at greekfont
 \newif\ifsuftesi at porson
 \newif\ifsuftesi at artemisia
 \newif\ifsuftesi at bodoni
@@ -41,10 +44,6 @@
 \newif\ifsuftesi at cbgreek
 \newif\ifsuftesi at mathminimal
 \newif\ifsuftesi at mathextended
-\newif\ifsuftesi at centerheader
-\newif\ifsuftesi at sufplain
-\newif\ifsuftesi at article
-\newif\ifsuftesi at authortitle
 \newif\ifsuftesi at periodical
 \newif\ifsuftesi at periodicalaureo
 \newif\ifsuftesi at compact
@@ -51,31 +50,34 @@
 \newif\ifsuftesi at compactaureo
 \newif\ifsuftesi at supercompact
 \newif\ifsuftesi at supercompactaureo
+\newif\ifsuftesi at pocketa
+\newif\ifsuftesi at pocketb
+\newif\ifsuftesi at pocketc
 \newif\ifsuftesi at screen
 \newif\ifsuftesi at screencentered
-\newif\ifsuftesi at dottedtoc
-\newif\ifsuftesi at raggedtoc
+\newif\ifsuftesi at centerheader
+\newif\ifsuftesi at sufplain
 \newif\ifsuftesi at numparpart
 \newif\ifsuftesi at numparchap
 \newif\ifsuftesi at numparsec
 \newif\ifsuftesi at numparsubsec
 \newif\ifsuftesi at numparsubsubsec
-\newif\ifsuftesi at smallcapspart
-\newif\ifsuftesi at smallcapschap
-\newif\ifsuftesi at smallcapssec
-\newif\ifsuftesi at draftdate
-\newif\ifsuftesi at fewfootnotes
-\newif\ifsuftesi at partpage
-\newif\ifsuftesi at FSPL
+\newif\ifsuftesi at dottedtoc
+\newif\ifsuftesi at raggedtoc
 \newif\ifsuftesi at pagelefttoc
 \newif\ifsuftesi at twocolumntoc
 \newif\ifsuftesi at twocolumnlof
 \newif\ifsuftesi at twocolumnlot
-\newif\ifsuftesi at reverseauthortitle
-\newif\ifsuftesi at collection
+\newif\ifsuftesi at partialtoc
 \newif\ifsuftesi at toccompactsec
 \newif\ifsuftesi at toccompactsubsec
 \newif\ifsuftesi at toccompactsubsubsec
+\newif\ifsuftesi at toccompactpar
+\newif\ifsuftesi at toccompactsubpar
+\newif\ifsuftesi at draftdate
+\newif\ifsuftesi at fewfootnotes
+\newif\ifsuftesi at partpage
+\newif\ifsuftesi at FSPL
 \DeclareOption{a4paper}{%
   \ClassWarningNoLine{suftesi}{Option 'a4paper' not available}{}}
 \DeclareOption{a5paper}{%
@@ -96,9 +98,9 @@
 \DeclareOptionX{parindent}{\setlength{\parindent}{#1}}
 \ExecuteOptionsX{parindent=\baselineskip}
 \ProcessOptionsX*\relax
-\define at choicekey{}{structure}[\val\nr]
+\define at choicekey{}{structure}[\suftesi at val\suftesi at nr]
     {book,article,collection}[book]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at chapswitch{\thechapter.}
 \or
   \suftesi at articletrue
@@ -109,12 +111,12 @@
     \setkeys{}{headerstyle=authortitleinner}
   \def\SUF at chapswitch{}
 \fi}
-\define at choicekey{}{documentstructure}[\val\nr]
+\define at choicekey{}{documentstructure}[\suftesi at val\suftesi at nr]
     {book,article,collection}[book]{%
 \ClassWarningNoLine{suftesi}{%
   'documentstructure' option is deprecated.\MessageBreak
   Use 'structure' option instead}
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \setkeys{}{structure=book}
 \or
   \setkeys{}{structure=article}
@@ -121,9 +123,9 @@
 \or
   \setkeys{}{structure=collection}
 \fi}
-\define at choicekey{}{defaultfont}[\val\nr]
+\define at choicekey{}{defaultfont}[\suftesi at val\suftesi at nr]
     {none,cochineal,libertine,palatino,standard,compatibility}[cochineal]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at nofonttrue
 \or
   \suftesi at cochinealtrue
@@ -136,9 +138,9 @@
 \or
   \suftesi at compatibilitytrue
 \fi}
-\define at choicekey{}{mathfont}[\val\nr]
+\define at choicekey{}{mathfont}[\suftesi at val\suftesi at nr]
     {none,minimal,extended}[minimal]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at mathminimalfalse
   \suftesi at mathextendedfalse
 \or
@@ -146,9 +148,9 @@
 \or
   \suftesi at mathextendedtrue
 \fi}
-\define at choicekey{}{greekfont}[\val\nr]
+\define at choicekey{}{greekfont}[\suftesi at val\suftesi at nr]
     {none,artemisia,porson,bodoni,cbgreek}[none]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at greekfontfalse
 \or
   \suftesi at greekfonttrue\suftesi at artemisiatrue
@@ -160,10 +162,10 @@
   \suftesi at greekfonttrue\suftesi at cbgreektrue
 \fi}
 \RequirePackage{geometry}
-\define at choicekey{}{pagelayout}[\val\nr]
+\define at choicekey{}{pagelayout}[\suftesi at val\suftesi at nr]
     {standard,standardaureo,periodical,periodicalaureo,compact,compactaureo,
     supercompact,supercompactaureo,pocketa,pocketb,pocketc}[standard]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \DeclareRobustCommand{\SUF at partsize}{\Large}
   \DeclareRobustCommand{\SUF at chaptersize}{\Large}
   \DeclareRobustCommand{\SUF at sectionsize}{\large}
@@ -295,8 +297,8 @@
     marginratio=    1:1,
     marginparwidth= 11mm,
     marginparsep=   7pt}
-\or% pocketa
-\suftesi at supercompactaureotrue
+\or
+\suftesi at pocketatrue
   \DeclareRobustCommand{\SUF at partsize}{\large}
   \DeclareRobustCommand{\SUF at chaptersize}{\large}
   \DeclareRobustCommand{\SUF at sectionsize}{\normalsize}
@@ -313,8 +315,8 @@
     vmarginratio=    2:3,
     marginparwidth= 12mm,
     marginparsep=   7pt}
-\or% pocketb
-\suftesi at supercompactaureotrue
+\or
+\suftesi at pocketBtrue
   \DeclareRobustCommand{\SUF at partsize}{\large}
   \DeclareRobustCommand{\SUF at chaptersize}{\large}
   \DeclareRobustCommand{\SUF at sectionsize}{\normalsize}
@@ -331,8 +333,8 @@
     vmarginratio=    2:3,
     marginparwidth= 15mm,
     marginparsep=   7pt}
-\or% pocketc
-\suftesi at supercompactaureotrue
+\or
+\suftesi at pocketCtrue
   \DeclareRobustCommand{\SUF at partsize}{\large}
   \DeclareRobustCommand{\SUF at chaptersize}{\large}
   \DeclareRobustCommand{\SUF at sectionsize}{\normalsize}
@@ -350,15 +352,15 @@
      marginparwidth= 8mm,
      marginparsep=   7pt}
 \fi}
-\define at choicekey{}{partstyle}[\val\nr]
+\define at choicekey{}{partstyle}[\suftesi at val\suftesi at nr]
     {left,center,right,parleft,parcenter,parright}[left]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at lr@PARTSwitch{\filright}
 \or
   \def\SUF at lr@PARTSwitch{\filcenter}
 \or
   \def\SUF at lr@PARTSwitch{\filleft}
-\or%numpar
+\or
   \def\SUF at lr@PARTSwitch{\filright}
   \suftesi at numparparttrue
 \or
@@ -368,15 +370,15 @@
   \def\SUF at lr@PARTSwitch{\filleft}
   \suftesi at numparparttrue
 \fi}
-\define at choicekey{}{chapstyle}[\val\nr]
+\define at choicekey{}{chapstyle}[\suftesi at val\suftesi at nr]
     {left,center,right,parleft,parcenter,parright}[left]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at lr@CHAPSwitch{\filright}
 \or
   \def\SUF at lr@CHAPSwitch{\filcenter}
 \or
   \def\SUF at lr@CHAPSwitch{\filleft}
-\or%numparchap
+\or
   \def\SUF at lr@CHAPSwitch{\filright}
   \suftesi at numparchaptrue
 \or
@@ -386,15 +388,15 @@
   \def\SUF at lr@CHAPSwitch{\filleft}
   \suftesi at numparchaptrue
 \fi}
-\define at choicekey{}{secstyle}[\val\nr]
+\define at choicekey{}{secstyle}[\suftesi at val\suftesi at nr]
     {left,center,right,parleft,parcenter,parright}[left]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at lr@SECSwitch{\filright}
 \or
   \def\SUF at lr@SECSwitch{\filcenter}
 \or
   \def\SUF at lr@SECSwitch{\filleft}
-\or%numparsec
+\or
   \def\SUF at lr@SECSwitch{\filright}
   \suftesi at numparsectrue
 \or
@@ -404,45 +406,45 @@
   \def\SUF at lr@SECSwitch{\filleft}
   \suftesi at numparsectrue
 \fi}
-\define at choicekey{}{subsecstyle}[\val\nr]
+\define at choicekey{}{subsecstyle}[\suftesi at val\suftesi at nr]
     {left,center,right,parleft,parcenter,parright}[left]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at lr@SUBSECSwitch{\filright}
 \or
   \def\SUF at lr@SUBSECSwitch{\filcenter}
 \or
   \def\SUF at lr@SUBSECSwitch{\filleft}
-\or%numparsubsec
-\def\SUF at lr@SUBSECSwitch{\filright}
+\or
+  \def\SUF at lr@SUBSECSwitch{\filright}
 \suftesi at numparsubsectrue
 \or
-\def\SUF at lr@SUBSECSwitch{\filcenter}
+  \def\SUF at lr@SUBSECSwitch{\filcenter}
 \suftesi at numparsubsectrue
 \or
-\def\SUF at lr@SUBSECSwitch{\filleft}
+  \def\SUF at lr@SUBSECSwitch{\filleft}
 \suftesi at numparsubsectrue
 \fi}
-\define at choicekey{}{subsubsecstyle}[\val\nr]
+\define at choicekey{}{subsubsecstyle}[\suftesi at val\suftesi at nr]
     {left,center,right,parleft,parcenter,parright}[left]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at lr@SUBSUBSECSwitch{\filright}
 \or
   \def\SUF at lr@SUBSUBSECSwitch{\filcenter}
 \or
   \def\SUF at lr@SUBSUBSECSwitch{\filleft}
-\or%numparsubsubsec
-\def\SUF at lr@SUBSUBSECSwitch{\filright}
+\or
+  \def\SUF at lr@SUBSUBSECSwitch{\filright}
 \suftesi at numparsubsubsectrue
 \or
-\def\SUF at lr@SUBSUBSECSwitch{\filcenter}
+  \def\SUF at lr@SUBSUBSECSwitch{\filcenter}
 \suftesi at numparsubsubsectrue
 \or
-\def\SUF at lr@SUBSUBSECSwitch{\filleft}
+  \def\SUF at lr@SUBSUBSECSwitch{\filleft}
 \suftesi at numparsubsubsectrue
 \fi}
-\define at choicekey{}{partfont}[\val\nr]
+\define at choicekey{}{partfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at PART@StyleSwitch{\relax}
 \or
   \def\SUF at PART@StyleSwitch{\itshape}
@@ -449,9 +451,9 @@
 \or
   \def\SUF at PART@StyleSwitch{\expandafter\SUF at titlesmallcaps}
 \fi}
-\define at choicekey{}{chapfont}[\val\nr]
+\define at choicekey{}{chapfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at CHAP@StyleSwitch{\relax}
 \or
   \def\SUF at CHAP@StyleSwitch{\itshape}
@@ -458,9 +460,9 @@
 \or
   \def\SUF at CHAP@StyleSwitch{\expandafter\SUF at titlesmallcaps}
 \fi}
-\define at choicekey{}{secfont}[\val\nr]
+\define at choicekey{}{secfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[italic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at SEC@StyleSwitch{\relax}
 \or
   \def\SUF at SEC@StyleSwitch{\itshape}
@@ -467,9 +469,9 @@
 \or
   \def\SUF at SEC@StyleSwitch{\expandafter\SUF at titlesmallcaps}
 \fi}
-\define at choicekey{}{subsecfont}[\val\nr]
+\define at choicekey{}{subsecfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at SUBSEC@StyleSwitch{\relax}
 \or
   \def\SUF at SUBSEC@StyleSwitch{\itshape}
@@ -476,9 +478,9 @@
 \or
   \def\SUF at SUBSEC@StyleSwitch{\expandafter\SUF at titlesmallcaps}
 \fi}
-\define at choicekey{}{subsubsecfont}[\val\nr]
+\define at choicekey{}{subsubsecfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at SUBSUBSEC@StyleSwitch{\relax}
 \or
   \def\SUF at SUBSUBSEC@StyleSwitch{\itshape}
@@ -485,9 +487,27 @@
 \or
   \def\SUF at SUBSUBSEC@StyleSwitch{\expandafter\SUF at titlesmallcaps}
 \fi}
-\define at choicekey{}{smallcapsstyle}[\val\nr]
+\define at choicekey{}{parfont}[\suftesi at val\suftesi at nr]
+    {roman,italic,smallcaps}[roman]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at PAR@StyleSwitch{\relax}
+\or
+  \def\SUF at PAR@StyleSwitch{\itshape}
+\or
+  \def\SUF at PAR@StyleSwitch{\expandafter\SUF at titlesmallcaps}
+\fi}
+\define at choicekey{}{subparfont}[\suftesi at val\suftesi at nr]
+    {roman,italic,smallcaps}[roman]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at SUBPAR@StyleSwitch{\relax}
+\or
+  \def\SUF at SUBPAR@StyleSwitch{\itshape}
+\or
+  \def\SUF at SUBPAR@StyleSwitch{\expandafter\SUF at titlesmallcaps}
+\fi}
+\define at choicekey{}{smallcapsstyle}[\suftesi at val\suftesi at nr]
     {low,upper}[low]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\suftesi at MakeTextLowercase{\MakeLowercase}
   \def\suftesi at MakeTextTOCLowercase{\lowercase}
 \or
@@ -494,9 +514,9 @@
   \def\suftesi at MakeTextLowercase{\relax}
   \def\suftesi at MakeTextTOCLowercase{\relax}
 \fi}
-\define at choicekey{}{partnumstyle}[\val\nr]
+\define at choicekey{}{partnumstyle}[\suftesi at val\suftesi at nr]
     {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at thepart{\arabic{part}}
   \def\SUF at dotpart{}
 \or
@@ -515,9 +535,9 @@
   \def\SUF at thepart{\Roman{part}}
   \def\SUF at dotpart{.}
 \fi}
-\define at choicekey{}{chapnumstyle}[\val\nr]
+\define at choicekey{}{chapnumstyle}[\suftesi at val\suftesi at nr]
     {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at thechapter{\arabic{chapter}}
   \def\SUF at HEAD@thechapter{\arabic{chapter}}
   \def\SUF at dotchap{}
@@ -548,9 +568,9 @@
   \def\SUF at dotchap{.}
   \def\SUF at CHAP@thecontentslabel{\@Roman{\thecontentslabel}}
 \fi}
-\define at choicekey{}{secnumstyle}[\val\nr]
+\define at choicekey{}{secnumstyle}[\suftesi at val\suftesi at nr]
     {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at thesection{\SUF at chapswitch\arabic{section}}
   \def\SUF at HEAD@thesection{\arabic{section}}
   \def\SUF at dotsec{}
@@ -581,9 +601,9 @@
   \def\SUF at dotsec{.}
   \def\SUF at SEC@thecontentslabel{\@Roman{\thecontentslabel}}
 \fi}
-\define at choicekey{}{subsecnumstyle}[\val\nr]
+\define at choicekey{}{subsecnumstyle}[\suftesi at val\suftesi at nr]
     {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at thesubsection{\SUF at thesection.\arabic{subsection}}
   \def\SUF at dotsubsec{}
   \def\SUF at SUBSEC@thecontentslabel{\thecontentslabel}
@@ -608,9 +628,9 @@
   \def\SUF at dotsubsec{.}
   \def\SUF at SUBSEC@thecontentslabel{\@Roman{\thecontentslabel}}
 \fi}
-\define at choicekey{}{subsubsecnumstyle}[\val\nr]
+\define at choicekey{}{subsubsecnumstyle}[\suftesi at val\suftesi at nr]
     {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at thesubsubsection{\SUF at thesubsection.\arabic{subsubsection}}
   \def\SUF at dotsubsubsec{}
   \def\SUF at SUBSUBSEC@thecontentslabel{\thecontentslabel}
@@ -635,9 +655,9 @@
   \def\SUF at dotsubsubsec{.}
   \def\SUF at SUBSUBSEC@thecontentslabel{\@Roman{\thecontentslabel}}
 \fi}
-\define at choicekey{}{tocstyle}[\val\nr]
+\define at choicekey{}{tocstyle}[\suftesi at val\suftesi at nr]
     {standard,dotted,ragged,leftpage}[standard]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at titlerule{\titlerule*{}}
   \def\SUF at chaptitlerule{\titlerule*{}}
 \or
@@ -651,33 +671,52 @@
 \or
 \suftesi at pagelefttoctrue
 \fi}
-\define at choicekey{}{compacttoc}[\val\nr]
-    {sec,subsec,subsubsec}[sec]{%
-\ifcase\nr\relax
+\define at choicekey{}{compacttoc}[\suftesi at val\suftesi at nr]
+    {sec,subsec,subsubsec,par,subpar}[sec]{%
+\ifcase\suftesi at nr\relax
   \suftesi at toccompactsectrue
   \suftesi at toccompactsubsectrue
   \suftesi at toccompactsubsubsectrue
-  \def\suf at sscorrect{\hskip.5em}
-  \def\suf at ssscorrect{\hskip.5em}
-  \def\suf at ctocdotsec{.}
-  \def\suf at ctocdotssec{}
-  \def\suf at ctocdotsssec{}
+  \suftesi at toccompactpartrue
+  \suftesi at toccompactsubpartrue
+  \def\SUF at sscorrect{\hskip.5em}
+  \def\SUF at ssscorrect{\hskip.5em}
+  \def\SUF at pcorrect{\hskip.5em}
+  \def\SUF at pcorrect{\hskip.5em}
 \or
   \suftesi at toccompactsubsectrue
   \suftesi at toccompactsubsubsectrue
-  \def\suf at sscorrect{\relax}
-  \def\suf at ssscorrect{\hskip.5em}
-  \def\suf at ctocdotssec{.}
-  \def\suf at ctocdotsssec{}
+  \suftesi at toccompactpartrue
+  \suftesi at toccompactsubpartrue
+  \def\SUF at sscorrect{\relax}
+  \def\SUF at ssscorrect{\hskip.5em}
+  \def\SUF at pcorrect{\hskip.5em}
+  \def\SUF at pcorrect{\hskip.5em}
 \or
   \suftesi at toccompactsubsubsectrue
-  \def\suf at sscorrect{\relax}
-  \def\suf at ssscorrect{\relax}
-  \def\suf at ctocdotsssec{.}
+  \suftesi at toccompactpartrue
+  \suftesi at toccompactsubpartrue
+  \def\SUF at sscorrect{\relax}
+  \def\SUF at ssscorrect{\relax}
+  \def\SUF at pcorrect{\hskip.5em}
+  \def\SUF at pcorrect{\hskip.5em}
+\or
+  \suftesi at toccompactpartrue
+  \suftesi at toccompactsubpartrue
+  \def\SUF at sscorrect{\relax}
+  \def\SUF at ssscorrect{\relax}
+  \def\SUF at pcorrect{\relax}
+  \def\SUF at pcorrect{\hskip.5em}
+\or
+  \suftesi at toccompactsubpartrue
+  \def\SUF at sscorrect{\relax}
+  \def\SUF at ssscorrect{\relax}
+  \def\SUF at pcorrect{\relax}
+  \def\SUF at pcorrect{\relax}
 \fi}
-\define at choicekey{}{twocolcontents}[\val\nr]
+\define at choicekey{}{twocolcontents}[\suftesi at val\suftesi at nr]
     {toc,lof,lot,toclof,toclot,loflot,all}[all]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at twocolumntoctrue
   \setkeys{}{tocstyle=ragged}
 \or
@@ -704,9 +743,16 @@
   \suftesi at twocolumnlottrue
   \setkeys{}{tocstyle=ragged}
 \fi}
-\define at choicekey{}{tocpartfont}[\val\nr]
+\define at choicekey{}{partialtoc}[\suftesi at val\suftesi at nr]
+{true,false}[true]{%
+ \ifcase\suftesi at nr\relax
+   \suftesi at partialtoctrue
+ \or
+   \suftesi at partialtocfalse
+ \fi}
+\define at choicekey{}{tocpartfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at tocPART@font{\relax}
 \or
   \def\SUF at tocPART@font{\itshape}
@@ -713,9 +759,9 @@
 \or
   \def\SUF at tocPART@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
-\define at choicekey{}{tocchapfont}[\val\nr]
+\define at choicekey{}{tocchapfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at tocCHAP@font{\relax}
 \or
   \def\SUF at tocCHAP@font{\itshape}
@@ -722,9 +768,9 @@
 \or
   \def\SUF at tocCHAP@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
-\define at choicekey{}{tocsecfont}[\val\nr]
+\define at choicekey{}{tocsecfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[italic]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at tocSEC@font{\relax}
 \or
   \def\SUF at tocSEC@font{\itshape}
@@ -731,9 +777,9 @@
 \or
   \def\SUF at tocSEC@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
-\define at choicekey{}{tocsubsecfont}[\val\nr]
+\define at choicekey{}{tocsubsecfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at tocSUBSEC@font{\relax}
 \or
   \def\SUF at tocSUBSEC@font{\itshape}
@@ -740,9 +786,9 @@
 \or
   \def\SUF at tocSUBSEC@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
-\define at choicekey{}{tocsubsubsecfont}[\val\nr]
+\define at choicekey{}{tocsubsubsecfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at tocSUBSUBSEC@font{\relax}
 \or
   \def\SUF at tocSUBSUBSEC@font{\itshape}
@@ -749,27 +795,27 @@
 \or
   \def\SUF at tocSUBSUBSEC@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
-\define at choicekey{}{tocauthorfont}[\val\nr]
+\define at choicekey{}{tocparfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
-  \def\SUF at tocAUT@font{\relax}
+\ifcase\suftesi at nr\relax
+  \def\SUF at tocPAR@font{\relax}
 \or
-  \def\SUF at tocAUT@font{\itshape}
+  \def\SUF at tocPAR@font{\itshape}
 \or
-  \def\SUF at tocAUT@font{\expandafter\SUF at TOCtitlesmallcaps}
+  \def\SUF at tocPAR@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
-\define at choicekey{}{toctitlefont}[\val\nr]
-    {roman,italic,smallcaps}[italic]{%
-\ifcase\nr\relax
-  \def\SUF at tocTIT@font{\relax}
+\define at choicekey{}{tocsubparfont}[\suftesi at val\suftesi at nr]
+    {roman,italic,smallcaps}[roman]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at tocSUBPAR@font{\relax}
 \or
-  \def\SUF at tocTIT@font{\itshape}
+  \def\SUF at tocSUBPAR@font{\itshape}
 \or
-  \def\SUF at tocTIT@font{\expandafter\SUF at TOCtitlesmallcaps}
+  \def\SUF at tocSUBPAR@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
-\define at choicekey{}{headerstyle}[\val\nr]
+\define at choicekey{}{headerstyle}[\suftesi at val\suftesi at nr]
     {inner,center,plain,authortitleinner,authortitlecenter}[inner]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at rightmark{\SUF at Rheadstyle{\rightmark}}
   \def\SUF at leftmark{\SUF at Lheadstyle{\SUF at leftrightmark}}
 \or
@@ -788,9 +834,9 @@
   \def\SUF at leftmark{\let\thanks\@gobble\SUF at Lheadstyle{\@author}}
   \suftesi at centerheadertrue
 \fi}
-\define at choicekey{}{headerfont}[\val\nr]
+\define at choicekey{}{headerfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at Rheadstyle{}
   \def\SUF at Lheadstyle{}
   \def\SUF at thepage{\thepage}
@@ -804,12 +850,12 @@
   \def\SUF at thepage{\SUF at headingsmallcaps{\thepage}}
 \fi}
 \RequirePackage[inline]{enumitem}
-\renewcommand\labelitemi{\color{sufgray}\textbullet}
-\setlist{itemsep=.5ex,parsep=0pt,listparindent=\parindent}
-\setlist[description]{font=\normalfont\itshape}
-\define at choicekey{}{liststyle}[\val\nr]
+  \setlist[itemize,1]{label=\color{sufgray}\textbullet}
+  \setlist{itemsep=.5ex,parsep=0pt,listparindent=\parindent}
+  \setlist[description]{font=\normalfont\itshape}
+\define at choicekey{}{liststyle}[\suftesi at val\suftesi at nr]
     {bulged,aligned,indented}[bulged]{%
-\ifcase\nr\relax
+\ifcase\suftesi at 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*.}
@@ -831,23 +877,20 @@
   \setlist[itemize,2]{leftmargin=2.5\parindent}
   \setlist[itemize,3]{leftmargin=2.5\parindent}
 \fi}
-\define at choicekey{}{quotestyle}[\val\nr]
-    {center,right}[center]{%
-\ifcase\nr\relax
-  \def\SUF at quote@style{\rightmargin=\parindent}
+\define at choicekey{}{quotestyle}[\suftesi at val\suftesi at nr]
+    {center,right,justify}[center]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at quote@style{\leftmargin=\parindent \rightmargin=\parindent}
 \or
-  \def\SUF at quote@style{}
-\fi}
-\define at choicekey{}{quotesize}[\val\nr]
-    {footnotesize,small}[footnotesize]{%
-\ifcase\nr\relax
-  \def\SUF at quotation@size{\footnotesize}
+  \def\SUF at quote@style{\leftmargin=\parindent}
 \or
-  \def\SUF at quotation@size{\small}
+  \def\SUF at quote@style{\leftmargin=0pt}
 \fi}
-\define at choicekey{}{footnotestyle}[\val\nr]
+\define at key{}{quotesize}[footnotesize]{
+  \def\SUF at quotation@size{\csname #1\endcsname}}
+\define at choicekey{}{footnotestyle}[\suftesi at val\suftesi at nr]
     {bulged,hung,dotted,superscript}[bulged]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \renewcommand\@makefntext{%
     \hskip-2.5em\makebox[2em][r]{\@thefnmark}\hskip.5em}
 \or
@@ -861,9 +904,9 @@
   \renewcommand\@makefntext{%
     \textsuperscript{\@thefnmark}\hskip.3em}
 \fi}
-\define at choicekey{}{fewfootnotes}[\val\nr]
+\define at choicekey{}{fewfootnotes}[\suftesi at val\suftesi at nr]
     {true,false}[true]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at fewfootnotestrue
 \or
   \relax
@@ -870,9 +913,9 @@
 \fi}
 \RequirePackage{caption}
 \captionsetup{labelsep=period,font=small,textformat=period}
-\define at choicekey{}{captionstyle}[\val\nr]
+\define at choicekey{}{captionstyle}[\suftesi at val\suftesi at nr]
     {standard,sanserif,italic,smallcaps}[standard]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
 \or
   \captionsetup{font+=sf}
 \or
@@ -880,29 +923,29 @@
 \or
   \captionsetup{labelfont=sc}
 \fi}
-\define at choicekey{}{marginpar}[\val\nr]
+\define at choicekey{}{marginpar}[\suftesi at val\suftesi at nr]
     {true,false}[true]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
 \or
   \renewcommand\marginpar[2][]{}
 \fi}
-\define at choicekey{}{partpage}[\val\nr]
+\define at choicekey{}{partpage}[\suftesi at val\suftesi at nr]
     {true,false}[true]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at partpagetrue
 \or
   \relax
 \fi}
-\define at choicekey{}{draftdate}[\val\nr]
+\define at choicekey{}{draftdate}[\suftesi at val\suftesi at nr]
     {true,false}[true]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at draftdatetrue
 \or
   \relax
 \fi}
-\define at choicekey{}{version}[\val\nr]
+\define at choicekey{}{version}[\suftesi at val\suftesi at nr]
     {screen,cscreen,draft,final}[draft]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \suftesi at screentrue
 \or
   \suftesi at screentrue
@@ -912,24 +955,24 @@
 \or
   \AtBeginDocument{\crop[off]}
 \fi}
-\define at choicekey{}{crop}[\val\nr]
+\define at choicekey{}{crop}[\suftesi at val\suftesi at nr]
     {true,false}[true]{%
   \ClassWarningNoLine{suftesi}{%
     'crop' option is deprecated.\MessageBreak
     Use 'version' option instead}
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \setkeys{}{version=draft}
 \or
   \setkeys{}{version=screen}
 \fi}
-\define at choicekey{}{titlepage}[\val\nr]
+\define at choicekey{}{titlepage}[\suftesi at val\suftesi at nr]
     {true,false}[true]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \@titlepagetrue
 \or
   \@titlepagefalse
 \fi}
-\define at choicekey{}{style}[\val\nr]
+\define at choicekey{}{style}[\suftesi at val\suftesi at nr]
   {roman1,roman2,roman3,roman4,roman5,roman6,
   italic1,italic2,italic3,italic4,italic5,italic6,
   italic7,italic8,italic9,italic10,italic11,italic12,
@@ -937,7 +980,7 @@
   smallcaps7,smallcaps8,smallcaps9,smallcaps10,smallcaps11,smallcaps12,
   FSPLa,FSPLb,FSPLc}
   [roman1]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \setkeys{}{chapstyle=left}
 \or
   \setkeys{}{chapstyle=center}
@@ -1102,7 +1145,7 @@
   \setkeys{}{
   chapstyle=parright,
   chapfont=smallcaps,
-  tocchapfont=smallcaps,
+  tocchapfont=smallcaps,file:///tmp/mozilla_ivan0/luatex85.pdf
   secfont=smallcaps,
   headerfont=smallcaps}
 \or
@@ -1160,9 +1203,9 @@
     secnumstyle,tocstyle,headerstyle,headerfont,quotestyle,%
     quotesize,footnotestyle,liststyle,captionstyle}
 \fi}
-\define at choicekey{}{papertitlestyle}[\val\nr]
+\define at choicekey{}{authortitlealign}[\suftesi at val\suftesi at nr]
     {left,center,right}[left]{%
-\ifcase\nr\relax
+\ifcase\suftesi at nr\relax
   \def\SUF at lr@coll at titleSwitch{\filright}
 \or
   \def\SUF at lr@coll at titleSwitch{\filcenter}
@@ -1169,73 +1212,145 @@
 \or
   \def\SUF at lr@coll at titleSwitch{\filleft}
 \fi}
-\define at choicekey{}{revauthortitle}[\val\nr]
+\define at choicekey{}{papertitlestyle}[\suftesi at val\suftesi at nr]
+    {left,center,right}[left]{%
+\ClassWarningNoLine{suftesi}{%
+  'papertitlestyle' option is deprecated.\MessageBreak
+  Use 'authortitlealign' option instead}
+\ifcase\suftesi at nr\relax
+  \def\SUF at lr@coll at titleSwitch{\filright}
+\or
+  \def\SUF at lr@coll at titleSwitch{\filcenter}
+\or
+  \def\SUF at lr@coll at titleSwitch{\filleft}
+\fi}
+\define at choicekey{}{reverseauthortitle}[\suftesi at val\suftesi at nr]
     {true,false}[false]{%
-\ifcase\nr\relax
-  \suftesi at reverseauthortitletrue
+\ifcase\suftesi at nr\relax
+  \def\SUF at first{\SUF at Afont@style\SUF at Afont@shape\@author}
+  \def\SUF at second{\SUF at Tfont@style\SUF at Tfont@shape\@title}
 \or
+  \def\SUF at first{\SUF at Tfont@style\SUF at Tfont@shape\@title}
+  \def\SUF at second{\SUF at Afont@style\SUF at Afont@shape\@author}
   \relax
 \fi}
-\define at choicekey{}{titlefont}[\val\nr]
+\define at choicekey{}{revauthortitle}[\suftesi at val\suftesi at nr]
+    {true,false}[false]{%
+\ClassWarningNoLine{suftesi}{%
+  'revauthortitle' option is deprecated.\MessageBreak
+  Use 'reverseauthortitle' option instead}
+\ifcase\suftesi at nr\relax
+  \def\SUF at first{\SUF at Afont@style\SUF at Afont@shape\@author}
+  \def\SUF at second{\SUF at Tfont@style\SUF at Tfont@shape\@title}
+\or
+  \def\SUF at first{\SUF at Tfont@style\SUF at Tfont@shape\@title}
+  \def\SUF at second{\SUF at Afont@style\SUF at Afont@shape\@author}
+  \relax
+\fi}
+\define at choicekey{}{maketitlestyle}[\suftesi at val\suftesi at nr]
+    {suftesi,standard}[suftesi]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at Tfont@style{\SUF at chaptersize\color{sufred}\sffamily}
+  \def\SUF at Afont@style{\small}
+  \def\SUF at datefont{\small}
+\or
+  \def\SUF at Tfont@style{\LARGE}
+  \def\SUF at Afont@style{\large}
+  \def\SUF at datefont{\small}
+\fi}
+\define at choicekey{}{titlefont}[\suftesi at val\suftesi at nr]
+    {roman,italic,smallcaps}[suftesi]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at Tfont@shape{\relax}
+\or
+  \def\SUF at Tfont@shape{\itshape}
+\or
+  \def\SUF at Tfont@shape{\expandafter\SUF at titlesmallcaps}
+\fi}
+\define at choicekey{}{authorfont}[\suftesi at val\suftesi at nr]
+    {roman,italic,smallcaps}[suftesi]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at Afont@shape{\relax}
+\or
+  \def\SUF at Afont@shape{\itshape}
+\or
+  \def\SUF at Afont@shape{\expandafter\SUF at titlesmallcaps}
+\fi}
+\define at choicekey{}{datefont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
-  \def\SUF at titlefont@Switch{\relax}
+\ifcase\suftesi at nr\relax
+  \def\SUF at datefont{\relax}
 \or
-  \def\SUF at titlefont@Switch{\itshape}
+  \def\SUF at datefont{\itshape}
 \or
-  \def\SUF at titlefont@Switch{\expandafter\SUF at titlesmallcaps}
+  \def\SUF at datefont{\expandafter\SUF at titlesmallcaps}
 \fi}
-\define at choicekey{}{authorfont}[\val\nr]
+\define at choicekey{}{toctitlefont}[\suftesi at val\suftesi at nr]
+    {roman,italic,smallcaps}[italic]{%
+\ifcase\suftesi at nr\relax
+  \def\SUF at tocTIT@font{\relax}
+\or
+  \def\SUF at tocTIT@font{\itshape}
+\or
+  \def\SUF at tocTIT@font{\expandafter\SUF at TOCtitlesmallcaps}
+\fi}
+\define at choicekey{}{tocauthorfont}[\suftesi at val\suftesi at nr]
     {roman,italic,smallcaps}[roman]{%
-\ifcase\nr\relax
-  \def\SUF at authorfont@Switch{\relax}
+\ifcase\suftesi at nr\relax
+  \def\SUF at tocAUT@font{\relax}
 \or
-  \def\SUF at authorfont@Switch{\itshape}
+  \def\SUF at tocAUT@font{\itshape}
 \or
-  \def\SUF at authorfont@Switch{\expandafter\SUF at titlesmallcaps}
+  \def\SUF at tocAUT@font{\expandafter\SUF at TOCtitlesmallcaps}
 \fi}
 \ExecuteOptionsX<>{
   structure=book,
-  captionstyle=standard,
-  marginpar=true,
-  tocstyle=standard,
+  pagelayout=standard,
+  headerstyle=inner,
+  headerfont=roman,
   defaultfont=cochineal,
+  greekfont=none,
   mathfont=minimal,
-  greekfont=none,
-  pagelayout=standard,
-  headerstyle=inner,
+  smallcapsstyle=low,
   liststyle=bulged,
   footnotestyle=bulged,
   quotesize=footnotesize,
   quotestyle=center,
+  captionstyle=standard,
+  marginpar=true,
+  tocstyle=standard,
   partstyle=left,
   chapstyle=left,
   secstyle=left,
   subsecstyle=left,
   subsubsecstyle=left,
+  partnumstyle=Roman,
+  chapnumstyle=arabic,
+  secnumstyle=arabic,
+  subsecnumstyle=arabic,
+  subsubsecnumstyle=arabic,
   partfont=roman,
   chapfont=roman,
   secfont=italic,
   subsecfont=roman,
   subsubsecfont=roman,
-  headerfont=roman,
-  partnumstyle=Roman,
-  chapnumstyle=arabic,
-  secnumstyle=arabic,
-  subsecnumstyle=arabic,
-  subsubsecnumstyle=arabic,
-  smallcapsstyle=low,
-  titlefont=italic,
-  authorfont=roman,
-  toctitlefont=italic,
-  tocauthorfont=roman,
-  revauthortitle=false,
-  papertitlestyle=left,
+  parfont=italic,
+  subparfont=roman,
   tocpartfont=roman,
   tocchapfont=roman,
   tocsecfont=roman,
   tocsubsecfont=roman,
-  tocsubsubsecfont=roman}
+  tocsubsubsecfont=roman,
+  tocparfont=roman,
+  tocsubparfont=roman,
+  maketitlestyle=suftesi,
+  titlefont=roman,
+  authorfont=roman,
+  datefont=roman,
+  toctitlefont=italic,
+  tocauthorfont=roman,
+  reverseauthortitle=false,
+  authortitlealign=left}
 \ProcessOptionsX<>\relax
 \XKV at useoption{a4paper}
 \XKV at useoption{10pt}
@@ -1456,22 +1571,22 @@
 \fi
 \unless\ifPDFTeX\else
 \ifsuftesi at greekfont
-    \ifsuftesi at artemisia
-      \def\SUF at greekfamily{artemisia}
-        \else
-          \ifsuftesi at porson
-            \def\SUF at greekfamily{porson}
-                 \else
-                \ifsuftesi at bodoni
-              \def\SUF at greekfamily{bodoni}
-              \else
-                \ifsuftesi at cbgreek
-               \def\SUF at greekfamily{lmr}
-            \else
-          \fi
-        \fi
+ \ifsuftesi at artemisia
+  \def\SUF at greekfamily{artemisia}
+   \else
+    \ifsuftesi at porson
+     \def\SUF at greekfamily{porson}
+      \else
+       \ifsuftesi at bodoni
+        \def\SUF at greekfamily{bodoni}
+         \else
+          \ifsuftesi at cbgreek
+           \def\SUF at greekfamily{lmr}
+         \else
       \fi
     \fi
+  \fi
+\fi
 \AtEndPreamble{
   \substitutefont{LGR}{\rmdefault}{\SUF at greekfamily}
   \DeclareRobustCommand{\greektext}{%
@@ -1546,16 +1661,18 @@
 \def\SUF at default@CHAPTER{
 \ifsuftesi at numparchap
   \titleformat{\chapter}[display]
-    {\SUF at chaptersize\SUF at lr@CHAPSwitch}
+    {\startpartialtoc\SUF at chaptersize\SUF at lr@CHAPSwitch}
     {\SUF at thechapter\SUF at dotchap}
     {2ex}
     {\SUF at CHAP@StyleSwitch}
+    [\printpartialtoc]
   \else
   \titleformat{\chapter}[hang]
-    {\SUF at chaptersize\SUF at lr@CHAPSwitch}
+    {\startpartialtoc\SUF at chaptersize\SUF at lr@CHAPSwitch}
     {\SUF at thechapter\SUF at dotchap}
     {3em}
     {\SUF at CHAP@StyleSwitch}
+    [\printpartialtoc]
   \fi
 \ifsuftesi at numparchap
   \setlength{\SUF at ADJnumparchap}{-6ex}
@@ -1633,14 +1750,29 @@
 \ifsuftesi at supercompactaureo
   \titlespacing*{\chapter}{0em}{\SUF at ADJnumparchap}{18ex}
   \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
-\else%standard/standardaureo
+\else
+\ifsuftesi at pocketa
+  \titlespacing*{\chapter}{0em}{\SUF at ADJnumparchap}{18ex}
+  \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
+\else
+\ifsuftesi at pocketb
+  \titlespacing*{\chapter}{0em}{\SUF at ADJnumparchap}{18ex}
+  \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
+\else
+\ifsuftesi at pocketc
+  \titlespacing*{\chapter}{0em}{\SUF at ADJnumparchap}{18ex}
+  \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
+\else
   \titlespacing*{\chapter}{0em}{%
      \dimexpr(6ex+\SUF at ADJnumparchap)}{18ex}
   \titlespacing*{name=\chapter,numberless}{0em}{6ex}{18ex}
-         \fi
+        \fi
        \fi
+      \fi
      \fi
+    \fi
    \fi
+  \fi
  \fi
 \fi
 \ifsuftesi at article
@@ -1681,7 +1813,6 @@
   \fi
   \secdef\@part\@spart}
 \fi
-
 \def\@part[#1]#2{%
   \ifnum \c at secnumdepth >-2\relax
   \refstepcounter{part}%
@@ -1706,7 +1837,6 @@
     \fi
     \noindent\SUF at PART@StyleSwitch#2\par}%
   \@endpart}
-
 \def\@spart#1{%
   {\SUF at lr@PARTSwitch\SUF at partsize
     \interlinepenalty \@M
@@ -1713,40 +1843,39 @@
     \addvspace{4ex}
     \noindent\SUF at PART@StyleSwitch#1\par}%
   \@endpart}
-
 \ifsuftesi at article
-\def\@endpart{%
-  \ifsuftesi at partpage
-  \vfil\newpage
-  \if at twoside
-  \if at openright
-  \null
-  \thispagestyle{empty}%
-  \newpage
-  \fi
-  \fi
-  \fi
-  \if at tempswa
-  \twocolumn
-  \fi}
+  \def\@endpart{%
+    \ifsuftesi at partpage
+    \vfil\newpage
+    \if at twoside
+    \if at openright
+    \null
+    \thispagestyle{empty}%
+    \newpage
+    \fi
+    \fi
+    \fi
+    \if at tempswa
+    \twocolumn
+    \fi}
 \else
-\def\@endpart{\vfil\newpage
-  \if at twoside
-  \if at openright
-  \null
-  \thispagestyle{empty}%
-  \newpage
-  \fi
-  \fi
-  \if at tempswa
-  \twocolumn
-  \fi}
+  \def\@endpart{\vfil\newpage
+    \if at twoside
+    \if at openright
+    \null
+    \thispagestyle{empty}%
+    \newpage
+    \fi
+    \fi
+    \if at tempswa
+    \twocolumn
+    \fi}
 \fi
 \titleformat{\paragraph}[runin]
   {}
   {\theparagraph}
   {.5em}
-  {\itshape}
+  {\SUF at PAR@StyleSwitch}
   [{.}\hspace*{1em}]
 \titlespacing*{\paragraph}{\parindent}{.5\sectionsep}{.5\sectionsep}
 \titleformat{\subparagraph}[runin]
@@ -1753,7 +1882,7 @@
   {}
   {\thesubparagraph}
   {.5em}
-  {}
+  {\SUF at SUBPAR@StyleSwitch}
   [{.}\hspace*{1em}]
 \titlespacing*{\subparagraph}{\parindent}{.5\sectionsep}{.5\sectionsep}
 \ifsuftesi at article
@@ -1888,97 +2017,58 @@
  ************************************}}}
 }
 \def\isbn#1{\gdef\@isbn{#1}}
-  \def\@issn{\@latex at warning@no at line{%
-    No \noexpand\isbn given}}
+\def\@issn{\@latex at warning@no at line{%
+  No \noexpand\isbn given}}
 \def\doi#1{\gdef\@doi{#1}}
-  \def\@doi{\@latex at warning@no at line{%
-    No \noexpand\doi given}}
+\def\@doi{\@latex at warning@no at line{%
+  No \noexpand\doi given}}
 \def\isbn#1{\gdef\@issn{#1}}
-  \def\@issn{\@latex at warning@no at line{%
-    No \noexpand\isbn given}}
+\def\@issn{\@latex at warning@no at line{%
+  No \noexpand\isbn given}}
 \renewcommand*{\title}[2][]{\gdef\@headtitle{#1}\gdef\@title{#2}}
-    \edef\title{\noexpand\@dblarg
+\edef\title{\noexpand\@dblarg
   \expandafter\noexpand\csname\string\title\endcsname}
-    \def\@headtitle{--missing title--%
-        \protect\ClassWarningNoLine{suftesi}{%
+\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}{%
+\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}{%
+\def\@author{--missing author--%
+           \protect\ClassWarningNoLine{suftesi}{%
             No \string\author\space given\MessageBreak%
             See the class documentation for explanation}}
-\if at titlepage% titlepage
-  \renewcommand\maketitle{\begin{titlepage}%
-  \let\footnotesize\small
-  \let\footnoterule\relax
-  \let \footnote \thanks
-  \renewcommand\thefootnote{\@fnsymbol\c at footnote}%
-  \null\vfil
-  \vskip 60\p@
-  \begin{center}%
-    {\SUF at chaptersize\color{sufred}\sffamily%
-    \ifsuftesi at smallcapschap%
-     \SUF at titlesmallcaps{\@title}
-      \else
-      \ifsuftesi at article
-       \ifsuftesi at smallcapssec
-        \SUF at 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
+\if at titlepage
+  \renewcommand\maketitle{%
+  \begin{titlepage}
+    \let\footnotesize\small
+    \let\footnoterule\relax
+    \let \footnote \thanks
+    \renewcommand\thefootnote{\@fnsymbol\c at footnote}%
+    \null\vfil
+    \vskip 60\p@
+    \begin{center}%
+      {\SUF at first\par}%
+      \vskip 3em%
+      {\lineskip .75em%
+        \begin{tabular}[t]{c}%
+          \SUF at second
+        \end{tabular}\par}%
+        \vskip 1.5em%
+      {\SUF at datefont\@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\@empty
   \global\let\date\relax
   \global\let\and\relax}
-\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
 \renewcommand\maketitle{\par
    \begingroup
@@ -2014,76 +2104,17 @@
    \vskip 2em%
    \begin{center}%
    \let \footnote \thanks
-     {\SUF at chaptersize\color{sufred}\sffamily%
-    \ifsuftesi at smallcapschap%
-     \SUF at titlesmallcaps{\@title}
-      \else
-      \ifsuftesi at article
-       \ifsuftesi at smallcapssec
-        \SUF at titlesmallcaps{\@title}
-         \else
-          \@title
-        \fi
-       \else
-      \@title
-     \fi
-  \fi\par}%
+     {\SUF at first\par}%
      \vskip 1.5em%
-     {\small\lineskip .5em%
+     {\lineskip .5em%
        \begin{tabular}[t]{c}%
-        \@author\par
+        \SUF at second\par
        \end{tabular}\par}%
      \vskip 1em%
-     {\small\@date\par}%
+     {\SUF at datefont\@date\par}%
    \end{center}%
    \par
    \vskip 1.5em}
-\newcommand\standardtitle{\par
-  \begingroup
-    \renewcommand\thefootnote{\@fnsymbol\c at footnote}%
-    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
-    \long\def\@makefntext##1{\parindent 1em\noindent
-            \hb at xt@1.8em{%
-                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
-    \if at twocolumn
-      \ifnum \col at 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
 \ifsuftesi at collection
 \newcounter{journalnumber}
@@ -2191,9 +2222,9 @@
     \fi
     \thispagestyle{plain}\@thanks%
   \endgroup
-  \setcounter{section}{0}%
-  \global\let\and\relax
-  \let\thanks\@gobble}
+   \setcounter{section}{0}%
+   \global\let\and\relax
+   \let\thanks\@gobble}
 \AtBeginDocument{\def\@maketitle{%
   \refstepcounter{article}
   \SUF at chaptersize
@@ -2200,14 +2231,13 @@
    \SUF at lr@coll at titleSwitch
     \let\footnote\thanks
      \parindent=0pt
-    {\ifsuftesi at reverseauthortitle
-      \SUF at titlefont@Switch{\@title}%
-        \else\SUF at authorfont@Switch{\@author}\fi}%
+    {\SUF at second}%
    \label{begin:\thearticle}
-     \xdef\@currentHref{title.\thearticle}%
-  \Hy at raisedlink{%
-  \hyper at anchorstart{\@currentHref}\hyper at anchorend}%
-  \csname toc at entry@\endcsname
+   \@ifundefined{Hy at raisedlink}{\let\texorpdfstring\@firstoftwo}{%
+    \xdef\@currentHref{title.\thearticle}%
+     \Hy at raisedlink{\hyper at anchorstart{\@currentHref}\hyper at anchorend}%
+    }%
+   \csname toc at entry@\endcsname
     \begingroup%
     \let\thanks\@gobble
     \addcontentsline{toc}{title}{%
@@ -2215,11 +2245,8 @@
     {\SUF at tocTIT@font{\@headtitle}}}
     \endgroup%
     \par\nobreak\vspace{2ex}
-    {\ifsuftesi at reverseauthortitle
-      \SUF at authorfont@Switch{\@author}%
-        \else
-      \SUF at titlefont@Switch{\@title}%
-    \fi\vskip1.5cm}}%
+    {\SUF at first%
+    \vskip1.5cm}}%
     }
 \newenvironment{article}
   {\begingroup
@@ -2231,7 +2258,7 @@
     \cleardoublepage
       \global\let\@thanks\@empty
     \endgroup}
-\newcommand{\frontispiece}{%
+\newcommand{\collectiontitlepage}{%
   \thispagestyle{empty}%
     \begingroup
      \centering
@@ -2245,6 +2272,7 @@
 
     \endgroup
   \clearpage}
+\def\frontispiece{\collectiontitlepage}
   \setcounter{tocdepth}{0}
   \renewcommand\thesection{%
           \@arabic\c at section}
@@ -2263,48 +2291,69 @@
 \ifsuftesi at periodical
   \Margini {5.5cm}{7cm}{4.5cm}{0cm}
     \else
+\ifsuftesi at periodicalaureo
+  \Margini {5.5cm}{7cm}{4.5cm}{0cm}
+    \else
 \ifsuftesi at compact
   \Margini {4.5cm}{7cm}{4.5cm}{0cm}
     \else
+\ifsuftesi at compactaureo
+  \Margini {4.5cm}{7cm}{4.5cm}{0cm}
+    \else
 \ifsuftesi at supercompact
   \Margini {4.5cm}{10cm}{6cm}{1cm}
     \else
-\ifsuftesi at compactaureo
-  \Margini {4.5cm}{7cm}{4.5cm}{0cm}
-    \else
 \ifsuftesi at supercompactaureo
   \Margini {4.5cm}{10cm}{6cm}{1cm}
     \else
-\ifsuftesi at periodicalaureo
-  \Margini {5.5cm}{7cm}{4.5cm}{0cm}
+\ifsuftesi at pocketa
+  \Margini {4.5cm}{10cm}{6cm}{1cm}
     \else
-\fi\fi\fi\fi\fi\fi}
+\ifsuftesi at pocketb
+  \Margini {4.5cm}{10cm}{6cm}{1cm}
+    \else
+\ifsuftesi at pocketc
+  \Margini {4.5cm}{10cm}{6cm}{1cm}
+    \else
+\fi\fi\fi\fi\fi\fi\fi\fi\fi}
 {\@ifpackageloaded{frontespizio}{%
 \ifsuftesi at periodical
   \Margini {1cm}{7cm}{5cm}{1cm}
   \Rientro{1cm}
     \else
+\ifsuftesi at periodicalaureo
+  \Margini {1cm}{7cm}{5cm}{1cm}
+  \Rientro{1cm}
+    \else
 \ifsuftesi at compact
   \Margini {1cm}{7cm}{6cm}{1cm}
   \Rientro{1cm}
     \else
+\ifsuftesi at compactaureo
+  \Margini {1cm}{7cm}{6cm}{1cm}
+  \Rientro{1cm}
+    \else
 \ifsuftesi at supercompact
   \Margini {1cm}{10cm}{8cm}{1cm}
   \Rientro{1cm}
     \else
-\ifsuftesi at compactaureo
-  \Margini {1cm}{7cm}{6cm}{1cm}
+\ifsuftesi at supercompactaureo
+  \Margini {1cm}{10cm}{8cm}{1cm}
   \Rientro{1cm}
     \else
-\ifsuftesi at supercompactaureo
+\ifsuftesi at pocketa
   \Margini {1cm}{10cm}{8cm}{1cm}
   \Rientro{1cm}
     \else
-\ifsuftesi at periodicalaureo
-  \Margini {1cm}{7cm}{5cm}{1cm}
+\ifsuftesi at pocketb
+  \Margini {1cm}{10cm}{8cm}{1cm}
   \Rientro{1cm}
     \else
-\fi\fi\fi\fi\fi\fi}
+\ifsuftesi at pocketc
+  \Margini {1cm}{10cm}{8cm}{1cm}
+  \Rientro{1cm}
+    \else
+\fi\fi\fi\fi\fi\fi\fi\fi\fi}
 {\relax}}}
 \renewenvironment{theindex}
   {\if at twocolumn
@@ -2398,7 +2447,7 @@
   \ifsuftesi at toccompactsec
   \titlecontents*{section}[\SUF at tochang@chap]{}{%
     \thecontentslabel\adjtoclabelsep\SUF at tocSEC@font}{\SUF at tocSEC@font}{,
-    \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotsec]
+    \thecontentspage.}[][\adjtocpagesep][]
   \else
   \titlecontents{section}
   [\SUF at tochang@sec]
@@ -2427,7 +2476,7 @@
   \ifsuftesi at toccompactsec
   \titlecontents*{section}[\SUF at tocindent@chap]{}{%
     \thecontentslabel\adjtoclabelsep\SUF at tocSEC@font}{\SUF at tocSEC@font}{,
-    \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotsec]
+    \thecontentspage.}[][\adjtocpagesep][]
   \else
   \titlecontents{section}
   [\SUF at tocindent@sec]
@@ -2512,7 +2561,6 @@
 \renewenvironment{quotation}
   {\list{}{\listparindent\parindent%
     \itemindent    \listparindent
-    \leftmargin     \parindent
     \SUF at quote@style
     \parsep    \z@ \@plus\p@}%
     \item\relax%
@@ -2520,7 +2568,7 @@
     \noindent\ignorespaces}
   {\endlist}
 \renewenvironment{quote}
-  {\list{}{\leftmargin \parindent
+  {\list{}{%
     \SUF at quote@style}%
     \item\relax%
     \SUF at quotation@size}% \ignorespaces?
@@ -2803,7 +2851,7 @@
 \ifsuftesi at toccompactsec
 \titlecontents*{section}[\SUF at tochang@chap]{}{%
   \SUF at SEC@thecontentslabel\adjtoclabelsep\SUF at tocSEC@font}{\SUF at tocSEC@font}{,
-  \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotsec]
+  \thecontentspage.}[][\adjtocpagesep][]
 \else
 \titlecontents{section}
   [\SUF at tochang@sec]
@@ -2818,9 +2866,9 @@
   {}
 \fi
 \ifsuftesi at toccompactsubsec
-\titlecontents*{subsection}[\SUF at tochang@sec]{\suf at sscorrect}{%
+\titlecontents*{subsection}[\SUF at tochang@sec]{\SUF at sscorrect}{%
   \SUF at SUBSEC@thecontentslabel\adjtoclabelsep\SUF at tocSUBSEC@font}{\SUF at tocSUBSEC@font}{,
-  \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotssec]
+  \thecontentspage.}[][\adjtocpagesep][]
 \else
 \titlecontents{subsection}
   [\SUF at tochang@subsec]
@@ -2835,10 +2883,10 @@
   {}
 \fi
 \ifsuftesi at toccompactsubsubsec
-\titlecontents*{subsubsection}[\SUF at tochang@subsec]{\suf at ssscorrect}{%
+\titlecontents*{subsubsection}[\SUF at tochang@subsec]{\SUF at ssscorrect}{%
   \SUF at SUBSUBSEC@thecontentslabel\adjtoclabelsep%
   \SUF at tocSUBSUBSEC@font}{\SUF at tocSUBSUBSEC@font}{,
-  \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotsssec]
+  \thecontentspage.}[][\adjtocpagesep][]
 \else
 \titlecontents{subsubsection}
   [\SUF at tochang@subsubsec]
@@ -2852,24 +2900,42 @@
      \SUF at tocSUBSUBSEC@font}
   {}
 \fi
+\ifsuftesi at toccompactpar
+\titlecontents*{paragraph}[\SUF at tochang@subsubsec]{\SUF at pcorrect}{%
+ \SUF at PAR@thecontentslabel\adjtoclabelsep%
+ \SUF at tocPAR@font}{\SUF at tocPAR@font}{,
+ \thecontentspage.}[][\adjtocpagesep][]
+\else
 \titlecontents{paragraph}
-  [\SUF at tochang@par]
-  {}
-  {\hskip-\SUF at tochang@par%
-   \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at par%
-    \makebox[\SUF at label@par][l]{\thecontentslabel}\hspace*{1em}}
-  {\hskip-\SUF at tochang@par%
-   \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at par}
-  {}
+[\SUF at tochang@par]
+{}
+{\hskip-\SUF at tochang@par%
+ \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at par%
+ \makebox[\SUF at label@par][l]{\thecontentslabel}\hspace*{1em}%
+   \SUF at tocPAR@font}
+{\hskip-\SUF at tochang@par%
+ \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at par%
+   \SUF at tocPAR@font}
+{}
+\fi
+\ifsuftesi at toccompactsubpar
+\titlecontents*{subparagraph}[\SUF at tochang@par]{\SUF at pcorrect}{%
+ \SUF at SUBPAR@thecontentslabel\adjtoclabelsep%
+ \SUF at tocSUBPAR@font}{\SUF at tocSUBPAR@font}{,
+ \thecontentspage.}[][\adjtocpagesep][]
+\else
 \titlecontents{subparagraph}
   [\SUF at tochang@subpar]
   {}
   {\hskip-\SUF at tochang@subpar%
    \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at subpar%
-    \makebox[\SUF at label@subpar][l]{\thecontentslabel}\hspace*{1em}}
+    \makebox[\SUF at label@subpar][l]{\thecontentslabel}\hspace*{1em}%
+      \SUF at tocSUBPAR@font}
   {\hskip-\SUF at tochang@subpar%
-   \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at subpar}
+    \makebox[1em][l]{\thecontentspage}\hskip\SUF at addto@tochang at subpar%
+      \SUF at tocSUBPAR@font}
   {}
+\fi
 \titlecontents{figure}
   [\SUF at tochang@fig]
   {}
@@ -2942,8 +3008,8 @@
   [\addvspace{1ex}]
 \ifsuftesi at toccompactsec
 \titlecontents*{section}[\SUF at tocindent@chap]{}{%
-  \SUF at SEC@thecontentslabel\adjtoclabelsep\SUF at tocSEC@font}{\SUF at tocSEC@font}{,
-  \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotsec]
+  \SUF at SEC@thecontentslabel\adjtoclabelsep\SUF at tocSEC@font}
+  {\SUF at tocSEC@font}{, \thecontentspage.}[][\adjtocpagesep][]
 \else
 \titlecontents{section}
   [\SUF at tocindent@sec]
@@ -2957,9 +3023,9 @@
        \else\SUF at titlerule\fi\contentspage}
 \fi
 \ifsuftesi at toccompactsubsec
-\titlecontents*{subsection}[\SUF at tocindent@sec]{\suf at sscorrect}{%
-  \SUF at SUBSEC@thecontentslabel\adjtoclabelsep\SUF at tocSUBSEC@font}{\SUF at tocSUBSEC@font}{,
-  \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotssec]
+\titlecontents*{subsection}[\SUF at tocindent@sec]{\SUF at sscorrect}{%
+  \SUF at SUBSEC@thecontentslabel\adjtoclabelsep\SUF at tocSUBSEC@font}
+  {\SUF at tocSUBSEC@font}{, \thecontentspage.}[][\adjtocpagesep][]
 \else
 \titlecontents{subsection}
   [\SUF at tocindent@subsec]
@@ -2972,10 +3038,10 @@
   {\SUF at titlerule\contentspage}
 \fi
 \ifsuftesi at toccompactsubsubsec
-\titlecontents*{subsubsection}[\SUF at tocindent@subsec]{\suf at ssscorrect}{%
+\titlecontents*{subsubsection}[\SUF at tocindent@subsec]{\SUF at ssscorrect}{%
   \SUF at SUBSUBSEC@thecontentslabel\adjtoclabelsep%
   \SUF at tocSUBSUBSEC@font}{\SUF at tocSUBSUBSEC@font}{,
-  \thecontentspage}[][.\adjtocpagesep][\suf at ctocdotsssec]
+  \thecontentspage.}[][\adjtocpagesep][]
 \else
 \titlecontents{subsubsection}
   [\SUF at tocindent@subsubsec]
@@ -2987,20 +3053,38 @@
     \SUF at tocSUBSUBSEC@font}
   {\SUF at titlerule\contentspage}
 \fi
+\ifsuftesi at toccompactpar
+\titlecontents*{paragraph}[\SUF at tocindent@subsubsec]{\SUF at pcorrect}{%
+ \SUF at PAR@thecontentslabel\adjtoclabelsep%
+ \SUF at tocPAR@font}{\SUF at tocPAR@font}{,
+ \thecontentspage.}[][\adjtocpagesep][]
+\else
 \titlecontents{paragraph}
   [\SUF at tocindent@par]
   {}
   {\hskip-\dimexpr(\SUF at label@par+1em)%
-    \makebox[\SUF at label@par][l]{\thecontentslabel}\hspace*{1em}}
-  {\hskip-\dimexpr(\SUF at label@par+1em)}
+    \makebox[\SUF at label@par][l]{\thecontentslabel}\hspace*{1em}%
+      \SUF at tocPAR@font}
+  {\hskip-\dimexpr(\SUF at label@par+1em)%
+     \SUF at tocPAR@font}
   {\SUF at titlerule\contentspage}
+\fi
+\ifsuftesi at toccompactsubpar
+\titlecontents*{subparagraph}[\SUF at tocindent@par]{\SUF at pcorrect}{%
+ \SUF at SUBPAR@thecontentslabel\adjtoclabelsep%
+ \SUF at tocSUBPAR@font}{\SUF at tocSUBPAR@font}{,
+ \thecontentspage.}[][\adjtocpagesep][]
+\else
 \titlecontents{subparagraph}
   [\SUF at tocindent@subpar]
   {}
   {\hskip-\dimexpr(\SUF at label@subpar+1em)%
-    \makebox[\SUF at label@subpar][l]{\thecontentslabel}\hspace*{1em}}
-  {\hskip-\dimexpr(\SUF at label@subpar+1em)}
+    \makebox[\SUF at label@subpar][l]{\thecontentslabel}\hspace*{1em}%
+      \SUF at tocSUBPAR@font}
+  {\hskip-\dimexpr(\SUF at label@subpar+1em)%
+     \SUF at tocSUBPAR@font}
   {\SUF at titlerule\contentspage}
+\fi
 \titlecontents{figure}
   [\SUF at tocindent@fig]
   {}
@@ -3016,6 +3100,34 @@
   {}
   {\SUF at titlerule\contentspage}
 \fi
+\titlecontents*{partialtocsection}[0cm]{}{%
+ \@partialtocseclabel\adjtoclabelsep\@partialtocsecfont}
+ {\@partialtocsecfont}{, \thecontentspage.}[][\adjtocpagesep][]
+\titlecontents*{partialtocsubsection}[0cm]{\hskip.5em}{%
+ \@partialtocsubseclabel\adjtoclabelsep\@partialtocsubsecfont}
+ {\@partialtocsubsecfont}{, \thecontentspage.}[][\adjtocpagesep][]
+\titlecontents*{partialtocsubsubsection}[0cm]{\hskip.5em}{%
+ \@partialtocsubsubseclabel\adjtoclabelsep\@partialtocsubsubsecfont}
+ {\@partialtocsubsubsecfont}{, \thecontentspage.}[][\adjtocpagesep][]
+\titlecontents*{partialtocparagraph}[0cm]{\hskip.5em}{%
+ \@partialtocparlabelfont\adjtoclabelsep\@partialtocparfont}
+ {\@partialtocparfont}{, \thecontentspage.}[][\adjtocpagesep][]
+\titlecontents*{partialtocsubparagraph}[0cm]{\hskip.5em}{%
+ \@partialtocsubparlabelfont\adjtoclabelsep\@partialtocsubparfont}
+ {\@partialtocsubparfont}{, \thecontentspage.}[][\adjtocpagesep][]
+\newcommand{\startpartialtoc}{%
+ \ifsuftesi at partialtoc\startcontents\fi}
+\newcommand{\printpartialtoc}{%
+ \ifsuftesi at partialtoc
+  \setcounter{tocdepth}{5}
+   \contentsmargin{0cm}
+    \@partialtocsize
+     \@partialtocbeforespace
+      \@partialtocbeforecode\par
+       \printcontents{partialtoc}{1}{}
+      \par\@partialtocaftercode
+    \@partialtocafterspace
+ \fi}
 \ifsuftesi at article
 \renewcommand\tableofcontents{%
     \vspace{2ex}%
@@ -3127,29 +3239,81 @@
 \newcommand{\secfont}[1]{\def\SUF at SEC@StyleSwitch{#1}}
 \newcommand{\subsecfont}[1]{\def\SUF at SUBSEC@StyleSwitch{#1}}
 \newcommand{\subsubsecfont}[1]{\def\SUF at SUBSUBSEC@StyleSwitch{#1}}
-\newcommand{\partnumfont}[1]{\def\SUF at PART@font{#1}}
-  \partnumfont{}
+\newcommand{\partnumfont}[1]{\def\SUF at PART@font{#1}}\partnumfont{}
 \newcommand{\chapnumfont}[1]{\def\SUF at thechapter{#1}}
 \newcommand{\secnumfont}[1]{\def\SUF at thesection{#1}}
 \newcommand{\subsecnumfont}[1]{\def\SUF at thesubsection{#1}}
 \newcommand{\subsubsecnumfont}[1]{\def\SUF at thesubsubsection{#1}}
-\newcommand{\titlefont}[1]{\def\SUF at titlefont@Switch{#1}}
-\newcommand{\authorfont}[1]{\def\SUF at authorfont@Switch{#1}}
+\newcommand{\titlefont}[1]{\def\SUF at Tfont@style{#1}\let\SUF at Tfont@shape\relax}
+\newcommand{\authorfont}[1]{\def\SUF at Afont@style{#1}\let\SUF at Afont@shape\relax}
+\newcommand{\datefont}[1]{\def\SUF at datefont{#1}}
 \newcommand{\tocpartfont}[1]{\def\SUF at tocPART@font{#1}}
 \newcommand{\tocchapfont}[1]{\def\SUF at tocCHAP@font{#1}}
 \newcommand{\tocsecfont}[1]{\def\SUF at tocSEC@font{#1}}
 \newcommand{\tocsubsecfont}[1]{\def\SUF at tocSUBSEC@font{#1}}
 \newcommand{\tocsubsubsecfont}[1]{\def\SUF at tocSUBSUBSEC@font{#1}}
-\newcommand{\tocpartnumfont}[1]{\def\SUF at tocPARTnum@font{#1}}
-  \tocpartnumfont{}
+\newcommand{\tocparfont}[1]{\def\SUF at tocPAR@font{#1}}
+\newcommand{\tocsubparfont}[1]{\def\SUF at tocSUBPAR@font{#1}}
+\newcommand{\tocpartnumfont}[1]{\def\SUF at tocPARTnum@font{#1}}\tocpartnumfont{}
 \newcommand{\tocchapnumfont}[1]{%
-  \def\SUF at CHAP@thecontentslabel{#1\thecontentslabel}}
+  \def\SUF at CHAP@thecontentslabel{\begingroup#1\thecontentslabel\endgroup}}
 \newcommand{\tocsecnumfont}[1]{%
-  \def\SUF at SEC@thecontentslabel{#1\thecontentslabel}}
+  \def\SUF at SEC@thecontentslabel{\begingroup#1\thecontentslabel\endgroup}}
 \newcommand{\tocsubsecnumfont}[1]{%
-  \def\SUF at SUBSEC@thecontentslabel{#1\thecontentslabel}}
+  \def\SUF at SUBSEC@thecontentslabel{\begingroup#1\thecontentslabel\endgroup}}
 \newcommand{\tocsubsubsecnumfont}[1]{%
-  \def\SUF at SUBSUBSEC@thecontentslabel{#1\thecontentslabel}}
+  \def\SUF at SUBSUBSEC@thecontentslabel{\begingroup#1\thecontentslabel\endgroup}}
+\newcommand{\tocparnumfont}[1]{%
+ \def\SUF at PAR@thecontentslabel{\begingroup#1\thecontentslabel\endgroup}}
+\newcommand{\tocsubparnumfont}[1]{%
+ \def\SUF at SUBPAR@thecontentslabel{\begingroup#1\thecontentslabel\endgroup}}
+\tocparnumfont{}
+\tocsubparnumfont{}
+\newcommand{\partialtocsize}[1]{%
+  \def\@partialtocsize{#1}}
+\newcommand{\partialtocsecfont}[1]{%
+  \def\@partialtocsecfont{#1}}
+\newcommand{\partialtocsubsecfont}[1]{%
+  \def\@partialtocsubsecfont{#1}}
+\newcommand{\partialtocsubsubsecfont}[1]{%
+  \def\@partialtocsubsubsecfont{#1}}
+\newcommand{\partialtocparfont}[1]{%
+ \def\@partialtocparfont{#1}}
+\newcommand{\partialtocsubparfont}[1]{%
+ \def\@partialtocsubparfont{#1}}
+\newcommand{\partialtocseclabel}[1]{%
+  \def\@partialtocseclabel{\begingroup#1\thecontentslabel\endgroup}}
+\newcommand{\partialtocsubseclabel}[1]{%
+  \def\@partialtocsubseclabel{\begingroup#1\thecontentslabel\endgroup}}
+\newcommand{\partialtocsubsubseclabel}[1]{%
+  \def\@partialtocsubsubseclabel{\begingroup#1\thecontentslabel\endgroup}}
+\newcommand{\partialtocparlabelfont}[1]{%
+ \def\@partialtocparlabelfont{\begingroup#1\thecontentslabel\endgroup}}
+\newcommand{\partialtocsubparlabelfont}[1]{%
+ \def\@partialtocsubparlabelfont{\begingroup#1\thecontentslabel\endgroup}}
+\newcommand{\partialtocbeforespace}[1]{%
+  \def\@partialtocbeforespace{\vspace*{#1}}}
+\newcommand{\partialtocafterspace}[1]{%
+  \def\@partialtocafterspace{\vspace*{#1}}}
+\newcommand{\partialtocbeforecode}[1]{%
+  \def\@partialtocbeforecode{#1}}
+\newcommand{\partialtocaftercode}[1]{%
+  \def\@partialtocaftercode{#1}}
+\partialtocsize{\footnotesize}
+\partialtocsecfont{\itshape}
+\partialtocsubsecfont{}
+\partialtocsubsubsecfont{}
+\partialtocparfont{}
+\partialtocsubparfont{}
+\partialtocseclabel{\itshape}
+\partialtocsubseclabel{}
+\partialtocsubsubseclabel{}
+\partialtocparlabelfont{}
+\partialtocsubparlabelfont{}
+\partialtocbeforespace{18ex}
+\partialtocafterspace{-18ex}
+\partialtocbeforecode{}
+\partialtocaftercode{}
 \ifsuftesi at article
 \def\chapterintro{%
 \ClassError{suftesi}
@@ -3176,7 +3340,7 @@
   {\ifbreakinbody\newline\else\fi}
 \let\origtableofcontents\tableofcontents
 \renewcommand{\tableofcontents}{%
-  \begingroup
+  \begingroup\suftesi at partialtocfalse
     \breakintoctrue\breakinbodyfalse%
       \origtableofcontents
   \endgroup}



More information about the tex-live-commits mailing list.