Debian Codegraph @

texmf-dist/source/latex/suftesi/suftesi.dtx

raw
1 % \iffalse meta-comment
2 %<*internal>
3 \begingroup
4 \input docstrip
5 \preamble
6
7 The 'suftesi' document class
8 Copyright (C) 2009-2024 Ivan Valbusa
9 <ivan dot valbusa at gmail dot com>
10
11 All rights reserved.
12
13 This work may be distributed and/or modified under
14 the conditions of the LaTeX Project Public License,
15 either version 1.3 of this license or (at your
16 option) any later version.
17 The latest version of this license is in
18 http://www.latex-project.org/lppl.txt
19 and version 1.3 or later is part of all distributions of LaTeX
20 version 2005/12/01 or later.
21
22 This work consists of all files listed in README
23
24 This work has the LPPL maintenance status "author-maintained".
25
26 \endpreamble
27 \keepsilent
28 \askforoverwritefalse
29
30 \Msg{*** Generating the class file ***}
31 \generate{
32 \file{suftesi.cls}{\from{suftesi.dtx}{class}}
33 \nopreamble\nopostamble
34 \file{suftesi.bib}{\from{suftesi.dtx}{bib}}}
35
36 \Msg{*********************************************}
37 \Msg{*}
38 \Msg{* To finish the installation you have to move
39 \Msg{* the following files into a directory}
40 \Msg{* searched by TeX:}
41 \Msg{*}
42 \Msg{* \space\space suftesi.cls}
43 \Msg{*}
44 \Msg{*}
45 \Msg{* To produce the documentation on suftesi's}
46 \Msg{* code run the file ending with `.dtx'}
47 \Msg{* through pdfLaTeX. See the}
48 \Msg{* README file for more details.}
49 \Msg{*}
50 \Msg{* Happy TeXing}
51 \Msg{*********************************************}}
52 \endgroup
53 %</internal>
54 % \fi
55 % \iffalse
56 %<*driver>
57 \ProvidesFile{suftesi.dtx}
58 %</driver>
59 %<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
60 %<class>\ProvidesClass{suftesi}
61 %<*class>
62 [2024/12/06 v3.2.6 A class for typesetting theses, books and articles]
63 %</class>
64 %<*driver>
65 \documentclass[12pt]{ltxdoc}
66 \usepackage[T1]{fontenc}
67 \usepackage[utf8]{inputenc}
68 \usepackage[fontsize=12pt]{fontsize}
69 \usepackage[greek.ancient,english]{babel}
70 \usepackage{afterpage}
71 %--------------------------------------------------------
72 % GRAPHICS
73 %--------------------------------------------------------
74 \usepackage[svgnames]{xcolor}
75 \definecolor{philA}{named}{DarkRed}
76 \definecolor{philB}{named}{NavyBlue}
77 \definecolor{sufred}{rgb}{0.5,0,0}
78 \definecolor{sufgray}{rgb}{0.5,0.5,0.5}
79 \usepackage{tikz}
80 \usetikzlibrary{shadows,patterns}
81 \tikzset{
82 pframe/.style={draw=gray,fill=white,drop shadow},
83 pnode/.style={anchor=north west,align=justify,text width=.85\textwidth}}
84 \usepackage[framemethod=TikZ]{mdframed}
85 \mdfsetup{roundcorner=3pt,linecolor=white,backgroundcolor=gray!10}
86 %--------------------------------------------------------
87 % DOC FACILITIES
88 %--------------------------------------------------------
89 \usepackage{hologo}
90 \usepackage{guit}% before ltxdockit but after xcolor!
91 \usepackage[final]{microtype}
92 \let\cs\relax
93 \let\cmd\relax
94 \usepackage{ltxdockit}
95 %--------------------------------------------------------
96 % FONTS
97 %--------------------------------------------------------
98 \usepackage{cochineal}
99 % To use the cochineal inside the document we have
100 % to define the family because the .fd files of the
101 % font refer to conditionals defined in
102 % 'cochineal.sty’:
103 \DeclareFontFamily{T1}{Cochineal-LF}{}
104 \DeclareFontShape{T1}{Cochineal-LF}{m}{n}{
105 <-> s*[1.0] Cochineal-Roman-osf-t1}{}
106 \usepackage[varqu,varl,var0]{inconsolata}
107 \usepackage{biolinum}
108 \usepackage{amsthm}
109 \usepackage[cochineal,bigdelims,cmintegrals,vvarbb]{newtxmath}
110 \usepackage[cal=boondoxo]{mathalpha}
111 \usepackage{manfnt}
112 %--------------------------------------------------------
113 % LAYOUT
114 %--------------------------------------------------------
115 \usepackage[skip=1.5ex]{parskip}
116 \usepackage{geometry}
117 \geometry{
118 a4paper,
119 margin=3cm,
120 headheight=15pt,
121 ignoreall,
122 heightrounded}
123 \usepackage{sectsty}
124 \allsectionsfont{\sffamily}
125 % --------------------------------------------------------
126 % OTHER PACKAGES
127 % --------------------------------------------------------
128 \usepackage[autostyle]{csquotes}
129 \usepackage[style=philosophy-classic]{biblatex}
130 \addbibresource{suftesi.bib}
131 \DeclareBibliographyCategory{pkgs-loaded}
132 \addtocategory{pkgs-loaded}{
133 fixltxhyph,
134 luatex85,
135 appendix,caption,
136 color,crop,enumitem,
137 emptypage,fancyhdr,
138 fontsize,mathalpha,
139 libertinust1math,newtx,
140 geometry,iftex,
141 microtype,multicol,
142 titlesec,titletoc,
143 xkeyval,cclicenses,
144 lm,textcomp,
145 newpx,biolinum,
146 inconsolata,libertine,
147 cochineal,mathpazo,
148 bera,amsthm}
149 \usepackage{array}
150 \usepackage{booktabs}
151 \usepackage{multirow}
152 \usepackage{siunitx}
153 %--------------------------------------------------------
154 % COMMANDS AND ENVIRONMENTS
155 %--------------------------------------------------------
156 \newcommand{\new}{\marginpar{\textcolor{red}{\textbf{NEW!}}}}
157 \newcommand{\argstyle}{\itshape}
158 \DeclareRobustCommand*{\ar}[1]{\texttt{\char`\{}\textrm{\argstyle#1}\texttt{\char`\}}}
159 \DeclareRobustCommand*{\oar}[1]{\texttt{[}\textrm{\argstyle#1}\texttt{]}}
160 \DeclareRobustCommand*{\meta}[1]{%
161 $\langle${\argstyle\rmfamily#1\kern0.12em}$\rangle$}
162 \DeclareRobustCommand*{\arm}[1]{\ar{\meta{\argstyle#1}}}
163 \DeclareRobustCommand*{\oarm}[1]{\oar{\meta{\argstyle#1}}}
164 \newcommand*{\OR}{${}\mid{}$}
165 \makeatletter
166 \newlength\CLett
167 \newcommand*\alert{
168 \par\noindent
169 \setbox\z@\hbox{\textdbend}\CLett=\wd\z@%
170 \raisebox{-1.05\baselineskip}[0pt][0pt]{%
171 \llap{\box\z@\kern6pt}}}
172 \makeatother
173 % New environments
174 \newenvironment{ttquote}{%
175 \begin{mdframed}\ttfamily\microtypesetup{activate=false}}{\end{mdframed}}
176 \newenvironment{latexcode}{\begin{mdframed}}{\end{mdframed}}
177 \makeatletter
178 % Customizing option and value list:
179 \renewcommand*{\ltd@ol@optitem}[3][]{%To use \meta inside #2
180 \ifblank{#1}
181 {\ltd@option{}{#2}{#3}{}}
182 {\ltd@option{}{#2}{#3}{\ltd@textverb{#1}}}}%
183 \pretocmd{\valuelist}{\let\optionlistfont\valuelistfont}{}{}
184 \patchcmd{\ltxsyntax}{\marglistwidth}{0pt}{}{}
185 \patchcmd{\ltd@option@i}{=}{\ = }{}{}
186 \patchcmd{\ltd@option@ii}{=}{\ = }{}{}
187 \expandafter\patchcmd\csname\string\valuelist\endcsname{{\leftmargin}{\labelsep}}{{\leftmargin}{3\labelsep}}{}{}
188 % New color for items
189 \newcommand*{\valuelistfont}{%
190 \color{olive}\sffamily\displayverbfont}
191 \renewcommand*{\optionlistfont}{%
192 \color{philA}\sffamily\displayverbfont}
193 \renewcommand*{\ltxsyntaxlabelfont}{%
194 \color{philA}\sffamily\displayverbfont}
195 \renewcommand*{\marglistfont}{%
196 \color{philA}\sffamily\displayverbfont}
197 % Table of contents
198 \renewcommand\tableofcontents{%
199 \setlength{\columnsep}{1cm}
200 {\centering
201 \section*{\contentsname}%
202 \@mkboth{\contentsname}{\contentsname}}
203 \thispagestyle{empty}
204 \begin{multicols}{2}
205 \@starttoc{toc}%
206 \end{multicols}}
207 \makeatother
208 % --------------------------------------------------------
209 % GREEK EXAMPLES
210 % --------------------------------------------------------
211 \makeatletter
212 \newcommand{\mygrsize}{\f@size}
213 \makeatother
214 \newcommand{\mygrpxsize}{12.5}
215 \def\latintxt{Aliquam auctor, pede consequat
216 laoreet varius, eros tellus maris quam,
217 pellentesque hendrerit.
218 Verecundia conditur.}
219 \def\latintxtb{Morbi luctus, wisi viverra faucibus
220 pretium, nihil est placerat pro cuius loquentis
221 verba. Sed maleficium in quibusdam certum.}
222 \def\greektxt{Πρῶτον εἰπεῖν περὶ τί καὶ τίνος ἐστὶν
223 ἡ σκέψις, ὅτι περὶ ἀπόδειξιν καὶ ἐπιστήμης
224 ἀποδεικτικῆς· εἶτα διορίσαι τί ἐστι πρότασις καὶ
225 τί ὅρος καὶ τί συλλογισμός}
226 \newcommand{\greekexample}[4]{%
227 \noindent\textbf{#3}%
228 {\fontfamily{#1}\selectfont\ \latintxt\ }%
229 {\fontfamily{#2}\fontsize{#4}{13}\selectfont%
230 \textgreek{\greektxt}}
231 {\fontfamily{#1}\selectfont\latintxtb}\par
232 \vskip 6pt plus 1pt minus 1pt}
233 % --------------------------------------------------------
234 % LAYOUTS THUMBNAILS
235 % --------------------------------------------------------
236 \usepackage{xfp}
237 \NewExpandableDocumentCommand{\sufgetlength}{O{pt}mm}{%
238 % #1 (optional, default pt), #2 = length
239 \fpeval{round((#3)/(1#1),#2)}}
240 \newlength{\expaperwidth}
241 \newlength{\expaperheight}
242 \newlength{\extextwidth}
243 \newlength{\extextheight}
244 \newlength{\exxshift}
245 \newlength{\exyshift}
246 \newlength{\exzshift}
247 \def\sufsetlengthsA{%marginratio: 2/3
248 \setlength{\exxshift}{\dimexpr(0.666\expaperwidth-0.666\extextwidth)}
249 \setlength{\exyshift}{\dimexpr(0.666\expaperheight-0.666\extextheight)}
250 \setlength{\exzshift}{\dimexpr(2\expaperwidth-\extextwidth-\exxshift)}}
251 \def\sufsetlengthsB{%marginratio: 1/1
252 \setlength{\exxshift}{\dimexpr(0.5\expaperwidth-0.5\extextwidth)}
253 \setlength{\exyshift}{\dimexpr(0.5\expaperheight-0.5\extextheight)}
254 \setlength{\exzshift}{\dimexpr(2\expaperwidth-\extextwidth-\exxshift)}}
255 \def\sufsetlengthsC{%hmarginratio: 1/1; vmarginratio:2/3
256 \setlength{\exxshift}{\dimexpr(0.5\expaperwidth-0.5\extextwidth)}
257 \setlength{\exyshift}{\dimexpr(0.666\expaperheight-0.666\extextheight)}
258 \setlength{\exzshift}{\dimexpr(2\expaperwidth-\extextwidth-\exxshift)}}
259 \newcommand{\sufpagesetup}[6]{%
260 \setlength{\extextwidth}{#3cm}%
261 \setlength{\extextheight}{#4cm}%
262 \setlength{\expaperwidth}{#5cm}%
263 \setlength{\expaperheight}{#6cm}%
264 \sufsetlengths%
265 \tikzset{body/.style ={yshift=\exyshift,draw=none,pattern={horizontal lines light gray}}}%
266 \tikzset{page/.style ={fill=gray!5!yellow!2,draw=gray!50}}%
267 \begin{tikzpicture}[scale=#1]
268 \draw[page] (0,0) rectangle (\expaperwidth,\expaperheight);
269 \draw[page,xshift=\expaperwidth] (0,0) rectangle (\expaperwidth,\expaperheight);
270 \draw[draw=gray!10,thick] (\expaperwidth,0) -- (\expaperwidth,\expaperheight);
271 \draw[xshift=\exxshift,body] (0,0) rectangle (\extextwidth,\extextheight);
272 \draw[xshift=\exzshift,body] (0,0) rectangle (\extextwidth,\extextheight);
273 \node at (\expaperwidth,-4) (caption) {\parbox{3cm}{\centering\footnotesize\texttt{#2}\par (\sufgetlength[cm]{2}{\expaperwidth} $\times$ \sufgetlength[cm]{2}{\expaperheight})\par}};
274 \end{tikzpicture}}
275 % --------------------------------------------------------
276 % OTHER THUMBNAILS
277 % --------------------------------------------------------
278 \def\shortlipsum{The phenomena should only be used as a canon for our understanding. }
279 \newcommand{\fakechapter}[1]{%
280 \noindent
281 \begin{minipage}{.31\textwidth}
282 \begin{tikzpicture}
283 \draw[pframe] (0,0) rectangle (\textwidth,3.8);
284 \node[pnode] at (0.25,3.7)
285 {\begingroup#1\par\vspace{2\baselineskip}\endgroup
286 \tiny\shortlipsum\shortlipsum\shortlipsum\shortlipsum\par};
287 \end{tikzpicture}
288 \end{minipage}
289 }
290 \newcommand{\fakefootnote}[1]{%
291 \def\thempfootnote{\tiny 7}
292 \noindent
293 \begin{minipage}{.49\textwidth}
294 #1\footnotesize%
295 \begin{tikzpicture}
296 \draw[pframe] (0,0) rectangle (\textwidth,4.9);
297 \node[pnode] at (0.5,4.6)
298 {\shortlipsum\shortlipsum\shortlipsum\shortlipsum%
299 \footnote{\scriptsize\shortlipsum\shortlipsum\par}};
300 \end{tikzpicture}%
301 \end{minipage}
302 }
303 \newcommand{\fakelist}[1]{%
304 \noindent
305 \begin{minipage}{.31\textwidth}
306 \footnotesize
307 \begin{tikzpicture}
308 \draw[pframe] (0,0) rectangle (\textwidth,3.3);
309 \node[pnode] at (0.3,3.2)
310 {\shortlipsum:%
311 \begin{list}{\color{gray}\textbullet}{\leftmargin=#1\itemsep=0pt}
312 \item immagination
313 \item experience
314 \item emotions
315 \end{list}};
316 \end{tikzpicture}%
317 \end{minipage}
318 }
319 \newcommand{\fakequotation}[1]{%
320 \noindent
321 \begin{minipage}{.31\textwidth}
322 \fontsize{9}{10.5}\selectfont%
323 \begin{tikzpicture}
324 \draw[pframe] (0,0) rectangle (\textwidth,7);
325 \node[pnode] at (0.25,6.8)
326 {\hskip1em\shortlipsum\shortlipsum\smallskip
327 \begin{list}{}{#1}
328 \item \fontsize{7}{8.5}\selectfont\shortlipsum\shortlipsum\shortlipsum\shortlipsum
329 \end{list}\smallskip
330 \hskip1em\shortlipsum\shortlipsum};
331 \end{tikzpicture}%
332 \end{minipage}
333 }
334 % --------------------------------------------------------
335 % HYPERREF SETUP
336 % --------------------------------------------------------
337 \usepackage{hyperref}
338 \hypersetup{%
339 hidelinks,
340 pdftitle={User's guide to \textsf{suftesi}},
341 pdfsubject={A document class for typesetting theses,
342 books and articles},
343 pdfauthor={Ivan Valbusa},
344 pdfkeywords={thesis, humanities, books}}
345 % --------------------------------------------------------
346 % FINAL SETTINGS
347 % --------------------------------------------------------
348 \setcounter{tocdepth}{2}
349 \widowpenalty=10000
350 \clubpenalty=10000
351
352 \EnableCrossrefs
353 \CodelineIndex
354 \RecordChanges
355
356 \begin{document}
357 \DocInput{suftesi.dtx}
358 \end{document}
359 %
360 %</driver>
361 % \fi
362 %
363 % \CheckSum{5695}
364 %
365 % \changes{v3.2.6}{2024/12/06}{New option \opt{loadfontsize} to temporarily fix a bug in calculation made by \sty{flontsize} when loaded by the class.}
366 % \changes{v3.2.5}{2024/12/04}{Removed \sty{zref} package and substituted with \sty{footnpag}.
367 % Now, with the \opt{fewfootnotes} option, if you have more than three footnotes per page,
368 % an error will be issued instead of a warning}
369 % \changes{v3.2.4}{2024/12/04}{Maintenance release. The code of the fix in version 3.2.2 was in conflict with \sty{defaultfont}=\sty{cochineal}/\sty{libertine}/\sty{palatino} option. Removed.}
370 % \changes{v3.2.3}{2024/11/27}{Fixed an inconsistency relating to \sty{indentfirst}.}
371 % \changes{v3.2.2}{2024/11/24}{Temporarily fixed a conflict between \sty{amstext} and \sty{zref}.}
372 % \changes{v3.2.1}{2023/09/07}{Removed \sty{substitutefont} package (obsolete) and replaced \cmd{substitutefont} with \cmd{DeclareFontFamilySubstitution} provided by the \LaTeX\ kernel. Definitions of \texttt{sufred} and \texttt{sufgray} color moved \cmd{AtBeginDocument}.}
373 % \changes{v3.2.0}{2021/11/01}{Fixed a bug in \cmd{xfootnote} command.
374 % Fixed a bug occurring when using the \cmd{geometry} command.}
375 % \changes{v3.1.3}{2021/06/06}{Maintenance release.
376 % Moved commands for breaking titles after \opt{titletoc} settings.
377 % Corrected a bug in \cmd{maketitle} with the \opt{collection} structure.
378 % Added \sty{etoolbox}, previously removed by mistake.}
379 % \changes{v3.1.2}{2021/06/05}{Corrected a bug with \opt{reverseauthortitle} option.}
380 % \changes{v3.1.1}{2021/05/23}{Redefined some boolean options. Renamed some private commands. Corrected a bug in headers numbering (\cmd{protect} removed). Disabled automatic partial ToC functionality. Improved \opt{fewfootnotes} option via \sty{zref}. Updated documentation.}
381 % \changes{v3.1.0}{2021/05/20}{Replaced \cmd{val}\cmd{nr} with \cmd{suftesi@val}\cmd{suftesi@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}
382 % \changes{v3.0.2}{2021/02/06}{Improved \opt{subsecstyle} and \opt{subsubsecstyle} options.}
383 % \changes{v3.0.1}{2021/01/27}{Maintenance release.}
384 % \changes{v3.0}{2021/01/24}{Improved \sty{biblatex} support. Updated documentation.}
385 % \changes{v2.9.9b (2.9.11)}{2020/12/21}{New page layouts: \opt{pocketa}, \opt{pocketb}, \opt{pocketc}. New commands \cmd{breakinbody}, \cmd{breakinbodyleft}, \cmd{breakintoc} (old names: \cmd{headbreak} and \cmd{xheadbreak}). Changed definitions of \cmd{appendixpagename}, \cmd{appendixtocname} and \cmd{appendixname} commands (default: english). The \cmd{part} command has been completely redefined. Updated documentation.}
386 % \changes{v2.9.9a (2.9.10)}{2020/06/26}{Corrected a bug using the \env{otherlanguage} environment with \opt{greekfont} option. Updated documentation.}
387 % \changes{v2.9.9}{2020/05/21}{Removed a bug with \cmd{appendix} and roman chapter numbers in table of contents. Updated documentation.}
388 % \changes{v2.9.8}{2020/02/24}{Removed license restrictions. Updated documentation.}
389 % \changes{v2.9.7}{2020/02/22}{New option \opt{fontsize}. The \opt{parindent} options now accepts arbitrary values. Updated documentation.}
390 % \changes{v2.9.6a}{2020/02/11}{Maintenance release}
391 % \changes{v2.9.6}{2020/02/10}{New option \opt{compacttoc}. The appendix page title is printed in the font of the chapters by default. Removed \cmd{apepndicesname} command.}
392 % \changes{v2.9.5}{2020/02/04}{Restored \texttt{templates} folder. New template \texttt{book-customize}. New mechanism for the appendices through the \sty{appendix} package.}
393 % \changes{v2.9.4}{2020/01/01}{Updated documentation.}
394 % \changes{v2.9.3}{2020/01/29}{Updated documentation.}
395 % \changes{v2.9.2}{2019/10/26}{Added \cmd{protect} to \cmd{SUF@thechapter} and \cmd{SUF@thesection} in the definitions of \cmd{chaptermark} and \cmd{sectionmark} to correct a bug when loading \texttt{greek} option with \sty{babel}}
396 % \changes{v2.9.1}{2018/11/09}{Added \sty{libertinust1math} package for Libertine font. Added \sty{luatex85} for Lua\TeX{} engine}
397 % \changes{v2.9}{2016/04/04}{New options \opt{tocauthorfont} and \opt{toctitlefont}. Added macros\cmd{suftesi@MakeTextTOCLowercase} and \cmd{SUF@TOCtitlesmallcaps}. Improved \cmd{xheadbreak} command. New templates \texttt{book}, \texttt{theses-template-article}, \texttt{theses-template-book}.}
398 % \changes{v2.8}{2016/03/30}{\sty{textcase} no longer loaded. Changed definitions of \cmd{suftesi@MakeTextLowercase}, \cmd{SUF@titlesmallcaps}, \cmd{headbreak}, \cmd{xheadbreak}.}
399 % \changes{v2.7.1}{2016/03/22}{Corrected a bug in v.2.7 (missing some \cmd{fi} commands).}
400 % \changes{v2.7}{2016/03/22}{New value \opt{cscreen} for \opt{version} option. Updated documentation. Removed value \opt{elements} for options:\opt{pagelayout}, \opt{headerstyle}, \opt{captionstyle}, \opt{chapstyle}, \opt{style}; \opt{sufelements} for option: \opt{style}. The \cmd{chapnumfont} command is no longer available.}
401 % \changes{v2.6}{2016/03/13}{New \opt{mathfont} option for non-standard fonts. New command \cmd{makecover} for printing the cover page. Updated documentation.}
402 % \changes{v2.5}{2016/03/02}{Corrected a bug when loading CB Greek fonts. Renamed option \opt{documentstructure} to \opt{structure}. Updated documentation.}
403 % \changes{v2.4}{2016/02/27}{Changed the default font to Cochineal with Linux Biolinum sans serif and Inconsolata monospaced. The Palatino is now loaded with \sty{newpxtext} and \sty{newpxmath}. Bera Mono and Iwona have been substituted by Linux Biolinum and Inconsolata. New values for font options: \opt{cochineal}, \opt{libertine}, \opt{bodoni} (greek only). Value \opt{compatibility} for \opt{defaultfont} option to get the fonts of suftesi v2.3 or previous. Updated documentation.}
404 % \changes{v2.3}{2015/09/19}{Maintenance release.}
405 % \changes{v2.2}{2015/09/10}{Maintenance release.}
406 % \changes{v2.1}{2015/06/13}{New option \opt{toc\meta{level}font}. Updated documentation. Removed \cmd{includeart} command}
407 % \changes{v2.0.1}{2015/03/31}{Corrected a bug in \opt{version} option.}
408 % \changes{v2.0}{2015/03/29}{New page layout \opt{standardaureo}. Enhanced support for Lua\LaTeX. Headers settings are now executed \cmd{AtBeginDocument}. Loaded \sty{ifluatex} and \sty{ifthen} packages. Added \opt{listparindent} to \cmd{setlist} options. Updated documentation.}
409 % \changes{v1.9c}{2014/04/05}{The \opt{cbgreek} value for the \opt{greekfont} option allows now to use the full set of the CB Greek font together with the default font (Palatino).}
410 % \changes{v1.9b}{2014/02/16}{Corrected a bug in ``toc'', ``lof'' and ``lot'' commands.}
411 % \changes{v1.9a}{2014/02/11}{Maintenance release. Updated greek support. Updated documentation.}
412 % \changes{v1.9}{2013/09/21}{Added \opt{italic}, \opt{smallcaps} and \opt{sanserif} values for \opt{captionstyle} option. New \opt{twocolcontents} option. New \opt{supercompactaureo} page layout. Changed \cmd{toclabelspace} command and renamed to \cmd{toclabelwidth}. New \opt{collection} document structure}
413 % \changes{v1.8}{2013/07/18}{Maintenance release. Corrected a bug in the definition of \cmd{appendix}}
414 % \changes{v1.7}{2013/06/20}{Renamed \opt{viewmode} option to \opt{version}:
415 % renamed \opt{print} value to \opt{draft} and
416 % added \opt{final} value. New \opt{smallcapsstyle} option.}
417 % \changes{v1.6}{2013/04/17}{New option \opt{viewmode}. Corrected bugs in the definition of \cmd{listoffigures}, \cmd{listoftables} and \cmd{tableofcontens} commands. Updated documentation.}
418 % \changes{v1.5}{2013/03/22}{The \sty{microtype} package is loaded for all engines. Improved compatibility with \sty{todonotes} package and with \sty{mdframed} and \sty{bookmark} packages when using \sty{style} class option. New option \opt{viewmode}}
419 % \changes{v1.4}{2013/03/15}{New value \opt{periodicalaureo} for option \opt{pagelayout}. Changed code for \cmd{xfootnote} command.}
420 % \changes{v1.3}{2013/03/05}{Updated documentation. Added \opt{FSPLa},
421 % \opt{FSPLb} and \opt{FSPLc} styles.}
422 % \changes{v1.2}{2012/10/24}{Maintenance release. Added the
423 % \cmd{toclabelspace} command.}
424 % \changes{v1.1}{2012/10/20}{Added the \sty{fixltxhyph} package.
425 % Documentation updated.}
426 % \changes{v0.9c}{2012/09/25}{Maintenance release, no changes}
427 % \changes{v0.9b}{2012/09/23}{Restored \opt{11pt} and \opt{12pt} option
428 % to default}
429 % \changes{v0.9a}{2012/08/31}{Added \option{inline} option to
430 % \sty{enumitem} package. Deleted \opt{centertitle} option.
431 % Deleted \opt{sctitles} option.
432 % Changed code for toc, lot and lof elements.}
433 % \changes{v0.9}{2012/04/22}{Improved compatibility
434 % with \sty{mathspec}}
435 % \changes{v0.8}{2012/03/19}{Added macro for using \sty{frontespizio}
436 % package with \opt{compact} and \opt{supercompact} options.}
437 % \changes{v0.7}{2011/02/05}{Maintenance release, no changes.
438 % Provided a thesis template}
439 % \changes{v0.6c}{2011/11/16}{Maintenance release, no changes}
440 % \changes{v0.6b}{2011/11/07}{Improved full compatibility with
441 % Xe\LaTeX.
442 % \sty{varioref} and \sty{footmisc} packages are no longer loaded}
443 % \changes{v0.6a}{2011/10/24}{Maintenance release, no changes}
444 % \changes{v0.6}{2011/10/21}{English documentation. Renamed options
445 % \opt{plain} and \opt{fullplain} to \opt{centerheadings}
446 % and \opt{sufplain}.}
447 % \changes{v0.5}{2011/10/21}{First public release.
448 % The frontispiece of \sty{suftesi}{} is now
449 % included in the package \sty{frontespizio}.
450 % New option \opt{fullplain}
451 % Changed option \opt{sctitles}.}
452 % \GetFileInfo{suftesi.dtx}
453 %
454 % \DoNotIndex{\hskip,\newcommand,\newenvironment,\def,\begin,\vskip,\ }
455 % \DoNotIndex{\DeclareOption,\ExecuteOptions,\RequirePackage}
456 % \DoNotIndex{\@@end,\@empty,\@ifclassloaded,\@nameuse,\@nil}
457 % \DoNotIndex{\@undefined,\\,\`,\addtocounter,\advance,\bfseries}
458 % \DoNotIndex{\centering,\closeout,\define@key,\documentclass}
459 % \DoNotIndex{\edef,\else,\end,\endinput,\endtitlepage,\expandafter}
460 % \DoNotIndex{\extracolsep,\fi,\fill,\fontsize,\g@addto@macro,\toks}
461 % \DoNotIndex{\hrule,\hspace,\if,\if@twoside,\ifcase,\ifdefined}
462 % \DoNotIndex{\iffalse,\IfFileExists,\ifnum,\ifx,\immediate}
463 % \DoNotIndex{\jobname,\let,\long,\MakeUppercase,\MessageBreak}
464 % \DoNotIndex{\newcount,\newif,\newpage,\newtoks,\newwrite,\next}
465 % \DoNotIndex{\noexpand,\nofiles,\normalfont,\normalsize,\null}
466 % \DoNotIndex{\openout,\or,\styage,\styageError,\styageWarning}
467 % \DoNotIndex{\styageWarningNoLine,\paperheight,\paperwidth,\par}
468 % \DoNotIndex{\parbox,\parindent,\relax,\scshape,\selectfont,\setkeys}
469 % \DoNotIndex{\sffamily,\space,\stretch,\string,\textheight,\textwidth}
470 % \DoNotIndex{\the,\thispagestyle,\unexpanded,\unless,\unskip,\upshape}
471 % \DoNotIndex{\usepackage,\vbox,\vfill,\vfil,\vspace,\write,\z@}
472 % \DoNotIndex{\addvspace,\setcounter,\addcontentsline}
473 % \DoNotIndex{\filleft,\filcenter,\filright,\geometry}
474 % \DoNotIndex{\CurrentOption,\AtEndDocument,\@ne,\c@page,\m@ne}
475 % \DoNotIndex{\@firstofone,\@gobble,\@makeother,\begingroup,\endgroup}
476 % \DoNotIndex{\eTeXversion,\hbox,\hsize,\includegraphics,\newlinechar}
477 % \DoNotIndex{\titlepage,\vss,\vtop,\xdef,\@gobbletwo,\color,\dimexpr}
478 % \DoNotIndex{\huge,\large,\makebox,\ProcessOptions,\renewcommand}
479 %
480 %\nocite{appendix,caption,color,crop,enumitem,emptypage,fancyhdr,fixltxhyph,fontsize,mathalpha,libertinust1math,newtx,geometry,iftex,microtype,multicol,titlesec,titletoc,xkeyval,cclicenses,luatex85,lm,textcomp,newpx,biolinum,inconsolata,libertine,cochineal,mathpazo,bera,amsthm,footnpag,etoolbox}
481 %
482 % \thispagestyle{empty}
483 %
484 % \begin{tikzpicture}[overlay,remember picture]
485 % \draw[circular drop shadow,draw=none,fill=white] (current page.center) circle (6cm) node[align=center,anchor=center] {%
486 % Ivan Valbusa\\[1cm]
487 %
488 %\Huge\color{gray}\bfseries \parbox{10cm}{\centering The \\{{\color{philA}\fontsize{30}{32}\textsf{suftesi}}\\ document class}}\\[1cm]
489 % \color{black!60!Goldenrod}
490 %
491 %\normalsize \fileversion{} -- \filedate
492 %
493 %};
494 % \end{tikzpicture}
495 % \clearpage\thispagestyle{empty}
496 % \null\vspace{1cm}
497 %
498 %\hfill\begin{minipage}{.5\textwidth}
499 % \raggedleft\footnotesize
500 % The serif typeface is Cochineal, created by Michael Sharpe
501 % on the basis of Sebastian Kosch's Crimson.
502 % The \texttt{typewriter} font is Inconsolata,
503 % designed by Raph Levien and the \textsf{sans serif} text
504 % is typeset in Linux Biolinum, created by Philipp H.~Poll.
505 %\end{minipage}
506 %
507 % \vfill
508 %
509 % ^^A ----------------------------------------------------------------
510 % ^^A
511 % \section*{Legalese}
512 % ^^A
513 % ^^A ----------------------------------------------------------------
514 %
515 % \noindent Copyright \copyright\ 2009-\the\year\ Ivan Valbusa
516 % \smallskip
517 %
518 % \noindent This package is author-maintained.
519 % Permission is granted to copy, distribute and/or modify this software
520 % under the terms of the \hologo{LaTeX} Project Public License, version 1.3 or
521 % later (\url{http://latex-project.org/lppl}).
522 % This software is provided ``as is'', without warranty of any kind,
523 % either expressed or implied, including, but not limited to, the implied
524 % warranties of merchantability and fitness for a particular purpose.
525 %
526 % ^^A ----------------------------------------------------------------
527 % ^^A
528 % \section*{Feedback}
529 % ^^A
530 % ^^A ----------------------------------------------------------------
531 %
532 % If you have any questions, feedback or requests please email
533 % me at \texttt{ivan dot valbusa at gmail dot com}. If you need specific
534 % features not already implemented, remember to attach the example files.
535 %
536 % \clearpage
537 %
538 % \begin{center}
539 % {\color{philA}\bfseries\sffamily
540 % \huge User's guide to \texttt{suftesi}\\[3mm]}
541 % {\large\bfseries\sffamily A document class for typesetting theses, books and articles}
542 % \vspace{.8cm}
543 %
544 % \normalsize\fileversion{} -- \filedate
545 % \vspace{.7cm}
546 %
547 % Ivan Valbusa\\[2mm]
548 % \footnotesize\texttt{ivan dot valbusa at gmail dot com}
549 % \vspace{1cm}
550 % \end{center}
551 % \begin{abstract}
552 % \noindent The standard document classes allow you to typeset beautiful
553 % documents but their layout is quite far from the stylistic requests
554 % of some humanists (mainly Italian). The \sty{suftesi} class
555 % provides a set of ``humanistic'' page layouts, title styles
556 % and heading styles to typeset books, articles and theses.
557 % The styles are very simple and sober and also have the aim of
558 % finding an aesthetic harmony in the formal simplicity
559 % \parencite[see][]{valbusa:20122}. They are
560 % largely inspired by some interesting readings, particularly
561 % \citetitle{Bringhurst:1992} by Robert \textcite{Bringhurst:1992},
562 % \citetitle{Tschichold:1975} by Jan \textcite{Tschichold:1975} and
563 % \citetitle{Morison:1111} by Stanley \textcite{Morison:1111}.
564 % \end{abstract}
565 %
566 % ^^A ----------------------------------------------------------------
567 % ^^A
568 % \tableofcontents
569 % ^^A
570 % ^^A ----------------------------------------------------------------
571 %
572 %
573 % ^^A ----------------------------------------------------------------
574 % ^^A
575 % \section*{A brief history}
576 % ^^A
577 % ^^A ----------------------------------------------------------------
578 %
579 % The \sty{suftesi} class was born as a result of the course \emph{Introduzione
580 % a \hologo{LaTeX} per le scienze umane} (\emph{Introduction to \hologo{LaTeX} for
581 % the Human Sciences}) which I held at the Graduate School of Human Sciences and
582 % Philosophy (\textcolor{sufred}{\textbf{S}}cienze \textcolor{sufred}{\textbf{U}}mane
583 % e \textcolor{sufred}{\textbf{F}}ilosofia) of Verona University (Italy) in June
584 % 2010. Originally thought as a class to typeset theses, through the years
585 % it has developed many new features and styles. Finally it has become the
586 % referential class of the Joint Project \emph{Formal Style for PhD
587 % Theses with \hologo{LaTeX}} of the University of Verona.
588 %
589 % ^^A ----------------------------------------------------------------
590 % ^^A
591 % \section*{Acknowledgments}
592 % ^^A
593 % ^^A ----------------------------------------------------------------
594 %
595 % I would like to thank Professors Paola Di~Nicola,
596 % Director of the Graduate School of Human Sciences and
597 % Philosophy, and Ugo Savardi who suggested to propose
598 % the course precisely to that School; Gilberto D'Arduini, Matteo Lanza and
599 % Antonio Rinaldi, who installed \hologo{LaTeX} on the computers used during the course;
600 % Catia Cordioli, for her help in the organization of the lessons;
601 % Corrado Ferreri, responsible of the \mbox{E-Learning} Center, who provided
602 % the \TeX{}~Live~2009 \textsc{DVD}s.
603 % Special thanks to Professors Enrico~Gregorio, the Italian guru of \TeX,
604 % for the \TeX pert support and his priceless ``magic formulas'', and Tommaso
605 % Gordini for his valuable advice in choosing and improving the class
606 % features during these years. I would finally thank all the participants
607 % to the course who patiently endured the four intensive lessons.
608 % This work is dedicated to them.
609 %
610 % ^^A ----------------------------------------------------------------
611 % ^^A
612 % \section{Usage}
613 % ^^A
614 % ^^A ----------------------------------------------------------------
615 %
616 % The class can be loaded as usual with:
617 %
618 % \begin{ttquote}
619 % \cmd{documentclass}\oarm{options}\{suftesi\}
620 % \end{ttquote}
621 %
622 % For using the class with the \hologo{XeTeX} and \hologo{LuaTeX} engines you need
623 % to load the \sty{fontspec} package (\sty{mathspec} is an alternative
624 % only for \hologo{XeTeX}) and to select a main font.
625 %
626 %
627 % \begin{table}
628 % \centering
629 % \begin{tabular}{>{\sffamily}r@{}>{\sffamily}l>{\raggedright\arraybackslash}>{\sffamily}p{9.6cm}}
630 % \toprule
631 % \multicolumn{2}{c}{\textbf{Context}} & \multicolumn{1}{c}{\textbf{Packages}} \\
632 % \midrule
633 % & \textrm{Global} & appendix, caption, color, crop, enumitem, emptypage, etoolbox,
634 % fancyhdr, fixltxhyph, fontenc, fontsize, geometry, iftex,
635 % microtype, multicol, titlesec, titletoc,
636 % xkeyval, cclicenses*, footnpag** \\
637 % \midrule
638 % & \textrm{\hologo{pdfLaTeX} only} & fontenc \\
639 % \midrule
640 % & \textrm{\hologo{LuaLaTeX} only} & luatex85 \\
641 % \midrule
642 % defaultfont~= & ~standard
643 % & lmodern \\
644 % & ~palatino & textcomp, newpxtext, biolinum, inconsolata, newpxmath \\
645 % & ~libertine & textcomp, libertine, biolinum, inconsolata, newtxmath,
646 % libertinust1math \\
647 % & ~cochineal & textcomp, cochineal, biolinum, inconsolata, newtxmath \\
648 % & ~compatibility & mathpazo, beramono \\
649 % \midrule
650 % mathfont~= & ~extended & amsthm, mathalpha \\
651 % \bottomrule\\[-1.5ex]
652 % && \parbox{9.6cm}{\footnotesize
653 % * only with \opt{FSPL} styles.\quad ** only with \opt{fewfootnotes} option.
654 % }
655 % \end{tabular}
656 % \caption{Packages loaded by \sty{suftesi}}\label{tab:pkgloaded}
657 % \end{table}
658 %
659 % \changes{v0.9b}{2012/09/23}{The \sty{epigraph} package is no longer loaded}
660 %
661 % ^^A ----------------------------------------------------------------
662 % ^^A
663 % \section{Class features}\label{sec:features}
664 % ^^A
665 % ^^A ----------------------------------------------------------------
666 %
667 % The following sections describe the options and commands made available
668 % by the class.
669 % All the options are in the \meta{key}\texttt{=}\meta{value} format.
670 % In addition to these you can
671 % also use the options defined by the standard
672 % \sty{book} class (on which \sty{suftesi} is based) except those modifying
673 % the page dimensions (\opt{a4paper}, \opt{a5paper}, \opt{b5paper},
674 % \opt{legalpaper}, \opt{executivepaper} and \opt{landscape}), which are
675 % automatically disabled.
676 %
677 % Since the possible combinations are hundreds,
678 % the simplest way to get to know the class features
679 % is to typeset one of the templates which you can find in the
680 % \texttt{/doc/latex/suftesi} folder in your \hologo{LaTeX} distribution
681 % \parencite[see also][]{valbusa:20122}. The class files as well as the
682 % templates are also available online on the CTAN’s website at
683 % \textcolor{magenta}{\url{http://www.ctan.org/pkg/suftesi}}.
684 %
685 % \alert The class loads the packages listed in table \ref{tab:pkgloaded} and
686 % since version 2.9.5 relies on \sty{appendix} package to manage
687 % the appendices \parencite{appendix}. To get the correct label
688 % in titles, headings and table of
689 % contents, you should use the \env{appendices} environment.
690 %
691 % ^^A ----------------------------------------------------------------
692 % ^^A
693 % \subsection{Structure}
694 % ^^A
695 % ^^A ----------------------------------------------------------------
696 %
697 % With \sty{suftesi} you can typeset book-style documents (with chapters),
698 % article-style documents (without chapters) and collections of papers
699 % (see section \ref{sec:collection}).
700 %
701 % \changes{v0.9b}{2012/09/23}{The \sty{mparhack} package is no longer
702 % loaded. It is not compatible with \sty{crop}.}
703 %
704 % \begin{optionlist*}
705 % \optitem[book]{structure}{\opt{book}\OR\opt{article}\OR\opt{collection}}
706 % \changes{v0.9b}{2012/09/23}{New option \opt{structure}}
707 % \begin{valuelist}
708 % \item[book] For typesetting texts with chapters.
709 % \item[article] For typesetting articles or short theses
710 % (without chapters).
711 % \item[collection] For typesetting journals or collections of articles
712 % (see section \ref{sec:collection}).
713 % \end{valuelist}
714 % \end{optionlist*}
715 %
716 % ^^A ----------------------------------------------------------------
717 % ^^A
718 % \subsection{Layout}\label{sec:page-styles}
719 % ^^A
720 % ^^A ----------------------------------------------------------------
721 %
722 % The class provides eleven page layouts (figure \ref{fig:layouts} and table
723 % \ref{tab:layouts}). The \opt{standard}
724 % layout (default) or \opt{standardaureo} layout are aimed to typeset
725 % A4 documents, while the other nine layouts are particularly suitable
726 % to typeset compact books, articles or theses. For these compact layouts
727 % the \opt{version=screen} and \opt{version=cscreen} options are particularly
728 % useful as they show the output in its real size.
729 %
730 %\begin{table}
731 %\centering
732 %\begin{tabular}{lccccr@{\,$:$\,}lr@{\,$:$\,}lcr@{\,$:$\,}l}
733 %\toprule
734 % &
735 % \multicolumn{4}{c}{Dimensions (mm)} &
736 % \multicolumn{7}{c}{Proportions} \\
737 % \cmidrule(lr){2-5}
738 % \cmidrule(l){6-12}
739 % &
740 % \multicolumn{2}{c}{Typeblock} &
741 % \multicolumn{2}{c}{Page} &
742 % \multicolumn{4}{c}{Margins} &
743 % \multicolumn{3}{c}{Stock} \\
744 % \cmidrule(lr){2-3}
745 % \cmidrule(lr){4-5}
746 % \cmidrule(lr){6-9}
747 % \cmidrule(l){10-12}
748 % Layout & w & h & w & h &
749 % \multicolumn{2}{c}{t\,/\,b} &
750 % \multicolumn{2}{c}{i\,/\,o} &
751 % Typeblock &
752 % \multicolumn{2}{c}{Page} \\
753 % \cmidrule(r){1-1}
754 % \cmidrule(rl){2-3}
755 % \cmidrule(lr){4-5}
756 % \cmidrule(lr){6-9}
757 % \cmidrule(l){10-12}
758 % \opt{standard} & 110 & 220 & 210 & 297 & $1$ & $2$ & $1$ & $2$ & 1\,:\,2 & $1$ & $\sqrt{2}$ \\
759 % \opt{standardaureo} & 136 & 220 & 210 & 297 & $2$ & $3$ & $2$ & $3$ &
760 % 5\,:\,8\makebox[0pt]{\ \textsuperscript{*}} & $1$ & $\sqrt{2}$ \\
761 % \opt{compact} & 110 & 165 & 160 & 240 & $2$ & $3$ & $2$ & $3$ & 2\,:\,3 & $2$ & $3$ \\
762 % \opt{compactaureo} & 118 & 191 & 160 & 240 & $2$ & $3$ & $2$ & $3$ &
763 % 5\,:\,8\makebox[0pt]{\ \textsuperscript{*}} & $2$ & $3$ \\
764 % \opt{supercompact} & 100 & 150 & 140 & 210 & $2$ & $3$ & $2$ & $3$ & 2\,:\,3 & $2$ & $3$ \\
765 % \opt{supercompactaureo} & 108 & 175 & 140 & 210 & $1$ & $1$ & $1$ & $1$ &
766 % 5\,:\,8\makebox[0pt]{\ \textsuperscript{*}} & $2$ & $3$ \\
767 % \opt{periodical} & 110 & 165 & 170 & 240 & $2$ & $3$ & $2$ & $3$ & 2\,:\,3 & $1$ & $\sqrt{2}$ \\
768 % \opt{periodicalaureo} & 120 & 194 & 170 & 240 & $2$ & $3$ & $2$ & $3$ &
769 % 5\,:\,8\makebox[0pt]{\ \textsuperscript{*}} & $1$ & $\sqrt{2}$ \\
770 % \opt{pocketa} & 102 & 153 & 135 & 208 & $2$ & $3$ & $1$ & $1$ & 2\,:\,3 & $2$ & $3$ \\
771 % \opt{pocketb} & 99 & 165 & 140 & 210 & $2$ & $3$ & $1$ & $1$ & 3\,:\,5 & $2$ & $3$ \\
772 % \opt{pocketc} & 90 & 150 & 116 & 193 & $2$ & $3$ & $1$ & $1$ & 3\,:\,5 & $3$ & $5$ \\
773 %\bottomrule\\[-2ex]
774 %\multicolumn{12}{r}{\footnotesize\textsuperscript{*}5\,:\,8\,$\approx$\,1\,:\,1,618}
775 %\end{tabular}\\[-3ex]
776 %\caption{The layouts of \sty{suftesi}}\label{tab:layouts}
777 %\end{table}
778 %
779 % \begin{optionlist*}
780 % \optitem[standard]{pagelayout}{\opt{standard}\OR\opt{standardaureo}%
781 % \OR\opt{periodical}\OR\opt{periodicalaureo}\OR\opt{compact}\OR
782 % \opt{compactaureo}\OR\opt{supercompact}\OR\opt{supercompactaureo}\OR\opt{pocketa}\OR\opt{pocketb}\OR\opt{pocketc}}
783 % \changes{v0.9b}{2012/09/23}{New option \opt{pagestyle}}
784 % \begin{valuelist}
785 % \item[standard] Prints an A4 page with a
786 % typeblock of $\SI{110}{mm} \times \SI{220}{mm}$.
787 % \end{valuelist}
788 % With the following values the option prints the typeblock
789 % on a an A4 paper showing the crop marks which can be controlled
790 % by the \opt{version} option.
791 % \begin{valuelist}
792 % \item[periodical]
793 % Prints a page of $\SI{17}{cm} \times \SI{24}{cm}$ with a typeblock of
794 % $\SI{11}{cm} \times \SI{16,5}{cm}$.
795 % \item[periodicalaureo] The same of \opt{periodical} but with a
796 % \emph{golden ratio} typeblock of $\SI{120}{cm} \times \SI{194}{mm}$.
797 % \item[compact]
798 % Prints a page of $\SI{16}{cm} \times \SI{24}{cm}$ with a typeblock of
799 % $\SI{11}{cm} \times \SI{16,5}{cm}$.
800 % \item[compactaureo]
801 % The same as \opt{compact} but with
802 % a \emph{golden ratio} typeblock of $\SI{11,8}{cm} \times \SI{19,1}{cm}$.
803 % \item[supercompact]
804 % Prints a page of $\SI{14}{cm} \times \SI{21}{cm}$ with a typeblock of
805 % $\SI{10}{cm} \times \SI{15,5}{cm}$.
806 % \item[supercompactaureo]
807 % The same as \opt{supercompact} but with
808 % a \emph{golden ratio} typeblock of $\SI{10,8}{cm} \times \SI{17,5}{cm}$.
809 % \end{valuelist}
810 % \begin{valuelist}
811 % \item[pocketa]
812 % Prints a page of $\SI{135}{cm} \times \SI{208}{cm}$ with a typeblock of
813 % $\SI{102}{cm} \times \SI{153}{cm}$.
814 % \item[pocketb]
815 % Prints a page of $\SI{140}{cm} \times \SI{210}{cm}$ with a typeblock of
816 % $\SI{99}{cm} \times \SI{165}{cm}$.
817 % \item[pocketc]
818 % Prints a page of $\SI{116}{cm} \times \SI{193}{cm}$ with a typeblock of
819 % $\SI{90}{cm} \times \SI{150}{cm}$.
820 % \end{valuelist}
821 %
822 % You can define your own layouts through the \cmd{geometry} command
823 % of the \sty{geometry} package
824 % \parencite{geometry} and you can change the value of \cmd{baselineskip}
825 % too, possibly through \sty{fontsize} \parencite{fontsize}.
826 %
827 % \alert If you change the line spacing with
828 % the \cmd{linespread} command, you need to add \cmd{normalsize}.
829 %
830 % ^^A\begin{minipage}{.4\textwidth}
831 %\begin{latexcode}
832 %\begin{verbatim}
833 %\linespread{0.956}\normalsize
834 %\geometry{...}
835 %\end{verbatim}
836 % \end{latexcode}
837 % ^^A \geometry{
838 % ^^A ignoreall,
839 % ^^A paperwidth = 140mm,
840 % ^^A paperheight = 210mm,
841 % ^^A textheight = 165mm,
842 % ^^A textwidth = 100mm,
843 % ^^A marginratio = 1:1,
844 % ^^A top = 2.07cm,
845 % ^^A headsep = 5.5mm,
846 % ^^A heightrounded}
847 % ^^A\end{minipage}
848 % ^^A\hfill
849 % ^^A\begin{minipage}{.555\textwidth}
850 % ^^A\begin{tikzpicture}[scale=2.81]
851 % ^^A\draw (0,0) rectangle (1.40cm,2.10cm);
852 % ^^A\draw[xshift=2mm,yshift=2.25mm,fill=gray!20,draw=none] (0,0) rectangle (1.00cm,1.65cm);
853 % ^^A\draw[xshift=1.6cm,yshift=2.25mm,fill=gray!20,draw=none] (0,0) rectangle (1.00cm,1.65cm);
854 % ^^A\draw[xshift=1.40cm] (0,0) rectangle (1.40cm,2.10cm);
855 % ^^A\end{tikzpicture}
856 % ^^A\end{minipage}
857 %
858 %\begin{figure}
859 % \vspace*{-1cm}
860 %\def\sufsetlengths{\sufsetlengthsA}
861 %
862 %\centerline{\sufpagesetup{0.18}{standard}{11}{22}{21}{29.7}\hspace{3mm}
863 %\sufpagesetup{0.18}{standardaureo}{13.6}{22}{21}{29.7}}\vspace{3mm}
864 %
865 %\centerline{\sufpagesetup{0.18}{periodical}{11}{16.5}{17}{24}\hspace{3mm}
866 %\sufpagesetup{0.18}{supercompact}{10}{15}{14}{21}\hspace{3mm}
867 %\sufpagesetup{0.18}{compact}{11}{16.5}{16}{24}}\vspace{3mm}
868 %
869 %\centerline{\sufpagesetup{0.18}{periodicalaureo}{12}{19.4}{17}{24}\hspace{3mm}
870 %\def\sufsetlengths{\sufsetlengthsB}%
871 %\sufpagesetup{0.18}{supercompactaureo}{10.8}{17.5}{14}{21}\hspace{3mm}
872 %\def\sufsetlengths{\sufsetlengthsA}%
873 %\sufpagesetup{0.18}{compactaureo}{11.8}{19.1}{16}{24}\hspace{3mm}}\vspace{3mm}
874 %
875 %\def\sufsetlengths{\sufsetlengthsC}
876 %
877 %\centerline{\sufpagesetup{0.18}{pocketa}{10.2}{15.3}{13.5}{20.8}\hspace{3mm}
878 %\sufpagesetup{0.18}{pocketc}{9}{15}{11.6}{19.3}\hspace{3mm}
879 %\sufpagesetup{0.18}{pocketb}{9.9}{16.5}{14}{21}}
880 % \caption{The eleven layouts of \sty{suftesi}}\label{fig:layouts}
881 %\end{figure}
882 %
883 % \optitem[final]{version}{\opt{screen}\OR\opt{cscreen}\OR\opt{draft}
884 % \OR\opt{final}}
885 % The following two options are provided to have a better view when
886 % you are typesetting and reading the \textsc{pdf} on the screen
887 % or for online publications.
888 % \begin{valuelist}
889 % \item[screen] Prints the PDF with its real dimensions.
890 % \item[cscreen] The same as \opt{version=screen} but with a centered
891 % typeblock.
892 % \end{valuelist}
893 % The following two options are meant for printed documents.
894 % \begin{valuelist}
895 % \item[draft]
896 % Prints the output on a A4 paper, showing the crop marks.
897 % Useless with \opt{standard} and \opt{standardaureo} layouts.
898 % \item[final] Prints the output on a A4 paper, hiding the crop marks.
899 % Useless with \opt{standard} and \opt{standardaureo} layouts.
900 % \end{valuelist}
901 %
902 % \begin{footnotesize}
903 %
904 % Sometimes it is not desirable to have the crop marks on every page.
905 % In such a case you can use the \cmd{crop}|[off]| command
906 % after the first page of the document.
907 %
908 % \end{footnotesize}
909 %
910 % \optitem[\cmd{baselineskip}]{parindent}{\meta{dimen}}
911 % \changes{v0.9b}{2012/09/23}{New option \opt{parindent}}
912 %
913 % 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).
914 %
915 %\begin{footnotesize}
916 %
917 %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}|.
918 %
919 %\end{footnotesize}
920 % \end{optionlist*}
921 %
922 % ^^A ----------------------------------------------------------------
923 % ^^A
924 % \subsection{Font}\label{sec:fonts}
925 % ^^A
926 % ^^A ----------------------------------------------------------------
927 %
928 % The default roman font is Cochineal by Michael Sharpe,
929 % the sans serif font is Linux Biolinum, designed by Philipp H.
930 % Poll,\index{Poll, Philipp H.} and the typewriter face is Inconsolata
931 % by Raph Levien. Cochineal is a fork of Crimson, by Sebastian Kosch,
932 % a font inspired by masterpieces like Sabon (Jan Tschichold) and Minion
933 % (Robert Slimbach). It is a very complete typeface and it offers full
934 % support for Greek and Cyrillic, real small caps (even in italic shape)
935 % and four figure styles. Moreover it provides support for mathematics
936 % through the \sty{newtxmath} package.
937 %
938 % The \opt{defaultfont} option allows you to can change the default roman
939 % font to New PX (Palatino-like), Linux Libertine, or Latin Modern.
940 % You can use other fonts as well, but in this case remember to load the
941 % \opt{defaultfont=none} option which turns off the default font settings.
942 %
943 % Today there are several Garamond-like fonts in \TeX~Live distribution.
944 % See, for example Garamond Libre and Cormorant Garamond.
945 % The Bembo-like fonts ETbb and fbb should also be considered if you
946 % appreciate humanist fonts. In any case, before using a font, read the
947 % license carefully.
948 %
949 % Another beautiful Garamond-like font, complete of real small caps,
950 % bold weight and mathematical support, is made available by the
951 % \sty{garamondx} package by Michael Sharpe, which provides an extension
952 % of the \sty{ugm} fonts, (URW)++ GaramondNo8 (see the License note in the
953 % package documentation at the web page \url{https://www.ctan.org/pkg/garamondx}).
954 % They are not distributed as part of \TeX~Live, but they may be downloaded
955 % using the \texttt{getnonfreefonts} script. See the instructions
956 % at \url{http://tug.org/fonts/getnonfreefonts/}.
957 %
958 % ^^A ----------------------------------------------------------------
959 % ^^A
960 % \subsubsection{General options}\label{sec:fonts:options:general}
961 % ^^A
962 % ^^A ----------------------------------------------------------------
963 %
964 % \begin{optionlist*}
965 % \optitem[cochineal]{defaultfont}{\opt{none}\OR\opt{cochineal}\OR\opt{libertine}\OR\opt{palatino}\OR\opt{standard}}
966 % \begin{valuelist}
967 % \item[none] Does not load any font (default with
968 % \hologo{XeLaTeX} or \hologo{LuaLaTeX}). Use this option
969 % if you want full control over the font selection
970 % \item[cochineal] Loads the Cochineal serif, the Linux Biolinum sans serif and the Inconsolata typewriter.
971 % \item[libertine] Loads the Linux Libertine serif, the Linux Biolinum sans serif and the Inconsolata typewriter.
972 % \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.
973 % ^^A and {\fontfamily{artemisia}\selectfont Artemisia} by the {\fontfamily{artemisia}\selectfont Greek Font Society} for the greek text.
974 % \item[standard] Loads the \sty{lmodern} package: Latin Modern font family and CB Greek.
975 % \end{valuelist}
976 %
977 % \optitem[10\OR 10pt]{fontsize}{\meta{dimen}}
978 % Sets the main font sizes for the document, changing the \cmd{baselineskip}
979 % accordingly. This option is based on the \sty{fontsize} package \parencite{fontsize}.
980 % The \meta{fontsize} can be given in any unit recognized
981 % by TeX (for example: \opt{6mm}, \opt{1ex}, \opt{11.5pt}).
982 % If the unit is not declared it defaults to \texttt{pt}.
983 % If you want to set a specific value for \cmd{baselineskip}
984 % you have to use the \cmd{changefontsize}\oarm{baselineskip}\arm{fontsize} command.
985 %
986 % \optitem[false]{loadfontsize}{\opt{true}\OR\opt{false}}
987 % The previous option has limitations in calculating values.
988 % It will be fixed, hopefully, in future versions.
989 % This option disables it by default and gives full access to the \sty{fontsize} package.
990 % If you have documents typeset with the previous option
991 % you can reactivate it with \opt{loadfontsize=true}
992 %
993 % \optitem[low]{smallcapsstyle}{\opt{low}\OR\opt{upper}}
994 % Effective only with \opt{\meta{level}font=smallcaps} and
995 % \opt{toc\meta{level}font=smallcaps} options (see sections \ref{sec:titles}
996 % and \ref{sec:toc}).
997 % With \hologo{XeLaTeX} or \hologo{LuaLaTeX} this option is effective only if a font
998 % selection command (such as \cmd{setmainfont}) is given.
999 % \begin{valuelist}
1000 % \item[low] Prints lowercase spaced \textsc{\lsstyle small capitals}.
1001 % \item[upper] Prints spaced \textsc{\lsstyle Small Capitals} with uppercase initials.
1002 % \end{valuelist}
1003 %
1004 %
1005 % \end{optionlist*}
1006 %
1007 % ^^A ----------------------------------------------------------------
1008 % ^^A
1009 % \subsubsection[Mathematics]{Mathematical support}
1010 % ^^A
1011 % ^^A ----------------------------------------------------------------
1012 %
1013 % The class loads by default a ‘minimal’ mathematical support for Cochineal
1014 % (default), Linux Libertine or New PX via the \sty{newtxmath} or
1015 % \sty{newpxmath} packages by Michael Sharpe. Moreover the \opt{mathfont}
1016 % option is provided to extend or disable the support for mathematics when
1017 % using these fonts. These non-standard fonts have a very good mathematical
1018 % support but if you aim at typesetting high mathematics the Latin Modern
1019 % font family remains, of course, the better choice: \opt{defaultfont=standard}.
1020 %
1021 % If some of the loaded packages conflict or if you simply want to change
1022 % some of the default font settings you should first reset the font default
1023 % with \opt{defaultfont=none} option and then load the packages in the right
1024 % order and with your favorite options.
1025 %
1026 % \begin{optionlist*}
1027 % \optitem[minimal]{mathfont}{\opt{none}\OR\opt{minimal}\OR\opt{extended}}
1028 %
1029 % Effective only with Cochineal, Libertine and New PX fonts.
1030 % \begin{valuelist}
1031 % \item[none] Do not load any mathematical support (default with
1032 % \hologo{XeLaTeX} or \hologo{LuaLaTeX}). Use this option if you need
1033 % some packages that have to be loaded before \sty{newtxmath} and \sty{newpxmath}.
1034 % \item[minimal] Loads \sty{newtxmath} (for Cochineal and Linux Libertine)
1035 % or \sty{newpxmath} (for PX Fonts).
1036 % \item[extended] Loads the previous option plus the \sty{amsthm} and \sty{mathalpha} packages.
1037 % \end{valuelist}
1038 % \end{optionlist*}
1039 %
1040 % ^^AFor example, these are the codes loaded for the three non-standard fonts:
1041 % ^^A
1042 % ^^A\paragraph{defaultfont=cochineal}
1043 % ^^A
1044 % ^^A\begin{latexcode}
1045 % ^^A\begin{verbatim}
1046 % ^^A\documentclass[defaultfont=none]{suftesi}
1047 % ^^A...
1048 % ^^A\usepackage{textcomp}
1049 % ^^A\usepackage{cochineal}
1050 % ^^A\usepackage[varqu,varl,var0]{inconsolata}
1051 % ^^A\usepackage{biolinum}
1052 % ^^A\usepackage{cochineal}
1053 % ^^A\usepackage{amsthm}
1054 % ^^A\usepackge[cochineal,bigdelims,cmintegrals,vvarbb]{newtxmath}
1055 % ^^A\usepackge[cal=boondoxo]{mathalpha}
1056 % ^^A\useosf
1057 % ^^A\useproportional
1058 % ^^A\end{verbatim}
1059 % ^^A\end{latexcode}
1060 % ^^A
1061 % ^^A\paragraph{defaultfont=palatino}
1062 % ^^A
1063 % ^^A\begin{latexcode}
1064 % ^^A\begin{verbatim}
1065 % ^^A\usepackage[full]{textcomp}
1066 % ^^A\usepackage{newpxtext}
1067 % ^^A\usepackage[scaled=1.06]{biolinum}
1068 % ^^A\usepackage[varqu,varl]{inconsolata}
1069 % ^^A\usepackage{amsthm}
1070 % ^^A\usepackage[bigdelims,vvarbb]{newpxmath}
1071 % ^^A\usepackage[cal=boondoxo]{mathalpha}
1072 % ^^A\useosf
1073 % ^^A\useproportional
1074 % ^^A\end{verbatim}
1075 % ^^A\end{latexcode}
1076 % ^^A
1077 % ^^A\paragraph{defaultfont=libertine}
1078 % ^^A
1079 % ^^A\begin{latexcode}
1080 % ^^A\begin{verbatim}
1081 % ^^A\usepackage{textcomp}
1082 % ^^A\usepackage[sb]{libertine}
1083 % ^^A\usepackage[varqu,varl,scaled=0.94]{inconsolata}
1084 % ^^A\usepackage{amsthm}
1085 % ^^A\usepackage[libertine,bigdelims,vvarbb]{newtxmath}
1086 % ^^A\usepackage[cal=boondoxo]{mathalpha}
1087 % ^^A\useosf
1088 % ^^A\end{verbatim}
1089 % ^^A\end{latexcode}
1090 %
1091 % ^^A ----------------------------------------------------------------
1092 % ^^A
1093 % \subsubsection[Greek]{Greek support}
1094 % ^^A
1095 % ^^A ----------------------------------------------------------------
1096 %
1097 % The Cochineal default font is complete of Greek and Cyrillic. Anyway
1098 % the class provides the \opt{greekfont} option
1099 % to select four different Greek fonts for use with the roman typeface
1100 % set by the \opt{defaultfont} option (except for the \opt{defaultfont=standard}
1101 % option, i.e. with Latin Modern font family which uses the CB Greek by default).
1102 % These fonts are: GFS Bodoni, GFS Artemisia, GFS Porson (by the Greek Font Society)
1103 % and CB Greek (by Claudio Beccari). You may, of course, choose a different font
1104 % but in this case, as previously cleared, remember to load the
1105 % \opt{defaultfont=none} option.
1106 %
1107 % \begin{optionlist*}
1108 % \optitem[none]{greekfont}{\opt{none}\OR\opt{artemisia}\OR\opt{porson}\OR\opt{bodoni}\OR\opt{cbgreek}}
1109 % Actually useless with \opt{defaultfont=none} and not available with \opt{defaultfont=standard} options.
1110 % \changes{v0.9b}{2012/09/23}{New option \opt{greekfont}}
1111 % \begin{valuelist}
1112 % \item[none] Does not load any Greek font (default with
1113 % \hologo{XeLaTeX} or \hologo{LuaLaTeX}).
1114 % \item[artemisia] Loads the Artemisia font by the Greek Font Society.
1115 % \item[porson] Loads the Porson font by the Greek Font Society.
1116 % \item[bodoni] Loads the Bodoni font by the Greek Font Society.
1117 % \item[cbgreek] Loads the standard CB~Greek font by Claudio Beccari.
1118 % \end{valuelist}
1119 % \end{optionlist*}
1120 %
1121 % \begin{mdframed}[backgroundcolor=philA!10,linecolor=white]
1122 %\greekexample{Cochineal-LF}{Cochineal-LF}{Cochineal/Cochineal}{12.15}
1123 %\greekexample{Cochineal-LF}{bodoni}{Cochineal/Bodoni}{11.25}
1124 %\greekexample{Cochineal-LF}{artemisia}{Cochineal/Artemisia}{11.8}
1125 %\greekexample{Cochineal-LF}{porson}{Cochineal/Porson}{\mygrsize}
1126 %\greekexample{Cochineal-LF}{lmr}{Cochineal/CB Greek}{\mygrsize}
1127 %\greekexample{LinuxLibertineT-OsF}{LinuxLibertineT-OsF}{Libertine/Libertine}{\mygrsize}
1128 %\greekexample{LinuxLibertineT-OsF}{bodoni}{Libertine/Bodoni}{11.2}
1129 %\greekexample{LinuxLibertineT-OsF}{artemisia}{Libertine/Artemisia}{11.7}
1130 %\greekexample{LinuxLibertineT-OsF}{porson}{Libertine/Porson}{\mygrsize}
1131 %\greekexample{LinuxLibertineT-OsF}{lmr}{Libertine/CB Greek}{\mygrsize}
1132 %\greekexample{zplosf}{bodoni}{New PX/Bodoni}{11.8}
1133 %\greekexample{zplosf}{artemisia}{New PX/Artemisia}{12.5}
1134 %\greekexample{zplosf}{porson}{New PX/Porson}{12.9}
1135 %\greekexample{zplosf}{lmr}{New PX/CB Greek}{12.9}
1136 %\greekexample{lmr}{cbgreek}{Latin Modern/CB Greek}{\mygrsize}
1137 % \end{mdframed}
1138 %
1139 % ^^A ----------------------------------------------------------------
1140 % ^^A
1141 % \subsection{Sectioning}\label{sec:titles}
1142 % ^^A
1143 % ^^A ----------------------------------------------------------------
1144 %
1145 %\begin{figure}
1146 %\fakechapter{1 Lorem ipsum}\hfill
1147 %\fakechapter{\centering I. \textit{Lorem ipsum}}\hfill
1148 %\fakechapter{\raggedleft \textsc{ii}. \textsc{\lsstyle lipsum}}
1149 %
1150 %\bigskip
1151 %
1152 %\fakechapter{3.\par \textsc{\lsstyle lipsum}}\hfill
1153 %\fakechapter{\centering \textsc{ii}.\par Lorem ipsum}\hfill
1154 %\fakechapter{\raggedleft II.\par \textit{ Lorem ipsum}}
1155 %
1156 %\caption{Six examples of section titles that can be obtained combining the class options}\label{fig:fakechapter}
1157 %\end{figure}
1158 %
1159 % ^^A ----------------------------------------------------------------
1160 % ^^A
1161 % \subsubsection{Options}\label{sec:titles:options}
1162 % ^^A
1163 % ^^A ----------------------------------------------------------------
1164 %
1165 % In the following options \meta{level} can be \opt{part}, \opt{chap}, \opt{sec},
1166 % \opt{subsec}, \opt{subsubsec}, \opt{par}, \opt{subpar}. You can see some
1167 % combinations of these options in figure \ref{fig:fakechapter}.
1168 %
1169 % \begin{optionlist*}
1170 % \optitem[roman]{\meta{level}font}{\opt{roman}\OR\opt{italic}\OR
1171 % \opt{smallcaps}}
1172 % \begin{valuelist}
1173 % \item[roman] Prints the \meta{level} title in roman.
1174 % \item[italic] Prints the \meta{level} title in \emph{italic}.
1175 % \item[smallcaps] Prints the \meta{level} title
1176 % in \textsc{\lsstyle spaced small caps}
1177 % \end{valuelist}
1178 %
1179 % \optitem[left]{\meta{level}style}{\opt{left}\OR\opt{center}\OR
1180 % \opt{right}\OR\opt{parleft}\OR\opt{parcenter}\OR
1181 % \opt{parright}}
1182 % \begin{valuelist}
1183 % \item[left] Aligns the \meta{level} title on the left.
1184 % \item[center] Centers the \meta{level} title.
1185 % \item[right] Aligns the \meta{level} title on the right.
1186 % \item[parleft] As \opt{left} but with the title below the number.
1187 % \item[parcenter] As \opt{center} but with the title below the number.
1188 % \item[parright] As \opt{right} but with the title below the number.
1189 % \end{valuelist}
1190 % \optitem[arabic/Roman {\rmfamily(part)}]{\meta{level}numstyle}{\opt{arabic}\OR
1191 % \opt{roman}\OR\opt{Roman}\OR\opt{dotarabic}\OR\opt{dotroman}\OR
1192 % \opt{dotRoman}}
1193 % \begin{valuelist}
1194 % \item[arabic] Arabic \meta{level} number.
1195 % \item[roman] Small caps lowercase roman \meta{level} number.
1196 % \item[Roman] Uppercase roman \meta{level} number.
1197 % \item[dotarabic] As \opt{arabic} but followed by a dot.
1198 % \item[dotroman] As \opt{roman} but followed by a dot.
1199 % \item[dotRoman] As \opt{Roman} but followed by a dot.
1200 % \end{valuelist}
1201 %
1202 % \optitem[false]{partpage}{\opt{true}\OR\opt{false}}
1203 % \changes{v0.9b}{2012/09/23}{New option \opt{partpage}}
1204 % Effective only with \opt{structure=article}.
1205 % \begin{valuelist}
1206 % \item[true] Prints the part title in a separate page as in
1207 % \opt{structure=book}
1208 % \item[false] Prints a part title similar to the one used in the standard \opt{article} class.
1209 % \end{valuelist}
1210 % \end{optionlist*}
1211 %
1212 % ^^A ----------------------------------------------------------------
1213 % ^^A
1214 % \subsubsection{Commands}\label{sec:titles:commands}
1215 % ^^A
1216 % ^^A ----------------------------------------------------------------
1217 %
1218 % \changes{v2.9.3}{2020/001/29}{New commands to change the font of the section titles and numbers.}
1219 %
1220 % 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{hspace}, \cmd{vspace}, and so on.
1221 %
1222 % Below \meta{level} can be \opt{part},
1223 % \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
1224 %
1225 % \begin{ltxsyntax}
1226 % \cmditem*{\meta{level}font}{definition}
1227 %
1228 % Changes the font of the \meta{level} title.
1229 %
1230 % \cmditem*{\meta{level}numfont}{definition}
1231 %
1232 % Changes the font of the \meta{level} number.
1233 %
1234 % For example, if you used the \opt{chapfont=smallcaps} option, you can change the size of the chapter title accordingly with:
1235 % \begin{latexcode}
1236 %\begin{verbatim}
1237 %\chapfont{\fontsize{13}{17}\scshape\lsstyle\expandafter\MakeLowercase}
1238 %\end{verbatim}
1239 % \end{latexcode}
1240 %
1241 % Combining these commands you can get something like this (or something worse/better):
1242 % \begin{latexcode}
1243 %\begin{verbatim}
1244 %\documentclass[pagelayout=periodical\partnameaureo,11pt,
1245 %version=cscreen,chapstyle=parright]{suftesi}
1246 %
1247 %\usepackage{xcolor,lipsum}
1248 %
1249 %\chapfont{\bfseries\sffamily\scshape\LARGE}
1250 %\secfont{\sffamily\fontsize{14.5}{15.5}\selectfont}
1251 %
1252 %\chapnumfont{\hskip1cm\hbox{\bfseries\fontsize{100}{100}\selectfont%
1253 %\color{gray}\arabic{chapter}}\hskip-1cm}
1254 %\secnumfont{\bfseries---\,\arabic{chapter}.\arabic{section}}
1255 %
1256 %\begin{document}
1257 %
1258 %\chapter{Lorem ipsum dolor sit amet, consectetuer adipiscing elit}
1259 %
1260 %\section{Dolor sit amet}
1261 %\lipsum[1-2]
1262 %
1263 %\section{Lorem ipsum dolor sit amet}
1264 %\subsection{Dolor sit amet}
1265 %\lipsum[1]
1266 %
1267 %\end{document}
1268 %\end{verbatim}
1269 % \end{latexcode}
1270 % \end{ltxsyntax}
1271 %
1272 % \begin{ltxsyntax}
1273 % \cmditem{breakintoc}
1274 % \cmditem{breakinbody}
1275 % \cmditem{breakinbodyleft}
1276 %
1277 % Manual breaks which are active in the the table of contents
1278 % and in the body text respectivley.
1279 % The last one replaces \cmd{breakinbody} to avoid bad line alignments
1280 % when the \opt{\meta{level}style=left} options are used.
1281 %
1282 % \begin{latexcode}
1283 %\begin{verbatim}
1284 %\section{This title will be break here \breakintoc inside the contents}
1285 %\section{This title will be break here \breakinbody inside the body text}
1286 %\section{This title will be break here \breakinbodyleft inside the body text}
1287 %\end{verbatim}
1288 % \end{latexcode}
1289 %
1290 % \cmditem{chapterintro}
1291 %
1292 % Prints an unnumbered introduction at the beginning of the chapter,
1293 % with the correct hyperlink.
1294 % \cmditem{chapterintroname}{name}\hfill default: \texttt{Introduzione}
1295 %
1296 % Changes in \meta{name} the title printed by the \cmd{chapterintro} command.
1297 %
1298 % \end{ltxsyntax}
1299 %
1300 % \changes{v0.5}{2011/10/21}{New command \opt{chapnumfont}}
1301 %
1302 % ^^A ----------------------------------------------------------------
1303 % ^^A
1304 % \subsection{Contents lists}\label{sec:toc}
1305 % ^^A
1306 % ^^A ----------------------------------------------------------------
1307 %
1308 % ^^A ----------------------------------------------------------------
1309 % ^^A
1310 % \subsubsection{Options}\label{sec:toc:options}
1311 % ^^A
1312 % ^^A ----------------------------------------------------------------
1313 %
1314 % \begin{optionlist*}
1315 % \optitem[standard]{tocstyle}{\opt{standard}\OR\opt{dotted}\OR
1316 % \opt{ragged}\OR\opt{leftpage}}
1317 % \changes{v0.9b}{2012/09/23}{New option \opt{tocstyle}}
1318 % \begin{valuelist}
1319 % \item[standard] Prints a standard table of contents with
1320 % page numbers on the right.
1321 % \item[dotted] As the previous one but with dotted lines.
1322 % \item[ragged] Aligns the table of contents on the left
1323 % as suggested by \textcite{Bringhurst:1992}.
1324 % \item[leftpage] Prints a table of contents with page numbers
1325 % on the left margin.
1326 % \end{valuelist}
1327 % \optitem[sec]{compacttoc}{\opt{sec}\OR\opt{subsec}\OR
1328 % \opt{subsubsec}\OR\opt{par}\OR\opt{subpar}}
1329 % \begin{valuelist}
1330 % \item[sec] Prints the sections, subsections and sub-subsections
1331 % in a single paragraph. Note that in this case the option
1332 % \opt{tocstyle=dotted} is uneffective as the dots are not printed for chapter entries.
1333 % \item[subsec] Prints the subsections and sub-subsections in a single paragraph.
1334 % \item[subsubsec] Prints the sub-subsections in a single paragraph.
1335 % \item[par] Prints the paragraphs in a single paragraph.
1336 % \item[subpar] Prints the subparagraphs in a single paragraph.
1337 % \end{valuelist}
1338 % \optitem[roman]{toc\meta{level}font}{\opt{roman}\OR\opt{italic}\OR
1339 % \opt{smallcaps}}
1340 % Where \meta{level} can be \opt{part}, \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}, \opt{par}, \opt{subpar}.
1341 % \begin{valuelist}
1342 % \item[roman] Prints the \meta{level} ToC entry in roman.
1343 % \item[italic] Prints the \meta{level} ToC entry in \emph{italic}.
1344 % \item[smallcaps] Prints the \meta{level} ToC entry
1345 % in \textsc{\lsstyle spaced small caps}
1346 % \end{valuelist}
1347 % \optitem[all]{twocolcontents}{\opt{toc}\OR\opt{lof}\OR
1348 % \opt{lot}\OR\opt{toclof}\OR\opt{toclot}\OR\opt{loflot}\OR\opt{all}}
1349 % This option activates the \opt{tocstyle=ragged} option
1350 % and disables the other values of \opt{tocstyle}.
1351 % \begin{valuelist}
1352 % \item[toc] Prints the table of contents in two columns.
1353 % \item[lof] Prints the list of figures in two columns.
1354 % \item[lot] Prints the list of tables in two columns.
1355 % \item[toclof] Prints the table of contents
1356 % and the list of figures in two columns.
1357 % \item[toclot] Prints the table of contents
1358 % and the list of tables in two columns.
1359 % \item[loflot] Prints the list of figures
1360 % and the list of tables in two columns.
1361 % \item[all] Prints all the contents lists in two columns.
1362 % \end{valuelist}
1363 %
1364 % \optitem[false]{partialtoc}{\opt{true}\OR\opt{false}}
1365 % \begin{valuelist}
1366 % \item[true] Enable the \cmd{printpartialtoc} command to get a
1367 % partial ToC after the title of chapters
1368 % (\opt{book} structure) or sections (\opt{article} structure).
1369 % \item[false] Disables \cmd{printpartialtoc} command.
1370 % \end{valuelist}
1371 %
1372 % \end{optionlist*}
1373 %
1374 % ^^A ----------------------------------------------------------------
1375 % ^^A
1376 % \subsubsection{Commands}\label{sec:toc:commands}
1377 % ^^A
1378 % ^^A ----------------------------------------------------------------
1379 %
1380 % ^^A ----------------------------------------------------------------
1381 % ^^A
1382 % \paragraph{General commands}\label{sec:toc:commands:general}\mbox{}
1383 % ^^A
1384 % ^^A ----------------------------------------------------------------
1385 %
1386 % Below \meta{level} can be \opt{part},
1387 % \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}.
1388 %
1389 % \begin{ltxsyntax}
1390 %
1391 % \cmditem*{toc\meta{level}font}{definition}
1392 %
1393 % Changes the font of the \meta{level} title.
1394 %
1395 % \cmditem*{toc\meta{level}numfont}{definition}
1396 %
1397 % Changes the font of the \meta{level} number.
1398 %
1399 % \end{ltxsyntax}
1400 %
1401 % Below \meta{level} can be \opt{part}, \opt{chap}, \opt{sec}, \opt{subsec}, \opt{subsubsec}, \opt{par}, \opt{subpar}, \opt{fig}, \opt{tab}.
1402 %
1403 % \begin{ltxsyntax}
1404 % \cmditem{toclabelwidth}{level}{dim}
1405 % \changes{v0.9a}{2012/08/31}{New command \cmd{toclabelspace}}
1406 %
1407 % Adds the \meta{dim} to the \meta{level} label in the table of contents. For example, when using \opt{chapnumstyle=Roman} you would probably need to adjust the width of the chapter label with |\toclabelwidth{chap}{1em}|.
1408 %
1409 % \cmditem*{tocpartname}{definition}\hfill default: \cmd{partname}
1410 %
1411 % Changes the definition of ``Part'' name in ToC. For example:
1412 % \begin{latexcode}
1413 %\begin{verbatim}
1414 %\tocpartname{\begingroup\sffamily\Huge Part\endgroup}
1415 %\end{verbatim}
1416 % \end{latexcode}
1417 % To change the definition of \cmd{partname} you have to use the commands provided
1418 % by the \sty{babel} package. For example, if the document is in Italian you will
1419 % need something like this:
1420 % \begin{latexcode}
1421 %\begin{verbatim}
1422 %\addto{\captionsitalian}{%
1423 % \renewcommand{\partname}{\begingroup\sffamily\Huge Parte\endgroup}
1424 %\end{verbatim}
1425 % \end{latexcode}
1426 % Note that in both cases the definition must be enclosed in a group
1427 % to prevent it from changing what follows (i.e. the part number and the part title).
1428 % \end{ltxsyntax}
1429 %
1430 %
1431 % ^^A ----------------------------------------------------------------
1432 % ^^A
1433 % \paragraph{Partial ToCs}\label{sec:toc:partialtoc}\mbox{}
1434 % ^^A
1435 % ^^A ----------------------------------------------------------------
1436 %
1437 % To use the command in this seciton load the \opt{partialtoc} option.
1438 %
1439 % \begin{ltxsyntax}
1440 % \cmditem{printpartialtoc}
1441 %
1442 % A command to print a partial ToC to be used after the \cmd{chapter}
1443 % and \cmd{section} commands, respectively in \opt{book} and \opt{article} structures.
1444 %
1445 % \cmditem*{partialtoc\meta{level}font}{definition}
1446 % \cmditem*{partialtoc\meta{level}labelfont}{definition}
1447 %
1448 % Sets the font of the partial ToC \meta{level} and \meta{level}'s label respectively.
1449 % Where \meta{level} can be \opt{sec}, \opt{subsec}, \opt{subsubsec}, \opt{par}, \opt{subpar}.
1450 %
1451 % \cmditem*{partialtocsize}{definition}
1452 %
1453 % Sets the font size of the partial ToC.
1454 %
1455 % \cmditem*{partialtocbeforespace}{dimen} \hfill default: |0pt|
1456 %
1457 % Sets the space before the partial ToC.
1458 %
1459 % \cmditem*{partialtocafterpace}{dimen} \hfill default: |2|\cmd{baselineskip}
1460 %
1461 % Sets the space after the partial ToC.
1462 %
1463 % \cmditem*{partialtocbeforecode}{definition}
1464 %
1465 % Arbitrary code to be executed before the partial ToC.
1466 %
1467 % \cmditem*{partialtocaftercode}{definitio}
1468 %
1469 % Arbitrary code to be executed after the partial ToC.
1470 % \end{ltxsyntax}
1471 %
1472 % Here is an example of the use of these commands:
1473 %
1474 % \begin{latexcode}
1475 %\begin{verbatim}
1476 %\partialtocsize{\footnotesize}
1477 %\partialtocsecfont{\bfseries\itshape}
1478 %\partialtocsubsecfont{\itshape}
1479 %\partialtocseclabel{\bfseries}
1480 %\partialtocbeforecode{\hrule\smallskip\textbf{Contents}\smallskip}
1481 %\partialtocaftercode{\smallskip\hrule}
1482 %\end{verbatim}
1483 % \end{latexcode}
1484 % which gives this very questionable result:
1485 %
1486 % \begin{mdframed}[backgroundcolor=philA!10,linecolor=white]
1487 % \footnotesize
1488 % \null\medskip
1489 %
1490 % \hrule
1491 %
1492 % \textbf{Contents}\vskip-.5ex
1493 %
1494 % \textbf{1.1 \itshape Lorem ipsum dolor sit amet, consectetuer adipiscing elit}, 1.
1495 % 1.1.1 \textit{Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis}, 15.
1496 % 1.1.1.1 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna, 17.
1497 % 1.1.1.2 Donec vehicula augue eu neque, 21.
1498 % 1.1.2 \textit{Cras viverra metus rhoncus sem}, 26.
1499 % 1.1.2.1 Nulla et lectus vestibulum urna fringilla ultrices, 29.
1500 % 1.1.2.2 Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas, 34.
1501 % \textbf{1.2 \itshape Nulla et lectus vestibulum urna fringilla ultrices}, 35.
1502 % 1.2.1 \textit{Cras viverra metus rhoncus sem}, 39.
1503 % 1.2.1.1 Donec vehicula augue eu neque, 40.
1504 % 1.2.1.2 Phasellus eu tellus sit amet tortor gravida placerat, 45.
1505 % 1.2.2 \textit{Mauris ut leo}, 49.
1506 % \smallskip
1507 %
1508 % \hrule
1509 % \end{mdframed}
1510 %
1511 % For more radical changes you can of course define your own partial ToC with your
1512 % favorite package or use the syntax of \sty{titletoc}
1513 % to redefine the levels to be customized:
1514 % \begin{itemize}
1515 % \item \opt{partialtocsection}
1516 % \item \opt{partialtocsubsection}
1517 % \item \opt{partialtocsubsubsection}
1518 % \item \opt{partialtocparagraph}
1519 % \item \opt{partialtocsubparagraph}
1520 % \end{itemize}
1521 %
1522 % For example, the following settings:
1523 %
1524 % \begin{latexcode}
1525 %\begin{verbatim}
1526 %\titlecontents*{partialtocsection}[0cm]
1527 % {}
1528 % {\S\ \thecontentslabel\ \itshape}
1529 % {}
1530 % {, \thecontentspage.}
1531 %
1532 %\titlecontents*{partialtocsubsection}[0cm]
1533 % {}
1534 % {\ -- \thecontentslabel\ }
1535 % {}
1536 % {, \thecontentspage.}
1537 %\end{verbatim}
1538 % \end{latexcode}
1539 % gives this result:
1540 %
1541 % \begin{mdframed}[backgroundcolor=philA!10,linecolor=white]
1542 % \footnotesize
1543 % § 1.1 \textit{Lorem ipsum dolor sit amet, consectetuer adipiscing elit}, 1.
1544 % -- 1.1.1 Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis, 12.
1545 % -- 1.1.2 Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna, 15.
1546 % -- 1.1.3 Donec vehicula augue eu neque, 23.
1547 % § 1.2 \textit{Cras viverra metusrhoncus sem}, 29.
1548 % -- 1.2.1 Mauris ut leo, 31.
1549 % -- 1.2.2 Phasellus eu tellus sit amet tortor gravida placerat, 35.
1550 % -- 1.2.3 Donec vehicula augue eu neque, 37.
1551 % § 1.3 \textit{Nulla et lectus vestibulum urna fringilla ultrices}, 42.
1552 % -- 1.3.1 Cras viverra metus rhoncus sem, 54.
1553 % -- 1.3.2 Pellentesque habitant morbi, 56.
1554 % -- 1.3.3 Nonummy eget, consectetuer id, 63.
1555 % \end{mdframed}
1556 %
1557 % ^^A ----------------------------------------------------------------
1558 % ^^A
1559 % \subsection{Headers and footers}
1560 % ^^A
1561 % ^^A ----------------------------------------------------------------
1562 %
1563 % \begin{optionlist*}
1564 % \optitem[inner]{headerstyle}{\opt{inner}\OR\opt{center}\OR
1565 % \opt{plain}\OR\opt{authortitleinner}\OR\opt{authortitlecenter}}
1566 % \begin{valuelist}
1567 % \item[inner] Prints the chapter title and ``Chapter~
1568 % \meta{n}'' in the inner side
1569 % of even and odd
1570 % headers respectively, and the page number in the outer side.
1571 % \item[center] Centers the header and footer and puts
1572 % the page number in the center of the footer.
1573 % \item[plain] Prints no headers and puts the page number
1574 % in the center of the footer.
1575 % \item[authortitleinner]
1576 % Prints the author's
1577 % name on the even pages and the title on the odd ones.
1578 % In order to use this option the \cmd{title} and
1579 % \cmd{author} commands are required.
1580 % \item[authortitlecenter]
1581 % As the previous one but with centered headers and footers.
1582 % \end{valuelist}
1583 % \optitem[roman]{headerfont}{\opt{roman}\OR\opt{italic}\OR\opt{smallcaps}}
1584 % \begin{valuelist}
1585 % \item[roman] Prints the headers in roman.
1586 % \item[italic] Prints the headers in \emph{italic}.
1587 % \item[smallcaps] Prints the headers in \textsc{\lsstyle spaced small caps}.
1588 % \end{valuelist}
1589 %
1590 % \optitem[false]{draftdate}{\opt{true}\OR\opt{false}}
1591 % \changes{v1.0}{2012/10/14}{First stable release. Renamed option \opt{bozza} to \opt{draftdate}}
1592 % If \opt{true} it prints the string ``Version of \meta{date}'' in the footer.
1593 % It requires the \cmd{date}\ar{\meta{date}} command.
1594 % \end{optionlist*}
1595 %
1596 % ^^A ----------------------------------------------------------------
1597 % ^^A
1598 % \subsection{Notes}\label{sec:notes}
1599 % ^^A
1600 % ^^A ----------------------------------------------------------------
1601 %
1602 % ^^A ----------------------------------------------------------------
1603 % ^^A
1604 % \subsubsection{Options}\label{sec:notes:options}
1605 % ^^A
1606 % ^^A ----------------------------------------------------------------
1607 %
1608 %\begin{figure}
1609 %\makeatletter
1610 %\fakefootnote{\renewcommand\@makefntext{%
1611 % \hskip-2.5em\makebox[2em][r]{\scriptsize\@thefnmark}\hskip.5em}
1612 %}\hfill
1613 %\fakefootnote{\renewcommand\@makefntext{%
1614 % \leftskip=1em\hskip-1.5em%
1615 % \makebox[1em][r]{\scriptsize\@thefnmark}\hskip.5em}}
1616 %
1617 %\medskip
1618 %
1619 %\fakefootnote{\renewcommand\@makefntext{%
1620 % \scriptsize\@thefnmark.\hskip.5em}%
1621 %}\hfill
1622 %\fakefootnote{\renewcommand\@makefntext{%
1623 % \raisebox{3pt}{\scriptsize\@thefnmark}\hskip.3em}\vspace*{5pt}}
1624 %\makeatother
1625 %\caption{The four styles for the footnotes: \opt{bulged}, \opt{hung}, \opt{dotted}, \opt{superscript}}\label{fig:fakefootnote}
1626 %\end{figure}
1627 %
1628 % \begin{optionlist*}
1629 % \optitem[bulged]{footnotestyle}{\opt{bulged}\OR\opt{hung}\OR
1630 % \opt{dotted}\OR\opt{superscript}}
1631 % \changes{v0.9b}{2012/09/23}{Changed \opt{standardfootnote} option
1632 % and renamed to \opt{footnotestyle}}
1633 % \begin{valuelist}
1634 % \item[bulged] The footnote number protrudes beyond the left margin.
1635 % \item[hung]
1636 % Indents the footnote text, so it will hang
1637 % under the first line of the text.
1638 % \item[dotted]
1639 % The footnote number is aligned to the left margin
1640 % and followed by a dot.
1641 % \item[superscript]
1642 % Prints a superscript footnote number aligned to the left margin.
1643 % \end{valuelist}
1644 % \optitem[false]{fewfootnotes}{\opt{true}\OR\opt{false}}
1645 % \changes{v0.9b}{2012/09/23}{New option \opt{fewfootnotes}}
1646 % \begin{valuelist}
1647 % \item[true] Uses symbols instead of numbers to mark the footnotes.
1648 % It is available only in documents with
1649 % three footnotes per page maximum.
1650 % The symbol sequence is: *, **, ***.
1651 % Two \LaTeX{} runs are required.
1652 % \item[false] Uses numbers to mark the footnotes.
1653 % \end{valuelist}
1654 %
1655 % \optitem[true]{marginpar}{\opt{true}\OR\opt{false}}
1656 % \begin{valuelist}
1657 % \item[true] Prints the marginal notes set with \cmd{marginpar}.
1658 % \item[false] Hide the marginal notes set with \cmd{marginpar}.
1659 % \end{valuelist}
1660 % \optitem[standard]{captionstyle}{\opt{standard}\OR\opt{sanserif}\OR\opt{italic}\OR\opt{smallcaps}}
1661 % All these values print the caption in small size, changing the shape:
1662 % \begin{valuelist}
1663 % \item[standard]
1664 % Prints the caption text and label in normal font.
1665 % \item[sanserif]
1666 % Prints the caption text and label in \textsf{sanserif}.
1667 % \item[italic]
1668 % Prints the caption text and label in \emph{italic}.
1669 % \item[smallcaps]
1670 % Prints only the caption label in \textsc{\lsstyle spaced small caps}.
1671 % \end{valuelist}
1672 %
1673 % \end{optionlist*}
1674 %
1675 % ^^A ----------------------------------------------------------------
1676 % ^^A
1677 % \subsubsection{Commands}\label{sec:notes:commands}
1678 % ^^A
1679 % ^^A ----------------------------------------------------------------
1680 %
1681 % \begin{ltxsyntax}
1682 % \cmditem{xfootnote}[symbol]{footnote text}
1683 % \changes{v0.9b}{2012/09/23}{New command \cmd{xfootnote}}
1684 %
1685 % Aa command to print a footnote with a discretionary
1686 % symbols given in the optional argument (default:~\texttt{*}).
1687 % It does not increment the footnote counter.
1688 %
1689 % \cmditem{marginpar}{text}
1690 %
1691 % A redefinition of the standard command that prints a marginal note
1692 % in italic shape and footnote size.
1693 % \end{ltxsyntax}
1694 %
1695 % ^^A ----------------------------------------------------------------
1696 % ^^A
1697 % \subsection{Lists and quotations}\label{sec:lists}
1698 % ^^A
1699 % ^^A ----------------------------------------------------------------
1700 %
1701 %\begin{figure}
1702 % \fakelist{0pt}\hfill
1703 % \fakelist{1em}\hfill
1704 % \fakelist{2em}
1705 %\caption{The three styles for the lists: \opt{bulged}, \opt{aligned}, \opt{indented}}\label{fig:fakelist}
1706 %\end{figure}
1707 %
1708 % \begin{optionlist*}
1709 % \optitem[bulged]{liststyle}{\opt{bulged}\OR\opt{aligned}\OR\opt{indented}}
1710 % \begin{valuelist}
1711 % \item[bulged]
1712 % The item number or symbol protrudes beyond the left margin.
1713 % \item[aligned]
1714 % Aligns the lists to the left margin.
1715 % \item[indented]
1716 % Prints standard indented lists.
1717 % \end{valuelist}
1718 % \end{optionlist*}
1719 %
1720 %\begin{figure}
1721 %\fakequotation{\rightmargin1em\leftmargin1em}\hfill
1722 %\fakequotation{\leftmargin1em}\hfill
1723 %\fakequotation{\leftmargin0pt}
1724 %\caption{The three styles for the block quotations: \opt{center}, \opt{right}, \opt{justify}}\label{fig:fakequotation}
1725 %\end{figure}
1726 %
1727 % \begin{optionlist*}
1728 % \optitem[center]{quotestyle}{\opt{center}\OR\opt{right}\OR\opt{justify}}
1729 % \changes{v0.9b}{2012/09/23}{New option \opt{quotestyle}}
1730 % \begin{valuelist}
1731 % \item[center]
1732 % Indents the block quotations on both the left and right margins.
1733 % \item[right]
1734 % Indents the block quotations only on the left margin.
1735 % \item[justify]
1736 % Does not indents the block quotations.
1737 % \end{valuelist}
1738 % \optitem[footnotesize]{quotesize}{\opt{small}, \dots, \opt{footnotesize}, \dots, \opt{scriptsize}, \dots}
1739 % You can use all the sizes made available by the \sty{fontsize} package \parencite{fontsize}.
1740 % \changes{v0.9b}{2012/09/23}{New option \opt{quotationfont}}
1741 %
1742 % \end{optionlist*}
1743 %
1744 % ^^A ----------------------------------------------------------------
1745 % ^^A
1746 % \subsection{Pre-defined styles}\label{sec:predefined-styles}
1747 % ^^A
1748 % ^^A ----------------------------------------------------------------
1749 %
1750 % These pre-defined styles are intended as shortcuts to some groups of
1751 % class options. Combining them
1752 % with \opt{chapnumstyle} options
1753 % you can get up to 120 variants.
1754 %
1755 % \begin{optionlist*}
1756 % \optitem[roman1]{style}{\opt{roman(1-6)}\OR\opt{italic(1-12)}\OR
1757 % \opt{smallcaps(1-6)}}
1758 % \begin{valuelist}
1759 % \item[roman(1-6)] The titles of chapters and headers are printed
1760 % in roman. The number of the chapter is on the same line in styles
1761 % 1-3 and above the title in styles 4-6.
1762 % The title can be printed on the left (styles 1 and 4),
1763 % in the center (styles 2 and 5) or on the right (styles 3 and 6).
1764 % \item[italic(1-12)]
1765 % The titles of chapters and headers are in \emph{italic}. The section title is in \emph{italic}
1766 % in styles 1-6 and in \textsc{\lsstyle spaced small caps} in styles 7-12.
1767 % There are three position for the title and two positions for the number as above.
1768 % \item[smallcaps(1-12)]
1769 % The titles of chapters and headers are in \textsc{\lsstyle spaced small caps}.
1770 % The title of sections is in \emph{italic} in styles 1-6 and in
1771 % \textsc{\lsstyle spaced small caps} in styles 7-12.
1772 % There are three position for the title and two positions for the chapter as above.
1773 % \end{valuelist}
1774 % \end{optionlist*}
1775 %
1776 % ^^A ----------------------------------------------------------------
1777 % ^^A
1778 % \subsection{Title page}\label{sec:titlepage}
1779 % ^^A
1780 % ^^A ----------------------------------------------------------------
1781 %
1782 % The class provides a original and simple format for the \cmd{maketitle} commad
1783 % but you can print a standard title too (figure \ref{fig:maketitlestyle-suftesi}).
1784 % The font used for the author's name, the title and the date can be
1785 % easily customized through options and commands as well as the order
1786 % of author and title can be reversed.
1787 %
1788 % \begin{figure}
1789 %\begin{minipage}{.5\textwidth}
1790 %\centering
1791 %\begin{tikzpicture}
1792 % \draw[draw=gray,fill=white,drop shadow] (0,0) rectangle (.9\textwidth,-3)
1793 % node[midway] {%
1794 % \parbox{7cm}{
1795 % \centering
1796 %
1797 % \textcolor{sufred}{\Large\sffamily The Art of Kicking}
1798 % \bigskip
1799 %
1800 % {\small Bruce Lee}
1801 % \smallskip
1802 %
1803 % {\small\today}
1804 % }
1805 % };
1806 %\end{tikzpicture}
1807 %\end{minipage}
1808 %\begin{minipage}{.5\textwidth}
1809 %\begin{tikzpicture}
1810 % \draw[draw=gray,fill=white,drop shadow] (0,0) rectangle (.9\textwidth,-3)
1811 % node[midway] {%
1812 % \parbox{7cm}{
1813 % \centering
1814 %
1815 % {\small Bruce Lee}
1816 % \bigskip
1817 %
1818 % \textcolor{sufred}{\Large\sffamily The Art of Kicking}
1819 % \smallskip
1820 %
1821 % {\small\today}
1822 % }
1823 % };
1824 %\end{tikzpicture}
1825 %\end{minipage}
1826 %
1827 %\bigskip
1828 %
1829 %\begin{minipage}{.5\textwidth}
1830 %\centering
1831 %\begin{tikzpicture}
1832 % \draw[draw=gray,fill=white,drop shadow] (0,0) rectangle (.9\textwidth,-3)
1833 % node[midway] {%
1834 % \parbox{7cm}{
1835 % \centering
1836 %
1837 % {\LARGE The Art of Kicking}
1838 % \bigskip
1839 %
1840 % {\large Bruce Lee}
1841 % \smallskip
1842 %
1843 % {\large\today}
1844 % }
1845 % };
1846 %\end{tikzpicture}
1847 %\end{minipage}
1848 %\begin{minipage}{.5\textwidth}
1849 %\begin{tikzpicture}
1850 % \draw[draw=gray,fill=white,drop shadow] (0,0) rectangle (.9\textwidth,-3)
1851 % node[midway] {%
1852 % \parbox{7cm}{
1853 % \centering
1854 %
1855 % {\large Bruce Lee}
1856 % \bigskip
1857 %
1858 % {\LARGE The Art of Kicking}
1859 % \smallskip
1860 %
1861 % {\large\today}
1862 % }
1863 % };
1864 %\end{tikzpicture}
1865 %\end{minipage}
1866 %
1867 %\caption{The \opt{suftesi} (above) and \opt{standard} (below) title style}
1868 % \label{fig:maketitlestyle-suftesi}
1869 %
1870 %
1871 % \end{figure}
1872 %
1873 %
1874 % ^^A ----------------------------------------------------------------
1875 % ^^A
1876 % \subsubsection{Options}
1877 % ^^A
1878 % ^^A ----------------------------------------------------------------
1879 %
1880 % \begin{optionlist*}
1881 % \optitem[suftesi]{maketitlestyle}{\opt{suftesi}\OR\opt{standard}}
1882 % \begin{valuelist}
1883 % \item[suftesi] The \cmd{maketitle} command prints a \sty{suftesi}-style author-title block.
1884 % \item[standard] The \cmd{maketitle} command prints a standard author-title block.
1885 % \end{valuelist}
1886 %
1887 % \optitem[false]{reverseauthortitle}{\opt{true}\OR\opt{false}}
1888 % \begin{valuelist}
1889 % \item[true] Prints the author’s name above (below with \opt{structure=collection}) the title.
1890 % \item[false] Prints the author’s name below (below with \opt{structure=collection}) the title.
1891 % \end{valuelist}
1892 %
1893 % \optitem[roman]{titlefont}{\opt{roman}\OR\opt{italic}\OR\opt{smallcaps}}
1894 % \begin{valuelist}
1895 % \item[roman] Prints the title in roman.
1896 % \item[italic] Prints the title in \emph{italic}.
1897 % \item[smallcaps] Prints the title
1898 % in \textsc{\lsstyle spaced small caps}.
1899 % \end{valuelist}
1900 %
1901 % \optitem[roman]{authorfont}{\opt{roman}\OR\opt{italic}\OR\opt{smallcaps}}
1902 % \begin{valuelist}
1903 % \item[roman] Prints the author's name in roman.
1904 % \item[italic] Prints the author's name in \emph{italic}.
1905 % \item[smallcaps] Prints the author's name in \textsc{\lsstyle spaced small caps}.
1906 % With this option remember to protect the \cmd{thanks} command:\\
1907 % |\author{The Author\protect\thanks{...}}|.
1908 % \end{valuelist}
1909 %
1910 % \optitem[roman]{datefont}{\opt{roman}\OR\opt{italic}\OR\opt{smallcaps}}
1911 % \begin{valuelist}
1912 % \item[roman] Prints the date in roman.
1913 % \item[italic] Prints the date in \emph{italic}.
1914 % \item[smallcaps] Prints the date in \textsc{\lsstyle spaced small caps}.
1915 % \end{valuelist}
1916 %
1917 % \end{optionlist*}
1918 %
1919 % ^^A ----------------------------------------------------------------
1920 % ^^A
1921 % \subsubsection{Commands}\label{sec:titlepage-commands}
1922 % ^^A
1923 % ^^A ----------------------------------------------------------------
1924 %
1925 % \begin{ltxsyntax}
1926 % \cmditem{title}[short title for headers]{complete title for title page}
1927 % \changes{v0.8}{2012/03/19}{Renewed \cmd{title} command}
1928 %
1929 % Redefinition of the standard command with a new optional argument
1930 % for the short title to be printed in the headers. Particularly useful
1931 % with the \opt{headerstyle=authortitle} option.
1932 %
1933 % \cmditem{titlefont}{definition}
1934 % \cmditem{authorfont}{definition}
1935 % \cmditem{datefont}{definition}
1936 %
1937 % 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:
1938 %
1939 % \begin{latexcode}
1940 %\begin{verbatim}
1941 %\titlefont{\bfseries\sffamily\scshape}
1942 %\authorfont{\itshape\sffamily}
1943 %\end{verbatim}
1944 % \end{latexcode}
1945 % \end{ltxsyntax}
1946 %
1947 % ^^A ----------------------------------------------------------------
1948 % ^^A
1949 % \subsection{Cover page}
1950 % ^^A
1951 % ^^A ----------------------------------------------------------------
1952 %
1953 % Since version 2.6 \sty{suftesi} provides a command to print a simple
1954 % cover page (figure \ref{fig:cover}), inspired by the Italian designer
1955 % Bruno \textcite[85-89]{munari:arte-come-mestiere}. The color used for
1956 % the text and the circle as well as other graphical elements are partially
1957 % customizable. Anyway,
1958 % to produce a complete book cover, with spine and dust jacket, you should
1959 % take a look at the \sty{bookcover} class by Tibor \textcite{bookcover}.
1960 %
1961 % \begin{ltxsyntax}
1962 % \cmditem{makecover}[tikz options]
1963 %
1964 % Prints the cover page (figure \ref{fig:cover}). This command requires \sty{tikz}
1965 % and the optional argument accepts the same options of the \cmd{draw}
1966 % command of that package (see the examples below). Commands available:
1967 %
1968 % \cmditem{Cauthor}{text}
1969 %
1970 % Printed at the top of the circle.
1971 %
1972 % \cmditem{Ctitle}{text}
1973 %
1974 % Printed below the author.
1975 %
1976 % \cmditem{Csubtitle}{text}
1977 %
1978 % Printed below the title.
1979 %
1980 % \cmditem{Ceditor}{text}
1981 %
1982 % Printed below the subtitle.
1983 %
1984 % \cmditem{Cfoot}{text}
1985 %
1986 % Printed in the footer.
1987 %
1988 % The color of the circle can be customized using the optional argument of the \cmd{makecover} command. For the other elements of the cover page the following commands are available. (You can load \sty{xcolor} with your favorite option to access to many beautiful colors.)
1989 %
1990 % \cmditem{Cpagecolor}{color}
1991 %
1992 % The color of the cover page.
1993 %
1994 % \cmditem{Ctextcolor}{color}
1995 %
1996 % The color of the text inside the circle.
1997 %
1998 % \cmditem{Cfootcolor}{color}
1999 %
2000 % The color of the text in the footer.
2001 %
2002 % \end{ltxsyntax}
2003 %
2004 % You can customize the circle using the optional arguments of the
2005 % \cmd{makecover} command. Some of these \meta{tikz options} require
2006 % special \sty{tikz} libraries. For example, you can add a shadow to
2007 % the circle loading the \texttt{shadows} library and using the
2008 % \texttt{circular drop shadow} otpion.
2009 % The cover shown
2010 % in figure \ref{fig:cover} is obtained with the following code:
2011 % \begin{latexcode}
2012 %\begin{verbatim}
2013 %\documentclass{suftesi}
2014 %\usepackage[svgnames]{xcolor}
2015 %\usepackage{tikz}
2016 % \usetikzlibrary{shadows}
2017 %
2018 %\Cauthor{Bruce Lee}
2019 %\Ctitle{The Art of Kicking}
2020 %\Csubtitle{How to survive in the modern societies}
2021 %\Ceditor{edited by\\ Walker Texas Ranger}
2022 %\Cfoot{Punch Press\\ \fbox{\bfseries P\&P}}
2023 %\Cpagecolor{white!90!black}
2024 %\Ctextcolor{white}
2025 %\Cfootcolor{black}
2026 %
2027 %\begin{document}
2028 % \makecover[ball color=DarkBlue,draw=none,circular drop shadow]
2029 %\end{document}
2030 %\end{verbatim}
2031 % \end{latexcode}
2032 %
2033 %\begin{figure}
2034 %\begin{minipage}{.5\textwidth}
2035 %\centering
2036 %\begin{tikzpicture}[scale=0.4]%
2037 %\draw[draw=gray,fill=white,drop shadow] (-\textwidth,0) rectangle (\textwidth,.9\textheight);
2038 %\draw[line width=.1pt,draw=black] (-4.2,18.1) circle (13mm) node {\parbox{10mm}{\centering\tiny ---*---\\[-.5mm] St. Anford\\ University\\ ---*--- }};
2039 % \node[scale=0.4,anchor=north west] at (-2.5cm,19cm) {%
2040 % \parbox{8cm}{%
2041 % \small University of St. Anford\par
2042 % \normalsize Department of Typography
2043 % \vskip1ex\hrule\vskip1.2ex
2044 % \large Ph.D. degree in \TeX{} and \LaTeX
2045 %
2046 % \vspace{3cm}
2047 %
2048 % {\LARGE\sffamily\color{sufred} How to prepare\par
2049 % a formal frontispiece\par}
2050 % \vspace{2ex}
2051 %
2052 % {\normalsize\sffamily Theory and practice\par}
2053 %
2054 % \vspace{2cm}
2055 %
2056 % {\normalsize\sffamily Candidate:\par}
2057 % \small Enrico Gregorio
2058 % \vspace{5ex}
2059 %
2060 % {\normalsize\sffamily Thesis advisor:\par}
2061 % \small Prof. R. J. Drofnats
2062 % \vspace{2ex}
2063 %
2064 % {\normalsize\sffamily Research supervisors:\par}
2065 % \small J. H. Quick\par
2066 % B. L. User\vspace{3.5cm}
2067 %
2068 % Thesis submitted in 2010
2069 % }
2070 % };
2071 %\end{tikzpicture}
2072 %\caption{The frontispiece of \sty{suftesi}}\label{fig:frontispiece}
2073 %\end{minipage}
2074 %\begin{minipage}{.5\textwidth}
2075 %\centering
2076 %\begin{tikzpicture}[scale=0.4]%
2077 %\draw[draw=gray,fill=gray!5,drop shadow] (-\textwidth,0) rectangle (\textwidth,.9\textheight);
2078 % \node at (0,.65\textheight) (c) {};
2079 % \draw[ball color=DarkBlue,draw=none,circular drop shadow] (c) circle (4.5cm);
2080 % \node[scale=0.4,anchor=center,text=white] at (c) {\parbox{6cm}{%
2081 % \centering
2082 % {\scriptsize\scshape Bruce Lee\\}
2083 % \vspace*{\baselineskip}
2084 %
2085 % {\Large\bfseries The Art of Kicking\\}
2086 %
2087 % {\smallskip\normalsize How to survive in the modern societies\\}
2088 %
2089 % {\vspace*{2\baselineskip}\scriptsize edited by\\ Walker Texas Ranger\\}}};
2090 % \node[align=center] at (0,2) {\scriptsize \textcolor{black}{Punch Press}\\\textcolor{black}{\bfseries\small P\&P}};
2091 %\end{tikzpicture}
2092 %\caption{A cover page of \sty{suftesi}}\label{fig:cover}
2093 %\end{minipage}
2094 %\end{figure}
2095 %
2096 % ^^A ----------------------------------------------------------------
2097 % ^^A
2098 % \subsection{Frontispiece}
2099 % ^^A
2100 % ^^A ----------------------------------------------------------------
2101 %
2102 % The class has an original frontispiece (see figure \ref{fig:frontispiece})
2103 % now directly available loading the \sty{frontespizio} package
2104 % with the \opt{suftesi} option. It is meant only for Italian users
2105 % \parencite[see][version 1.4 or later]{Gregorio:frontespizio}:
2106 %
2107 % \begin{latexcode}
2108 %\begin{verbatim}
2109 %\usepackage[suftesi]{frontespizio}
2110 %\end{verbatim}
2111 % \end{latexcode}
2112 %
2113 % Note that this frontispiece requires the use of a logo which could be
2114 % restricted by some institutions. So before using it you have to be sure
2115 % that you have the required permissions.
2116 %
2117 % The \sty{frontespizio} package produces a frontispiece in the standard
2118 % Computer Modern typeface. If you prefer a consistent font remember
2119 % to load the needed packages or commands in the \cmd{Preambolo} command:
2120 %
2121 % \begin{latexcode}
2122 %\begin{verbatim}
2123 %\begin{frontespizio}
2124 % \Preambolo{\usepackage[osf]{cochineal}}% <===
2125 % ...
2126 %\end{frontespizio}
2127 %\end{verbatim}
2128 % \end{latexcode}
2129 %
2130 % ^^A ----------------------------------------------------------------
2131 % ^^A
2132 % \subsection{Colophon}
2133 % ^^A
2134 % ^^A ----------------------------------------------------------------
2135 %
2136 % \begin{ltxsyntax}
2137 %
2138 % \cmditem{colophon}[OS]{name and surname}{additional infos}
2139 %
2140 % This command is provided only for Italian documents. It prints a page with
2141 % a copyright notice and the colophon in the bottom of the page. For different languages
2142 % use \cmd{bookcolophon} instead (see below).
2143 %
2144 % If you don't need the copyright notice, leave the second argument of
2145 % the command empty:
2146 %
2147 % \begin{ttquote}
2148 % \cmd{colophon\oarm{OS}\ar{}\arm{additional infos}}
2149 % \end{ttquote}
2150 %
2151 % With the \opt{article} document structure, you can use the \cmd{artcolophon} command
2152 % (see below)
2153 % as well as the \cmd{thanks} command:
2154 %
2155 % \begin{latexcode}
2156 %\begin{verbatim}
2157 %\author{Name Surname
2158 % \thanks{This work has been typeset with \LaTeX, using the
2159 % \textsf{suftesi} class by Ivan Valbusa}.}
2160 %\end{verbatim}
2161 % \end{latexcode}
2162 %
2163 % \cmditem{bookcolophon}{copyright notice}{attribution notice and
2164 % other informations}
2165 % \changes{v0.6}{2011/10/21}{New command \cmd{bookcolophon}}
2166 %
2167 % Similar to \cmd{colophon} but fully customizable.
2168 % The first argument prints its content (usually the copyright notice) in the center of the page.
2169 % The second one prints its content at the bottom. For example:
2170 %
2171 % \begin{latexcode}
2172 %\begin{verbatim}
2173 %\bookcolophon{%
2174 % Copyright © 2007 by Ivan Valbusa}{%
2175 % This work has been typeset with \LaTeX, using the \textsf{suftesi}
2176 % class by Ivan Valbusa\index{Valbusa, Ivan}. The serif font is
2177 % Cochineal by Michael Sharpe and the sans serif font is Linux
2178 % Biolinum by Philipp H. Poll.}
2179 %\end{verbatim}
2180 % \end{latexcode}
2181 %
2182 % \cmditem{artcolophon}{copyright notice, attribution and other informations}
2183 % \changes{v0.6}{2011/10/21}{New command \cmd{artcolophon}}
2184 %
2185 % This command only has one argument. It simply prints its content at the
2186 % bottom of the page.
2187 % Here is an example:
2188 %
2189 % \begin{latexcode}
2190 %\begin{verbatim}
2191 %\artcolophon{%
2192 % This work is licensed under the Creative Commons
2193 % Attribution-NonCommercial-NoDerivs 3.0 Unported
2194 % License. To view a copy of this license, visit
2195 % \begin{center}
2196 % http://creativecommons.org/licenses/by-nc-nd/3.0
2197 % \end{center}
2198 % or send a letter to Creative Commons, 444
2199 % Castro Street, Suite 900, Mountain View,
2200 % California, 94041, USA.\\[1ex]
2201 %
2202 % Typeset with \LaTeX, using the \textsf{suftesi}
2203 % class by Ivan Valbusa.}
2204 %\end{verbatim}
2205 % \end{latexcode}
2206 %
2207 % \cmditem{finalcolophon}{colophon content}
2208 %
2209 % The same as \cmd{artcolophon}, but centering its content at the
2210 % top of the page. It is aimed at typesetting a classical \emph{colophon}
2211 % at the end of the work.
2212 %
2213 % \end{ltxsyntax}
2214 %
2215 % ^^A ----------------------------------------------------------------
2216 % ^^A
2217 % \section{The \opt{collection} structure}\label{sec:collection}
2218 % ^^A
2219 % ^^A ----------------------------------------------------------------
2220 %
2221 % The \opt{collection} document structure is thought to create a collection of papers. Each paper has to be typeset in a separate \file{.tex} file inside the \env{article} environment:
2222 %
2223 % \begin{latexcode}
2224 %\begin{verbatim}
2225 %\begin{article}
2226 %\author{Author}
2227 %\title{Title of the paper}
2228 % % The abstract is optional.
2229 % % \begin{abstract}
2230 % % The abstract
2231 % % \end{abstract}
2232 %\maketitle
2233 % Text of the paper
2234 %\end{article}
2235 %\end{verbatim}
2236 % \end{latexcode}
2237 % If the names of the papers are \file{article1.tex}, \file{article2.tex}, \file{article3.tex}, etc., then a minimal main file should be similar to this:
2238 %
2239 % \begin{latexcode}
2240 %\begin{verbatim}
2241 %\documentclass[structure=collection]{suftesi}
2242 %
2243 %\begin{document}
2244 % \input{article1}
2245 % \input{article2}
2246 % \input{article3}
2247 %\end{document}
2248 %\end{verbatim}
2249 % \end{latexcode}
2250 %
2251 % ^^A ----------------------------------------------------------------
2252 % ^^A
2253 % \subsection{Options}
2254 % ^^A
2255 % ^^A ----------------------------------------------------------------
2256 %
2257 % In addition to the following options you can use the other options of the class too. In particular, with the \opt{chapstyle} and \opt{chapfont} options you can customize all the section titles which are treated as a normal unnumbered chapters in the \opt{book} document structure, such as \emph{Table of Contents}, \emph{Index}, \emph{Bibliography}, etc.
2258 %
2259 % \begin{optionlist*}
2260 %\addtolength{\linewidth}{-2em}
2261 % \optitem[left]{authortitlealign}{\opt{left}\OR\opt{center}\OR\opt{right}}
2262 % \begin{valuelist}
2263 % \item[left] Aligns the author-title block on the left.
2264 % \item[center] Centers the author-title block.
2265 % \item[right] Aligns the author-title block on the right.
2266 % \end{valuelist}
2267 % \optitem[roman]{titlefont}{\opt{roman}\OR\opt{italic}\OR\opt{smallcaps}}
2268 % \begin{valuelist}
2269 % \item[roman] Prints the title of the articles in roman.
2270 % \item[italic] Prints the title of the articles in \emph{italic}.
2271 % \item[smallcaps] Prints the title of the articles
2272 % in \textsc{\lsstyle spaced small caps}.
2273 % \end{valuelist}
2274 % \optitem[roman]{authorfont}{\opt{roman}\OR\opt{italic}\OR\opt{smallcaps}}
2275 % \begin{valuelist}
2276 % \item[roman] Prints the author's name in roman.
2277 % \item[italic] Prints the author's name in \emph{italic}.
2278 % \item[smallcaps] Prints the author's name in \textsc{\lsstyle spaced small caps}.
2279 % With this option remember to protect the \cmd{thanks} command:\\
2280 % |\author{The Author\protect\thanks{...}}|.
2281 % \end{valuelist}
2282 % \optitem[italic]{toctitlefont}{\opt{roman}\OR\opt{italic}\OR\opt{smallcaps}}
2283 % \begin{valuelist}
2284 % \item[roman] Prints the title ToC entry in roman.
2285 % \item[italic] Prints the title ToC entry in \emph{italic}.
2286 % \item[smallcaps] Prints the title ToC entry
2287 % in \textsc{\lsstyle spaced small caps}.
2288 % \end{valuelist}
2289 % \optitem[roman]{tocauthorfont}{\opt{roman}\OR\opt{italic}\OR\opt{smallcaps}}
2290 % \begin{valuelist}
2291 % \item[roman] Prints the author’s name ToC entry in roman.
2292 % \item[italic] Prints the author’s name ToC entry in \emph{italic}.
2293 % \item[smallcaps] Prints the author’s name ToC entry
2294 % in \textsc{\lsstyle spaced small caps}.
2295 % \end{valuelist}
2296 % \end{optionlist*}
2297 %
2298 % ^^A ----------------------------------------------------------------
2299 % ^^A
2300 % \subsection{Commands}
2301 % ^^A
2302 % ^^A ----------------------------------------------------------------
2303 %
2304 % \begin{ltxsyntax}
2305 %
2306 % \cmditem{collectiontitlepage}
2307 %
2308 % Typeset the title page of the collection.
2309 %
2310 % \cmditem{collectiontitle}{The Title of the Collection}
2311 %
2312 % Sets the title of the collection.
2313 %
2314 % \cmditem{collectioneditor}{The Editor(s)}
2315 %
2316 % Sets the editor(s) of the collection.
2317 %
2318 % \end{ltxsyntax}
2319 %
2320 % ^^A ----------------------------------------------------------------
2321 % ^^A
2322 % \section{Backward compatibility}
2323 % ^^A
2324 % ^^A ----------------------------------------------------------------
2325 %
2326 % \begin{optionlist*}
2327 %\addtolength{\linewidth}{-2em}
2328 % \optitem[book]{documentstructure}{\opt{book}\OR\opt{article}
2329 % \OR\opt{collection}}
2330 % An alias for \opt{structure}
2331 %\end{optionlist*}
2332 %\begin{optionlist*}
2333 %\addtolength{\linewidth}{-2em}
2334 % \optitem{defaultfont}{\opt{compatibility}}
2335 % Loads the fonts of \sty{suftesi} v2.3 (and previous): Palatino (\sty{mathpazo}), Iwona, Bera Mono. To get the default Greek font of those versions (GFS Artemisia) add the \opt{greekfont=artemisia} option.
2336 % \optitem[true]{crop}{\opt{true}\OR\opt{false}}
2337 % An alias for the old options \opt{version=draft} and \opt{version=center} respectively.
2338 % \optitem{parindent}{\opt{1em}, \opt{1.5em}}
2339 % An alias for the old options \opt{parindent=compact} and \opt{parindent=wide} respectively.
2340 % \optitem{style}{\opt{FSPLa}\OR\opt{FSPLb}\OR\opt{FSPLc}}
2341 % These styles are only meant to typeset a doctoral thesis respecting the features required by the Joint Project \emph{Formal Style for PhD Theses with \hologo{LaTeX}} of the Verona University (Italy).
2342 %\end{optionlist*}
2343 %
2344 % \changes{v1.3}{2013/03/05}{New command \cmd{FSPLcolophon}}
2345 % \begin{ltxsyntax}
2346 % \cmditem{FSPLcolophon}{Name Surname}
2347 %
2348 % A command is provided to typeset the colophon according to the \opt{FSPL} styles.
2349 % \end{ltxsyntax}
2350 %
2351 % \changes{v0.9a}{2012/08/31}{New options, \opt{defaultparindent},
2352 % \opt{ralignquotation}, \opt{smallquotation}, \opt{dottedfootnote}, \opt{indentlist},
2353 % \opt{alignlist}, \opt{centerpart}, \opt{centerchap}, \opt{centersec}, \opt{rightpart},
2354 % \opt{rightchap}, \opt{rightsec}, \opt{numparpart}, \opt{numparchap}, \opt{numparsec},
2355 % \opt{smallcapspart}, \opt{smallcapschap}, \opt{smallcapssec}, \opt{italicpart},
2356 % \opt{italicchap}, \opt{italicsec}, \opt{italicsubsec}, \opt{romanchap},
2357 % \opt{dottedchap}, \opt{italicheader}, \opt{tocpageleft}, \opt{dottedpart},
2358 % \opt{rmstyle(1-6)}, \opt{itstyle(1-12)},\opt{scstyle(1-12)}, \opt{standardfootnote},
2359 % \opt{smallcapsheader}}
2360 % \changes{v0.6}{2011/10/21}{New option \opt{authortitle}}
2361 % \changes{v0.8}{2012/03/19}{New option \opt{periodical}}
2362 % \changes{v0.9}{2012/04/22}{New option \opt{dottedtoc}, \opt{raggedtoc}}
2363 % \changes{v0.5}{2011/10/21}{New option \opt{elements}, \opt{nomarginpar}, \opt{nocrop},
2364 % \opt{sufelements}, \opt{compact}, \opt{supercompact}}
2365 %
2366 % \StopEventually{
2367 % \defbibnote{note}{\sffamily This bibliography has been typeset with
2368 % the \sty{biblatex-philosophy} package, created by the same author of this class.}
2369 % \printbibliography[heading=bibintoc,prenote=note]
2370 % \PrintChanges\PrintIndex}
2371 %
2372 % \iffalse
2373 %<*class>
2374 % \fi
2375 % ^^A ----------------------------------------------------------------
2376 % ^^A
2377 % \section{The Code}
2378 % ^^A
2379 % ^^A ----------------------------------------------------------------
2380 %
2381 % \begin{macrocode}
2382 \RequirePackage{xkeyval}
2383 \newif\ifsuftesi@article
2384 \newif\ifsuftesi@collection
2385 \newif\ifsuftesi@lmodern
2386 \newif\ifsuftesi@cochineal
2387 \newif\ifsuftesi@libertine
2388 \newif\ifsuftesi@palatino
2389 \newif\ifsuftesi@mathpazo
2390 \newif\ifsuftesi@nofont
2391 \newif\ifsuftesi@greekfont
2392 \newif\ifsuftesi@porson
2393 \newif\ifsuftesi@artemisia
2394 \newif\ifsuftesi@bodoni
2395 \newif\ifsuftesi@cbgreek
2396 \newif\ifsuftesi@mathminimal
2397 \newif\ifsuftesi@mathextended
2398 \newif\ifsuftesi@periodical
2399 \newif\ifsuftesi@periodicalaureo
2400 \newif\ifsuftesi@compact
2401 \newif\ifsuftesi@compactaureo
2402 \newif\ifsuftesi@supercompact
2403 \newif\ifsuftesi@supercompactaureo
2404 \newif\ifsuftesi@pocketa
2405 \newif\ifsuftesi@pocketb
2406 \newif\ifsuftesi@pocketc
2407 \newif\ifsuftesi@screen
2408 \newif\ifsuftesi@sufplain
2409 \newif\ifsuftesi@screencentered
2410 \newif\ifsuftesi@centerheader
2411 \newif\ifsuftesi@authortitle
2412 \newif\ifsuftesi@numparpart
2413 \newif\ifsuftesi@numparchap
2414 \newif\ifsuftesi@numparsec
2415 \newif\ifsuftesi@numparsubsec
2416 \newif\ifsuftesi@numparsubsubsec
2417 \newif\ifsuftesi@dottedtoc
2418 \newif\ifsuftesi@raggedtoc
2419 \newif\ifsuftesi@pagelefttoc
2420 \newif\ifsuftesi@twocolumntoc
2421 \newif\ifsuftesi@twocolumnlof
2422 \newif\ifsuftesi@twocolumnlot
2423 \newif\ifsuftesi@ctocsec
2424 \newif\ifsuftesi@ctocsubsec
2425 \newif\ifsuftesi@ctocsubsubsec
2426 \newif\ifsuftesi@ctocpar
2427 \newif\ifsuftesi@ctocsubpar
2428 \newif\ifsuftesi@FSPL
2429 \newif\ifsuftesi@loadfontsize
2430 % \end{macrocode}
2431 % 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.
2432 % \begin{macrocode}
2433 \DeclareOption{a4paper}{%
2434 \ClassWarningNoLine{suftesi}{Option 'a4paper' not available}{}}
2435 \DeclareOption{a5paper}{%
2436 \ClassWarningNoLine{suftesi}{Option 'a5paper' not available}{}}
2437 \DeclareOption{b5paper}{%
2438 \ClassWarningNoLine{suftesi}{Option 'b5paper' not available}{}}
2439 \DeclareOption{legalpaper}{%
2440 \ClassWarningNoLine{suftesi}{Option 'legalpaper' not available}{}}
2441 \DeclareOption{executivepaper}{%
2442 \ClassWarningNoLine{suftesi}{Option 'executivepaper' not available}{}}
2443 \DeclareOption{landscape}{%
2444 \ClassWarningNoLine{suftesi}{Option 'landscape' not available}{}}
2445 % \end{macrocode}
2446 % Now we can load the \sty{book} class and make the related options available. The \sty{fontsize} package redefines some commands of the \file{.clo} files loaded by the class. In particular, it also defines the value of \cmd{parindent}, which is why the \opt{parindent} option must be declared after the \sty{fontsize} call.
2447 % \begin{macrocode}
2448 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
2449 \ProcessOptions
2450 \relax
2451 \LoadClass{book}
2452 \DeclareOptionX{loadfontsize}{\suftesi@loadfontsizetrue}
2453 \DeclareOptionX{parindent}{\setlength{\parindent}{#1}}
2454 \ExecuteOptionsX{parindent=\baselineskip}
2455 \ProcessOptionsX*\relax
2456 \ifsuftesi@loadfontsize
2457 \RequirePackage{fontsize}
2458 \else\fi
2459 % \end{macrocode}
2460 % \subsection{Options setting}
2461 % \subsubsection{Structure}
2462 % \begin{macrocode}
2463 \define@choicekey{}{structure}[\suftesi@val\suftesi@nr]
2464 {book,article,collection}[book]{%
2465 \ifcase\suftesi@nr\relax
2466 % \disable@keys{}{secnumstyle}
2467 \SUF@titlepagetrue
2468 \def\SUF@chapswitch{\thechapter.}
2469 \or
2470 \suftesi@articletrue
2471 \SUF@titlepagefalse
2472 \def\SUF@chapswitch{}
2473 \or
2474 \suftesi@collectiontrue
2475 \setkeys{}{headerstyle=authortitleinner}
2476 \def\SUF@chapswitch{}
2477 \fi}
2478 % \end{macrocode}
2479 % \paragraph{View mode}
2480 % \begin{macrocode}
2481 \define@choicekey{}{version}[\suftesi@val\suftesi@nr]
2482 {screen,cscreen,draft,final}[draft]{%
2483 \ifcase\suftesi@nr\relax
2484 \suftesi@screentrue
2485 \or
2486 \suftesi@screentrue
2487 \suftesi@screencenteredtrue
2488 \or
2489 \relax
2490 \or
2491 \AtBeginDocument{\crop[off]}
2492 \fi}
2493 % \end{macrocode}
2494 % \paragraph{Other options}
2495 % The \opt{marginpar} option conflicts with the \sty{geometry} package
2496 % when it is declared without explicitly providing a value. To be fixed!
2497 % \begin{macrocode}
2498 \define@boolkey{}[SUF@]{marginpar}[true]{}
2499 \define@boolkey{}[SUF@]{partpage}[true]{}
2500 \define@boolkey{}[SUF@]{draftdate}[true]{}
2501 \define@boolkey{}[SUF@]{titlepage}[true]{}
2502 % \end{macrocode}
2503 % \subsubsection{Fonts}
2504 % \paragraph{Roman fonts}
2505 % \begin{macrocode}
2506 \define@choicekey{}{defaultfont}[\suftesi@val\suftesi@nr]
2507 {none,cochineal,libertine,palatino,standard,compatibility}[cochineal]{%
2508 \ifcase\suftesi@nr\relax
2509 \suftesi@nofonttrue
2510 \or
2511 \suftesi@cochinealtrue
2512 \or
2513 \suftesi@libertinetrue
2514 \or
2515 \suftesi@palatinotrue
2516 \or
2517 \suftesi@lmoderntrue
2518 \or
2519 \suftesi@mathpazotrue
2520 \fi}
2521 \define@choicekey{}{mathfont}[\suftesi@val\suftesi@nr]
2522 {none,minimal,extended}[minimal]{%
2523 \ifcase\suftesi@nr\relax
2524 \suftesi@mathminimalfalse
2525 \suftesi@mathextendedfalse
2526 \or
2527 \suftesi@mathminimaltrue
2528 \or
2529 \suftesi@mathextendedtrue
2530 \fi}
2531 % \end{macrocode}
2532 % \paragraph{Greek fonts}
2533 % \begin{macrocode}
2534 \define@choicekey{}{greekfont}[\suftesi@val\suftesi@nr]
2535 {none,artemisia,porson,bodoni,cbgreek}[none]{%
2536 \ifcase\suftesi@nr\relax
2537 \suftesi@greekfontfalse
2538 \or
2539 \suftesi@greekfonttrue\suftesi@artemisiatrue
2540 \or
2541 \suftesi@greekfonttrue\suftesi@porsontrue
2542 \or
2543 \suftesi@greekfonttrue\suftesi@bodonitrue
2544 \or
2545 \suftesi@greekfonttrue\suftesi@cbgreektrue
2546 \fi}
2547 % \end{macrocode}
2548 % \paragraph{Small capitals style}
2549 % \begin{macrocode}
2550 \define@choicekey{}{smallcapsstyle}[\suftesi@val\suftesi@nr]
2551 {low,upper}[low]{%
2552 \ifcase\suftesi@nr\relax
2553 \def\SUF@MakeLowercase{\MakeLowercase}
2554 \def\SUF@TOCMakeLowercase{\lowercase}
2555 \or
2556 \def\SUF@MakeLowercase{\relax}
2557 \def\SUF@TOCMakeLowercase{\relax}
2558 \fi}
2559 % \end{macrocode}
2560 % \subsubsection{Layouts}
2561 % \begin{macrocode}
2562 \RequirePackage{geometry}
2563 \define@choicekey{}{pagelayout}[\suftesi@val\suftesi@nr]
2564 {standard,standardaureo,periodical,periodicalaureo,compact,compactaureo,
2565 supercompact,supercompactaureo,pocketa,pocketb,pocketc}[standard]{%
2566 \ifcase\suftesi@nr\relax
2567 \DeclareRobustCommand{\SUF@partsize}{\Large}
2568 \DeclareRobustCommand{\SUF@chaptersize}{\Large}
2569 \DeclareRobustCommand{\SUF@sectionsize}{\large}
2570 \DeclareRobustCommand{\SUF@subsectionsize}{\normalsize}
2571 \DeclareRobustCommand{\SUF@subsubsectionsize}{\normalsize}
2572 \geometry{
2573 heightrounded,
2574 a4paper,
2575 includeheadfoot=true,
2576 textwidth= 110mm,
2577 textheight= 220mm,
2578 marginratio= 2:3,
2579 marginparwidth= 30mm,
2580 marginparsep= 12pt}
2581 \or
2582 \DeclareRobustCommand{\SUF@partsize}{\Large}
2583 \DeclareRobustCommand{\SUF@chaptersize}{\Large}
2584 \DeclareRobustCommand{\SUF@sectionsize}{\large}
2585 \DeclareRobustCommand{\SUF@subsectionsize}{\normalsize}
2586 \DeclareRobustCommand{\SUF@subsubsectionsize}{\normalsize}
2587 \geometry{
2588 heightrounded,
2589 a4paper,
2590 includeheadfoot=true,
2591 textwidth= 136mm,
2592 textheight= 220mm,
2593 marginratio= 2:3,
2594 marginparwidth= 30mm,
2595 marginparsep= 12pt}
2596 \or
2597 \suftesi@periodicaltrue
2598 \DeclareRobustCommand{\SUF@partsize}{\large}
2599 \DeclareRobustCommand{\SUF@chaptersize}{\large}
2600 \DeclareRobustCommand{\SUF@sectionsize}{\normalsize}
2601 \DeclareRobustCommand{\SUF@subsectionsize}{\normalsize}
2602 \DeclareRobustCommand{\SUF@subsubsectionsize}{\normalsize}
2603 \geometry{
2604 heightrounded,
2605 includeheadfoot=false,
2606 textheight= 165mm,
2607 textwidth= 110mm,
2608 paperwidth= 170mm,
2609 paperheight= 240mm,
2610 marginratio= 2:3,
2611 marginparwidth= 26mm,
2612 marginparsep= 10pt}
2613 \or
2614 \suftesi@periodicalaureotrue
2615 \DeclareRobustCommand{\SUF@partsize}{\large}
2616 \DeclareRobustCommand{\SUF@chaptersize}{\large}
2617 \DeclareRobustCommand{\SUF@sectionsize}{\normalsize}
2618 \DeclareRobustCommand{\SUF@subsectionsize}{\normalsize}
2619 \DeclareRobustCommand{\SUF@subsubsectionsize}{\normalsize}
2620 \geometry{
2621 heightrounded,
2622 includeheadfoot=true,
2623 textwidth= 120mm,
2624 textheight= 194mm,
2625 paperwidth= 17cm,
2626 paperheight= 24cm,
2627 marginratio= 2:3,
2628 marginparwidth= 62pt,
2629 marginparsep= 10pt}
2630 \or
2631 \suftesi@compacttrue
2632 \DeclareRobustCommand{\SUF@partsize}{\large}
2633 \DeclareRobustCommand{\SUF@chaptersize}{\large}
2634 \DeclareRobustCommand{\SUF@sectionsize}{\normalsize}
2635 \DeclareRobustCommand{\SUF@subsectionsize}{\normalsize}
2636 \DeclareRobustCommand{\SUF@subsubsectionsize}{\normalsize}
2637 \geometry{
2638 heightrounded,
2639 includeheadfoot=false,
2640 textheight= 165mm,
2641 textwidth= 110mm,
2642 paperwidth= 160mm,
2643 paperheight= 240mm,
2644 marginratio= 2:3,
2645 marginparwidth= 22mm,
2646 marginparsep= 9pt}
2647 \or
2648 \suftesi@compactaureotrue
2649 \DeclareRobustCommand{\SUF@partsize}{\large}
2650 \DeclareRobustCommand{\SUF@chaptersize}{\large}
2651 \DeclareRobustCommand{\SUF@sectionsize}{\normalsize}
2652 \DeclareRobustCommand{\SUF@subsectionsize}{\normalsize}
2653 \DeclareRobustCommand{\SUF@subsubsectionsize}{\normalsize}
2654 \geometry{
2655 heightrounded,
2656 includeheadfoot=false,
2657 textheight= 191mm,
2658 textwidth= 118mm,
2659 paperwidth= 160mm,
2660 paperheight= 240mm,
2661 marginratio= 2:3,
2662 marginparwidth= 19mm,
2663 marginparsep= 9pt}
2664 \or
2665 \suftesi@supercompacttrue
2666 \DeclareRobustCommand{\SUF@partsize}{\large}
2667 \DeclareRobustCommand{\SUF@chaptersize}{\large}
2668 \DeclareRobustCommand{\SUF@sectionsize}{\normalsize}
2669 \DeclareRobustCommand{\SUF@subsectionsize}{\normalsize}
2670 \DeclareRobustCommand{\SUF@subsubsectionsize}{\normalsize}
2671 \geometry{
2672 heightrounded,
2673 includeheadfoot=false,
2674 textheight= 150mm,
2675 textwidth= 100mm,
2676 paperwidth= 140mm,
2677 paperheight= 210mm,
2678 marginratio= 2:3,
2679 marginparwidth= 18mm,
2680 marginparsep= 8pt}
2681 \or
2682 \suftesi@supercompactaureotrue
2683 \DeclareRobustCommand{\SUF@partsize}{\large}
2684 \DeclareRobustCommand{\SUF@chaptersize}{\large}
2685 \DeclareRobustCommand{\SUF@sectionsize}{\normalsize}
2686 \DeclareRobustCommand{\SUF@subsectionsize}{\normalsize}
2687 \DeclareRobustCommand{\SUF@subsubsectionsize}{\normalsize}
2688 \geometry{
2689 heightrounded,
2690 includeheadfoot=false,
2691 textheight= 175mm,
2692 textwidth= 108mm,
2693 paperwidth= 140mm,
2694 paperheight= 210mm,
2695 marginratio= 1:1,
2696 marginparwidth= 11mm,
2697 marginparsep= 7pt}
2698 \or
2699 \suftesi@pocketatrue
2700 \DeclareRobustCommand{\SUF@partsize}{\large}
2701 \DeclareRobustCommand{\SUF@chaptersize}{\large}
2702 \DeclareRobustCommand{\SUF@sectionsize}{\normalsize}
2703 \DeclareRobustCommand{\SUF@subsectionsize}{\normalsize}
2704 \DeclareRobustCommand{\SUF@subsubsectionsize}{\normalsize}
2705 \geometry{
2706 heightrounded,
2707 includeheadfoot=false,
2708 textheight= 153mm,
2709 textwidth= 102mm,
2710 paperwidth= 135mm,
2711 paperheight= 208mm,
2712 hmarginratio= 1:1,
2713 vmarginratio= 2:3,
2714 marginparwidth= 12mm,
2715 marginparsep= 7pt}
2716 \or
2717 \suftesi@pocketbtrue
2718 \DeclareRobustCommand{\SUF@partsize}{\large}
2719 \DeclareRobustCommand{\SUF@chaptersize}{\large}
2720 \DeclareRobustCommand{\SUF@sectionsize}{\normalsize}
2721 \DeclareRobustCommand{\SUF@subsectionsize}{\normalsize}
2722 \DeclareRobustCommand{\SUF@subsubsectionsize}{\normalsize}
2723 \geometry{
2724 heightrounded,
2725 includeheadfoot=false,
2726 textheight= 165mm,
2727 textwidth= 99mm,
2728 paperwidth= 140mm,
2729 paperheight= 210mm,
2730 hmarginratio= 1:1,
2731 vmarginratio= 2:3,
2732 marginparwidth= 15mm,
2733 marginparsep= 7pt}
2734 \or
2735 \suftesi@pocketctrue
2736 \DeclareRobustCommand{\SUF@partsize}{\large}
2737 \DeclareRobustCommand{\SUF@chaptersize}{\large}
2738 \DeclareRobustCommand{\SUF@sectionsize}{\normalsize}
2739 \DeclareRobustCommand{\SUF@subsectionsize}{\normalsize}
2740 \DeclareRobustCommand{\SUF@subsubsectionsize}{\normalsize}
2741 \geometry{
2742 heightrounded,
2743 includeheadfoot=false,
2744 textheight= 150mm,
2745 textwidth= 90mm,
2746 paperwidth= 116mm,
2747 paperheight= 193mm,
2748 hmarginratio= 1:1,
2749 vmarginratio= 2:3,
2750 marginparwidth= 8mm,
2751 marginparsep= 7pt}
2752 \fi}
2753 % \end{macrocode}
2754 % \subsubsection{Sections style}
2755 % \begin{macrocode}
2756 \define@choicekey{}{partstyle}[\suftesi@val\suftesi@nr]
2757 {left,center,right,parleft,parcenter,parright}[left]{%
2758 \ifcase\suftesi@nr\relax
2759 \def\SUF@PART@align{\filright}
2760 \or
2761 \def\SUF@PART@align{\filcenter}
2762 \or
2763 \def\SUF@PART@align{\filleft}
2764 \or
2765 \def\SUF@PART@align{\filright}
2766 \suftesi@numparparttrue
2767 \or
2768 \def\SUF@PART@align{\filcenter}
2769 \suftesi@numparparttrue
2770 \or
2771 \def\SUF@PART@align{\filleft}
2772 \suftesi@numparparttrue
2773 \fi}
2774 \define@choicekey{}{chapstyle}[\suftesi@val\suftesi@nr]
2775 {left,center,right,parleft,parcenter,parright}[left]{%
2776 \ifcase\suftesi@nr\relax
2777 \def\SUF@CHAP@align{\filright}
2778 \or
2779 \def\SUF@CHAP@align{\filcenter}
2780 \or
2781 \def\SUF@CHAP@align{\filleft}
2782 \or
2783 \def\SUF@CHAP@align{\filright}
2784 \suftesi@numparchaptrue
2785 \or
2786 \def\SUF@CHAP@align{\filcenter}
2787 \suftesi@numparchaptrue
2788 \or
2789 \def\SUF@CHAP@align{\filleft}
2790 \suftesi@numparchaptrue
2791 \fi}
2792 \define@choicekey{}{secstyle}[\suftesi@val\suftesi@nr]
2793 {left,center,right,parleft,parcenter,parright}[left]{%
2794 \ifcase\suftesi@nr\relax
2795 \def\SUF@SEC@align{\filright}
2796 \or
2797 \def\SUF@SEC@align{\filcenter}
2798 \or
2799 \def\SUF@SEC@align{\filleft}
2800 \or
2801 \def\SUF@SEC@align{\filright}
2802 \suftesi@numparsectrue
2803 \or
2804 \def\SUF@SEC@align{\filcenter}
2805 \suftesi@numparsectrue
2806 \or
2807 \def\SUF@SEC@align{\filleft}
2808 \suftesi@numparsectrue
2809 \fi}
2810 \define@choicekey{}{subsecstyle}[\suftesi@val\suftesi@nr]
2811 {left,center,right,parleft,parcenter,parright}[left]{%
2812 \ifcase\suftesi@nr\relax
2813 \def\SUF@SUBSEC@align{\filright}
2814 \or
2815 \def\SUF@SUBSEC@align{\filcenter}
2816 \or
2817 \def\SUF@SUBSEC@align{\filleft}
2818 \or
2819 \def\SUF@SUBSEC@align{\filright}
2820 \suftesi@numparsubsectrue
2821 \or
2822 \def\SUF@SUBSEC@align{\filcenter}
2823 \suftesi@numparsubsectrue
2824 \or
2825 \def\SUF@SUBSEC@align{\filleft}
2826 \suftesi@numparsubsectrue
2827 \fi}
2828 \define@choicekey{}{subsubsecstyle}[\suftesi@val\suftesi@nr]
2829 {left,center,right,parleft,parcenter,parright}[left]{%
2830 \ifcase\suftesi@nr\relax
2831 \def\SUF@SUBSUBSEC@align{\filright}
2832 \or
2833 \def\SUF@SUBSUBSEC@align{\filcenter}
2834 \or
2835 \def\SUF@SUBSUBSEC@align{\filleft}
2836 \or
2837 \def\SUF@SUBSUBSEC@align{\filright}
2838 \suftesi@numparsubsubsectrue
2839 \or
2840 \def\SUF@SUBSUBSEC@align{\filcenter}
2841 \suftesi@numparsubsubsectrue
2842 \or
2843 \def\SUF@SUBSUBSEC@align{\filleft}
2844 \suftesi@numparsubsubsectrue
2845 \fi}
2846 % \end{macrocode}
2847 % \subsubsection{Sections font}
2848 % \begin{macrocode}
2849 \define@choicekey{}{partfont}[\suftesi@val\suftesi@nr]
2850 {roman,italic,smallcaps}[roman]{%
2851 \ifcase\suftesi@nr\relax
2852 \def\SUF@PART@font{\relax}
2853 \or
2854 \def\SUF@PART@font{\itshape}
2855 \or
2856 \def\SUF@PART@font{\expandafter\SUF@titlesmallcaps}
2857 \fi}
2858 \define@choicekey{}{chapfont}[\suftesi@val\suftesi@nr]
2859 {roman,italic,smallcaps}[roman]{%
2860 \ifcase\suftesi@nr\relax
2861 \def\SUF@CHAP@font{\relax}
2862 \or
2863 \def\SUF@CHAP@font{\itshape}
2864 \or
2865 \def\SUF@CHAP@font{\expandafter\SUF@titlesmallcaps}
2866 \fi}
2867 \define@choicekey{}{secfont}[\suftesi@val\suftesi@nr]
2868 {roman,italic,smallcaps}[italic]{%
2869 \ifcase\suftesi@nr\relax
2870 \def\SUF@SEC@font{\relax}
2871 \or
2872 \def\SUF@SEC@font{\itshape}
2873 \or
2874 \def\SUF@SEC@font{\expandafter\SUF@titlesmallcaps}
2875 \fi}
2876 \define@choicekey{}{subsecfont}[\suftesi@val\suftesi@nr]
2877 {roman,italic,smallcaps}[roman]{%
2878 \ifcase\suftesi@nr\relax
2879 \def\SUF@SUBSEC@font{\relax}
2880 \or
2881 \def\SUF@SUBSEC@font{\itshape}
2882 \or
2883 \def\SUF@SUBSEC@font{\expandafter\SUF@titlesmallcaps}
2884 \fi}
2885 \define@choicekey{}{subsubsecfont}[\suftesi@val\suftesi@nr]
2886 {roman,italic,smallcaps}[roman]{%
2887 \ifcase\suftesi@nr\relax
2888 \def\SUF@SUBSUBSEC@font{\relax}
2889 \or
2890 \def\SUF@SUBSUBSEC@font{\itshape}
2891 \or
2892 \def\SUF@SUBSUBSEC@font{\expandafter\SUF@titlesmallcaps}
2893 \fi}
2894 \define@choicekey{}{parfont}[\suftesi@val\suftesi@nr]
2895 {roman,italic,smallcaps}[roman]{%
2896 \ifcase\suftesi@nr\relax
2897 \def\SUF@PAR@font{\relax}
2898 \or
2899 \def\SUF@PAR@font{\itshape}
2900 \or
2901 \def\SUF@PAR@font{\expandafter\SUF@titlesmallcaps}
2902 \fi}
2903 \define@choicekey{}{subparfont}[\suftesi@val\suftesi@nr]
2904 {roman,italic,smallcaps}[roman]{%
2905 \ifcase\suftesi@nr\relax
2906 \def\SUF@SUBPAR@font{\relax}
2907 \or
2908 \def\SUF@SUBPAR@font{\itshape}
2909 \or
2910 \def\SUF@SUBPAR@font{\expandafter\SUF@titlesmallcaps}
2911 \fi}
2912 % \end{macrocode}
2913 % \subsubsection{Sections number}
2914 % \paragraph{Part number style}
2915 % \begin{macrocode}
2916 \define@choicekey{}{partnumstyle}[\suftesi@val\suftesi@nr]
2917 {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
2918 \ifcase\suftesi@nr\relax
2919 \def\SUF@thepart{\arabic{part}}
2920 \def\SUF@dotpart{}
2921 \or
2922 \def\SUF@thepart{\textsc{\roman{part}}}
2923 \def\SUF@dotpart{}
2924 \or
2925 \def\SUF@thepart{\Roman{part}}
2926 \def\SUF@dotpart{}
2927 \or
2928 \def\SUF@thepart{\arabic{part}}
2929 \def\SUF@dotpart{.}
2930 \or
2931 \def\SUF@thepart{\textsc{\roman{part}}}
2932 \def\SUF@dotpart{.}
2933 \or
2934 \def\SUF@thepart{\Roman{part}}
2935 \def\SUF@dotpart{.}
2936 \fi}
2937 % \end{macrocode}
2938 % \paragraph{Chapter number style}
2939 % \begin{macrocode}
2940 \define@choicekey{}{chapnumstyle}[\suftesi@val\suftesi@nr]
2941 {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
2942 \ifcase\suftesi@nr\relax
2943 \def\SUF@thechapter{\arabic{chapter}}
2944 \def\SUF@HEAD@thechapter{\arabic{chapter}}
2945 \def\SUF@dotchap{}
2946 \def\SUF@CHAP@contentslabel{\thecontentslabel}
2947 \or
2948 \def\SUF@thechapter{\textsc{\roman{chapter}}}
2949 \def\SUF@HEAD@thechapter{\textsc{\roman{chapter}}}
2950 \def\SUF@dotchap{}
2951 \def\SUF@CHAP@contentslabel{\textsc{\@roman{\thecontentslabel}}}
2952 \or
2953 \def\SUF@thechapter{\Roman{chapter}}
2954 \def\SUF@HEAD@thechapter{\Roman{chapter}}
2955 \def\SUF@dotchap{}
2956 \def\SUF@CHAP@contentslabel{\@Roman{\thecontentslabel}}
2957 \or
2958 \def\SUF@thechapter{\arabic{chapter}}
2959 \def\SUF@HEAD@thechapter{\arabic{chapter}}
2960 \def\SUF@dotchap{.}
2961 \def\SUF@CHAP@contentslabel{\thecontentslabel}
2962 \or
2963 \def\SUF@thechapter{\textsc{\roman{chapter}}}
2964 \def\SUF@HEAD@thechapter{\textsc{\roman{chapter}}}
2965 \def\SUF@dotchap{.}
2966 \def\SUF@CHAP@contentslabel{\textsc{\@roman{\thecontentslabel}}}
2967 \or
2968 \def\SUF@thechapter{\Roman{chapter}}
2969 \def\SUF@HEAD@thechapter{\Roman{chapter}}
2970 \def\SUF@dotchap{.}
2971 \def\SUF@CHAP@contentslabel{\@Roman{\thecontentslabel}}
2972 \fi}
2973 % \end{macrocode}
2974 % \paragraph{Section number style}
2975 % \begin{macrocode}
2976 \define@choicekey{}{secnumstyle}[\suftesi@val\suftesi@nr]
2977 {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
2978 \ifcase\suftesi@nr\relax
2979 \def\SUF@thesection{\SUF@chapswitch\arabic{section}}
2980 \def\SUF@HEAD@thesection{\arabic{section}}
2981 \def\SUF@dotsec{}
2982 \def\SUF@SEC@contentslabel{\thecontentslabel}
2983 \or
2984 \def\SUF@thesection{\textsc{\SUF@chapswitch\roman{section}}}
2985 \def\SUF@HEAD@thesection{\textsc{\roman{section}}}
2986 \def\SUF@dotsec{}
2987 \def\SUF@SEC@contentslabel{\textsc{\@roman{\thecontentslabel}}}
2988 \or
2989 \def\SUF@thesection{\SUF@chapswitch\Roman{section}}
2990 \def\SUF@HEAD@thesection{\Roman{section}}
2991 \def\SUF@dotsec{}
2992 \def\SUF@SEC@contentslabel{\@Roman{\thecontentslabel}}
2993 \or
2994 \def\SUF@thesection{\SUF@chapswitch\arabic{section}}
2995 \def\SUF@HEAD@thesection{\arabic{section}}
2996 \def\SUF@dotsec{.}
2997 \def\SUF@SEC@contentslabel{\thecontentslabel}
2998 \or
2999 \def\SUF@thesection{\SUF@chapswitch\textsc{\roman{section}}}
3000 \def\SUF@HEAD@thesection{\textsc{\roman{section}}}
3001 \def\SUF@dotsec{.}
3002 \def\SUF@SEC@contentslabel{\textsc{\@roman{\thecontentslabel}}}
3003 \or
3004 \def\SUF@thesection{\SUF@chapswitch\Roman{section}}
3005 \def\SUF@HEAD@thesection{\Roman{section}}
3006 \def\SUF@dotsec{.}
3007 \def\SUF@SEC@contentslabel{\@Roman{\thecontentslabel}}
3008 \fi}
3009 % \end{macrocode}
3010 % \paragraph{Subsection number style}
3011 % \begin{macrocode}
3012 \define@choicekey{}{subsecnumstyle}[\suftesi@val\suftesi@nr]
3013 {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
3014 \ifcase\suftesi@nr\relax
3015 \def\SUF@thesubsection{\SUF@thesection.\arabic{subsection}}
3016 \def\SUF@dotsubsec{}
3017 \def\SUF@SUBSEC@contentslabel{\thecontentslabel}
3018 \or
3019 \def\SUF@thesubsection{\SUF@thesection.\textsc{\roman{subsection}}}
3020 \def\SUF@dotsubsec{}
3021 \def\SUF@SUBSEC@contentslabel{\textsc{\@roman{\thecontentslabel}}}
3022 \or
3023 \def\SUF@thesubsection{\SUF@thesection.\Roman{subsection}}
3024 \def\SUF@dotsubsec{}
3025 \def\SUF@SUBSEC@contentslabel{\@Roman{\thecontentslabel}}
3026 \or
3027 \def\SUF@thesubsection{\SUF@thesection.\arabic{subsection}}
3028 \def\SUF@dotsubsec{.}
3029 \def\SUF@SUBSEC@contentslabel{\thecontentslabel}
3030 \or
3031 \def\SUF@thesubsection{\SUF@thesection.\textsc{\roman{subsection}}}
3032 \def\SUF@dotsubsec{.}
3033 \def\SUF@SUBSEC@contentslabel{\textsc{\@roman{\thecontentslabel}}}
3034 \or
3035 \def\SUF@thesubsection{\SUF@thesection.\Roman{subsection}}
3036 \def\SUF@dotsubsec{.}
3037 \def\SUF@SUBSEC@contentslabel{\@Roman{\thecontentslabel}}
3038 \fi}
3039 % \end{macrocode}
3040 % \paragraph{Sub-subsection number style}
3041 % \begin{macrocode}
3042 \define@choicekey{}{subsubsecnumstyle}[\suftesi@val\suftesi@nr]
3043 {arabic,roman,Roman,dotarabic,dotroman,dotRoman}[arabic]{%
3044 \ifcase\suftesi@nr\relax
3045 \def\SUF@thesubsubsection{\SUF@thesubsection.\arabic{subsubsection}}
3046 \def\SUF@dotsubsubsec{}
3047 \def\SUF@SUBSUBSEC@contentslabel{\thecontentslabel}
3048 \or
3049 \def\SUF@thesubsubsection{\SUF@thesubsection.\textsc{\roman{subsubsection}}}
3050 \def\SUF@dotsubsubsec{}
3051 \def\SUF@SUBSUBSEC@contentslabel{\textsc{\@roman{\thecontentslabel}}}
3052 \or
3053 \def\SUF@thesubsubsection{\SUF@thesubsection.\Roman{subsubsection}}
3054 \def\SUF@dotsubsubsec{}
3055 \def\SUF@SUBSUBSEC@contentslabel{\@Roman{\thecontentslabel}}
3056 \or
3057 \def\SUF@thesubsubsection{\SUF@thesubsection.\arabic{subsubsection}}
3058 \def\SUF@dotsubsubsec{.}
3059 \def\SUF@SUBSUBSEC@contentslabel{\thecontentslabel}
3060 \or
3061 \def\SUF@thesubsubsection{\SUF@thesubsection.\textsc{\roman{subsubsection}}}
3062 \def\SUF@dotsubsubsec{.}
3063 \def\SUF@SUBSUBSEC@contentslabel{\textsc{\@roman{\thecontentslabel}}}
3064 \or
3065 \def\SUF@thesubsubsection{\SUF@thesubsection.\Roman{subsubsection}}
3066 \def\SUF@dotsubsubsec{.}
3067 \def\SUF@SUBSUBSEC@contentslabel{\@Roman{\thecontentslabel}}
3068 \fi}
3069 % \end{macrocode}
3070 % \subsubsection{Table of contents}
3071 % \paragraph{Table of contents style}
3072 % \begin{macrocode}
3073 \define@choicekey{}{tocstyle}[\suftesi@val\suftesi@nr]
3074 {standard,dotted,ragged,leftpage}[standard]{%
3075 \ifcase\suftesi@nr\relax
3076 \def\SUF@titlerule{\titlerule*{}}
3077 \def\SUF@chaptitlerule{\titlerule*{}}
3078 \or
3079 \suftesi@dottedtoctrue
3080 \def\SUF@titlerule{\titlerule*{\footnotesize .\ }}
3081 \def\SUF@chaptitlerule{\titlerule*{}}
3082 \or
3083 \suftesi@raggedtoctrue
3084 \def\SUF@titlerule{\hspace{1em}}
3085 \def\SUF@chaptitlerule{\hspace{1em}}
3086 \or
3087 \suftesi@pagelefttoctrue
3088 \fi}
3089 \define@choicekey{}{compacttoc}[\suftesi@val\suftesi@nr]
3090 {sec,subsec,subsubsec,par,subpar}[sec]{%
3091 \ifcase\suftesi@nr\relax
3092 \suftesi@ctocsectrue
3093 \suftesi@ctocsubsectrue
3094 \suftesi@ctocsubsubsectrue
3095 \suftesi@ctocpartrue
3096 \suftesi@ctocsubpartrue
3097 \def\SUF@sscorrect{\hskip.5em}
3098 \def\SUF@ssscorrect{\hskip.5em}
3099 \def\SUF@pcorrect{\hskip.5em}
3100 \def\SUF@pcorrect{\hskip.5em}
3101 \or
3102 \suftesi@ctocsubsectrue
3103 \suftesi@ctocsubsubsectrue
3104 \suftesi@ctocpartrue
3105 \suftesi@ctocsubpartrue
3106 \def\SUF@sscorrect{\relax}
3107 \def\SUF@ssscorrect{\hskip.5em}
3108 \def\SUF@pcorrect{\hskip.5em}
3109 \def\SUF@pcorrect{\hskip.5em}
3110 \or
3111 \suftesi@ctocsubsubsectrue
3112 \suftesi@ctocpartrue
3113 \suftesi@ctocsubpartrue
3114 \def\SUF@sscorrect{\relax}
3115 \def\SUF@ssscorrect{\relax}
3116 \def\SUF@pcorrect{\hskip.5em}
3117 \def\SUF@pcorrect{\hskip.5em}
3118 \or
3119 \suftesi@ctocpartrue
3120 \suftesi@ctocsubpartrue
3121 \def\SUF@sscorrect{\relax}
3122 \def\SUF@ssscorrect{\relax}
3123 \def\SUF@pcorrect{\relax}
3124 \def\SUF@pcorrect{\hskip.5em}
3125 \or
3126 \suftesi@ctocsubpartrue
3127 \def\SUF@sscorrect{\relax}
3128 \def\SUF@ssscorrect{\relax}
3129 \def\SUF@pcorrect{\relax}
3130 \def\SUF@pcorrect{\relax}
3131 \fi}
3132 \define@choicekey{}{twocolcontents}[\suftesi@val\suftesi@nr]
3133 {toc,lof,lot,toclof,toclot,loflot,all}[all]{%
3134 \ifcase\suftesi@nr\relax
3135 \suftesi@twocolumntoctrue
3136 \setkeys{}{tocstyle=ragged}
3137 \or
3138 \suftesi@twocolumnloftrue
3139 \setkeys{}{tocstyle=ragged}
3140 \or
3141 \suftesi@twocolumnlottrue
3142 \setkeys{}{tocstyle=ragged}
3143 \or
3144 \suftesi@twocolumntoctrue
3145 \suftesi@twocolumnloftrue
3146 \setkeys{}{tocstyle=ragged}
3147 \or
3148 \suftesi@twocolumntoctrue
3149 \suftesi@twocolumnlottrue
3150 \setkeys{}{tocstyle=ragged}
3151 \or
3152 \suftesi@twocolumnloftrue
3153 \suftesi@twocolumnlottrue
3154 \setkeys{}{tocstyle=ragged}
3155 \or
3156 \suftesi@twocolumntoctrue
3157 \suftesi@twocolumnloftrue
3158 \suftesi@twocolumnlottrue
3159 \setkeys{}{tocstyle=ragged}
3160 \fi}
3161 \define@boolkey{}[SUF@]{partialtoc}[true]{}
3162 % \end{macrocode}
3163 % \paragraph{Table of contents font}
3164 % \begin{macrocode}
3165 \define@choicekey{}{tocpartfont}[\suftesi@val\suftesi@nr]
3166 {roman,italic,smallcaps}[roman]{%
3167 \ifcase\suftesi@nr\relax
3168 \def\SUF@tocPART@font{\relax}
3169 \or
3170 \def\SUF@tocPART@font{\itshape}
3171 \or
3172 \def\SUF@tocPART@font{\expandafter\SUF@TOCtitlesmallcaps}
3173 \fi}
3174 \define@choicekey{}{tocchapfont}[\suftesi@val\suftesi@nr]
3175 {roman,italic,smallcaps}[roman]{%
3176 \ifcase\suftesi@nr\relax
3177 \def\SUF@tocCHAP@font{\relax}
3178 \or
3179 \def\SUF@tocCHAP@font{\itshape}
3180 \or
3181 \def\SUF@tocCHAP@font{\expandafter\SUF@TOCtitlesmallcaps}
3182 \fi}
3183 \define@choicekey{}{tocsecfont}[\suftesi@val\suftesi@nr]
3184 {roman,italic,smallcaps}[italic]{%
3185 \ifcase\suftesi@nr\relax
3186 \def\SUF@tocSEC@font{\relax}
3187 \or
3188 \def\SUF@tocSEC@font{\itshape}
3189 \or
3190 \def\SUF@tocSEC@font{\expandafter\SUF@TOCtitlesmallcaps}
3191 \fi}
3192 \define@choicekey{}{tocsubsecfont}[\suftesi@val\suftesi@nr]
3193 {roman,italic,smallcaps}[roman]{%
3194 \ifcase\suftesi@nr\relax
3195 \def\SUF@tocSUBSEC@font{\relax}
3196 \or
3197 \def\SUF@tocSUBSEC@font{\itshape}
3198 \or
3199 \def\SUF@tocSUBSEC@font{\expandafter\SUF@TOCtitlesmallcaps}
3200 \fi}
3201 \define@choicekey{}{tocsubsubsecfont}[\suftesi@val\suftesi@nr]
3202 {roman,italic,smallcaps}[roman]{%
3203 \ifcase\suftesi@nr\relax
3204 \def\SUF@tocSUBSUBSEC@font{\relax}
3205 \or
3206 \def\SUF@tocSUBSUBSEC@font{\itshape}
3207 \or
3208 \def\SUF@tocSUBSUBSEC@font{\expandafter\SUF@TOCtitlesmallcaps}
3209 \fi}
3210 \define@choicekey{}{tocparfont}[\suftesi@val\suftesi@nr]
3211 {roman,italic,smallcaps}[roman]{%
3212 \ifcase\suftesi@nr\relax
3213 \def\SUF@tocPAR@font{\relax}
3214 \or
3215 \def\SUF@tocPAR@font{\itshape}
3216 \or
3217 \def\SUF@tocPAR@font{\expandafter\SUF@TOCtitlesmallcaps}
3218 \fi}
3219 \define@choicekey{}{tocsubparfont}[\suftesi@val\suftesi@nr]
3220 {roman,italic,smallcaps}[roman]{%
3221 \ifcase\suftesi@nr\relax
3222 \def\SUF@tocSUBPAR@font{\relax}
3223 \or
3224 \def\SUF@tocSUBPAR@font{\itshape}
3225 \or
3226 \def\SUF@tocSUBPAR@font{\expandafter\SUF@TOCtitlesmallcaps}
3227 \fi}
3228 % \end{macrocode}
3229 % \subsubsection{Headers}
3230 % \paragraph{Header style}
3231 % \begin{macrocode}
3232 \define@choicekey{}{headerstyle}[\suftesi@val\suftesi@nr]
3233 {inner,center,plain,authortitleinner,authortitlecenter}[inner]{%
3234 \ifcase\suftesi@nr\relax
3235 \def\SUF@rightmark{\SUF@Rheadstyle{\rightmark}}
3236 \def\SUF@leftmark{\SUF@Lheadstyle{\SUF@leftrightmark}}
3237 \or
3238 \suftesi@centerheadertrue
3239 \def\SUF@rightmark{\SUF@Rheadstyle{\rightmark}}
3240 \def\SUF@leftmark{\SUF@Lheadstyle{\SUF@leftrightmark}}
3241 \or
3242 \suftesi@sufplaintrue
3243 \or
3244 \suftesi@authortitletrue
3245 \def\SUF@rightmark{\let\thanks\@gobble\SUF@Rheadstyle{\@headtitle}}
3246 \def\SUF@leftmark{\let\thanks\@gobble\SUF@Lheadstyle{\@author}}
3247 \or
3248 \suftesi@authortitletrue
3249 \def\SUF@rightmark{\let\thanks\@gobble\SUF@Rheadstyle{\@headtitle}}
3250 \def\SUF@leftmark{\let\thanks\@gobble\SUF@Lheadstyle{\@author}}
3251 \suftesi@centerheadertrue
3252 \fi}
3253 % \end{macrocode}
3254 % \paragraph{Header font}
3255 % \begin{macrocode}
3256 \define@choicekey{}{headerfont}[\suftesi@val\suftesi@nr]
3257 {roman,italic,smallcaps}[roman]{%
3258 \ifcase\suftesi@nr\relax
3259 \def\SUF@Rheadstyle{}
3260 \def\SUF@Lheadstyle{}
3261 \def\SUF@thepage{\thepage}
3262 \or
3263 \def\SUF@Rheadstyle{\itshape}
3264 \def\SUF@Lheadstyle{\itshape}
3265 \def\SUF@thepage{\thepage}
3266 \or
3267 \def\SUF@Rheadstyle{\SUF@headersmallcaps}
3268 \def\SUF@Lheadstyle{\SUF@headersmallcaps}
3269 \def\SUF@thepage{\SUF@headersmallcaps{\thepage}}
3270 \fi}
3271 % \end{macrocode}
3272 % \subsubsection{Text elements}
3273 % \paragraph{Lists}
3274 % \begin{macrocode}
3275 \RequirePackage[inline]{enumitem}
3276 \setlist[itemize,1]{label=\color{sufgray}\textbullet}
3277 \setlist{itemsep=.5ex,parsep=0pt,listparindent=\parindent}
3278 \setlist[description]{font=\normalfont\itshape}
3279 \define@choicekey{}{liststyle}[\suftesi@val\suftesi@nr]
3280 {bulged,aligned,indented}[bulged]{%
3281 \ifcase\suftesi@nr\relax
3282 \setlist[enumerate,1]{leftmargin=0pt,label=\arabic*.}
3283 \setlist[enumerate,2]{leftmargin= 1.3\parindent,label=\alph*.}
3284 \setlist[enumerate,3]{leftmargin= 1.3\parindent,label=\roman*.}
3285 \setlist[itemize,1]{leftmargin=0pt}
3286 \setlist[itemize,2]{leftmargin=1.3\parindent}
3287 \setlist[itemize,3]{leftmargin=1.3\parindent}
3288 \or
3289 \setlist[enumerate,1]{leftmargin=1\parindent,label=\arabic*.}
3290 \setlist[enumerate,2]{leftmargin= 1.5\parindent,label=\alph*.}
3291 \setlist[enumerate,3]{leftmargin= 1.5\parindent,label=\roman*.}
3292 \setlist[itemize,1]{leftmargin=1\parindent}
3293 \setlist[itemize,2]{leftmargin=1.5\parindent}
3294 \setlist[itemize,3]{leftmargin=1.5\parindent}
3295 \or
3296 \setlist[enumerate,1]{leftmargin=2\parindent,label=\arabic*.}
3297 \setlist[enumerate,2]{leftmargin= 2.5\parindent,label=\alph*.}
3298 \setlist[enumerate,3]{leftmargin= 2.5\parindent,label=\roman*.}
3299 \setlist[itemize,1]{leftmargin=2\parindent}
3300 \setlist[itemize,2]{leftmargin=2.5\parindent}
3301 \setlist[itemize,3]{leftmargin=2.5\parindent}
3302 \fi}
3303 % \end{macrocode}
3304 % \paragraph{Quotations}
3305 % \begin{macrocode}
3306 \define@choicekey{}{quotestyle}[\suftesi@val\suftesi@nr]
3307 {center,right,justify}[center]{%
3308 \ifcase\suftesi@nr\relax
3309 \def\SUF@quote@style{\leftmargin=\parindent \rightmargin=\parindent}
3310 \or
3311 \def\SUF@quote@style{\leftmargin=\parindent}
3312 \or
3313 \def\SUF@quote@style{\leftmargin=0pt}
3314 \fi}
3315 \define@key{}{quotesize}[footnotesize]{
3316 \def\SUF@quotation@size{\csname #1\endcsname}}
3317 % \end{macrocode}
3318 % \paragraph{Footnotes}
3319 % \begin{macrocode}
3320 \define@choicekey{}{footnotestyle}[\suftesi@val\suftesi@nr]
3321 {bulged,hung,dotted,superscript}[bulged]{%
3322 \ifcase\suftesi@nr\relax
3323 \renewcommand\@makefntext{%
3324 \hskip-2.5em\makebox[2em][r]{\@thefnmark}\hskip.5em}
3325 \or
3326 \renewcommand\@makefntext{%
3327 \leftskip=1em\hskip-1.5em%
3328 \makebox[1em][r]{\@thefnmark}\hskip.5em}
3329 \or
3330 \renewcommand\@makefntext{%
3331 \@thefnmark.\hskip.5em}
3332 \or
3333 \renewcommand\@makefntext{%
3334 \textsuperscript{\@thefnmark}\hskip.3em}
3335 \fi}
3336 \define@boolkey{}[SUF@]{fewfootnotes}[true]{}
3337 % \end{macrocode}
3338 % \paragraph{Captions}
3339 % \begin{macrocode}
3340 \RequirePackage{caption}
3341 \captionsetup{labelsep=period,font=small,textformat=period}
3342 \define@choicekey{}{captionstyle}[\suftesi@val\suftesi@nr]
3343 {standard,sanserif,italic,smallcaps}[standard]{%
3344 \ifcase\suftesi@nr\relax
3345 \or
3346 \captionsetup{font+=sf}
3347 \or
3348 \captionsetup{font+=it}
3349 \or
3350 \captionsetup{labelfont=sc}
3351 \fi}
3352 % \end{macrocode}
3353 % \paragraph{Pre-defined styles}
3354 % \begin{macrocode}
3355 \define@choicekey{}{style}[\suftesi@val\suftesi@nr]
3356 {roman1,roman2,roman3,roman4,roman5,roman6,
3357 italic1,italic2,italic3,italic4,italic5,italic6,
3358 italic7,italic8,italic9,italic10,italic11,italic12,
3359 smallcaps1,smallcaps2,smallcaps3,smallcaps4,smallcaps5,smallcaps6,
3360 smallcaps7,smallcaps8,smallcaps9,smallcaps10,smallcaps11,smallcaps12,
3361 FSPLa,FSPLb,FSPLc}
3362 [roman1]{%
3363 \ifcase\suftesi@nr\relax
3364 % \end{macrocode}
3365 % \subparagraph{The `roman' styles}
3366 % \begin{macrocode}
3367 \setkeys{}{chapstyle=left}
3368 \or
3369 \setkeys{}{chapstyle=center}
3370 \or
3371 \setkeys{}{chapstyle=right}
3372 \or
3373 \setkeys{}{chapstyle=parleft}
3374 \or
3375 \setkeys{}{chapstyle=parcenter}
3376 \or
3377 \setkeys{}{chapstyle=parright}
3378 \or
3379 % \end{macrocode}
3380 % \subparagraph{The `italic' styles}
3381 % \begin{macrocode}
3382 \setkeys{}{
3383 chapstyle=left,
3384 chapfont=italic,
3385 tocchapfont=italic,
3386 headerfont=italic}
3387 \or
3388 \setkeys{}{
3389 chapstyle=center,
3390 chapfont=italic,
3391 tocchapfont=italic,
3392 headerfont=italic}
3393 \or
3394 \setkeys{}{
3395 chapstyle=right,
3396 chapfont=italic,
3397 tocchapfont=italic,
3398 headerfont=italic}
3399 \or
3400 \setkeys{}{
3401 chapstyle=parleft,
3402 chapfont=italic,
3403 tocchapfont=italic,
3404 headerfont=italic}
3405 \or
3406 \setkeys{}{
3407 chapstyle=parcenter,
3408 chapfont=italic,
3409 tocchapfont=italic,
3410 headerfont=italic}
3411 \or
3412 \setkeys{}{
3413 chapstyle=parright,
3414 chapfont=italic,
3415 tocchapfont=italic,
3416 headerfont=italic}
3417 \or
3418 \setkeys{}{
3419 chapstyle=left,
3420 chapfont=italic,
3421 tocchapfont=italic,
3422 secfont=smallcaps,
3423 headerfont=italic}
3424 \or
3425 \setkeys{}{
3426 chapstyle=center,
3427 chapfont=italic,
3428 tocchapfont=italic,
3429 secfont=smallcaps,
3430 headerfont=italic}
3431 \or
3432 \setkeys{}{
3433 chapstyle=right,
3434 chapfont=italic,
3435 tocchapfont=italic,
3436 secfont=smallcaps,
3437 headerfont=italic}
3438 \or
3439 \setkeys{}{
3440 chapstyle=parleft,
3441 chapfont=italic,
3442 tocchapfont=italic,
3443 secfont=smallcaps,
3444 headerfont=italic}
3445 \or
3446 \setkeys{}{
3447 chapstyle=parcenter,
3448 chapfont=italic,
3449 tocchapfont=italic,
3450 secfont=smallcaps,
3451 headerfont=italic}
3452 \or
3453 \setkeys{}{
3454 chapstyle=parright,
3455 chapfont=italic,
3456 tocchapfont=italic,
3457 secfont=smallcaps,
3458 headerfont=italic}
3459 \or
3460 % \end{macrocode}
3461 % \subparagraph{The `smallcaps' styles}
3462 % \begin{macrocode}
3463 \setkeys{}{
3464 chapstyle=left,
3465 chapfont=smallcaps,
3466 tocchapfont=smallcaps,
3467 headerfont=smallcaps}
3468 \or
3469 \setkeys{}{
3470 chapstyle=center,
3471 chapfont=smallcaps,
3472 tocchapfont=smallcaps,
3473 headerfont=smallcaps}
3474 \or
3475 \setkeys{}{
3476 chapstyle=right,
3477 chapfont=smallcaps,
3478 tocchapfont=smallcaps,
3479 headerfont=smallcaps}
3480 \or
3481 \setkeys{}{
3482 chapstyle=parleft,
3483 chapfont=smallcaps,
3484 tocchapfont=smallcaps,
3485 headerfont=smallcaps}
3486 \or
3487 \setkeys{}{
3488 chapstyle=parcenter,
3489 chapfont=smallcaps,
3490 tocchapfont=smallcaps,
3491 headerfont=smallcaps}
3492 \or
3493 \setkeys{}{
3494 chapstyle=parright,
3495 chapfont=smallcaps,
3496 tocchapfont=smallcaps,
3497 headerfont=smallcaps}
3498 \or
3499 \setkeys{}{
3500 chapstyle=left,
3501 chapfont=smallcaps,
3502 tocchapfont=smallcaps,
3503 secfont=smallcaps,
3504 headerfont=smallcaps}
3505 \or
3506 \setkeys{}{
3507 chapstyle=center,
3508 chapfont=smallcaps,
3509 tocchapfont=smallcaps,
3510 secfont=smallcaps,
3511 headerfont=smallcaps}
3512 \or
3513 \setkeys{}{
3514 chapstyle=right,
3515 chapfont=smallcaps,
3516 tocchapfont=smallcaps,
3517 secfont=smallcaps,
3518 headerfont=smallcaps}
3519 \or
3520 \setkeys{}{
3521 chapstyle=parleft,
3522 chapfont=smallcaps,
3523 tocchapfont=smallcaps,
3524 secfont=smallcaps,
3525 headerfont=smallcaps}
3526 \or
3527 \setkeys{}{
3528 chapstyle=parcenter,
3529 chapfont=smallcaps,
3530 tocchapfont=smallcaps,
3531 secfont=smallcaps,
3532 headerfont=smallcaps}
3533 \or
3534 \setkeys{}{
3535 chapstyle=parright,
3536 chapfont=smallcaps,
3537 tocchapfont=smallcaps,
3538 secfont=smallcaps,
3539 headerfont=smallcaps}
3540 \or
3541 % \end{macrocode}
3542 % \subparagraph{The \opt{FSPL} styles}
3543 % \begin{macrocode}
3544 \suftesi@periodicalaureotrue
3545 \suftesi@FSPLtrue
3546 \setkeys{}{%
3547 pagelayout=periodicalaureo,
3548 style=roman5,
3549 chapnumstyle=roman,
3550 headerstyle=inner,
3551 footnotestyle=hung,
3552 liststyle=indented,
3553 tocstyle=leftpage}
3554 \disable@keys{}
3555 {structure,documentstructure,pagelayout,partfont,chapfont,secfont,%
3556 subsecfont,subsubsecfont,partstyle,chapstyle,secstyle,%
3557 subsecstyle,subsubsecstyle,partnumstyle,chapnumstyle,%
3558 secnumstyle,tocstyle,headerstyle,headerfont,quotestyle,%
3559 quotesize,footnotestyle,liststyle,captionstyle}
3560 \or
3561 \suftesi@periodicalaureotrue
3562 \suftesi@FSPLtrue
3563 \setkeys{}{%
3564 pagelayout=periodicalaureo,
3565 style=italic5,
3566 chapnumstyle=roman,
3567 headerstyle=inner,
3568 headerfont=italic,
3569 footnotestyle=hung,
3570 liststyle=indented,
3571 tocstyle=leftpage}
3572 \disable@keys{}
3573 {structure,documentstructure,pagelayout,partfont,chapfont,secfont,%
3574 subsecfont,subsubsecfont,partstyle,chapstyle,secstyle,%
3575 subsecstyle,subsubsecstyle,partnumstyle,chapnumstyle,%
3576 secnumstyle,tocstyle,headerstyle,headerfont,quotestyle,%
3577 quotesize,footnotestyle,liststyle,captionstyle}
3578 \or
3579 \suftesi@periodicalaureotrue
3580 \suftesi@FSPLtrue
3581 \setkeys{}{%
3582 pagelayout=periodicalaureo,
3583 style=smallcaps5,
3584 chapnumstyle=roman,
3585 headerstyle=inner,
3586 headerfont=smallcaps,
3587 secfont=smallcaps,
3588 footnotestyle=hung,
3589 liststyle=indented,
3590 tocstyle=leftpage}
3591 \disable@keys{}
3592 {structure,documentstructure,pagelayout,partfont,chapfont,secfont,%
3593 subsecfont,subsubsecfont,partstyle,chapstyle,secstyle,%
3594 subsecstyle,subsubsecstyle,partnumstyle,chapnumstyle,%
3595 secnumstyle,tocstyle,headerstyle,headerfont,quotestyle,%
3596 quotesize,footnotestyle,liststyle,captionstyle}
3597 \fi}
3598 % \end{macrocode}
3599 % \paragraph{Options for the \opt{collection} document structure}
3600 % \begin{macrocode}
3601 \define@choicekey{}{authortitlealign}[\suftesi@val\suftesi@nr]
3602 {left,center,right}[left]{%
3603 \ifcase\suftesi@nr\relax
3604 \def\SUF@authortitle@align{\filright}
3605 \or
3606 \def\SUF@authortitle@align{\filcenter}
3607 \or
3608 \def\SUF@authortitle@align{\filleft}
3609 \fi}
3610 \define@choicekey{}{reverseauthortitle}[\suftesi@val\suftesi@nr]
3611 {true,false}[true]{%
3612 \ifcase\suftesi@nr\relax
3613 \def\SUF@first{\SUF@authorstyle\SUF@authorfont\@author}
3614 \def\SUF@second{\SUF@titlestyle\SUF@titlefont\@title}
3615 \or
3616 \def\SUF@first{\SUF@titlestyle\SUF@titlefont\@title}
3617 \def\SUF@second{\SUF@authorstyle\SUF@authorfont\@author}
3618 \relax
3619 \fi}
3620 \define@choicekey{}{maketitlestyle}[\suftesi@val\suftesi@nr]
3621 {suftesi,standard}[suftesi]{%
3622 \ifcase\suftesi@nr\relax
3623 \def\SUF@titlestyle{\SUF@chaptersize\color{sufred}\sffamily}
3624 \def\SUF@authorstyle{\small}
3625 \def\SUF@datefont{\small}
3626 \or
3627 \def\SUF@titlestyle{\LARGE}
3628 \def\SUF@authorstyle{\large}
3629 \def\SUF@datefont{\small}
3630 \fi}
3631 \define@choicekey{}{titlefont}[\suftesi@val\suftesi@nr]
3632 {roman,italic,smallcaps}[suftesi]{%
3633 \ifcase\suftesi@nr\relax
3634 \def\SUF@titlefont{\relax}
3635 \or
3636 \def\SUF@titlefont{\itshape}
3637 \or
3638 \def\SUF@titlefont{\expandafter\SUF@titlesmallcaps}
3639 \fi}
3640 \define@choicekey{}{authorfont}[\suftesi@val\suftesi@nr]
3641 {roman,italic,smallcaps}[suftesi]{%
3642 \ifcase\suftesi@nr\relax
3643 \def\SUF@authorfont{\relax}
3644 \or
3645 \def\SUF@authorfont{\itshape}
3646 \or
3647 \def\SUF@authorfont{\expandafter\SUF@titlesmallcaps}
3648 \fi}
3649 \define@choicekey{}{datefont}[\suftesi@val\suftesi@nr]
3650 {roman,italic,smallcaps}[roman]{%
3651 \ifcase\suftesi@nr\relax
3652 \def\SUF@datefont{\relax}
3653 \or
3654 \def\SUF@datefont{\itshape}
3655 \or
3656 \def\SUF@datefont{\expandafter\SUF@titlesmallcaps}
3657 \fi}
3658 \define@choicekey{}{toctitlefont}[\suftesi@val\suftesi@nr]
3659 {roman,italic,smallcaps}[italic]{%
3660 \ifcase\suftesi@nr\relax
3661 \def\SUF@tocTIT@font{\relax}
3662 \or
3663 \def\SUF@tocTIT@font{\itshape}
3664 \or
3665 \def\SUF@tocTIT@font{\expandafter\SUF@TOCtitlesmallcaps}
3666 \fi}
3667 \define@choicekey{}{tocauthorfont}[\suftesi@val\suftesi@nr]
3668 {roman,italic,smallcaps}[roman]{%
3669 \ifcase\suftesi@nr\relax
3670 \def\SUF@tocAUT@font{\relax}
3671 \or
3672 \def\SUF@tocAUT@font{\itshape}
3673 \or
3674 \def\SUF@tocAUT@font{\expandafter\SUF@TOCtitlesmallcaps}
3675 \fi}
3676 % \end{macrocode}
3677 % \subsubsection{Deprecated options}
3678 % \begin{macrocode}
3679 \define@choicekey{}{documentstructure}[\suftesi@val\suftesi@nr]
3680 {book,article,collection}[book]{%
3681 \ClassWarningNoLine{suftesi}{%
3682 'documentstructure' option is deprecated.\MessageBreak
3683 Use 'structure' option instead}
3684 \ifcase\suftesi@nr\relax
3685 \setkeys{}{structure=book}
3686 \or
3687 \setkeys{}{structure=article}
3688 \or
3689 \setkeys{}{structure=collection}
3690 \fi}
3691 \define@choicekey{}{crop}[\suftesi@val\suftesi@nr]
3692 {true,false}[true]{%
3693 \ClassWarningNoLine{suftesi}{%
3694 'crop' option is deprecated.\MessageBreak
3695 Use 'version' option instead}
3696 \ifcase\suftesi@nr\relax
3697 \setkeys{}{version=draft}
3698 \or
3699 \setkeys{}{version=screen}
3700 \fi}
3701 \define@choicekey{}{papertitlestyle}[\suftesi@val\suftesi@nr]
3702 {left,center,right}[left]{%
3703 \ClassWarningNoLine{suftesi}{%
3704 'papertitlestyle' option is deprecated.\MessageBreak
3705 Use 'authortitlealign' option instead}
3706 \ifcase\suftesi@nr\relax
3707 \def\SUF@authortitle@align{\filright}
3708 \or
3709 \def\SUF@authortitle@align{\filcenter}
3710 \or
3711 \def\SUF@authortitle@align{\filleft}
3712 \fi}
3713 \define@choicekey{}{revauthortitle}[\suftesi@val\suftesi@nr]
3714 {true,false}[true]{%
3715 \ClassWarningNoLine{suftesi}{%
3716 'revauthortitle' option is deprecated.\MessageBreak
3717 Use 'reverseauthortitle' option instead}
3718 \ifcase\suftesi@nr\relax
3719 \def\SUF@first{\SUF@authorstyle\SUF@authorfont\@author}
3720 \def\SUF@second{\SUF@titlestyle\SUF@titlefont\@title}
3721 \or
3722 \def\SUF@first{\SUF@titlestyle\SUF@titlefont\@title}
3723 \def\SUF@second{\SUF@authorstyle\SUF@authorfont\@author}
3724 \relax
3725 \fi}
3726 % \end{macrocode}
3727 % \subsubsection{Options processing}
3728 % \begin{macrocode}
3729 \ExecuteOptionsX<>{
3730 structure=book,
3731 pagelayout=standard,
3732 headerstyle=inner,
3733 headerfont=roman,
3734 defaultfont=cochineal,
3735 greekfont=none,
3736 mathfont=minimal,
3737 smallcapsstyle=low,
3738 liststyle=bulged,
3739 footnotestyle=bulged,
3740 quotesize=footnotesize,
3741 quotestyle=center,
3742 captionstyle=standard,
3743 marginpar=true,
3744 tocstyle=standard,
3745 partstyle=left,
3746 chapstyle=left,
3747 secstyle=left,
3748 subsecstyle=left,
3749 subsubsecstyle=left,
3750 partnumstyle=Roman,
3751 chapnumstyle=arabic,
3752 secnumstyle=arabic,
3753 subsecnumstyle=arabic,
3754 subsubsecnumstyle=arabic,
3755 partfont=roman,
3756 chapfont=roman,
3757 secfont=italic,
3758 subsecfont=roman,
3759 subsubsecfont=roman,
3760 parfont=italic,
3761 subparfont=roman,
3762 tocpartfont=roman,
3763 tocchapfont=roman,
3764 tocsecfont=roman,
3765 tocsubsecfont=roman,
3766 tocsubsubsecfont=roman,
3767 tocparfont=roman,
3768 tocsubparfont=roman,
3769 maketitlestyle=suftesi,
3770 titlefont=roman,
3771 authorfont=roman,
3772 datefont=roman,
3773 toctitlefont=italic,
3774 tocauthorfont=roman,
3775 reverseauthortitle=false,
3776 authortitlealign=left}
3777 % \end{macrocode}
3778 % A trick to delete the class options from \cmd{XKV@classoptionslist},
3779 % in order to avoid incompatibility with packages using options
3780 % defined by \sty{suftesi} too. Thanks to Enrico Gregorio! (In previous versions
3781 % this command was placed after the option processing. Move it back if needed.)
3782 % \begin{macrocode}
3783 \def\XKV@classoptionslist{}
3784 \ProcessOptionsX<>\relax
3785 % \end{macrocode}
3786 % ^^A The use of the \cmd{XKV@useoption} command, provided by
3787 % ^^A the \sty{xkeyval}, is a trick to delete the option given as
3788 % ^^A its argument from the list stored in \cmd{@unusedoptionlist}
3789 % ^^A so that the option will not produce the ``Unused global options''
3790 % ^^A message:
3791 % ^^A \begin{macrocode}
3792 % ^^A\XKV@useoption{a4paper}
3793 % ^^A\XKV@useoption{10pt}
3794 % ^^A\XKV@useoption{11pt}
3795 % ^^A\XKV@useoption{12pt}
3796 % ^^A\XKV@useoption{oneside}
3797 % ^^A\XKV@useoption{twoside}
3798 % ^^A\XKV@useoption{onecolumn}
3799 % ^^A\XKV@useoption{twocolumn}
3800 % ^^A\XKV@useoption{titlepage}
3801 % ^^A\XKV@useoption{notitlepage}
3802 % ^^A\XKV@useoption{openright}
3803 % ^^A\XKV@useoption{openany}
3804 % ^^A\XKV@useoption{leqno}
3805 % ^^A\XKV@useoption{fleqn}
3806 % ^^A\XKV@useoption{a5paper}
3807 % ^^A\XKV@useoption{b5paper}
3808 % ^^A\XKV@useoption{legalpaper}
3809 % ^^A\XKV@useoption{executivepaper}
3810 % ^^A\XKV@useoption{landscape}
3811 % ^^A \end{macrocode}
3812 % \subsection{Basic packages}
3813 % \begin{macrocode}
3814 \RequirePackage{multicol}
3815 \RequirePackage{emptypage}
3816 \RequirePackage{microtype}
3817 \RequirePackage{color}
3818 \AtBeginDocument{
3819 \definecolor{sufred}{rgb}{0.5,0,0}
3820 \definecolor{sufgray}{rgb}{0.5,0.5,0.5}
3821 }
3822 \RequirePackage{iftex}
3823 \ifLuaTeX
3824 \RequirePackage{luatex85}
3825 \fi
3826 % \end{macrocode}
3827 % The \sty{etoolbox} package is required to use \cmd{AtEndPreamble} (see \pageref{page:atendpreamble}).
3828 % \begin{macrocode}
3829 \RequirePackage{etoolbox}
3830 % \end{macrocode}
3831 % The FSPL style requires a verbose colophon which uses specific icons:
3832 % \begin{macrocode}
3833 \ifsuftesi@FSPL
3834 \RequirePackage{cclicenses}
3835 \fi
3836 % \end{macrocode}
3837 % If \opt{version=screen} or \opt{version=cscreen} the \sty{crop} package is not loaded. This can create problems if the \cmd{crop} command has been used in the document, for example to remove the crop marks from a certain page onwards (with \cmd{crop}|[off]|). For this reason, the \cmd{crop} command is defined (in practice it is rendered ineffective) so as not to produce errors if it had been used within the document.
3838 % \begin{macrocode}
3839 \ifsuftesi@screen
3840 \newcommand*\crop[1][]{}
3841 \ifsuftesi@screencentered
3842 \geometry{hmarginratio=1:1}
3843 \fi
3844 \else
3845 \RequirePackage[a4,cam,center]{crop}
3846 \fi
3847 % \end{macrocode}
3848 % \subsection{Fonts}
3849 % If you use \hologo{XeLaTeX} or \hologo{LuaLaTeX} no default font is loaded.
3850 % Anyway the \sty{fontspec} package is required because some commands
3851 % of the class are base on it. If \sty{fontspec} is not loaded, a class error will be issued.
3852 % \begin{macrocode}
3853 \unless\ifPDFTeX
3854 \AtBeginDocument{%
3855 \@ifpackageloaded{fontspec}
3856 {\relax}
3857 {\ClassError{suftesi}
3858 {***********************************\MessageBreak
3859 * For using suftesi with XeLaTeX\MessageBreak
3860 * load either 'fontspec' or 'mathspec'\MessageBreak
3861 * For using suftesi with LuaLaTeX\MessageBreak
3862 * load 'fontspec' \MessageBreak
3863 ************************************}
3864 {***********************************\MessageBreak
3865 * For using suftesi with XeLaTeX\MessageBreak
3866 * load either 'fontspec' or 'mathspec'\MessageBreak
3867 * For using suftesi with LuaLaTeX\MessageBreak
3868 * load 'fontspec' \MessageBreak
3869 ************************************}}}
3870 \else
3871 \RequirePackage[LGR,T1]{fontenc}
3872 \AtBeginDocument{\fontencoding{T1}\selectfont}
3873 % \end{macrocode}
3874 % Now we load the macros for the \sty{defaultfont} option.
3875 % The greek fonts by the Greek Font Society are available
3876 % only with \opt{palatino}, \opt{libertine} and \opt{cochineal} options.
3877 % A warning appears if the \opt{cbgreek} option is unused.
3878 % \begin{macrocode}
3879 \ifsuftesi@nofont
3880 \ifsuftesi@greekfont
3881 \ClassWarningNoLine{suftesi}{%
3882 Unused 'greekfont' option}%
3883 \suftesi@greekfontfalse
3884 \else\suftesi@greekfontfalse\fi
3885 \else
3886 \ifsuftesi@lmodern
3887 \RequirePackage{lmodern}
3888 \ifsuftesi@greekfont
3889 \ClassWarningNoLine{suftesi}{%
3890 Unused 'greekfont' option}%
3891 \suftesi@greekfontfalse
3892 \else\suftesi@greekfontfalse\fi
3893 \else
3894 % \end{macrocode}
3895 % Previous versions of the class were based on
3896 % Palatino (\sty{mathpazo}), Iwona and Bera Mono.
3897 % Now this combination is provided only
3898 % for backward compatibility.
3899 % \begin{macrocode}
3900 \ifsuftesi@mathpazo
3901 \RequirePackage[osf,sc]{mathpazo}
3902 \RequirePackage[scaled=0.8]{beramono}
3903 \renewcommand{\sfdefault}{iwona}
3904 \ifsuftesi@greekfont
3905 \ifsuftesi@bodoni
3906 \gdef\SUFfntscale{0.96}
3907 \else
3908 \ifsuftesi@artemisia
3909 \gdef\SUFfntscale{0.97}
3910 \else
3911 \ifsuftesi@porson
3912 \gdef\SUFfntscale{1.17}
3913 \else
3914 \ifsuftesi@cbgreek
3915 \def\lmfntscale{1.06}
3916 \else
3917 \fi
3918 \fi
3919 \fi
3920 \fi
3921 \else
3922 \ClassWarningNoLine{suftesi}{\MessageBreak
3923 If you need the Greek font remember\MessageBreak
3924 to set one of the following options:\MessageBreak
3925 greekfont=artemisia,\MessageBreak
3926 greekfont=porson,\MessageBreak
3927 greekfont=cbgreek}
3928 \fi
3929 \else
3930 \ifsuftesi@palatino
3931 \RequirePackage[full]{textcomp}
3932 \RequirePackage{newpxtext}
3933 \RequirePackage[scaled=1.06]{biolinum}
3934 \RequirePackage[varqu,varl]{inconsolata}
3935 \ifsuftesi@mathextended
3936 \RequirePackage{amsthm}
3937 \RequirePackage[bigdelims,vvarbb]{newpxmath}
3938 \RequirePackage[cal=boondoxo]{mathalpha}
3939 \else
3940 \ifsuftesi@mathminimal
3941 \RequirePackage[bigdelims,vvarbb]{newpxmath}
3942 \else
3943 \fi
3944 \fi
3945 \useosf
3946 \useproportional
3947 \ifsuftesi@greekfont
3948 \ifsuftesi@bodoni
3949 \gdef\SUFfntscale{0.96}
3950 \else
3951 \ifsuftesi@artemisia
3952 \gdef\SUFfntscale{0.97}
3953 \else
3954 \ifsuftesi@porson
3955 \gdef\SUFfntscale{1.17}
3956 \else
3957 \ifsuftesi@cbgreek
3958 \def\lmfntscale{1.06}
3959 \else
3960 \fi
3961 \fi
3962 \fi
3963 \fi
3964 \else
3965 \ClassWarningNoLine{suftesi}{\MessageBreak
3966 If you need the Greek font remember\MessageBreak
3967 to set one of the following options:\MessageBreak
3968 greekfont=artemisia,\MessageBreak
3969 greekfont=porson,\MessageBreak
3970 greekfont=cbgreek}
3971 \fi
3972 \else
3973 \ifsuftesi@libertine
3974 \RequirePackage{textcomp}
3975 \RequirePackage[sb]{libertine}
3976 \RequirePackage[varqu,varl,scaled=0.94]{inconsolata}
3977 \ifsuftesi@mathextended
3978 \RequirePackage{amsthm}
3979 \RequirePackage{libertinust1math}
3980 \RequirePackage[cal=stix,scr=boondoxo,bb=boondox]{mathalpha}
3981 \else
3982 \ifsuftesi@mathminimal
3983 \RequirePackage{libertinust1math}
3984 \else
3985 \fi
3986 \fi
3987 \useosf
3988 \ifsuftesi@bodoni
3989 \gdef\SUFfntscale{0.9}
3990 \else
3991 \ifsuftesi@artemisia
3992 \gdef\SUFfntscale{0.91}
3993 \else
3994 \ifsuftesi@porson
3995 \gdef\SUFfntscale{1.1}
3996 \else
3997 \fi
3998 \fi
3999 \fi
4000 \else
4001 \ifsuftesi@cochineal
4002 \RequirePackage{textcomp}
4003 \RequirePackage{cochineal}
4004 \RequirePackage[varqu,varl,var0]{inconsolata}
4005 \RequirePackage{biolinum}
4006 \ifsuftesi@mathextended
4007 \RequirePackage{amsthm}
4008 \RequirePackage[cochineal,bigdelims,cmintegrals,vvarbb]{newtxmath}
4009 \RequirePackage[cal=boondoxo]{mathalpha}
4010 \else
4011 \ifsuftesi@mathminimal
4012 \RequirePackage[cochineal,bigdelims,cmintegrals,vvarbb]{newtxmath}
4013 \else
4014 \fi
4015 \fi
4016 \useosf
4017 \useproportional
4018 \ifsuftesi@bodoni
4019 \gdef\SUFfntscale{0.9}
4020 \else
4021 \ifsuftesi@artemisia
4022 \gdef\SUFfntscale{0.905}
4023 \else
4024 \ifsuftesi@porson
4025 \gdef\SUFfntscale{1.1}
4026 \else
4027 \fi
4028 \fi
4029 \fi
4030 \else
4031 \fi
4032 \fi
4033 \fi
4034 \fi
4035 \fi
4036 \fi
4037 \fi
4038 \unless\ifPDFTeX\else
4039 \ifsuftesi@greekfont
4040 \ifsuftesi@artemisia
4041 \def\SUF@greekfamily{artemisia}
4042 \else
4043 \ifsuftesi@porson
4044 \def\SUF@greekfamily{porson}
4045 \else
4046 \ifsuftesi@bodoni
4047 \def\SUF@greekfamily{bodoni}
4048 \else
4049 \ifsuftesi@cbgreek
4050 \def\SUF@greekfamily{lmr}
4051 \else
4052 \fi
4053 \fi
4054 \fi
4055 \fi
4056 % \end{macrocode}
4057 %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.\label{page:atendpreamble}
4058 % \begin{macrocode}
4059 \AtEndPreamble{
4060 \DeclareFontFamilySubstitution{LGR}{\rmdefault}{\SUF@greekfamily}
4061 \DeclareRobustCommand{\greektext}{%
4062 \usefont{LGR}{\SUF@greekfamily}{\f@series}{\f@shape}
4063 \def\encodingdefault{LGR}}
4064 \DeclareTextFontCommand{\textgreek}{\greektext}}
4065 \ifsuftesi@cbgreek
4066 \else
4067 % \end{macrocode}
4068 % We redefine the font definitions of the GFS fonts
4069 % in order to scale the fonts according to the roman default.
4070 % The first code for the Porson font (\sty{suftesi} <v.2.4) has been written
4071 % by Enrico Gregorio. Claudio Beccari successively added the code to improve the
4072 % scale factor when using this greek font in combination with Palatino.
4073 % \begin{macrocode}
4074 \DeclareFontFamily{LGR}{bodoni}{}
4075 \DeclareFontShape{LGR}{bodoni}{m}{n}{<-> s * [\SUFfntscale] gbodonirg6a}{}
4076 \DeclareFontShape{LGR}{bodoni}{m}{it}{<-> s * [\SUFfntscale] gbodonii6a}{}
4077 \DeclareFontShape{LGR}{bodoni}{b}{n}{<-> s * [\SUFfntscale] gbodonib6a}{}
4078 \DeclareFontShape{LGR}{bodoni}{b}{it}{<-> s * [\SUFfntscale] gbodonibi6a}{}
4079 \DeclareFontShape{LGR}{bodoni}{m}{sl}{<-> s * [\SUFfntscale] gbodonio6a}{}
4080 \DeclareFontShape{LGR}{bodoni}{b}{sl}{<-> s * [\SUFfntscale] gbodonibo6a}{}
4081 \DeclareFontShape{LGR}{bodoni}{m}{sc}{<-> s * [\SUFfntscale] gbodonisc6a}{}
4082 \DeclareFontShape{LGR}{bodoni}{m}{sco}{<-> s * [\SUFfntscale] gbodonisco6a}{}
4083
4084 \DeclareFontShape{LGR}{bodoni}{bx}{n}{<-> s * [\SUFfntscale] gbodonib6a}{}
4085 \DeclareFontShape{LGR}{bodoni}{bx}{it}{<-> s * [\SUFfntscale] gbodonibi6a}{}
4086 \DeclareFontShape{LGR}{bodoni}{bx}{sl}{<-> s * [\SUFfntscale] gbodonibo6a}{}
4087
4088 \DeclareFontFamily{LGR}{artemisia}{}
4089 \DeclareFontShape{LGR}{artemisia}{m}{n}{<-> s * [\SUFfntscale] gartemisiarg6a}{}
4090 \DeclareFontShape{LGR}{artemisia}{m}{it}{<-> s * [\SUFfntscale] gartemisiai6a}{}
4091 \DeclareFontShape{LGR}{artemisia}{b}{n}{<-> s * [\SUFfntscale] gartemisiab6a}{}
4092 \DeclareFontShape{LGR}{artemisia}{b}{it}{<-> s * [\SUFfntscale] gartemisiabi6a}{}
4093 \DeclareFontShape{LGR}{artemisia}{m}{sl}{<-> s * [\SUFfntscale] gartemisiao6a}{}
4094 \DeclareFontShape{LGR}{artemisia}{b}{sl}{<-> s * [\SUFfntscale] gartemisiabo6a}{}
4095 \DeclareFontShape{LGR}{artemisia}{m}{sc}{<-> s * [\SUFfntscale] gartemisiasc6a}{}
4096 \DeclareFontShape{LGR}{artemisia}{m}{sco}{<-> s * [\SUFfntscale] gartemisiasco6a}{}
4097
4098 \DeclareFontShape{LGR}{artemisia}{bx}{n}{<-> s * [\SUFfntscale] gartemisiab6a}{}
4099 \DeclareFontShape{LGR}{artemisia}{bx}{it}{<-> s * [\SUFfntscale] gartemisiabi6a}{}
4100 \DeclareFontShape{LGR}{artemisia}{bx}{sl}{<-> s * [\SUFfntscale] gartemisiabo6a}{}
4101
4102 \DeclareFontFamily{LGR}{porson}{}
4103 \DeclareFontShape{LGR}{porson}{m}{n}{<-> s * [\SUFfntscale] gporsonrg6a}{}
4104 \DeclareFontShape{LGR}{porson}{m}{it}{<-> s * [\SUFfntscale] gporsonrg6a}{}
4105 \DeclareFontShape{LGR}{porson}{b}{n}{<-> s * [\SUFfntscale] gporsonrg6a}{}
4106 \DeclareFontShape{LGR}{porson}{b}{it}{<-> s * [\SUFfntscale] gporsonrg6a}{}
4107 \DeclareFontShape{LGR}{porson}{m}{sl}{<-> s * [\SUFfntscale] gporsonrg6a}{}
4108 \DeclareFontShape{LGR}{porson}{b}{sl}{<-> s * [\SUFfntscale] gporsonrg6a}{}
4109 \DeclareFontShape{LGR}{porson}{m}{sc}{<-> s * [\SUFfntscale] gporsonrg6a}{}
4110
4111 \DeclareFontShape{LGR}{porson}{bx}{n}{<-> s * [\SUFfntscale] gporsonrg6a}{}
4112 \DeclareFontShape{LGR}{porson}{bx}{it}{<-> s * [\SUFfntscale] gporsonrg6a}{}
4113 \DeclareFontShape{LGR}{porson}{bx}{sl}{<-> s * [\SUFfntscale] gporsonrg6a}{}
4114 \fi
4115 \else
4116 \fi
4117 \fi
4118 % \end{macrocode}
4119 % \subsection{Sectioning}
4120 % \begin{macrocode}
4121 \RequirePackage[newparttoc]{titlesec}
4122 \newlength{\sectionsep}
4123 \setlength{\sectionsep}{\dimexpr(\baselineskip) plus 1pt minus 1pt}
4124 \unless\ifPDFTeX
4125 \DeclareRobustCommand{\SUF@TOCtitlesmallcaps}[1]{%
4126 \addfontfeature{LetterSpace=10}\scshape\SUF@TOCMakeLowercase{#1}}
4127 \DeclareRobustCommand{\SUF@titlesmallcaps}[1]{%
4128 \addfontfeature{LetterSpace=10}\scshape\SUF@MakeLowercase{#1}}
4129 \DeclareRobustCommand{\SUF@headersmallcaps}[1]{%
4130 \addfontfeature{LetterSpace=10}\scshape\SUF@MakeLowercase{#1}}
4131 \else
4132 \DeclareRobustCommand{\SUF@TOCtitlesmallcaps}[1]{%
4133 \scshape\SUF@TOCMakeLowercase{\textls*{#1}}}%
4134 \DeclareRobustCommand{\SUF@titlesmallcaps}[1]{%
4135 \scshape\SUF@MakeLowercase{\textls*{#1}}}%
4136 \DeclareRobustCommand{\SUF@headersmallcaps}[1]{%
4137 \scshape\SUF@MakeLowercase{\textls*{#1}}}%
4138 \fi
4139 % \end{macrocode}
4140 % \subsubsection{Default styles}
4141 % \begin{macrocode}
4142 \newlength\SUF@chapbeforesep
4143 \def\SUF@default@CHAPTER{
4144 \ifsuftesi@numparchap
4145 \titleformat{\chapter}[display]
4146 {\startchappartialtoc\SUF@chaptersize\SUF@CHAP@align}
4147 {\SUF@thechapter\SUF@dotchap}
4148 {2ex}
4149 {\SUF@CHAP@font}
4150 \else
4151 \titleformat{\chapter}[hang]
4152 {\startchappartialtoc\SUF@chaptersize\SUF@CHAP@align}
4153 {\SUF@thechapter\SUF@dotchap}
4154 {3em}
4155 {\SUF@CHAP@font}
4156 \fi
4157 \ifsuftesi@numparchap
4158 \setlength{\SUF@chapbeforesep}{-6ex}
4159 \else
4160 \setlength{\SUF@chapbeforesep}{0pt}
4161 \fi}
4162 \def\SUF@default@SECTIONS{
4163 \ifsuftesi@numparsec
4164 \titleformat{\section}[display]
4165 {\startsecpartialtoc\SUF@sectionsize\SUF@SEC@align}
4166 {\SUF@thesection\SUF@dotsec}
4167 {0ex}
4168 {\SUF@SEC@font}
4169 \titlespacing*{\section}{0em}{\sectionsep}{\sectionsep}[0em]
4170 \else
4171 \titleformat{\section}[hang]
4172 {\startsecpartialtoc\SUF@sectionsize\SUF@SEC@align}
4173 {\SUF@thesection\SUF@dotsec}
4174 {1em}
4175 {\SUF@SEC@font}
4176 \titlespacing*{\section}{0ex}{\sectionsep}{\sectionsep}[0ex]
4177 \fi
4178 \ifsuftesi@numparsubsec
4179 \titleformat{\subsection}[display]
4180 {\SUF@subsectionsize\SUF@SUBSEC@align}
4181 {\textnormal\SUF@thesubsection\SUF@dotsubsec}
4182 {0ex}
4183 {\SUF@SUBSEC@font}
4184 \titlespacing*{\subsection}{0em}{\sectionsep}{\sectionsep}[0em]
4185 \else
4186 \titleformat{\subsection}[hang]
4187 {\SUF@subsectionsize\SUF@SUBSEC@align}
4188 {\textnormal\SUF@thesubsection\SUF@dotsubsec}
4189 {1em}
4190 {\SUF@SUBSEC@font}
4191 \titlespacing*{\subsection}{\parindent}{\sectionsep}{\sectionsep}[0ex]
4192 \fi
4193 \ifsuftesi@numparsubsubsec
4194 \titleformat{\subsubsection}[display]
4195 {\SUF@subsectionsize\SUF@SUBSUBSEC@align}
4196 {\textnormal\SUF@thesubsubsection\SUF@dotsubsubsec}
4197 {0ex}
4198 {\SUF@SUBSUBSEC@font}
4199 \titlespacing*{\subsubsection}{0em}{\sectionsep}{\sectionsep}[0em]
4200 \else
4201 \titleformat{\subsubsection}[hang]
4202 {\SUF@subsectionsize\SUF@SUBSUBSEC@align}
4203 {\textnormal\SUF@thesubsubsection\SUF@dotsubsubsec}
4204 {1em}
4205 {\SUF@SUBSUBSEC@font}
4206 \titlespacing*{\subsubsection}{\parindent}{\sectionsep}{\sectionsep}[0ex]
4207 \fi}
4208 \SUF@default@CHAPTER
4209 \SUF@default@SECTIONS
4210 % \end{macrocode}
4211 % \subsubsection{Sections spacing}
4212 % \begin{macrocode}
4213 \ifsuftesi@periodical
4214 \titlespacing*{\chapter}{0em}{\SUF@chapbeforesep}{18ex}
4215 \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
4216 \else
4217 \ifsuftesi@periodicalaureo
4218 \titlespacing*{\chapter}{0em}{\SUF@chapbeforesep}{18ex}
4219 \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
4220 \else
4221 \ifsuftesi@compact
4222 \titlespacing*{\chapter}{0em}{\SUF@chapbeforesep}{18ex}
4223 \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
4224 \else
4225 \ifsuftesi@compactaureo
4226 \titlespacing*{\chapter}{0em}{\SUF@chapbeforesep}{18ex}
4227 \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
4228 \else
4229 \ifsuftesi@supercompact
4230 \titlespacing*{\chapter}{0em}{\SUF@chapbeforesep}{18ex}
4231 \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
4232 \else
4233 \ifsuftesi@supercompactaureo
4234 \titlespacing*{\chapter}{0em}{\SUF@chapbeforesep}{18ex}
4235 \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
4236 \else
4237 \ifsuftesi@pocketa
4238 \titlespacing*{\chapter}{0em}{\SUF@chapbeforesep}{18ex}
4239 \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
4240 \else
4241 \ifsuftesi@pocketb
4242 \titlespacing*{\chapter}{0em}{\SUF@chapbeforesep}{18ex}
4243 \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
4244 \else
4245 \ifsuftesi@pocketc
4246 \titlespacing*{\chapter}{0em}{\SUF@chapbeforesep}{18ex}
4247 \titlespacing*{name=\chapter,numberless}{0em}{0pt}{18ex}
4248 \else
4249 \titlespacing*{\chapter}{0em}{%
4250 \dimexpr(6ex+\SUF@chapbeforesep)}{18ex}
4251 \titlespacing*{name=\chapter,numberless}{0em}{6ex}{18ex}
4252 \fi
4253 \fi
4254 \fi
4255 \fi
4256 \fi
4257 \fi
4258 \fi
4259 \fi
4260 \fi
4261 % \end{macrocode}
4262 % Some redefinitions for \opt{article} mode:
4263 % \begin{macrocode}
4264 \ifsuftesi@article
4265 \def\chapter#1{\ClassError{suftesi}
4266 {\noexpand\chapter level is undefined
4267 using 'structure=article'}
4268 {\noexpand\chapter level is undefined
4269 using 'structure=article'}}
4270 \setcounter{tocdepth}{3}
4271 \setcounter{secnumdepth}{3}
4272 \renewcommand\thesection{%
4273 \@arabic\c@section}
4274 \renewcommand\thesubsection{%
4275 \thesection.\@arabic\c@subsection}
4276 \renewcommand\thesubsubsection{%
4277 \thesubsection.\@arabic\c@subsubsection}
4278 \renewcommand\theparagraph{%
4279 \thesubsubsection.\@arabic\c@paragraph}
4280 \renewcommand\thesubparagraph{%
4281 \theparagraph.\@arabic\c@subparagraph}
4282 % \end{macrocode}
4283 % \subsection*{The \cmd{part} command}
4284 % \begin{macrocode}
4285 \renewcommand\part{%
4286 \ifSUF@partpage
4287 \if@openright
4288 \cleardoublepage
4289 \else
4290 \clearpage
4291 \fi
4292 \thispagestyle{plain}%
4293 \fi
4294 \if@twocolumn
4295 \onecolumn
4296 \@tempswatrue
4297 \else
4298 \@tempswafalse
4299 \fi
4300 \ifSUF@partpage
4301 \null\vfil
4302 \fi
4303 \secdef\@part\@spart}
4304 \fi
4305 \def\@part[#1]#2{%
4306 \ifnum \c@secnumdepth >-2\relax
4307 \refstepcounter{part}%
4308 \addcontentsline{toc}{part}{\normalfont\normalsize
4309 \SUF@tocpartname\hskip.5em{\SUF@tocPARTnum@font\SUF@thepart}%
4310 \SUF@dotpart\hspace{1em}\SUF@tocPART@font#1}%
4311 \else
4312 \addcontentsline{toc}{part}{\normalfont\normalsize
4313 \SUF@tocPART@font#1}%
4314 \fi
4315 \markboth{}{}%
4316 {\SUF@PART@align\SUF@partsize
4317 \interlinepenalty \@M
4318 \ifnum \c@secnumdepth >-2\relax
4319 \addvspace{4ex}
4320 \noindent\partname\hskip.5em{\SUF@PART@font\SUF@thepart}\SUF@dotpart
4321 \ifsuftesi@numparpart
4322 \par
4323 \vskip2ex
4324 \else
4325 \hspace{1em}
4326 \fi
4327 \noindent\SUF@PART@font#2\par}%
4328 \@endpart}
4329 \def\@spart#1{%
4330 {\SUF@PART@align\SUF@partsize
4331 \interlinepenalty \@M
4332 \addvspace{4ex}
4333 \noindent\SUF@PART@font#1\par}%
4334 \@endpart}
4335 \ifsuftesi@article
4336 \def\@endpart{%
4337 \ifSUF@partpage
4338 \vfil\newpage
4339 \if@twoside
4340 \if@openright
4341 \null
4342 \thispagestyle{empty}%
4343 \newpage
4344 \fi
4345 \fi
4346 \fi
4347 \if@tempswa
4348 \twocolumn
4349 \fi}
4350 \else
4351 \def\@endpart{\vfil\newpage
4352 \if@twoside
4353 \if@openright
4354 \null
4355 \thispagestyle{empty}%
4356 \newpage
4357 \fi
4358 \fi
4359 \if@tempswa
4360 \twocolumn
4361 \fi}
4362 \fi
4363 % \end{macrocode}
4364 % Other sublevels:
4365 % \begin{macrocode}
4366 \titleformat{\paragraph}[runin]
4367 {}
4368 {\theparagraph}
4369 {.5em}
4370 {\SUF@PAR@font}
4371 [{.}\hspace*{1em}]
4372 \titlespacing*{\paragraph}{\parindent}{.5\sectionsep}{.5\sectionsep}
4373 \titleformat{\subparagraph}[runin]
4374 {}
4375 {\thesubparagraph}
4376 {.5em}
4377 {\SUF@SUBPAR@font}
4378 [{.}\hspace*{1em}]
4379 \titlespacing*{\subparagraph}{\parindent}{.5\sectionsep}{.5\sectionsep}
4380 % \end{macrocode}
4381 % The \sty{biblatex} package uses the \sty{book} class
4382 % definitions of bibliography and list of shorthands,
4383 % so we must redefine them according to the styles of \sty{suftesi},
4384 % which does not use uppercase letters in the headings.
4385 % \begin{macrocode}
4386 \ifsuftesi@article
4387 \AtBeginDocument{%
4388 \@ifpackageloaded{biblatex}{%
4389 \defbibheading{bibliography}[\refname]{%
4390 \section*{#1}%
4391 \@mkboth{#1}{#1}}
4392 \defbibheading{biblist}[\biblistname]{%
4393 \section*{#1}%
4394 \@mkboth{#1}{#1}}
4395 \defbibheading{bibintoc}[\refname]{%
4396 \section*{#1}%
4397 \addcontentsline{toc}{section}{#1}%
4398 \@mkboth{#1}{#1}}
4399 \defbibheading{biblistintoc}[\biblistname]{%
4400 \section*{#1}%
4401 \addcontentsline{toc}{section}{#1}%
4402 \@mkboth{#1}{#1}}
4403 \defbibheading{bibnumbered}[\refname]{%
4404 \section{#1}}
4405 \defbibheading{biblistnumbered}[\biblistname]{%
4406 \section{#1}}
4407 \defbibheading{subbibliography}[\refname]{%
4408 \subsection*{#1}}
4409 \defbibheading{subbibintoc}[\refname]{%
4410 \subsection*{#1}%
4411 \addcontentsline{toc}{subsection}{#1}}
4412 \defbibheading{subbibnumbered}[\refname]{%
4413 \subsection{#1}}}
4414 {\relax}}
4415 \else
4416 \AtBeginDocument{%
4417 \@ifpackageloaded{biblatex}{%
4418 \defbibheading{bibliography}[\bibname]{%
4419 \chapter*{#1}%
4420 \@mkboth{#1}{#1}}
4421 \defbibheading{biblist}[\biblistname]{%
4422 \chapter*{#1}%
4423 \@mkboth{#1}{#1}}
4424 \defbibheading{bibintoc}[\bibname]{%
4425 \chapter*{#1}%
4426 \addcontentsline{toc}{chapter}{#1}%
4427 \@mkboth{#1}{#1}}
4428 \defbibheading{biblistintoc}[\biblistname]{%
4429 \chapter*{#1}%
4430 \addcontentsline{toc}{chapter}{#1}%
4431 \@mkboth{#1}{#1}}
4432 \defbibheading{bibnumbered}[\bibname]{%
4433 \chapter{#1}}
4434 \defbibheading{biblistnumbered}[\biblistname]{%
4435 \chapter{#1}}
4436 \defbibheading{subbibliography}[\refname]{%
4437 \section*{#1}%
4438 \if@twoside\markright{#1}\fi}
4439 \defbibheading{subbibintoc}[\refname]{%
4440 \section*{#1}%
4441 \addcontentsline{toc}{section}{#1}%
4442 \if@twoside\markright{#1}\fi}
4443 \defbibheading{subbibnumbered}[\refname]{%
4444 \section{#1}}}
4445 {\relax}}
4446 \fi
4447 % \end{macrocode}
4448 % \subsubsection{Abstract}
4449 % \begin{macrocode}
4450 \ifsuftesi@collection
4451 \newenvironment{abstract}{%
4452 \if@twocolumn
4453 \section*{\abstractname}%
4454 \else
4455 \small
4456 \begin{center}%
4457 {\abstractname\vspace{-.5em}\vspace{\z@}}%
4458 \end{center}%
4459 \quotation
4460 \fi}
4461 {\if@twocolumn\else\endquotation\fi\vspace{6ex}}
4462 \else
4463 \ifSUF@titlepage
4464 \newenvironment{abstract}{%
4465 \titlepage
4466 \null\vfil
4467 \@beginparpenalty\@lowpenalty
4468 \begin{center}%
4469 \abstractname
4470 \@endparpenalty\@M
4471 \end{center}}%
4472 {\par\vfil\null\endtitlepage}
4473 \else
4474 \newenvironment{abstract}{%
4475 \if@twocolumn
4476 \section*{\abstractname}%
4477 \else
4478 \small
4479 \begin{center}%
4480 {\abstractname\vspace{-.5em}\vspace{\z@}}%
4481 \end{center}%
4482 \quotation
4483 \fi}
4484 {\if@twocolumn\else\endquotation\fi}
4485 \fi
4486 \fi
4487 \newcommand\abstractname{Abstract}
4488 % \end{macrocode}
4489 % \subsubsection{Appendices}
4490 % \begin{macrocode}
4491 \RequirePackage{appendix}
4492 \noappendicestocpagenum
4493 % Bug using defaultfont=none,libertine,standard,compatibility
4494 % \AtBeginEnvironment{appendices}{\appendix\mainmatter}
4495 \def\appendicesname{%
4496 \ClassError{suftesi}%
4497 {Command \noexpand\appendicesname undefined\MessageBreak
4498 Redefine the \noexpand\appendixpagename command instead.
4499 See the 'appendix' package documentation.\MessageBreak
4500 \noexpand\renewcommand{\noexpand\appendixpagename{newname}}}
4501 {Command \noexpand\appendicesname undefined\MessageBreak
4502 Redefine the \noexpand\appendixpagename command instead.
4503 See the 'appendix' package documentation.\MessageBreak
4504 \noexpand\renewcommand{\noexpand\appendixpagename{newname}}}}
4505 \renewcommand{\@chap@pppage}{%
4506 \clear@ppage
4507 \thispagestyle{plain}%
4508 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
4509 \null\vfil
4510 \markboth{}{}%
4511 {\centering
4512 \interlinepenalty \@M
4513 \normalfont
4514 \SUF@chaptersize
4515 \SUF@CHAP@font\expandafter\appendixpagename\par}%
4516 \if@dotoc@pp
4517 \addappheadtotoc
4518 \fi
4519 \vfil\newpage
4520 \if@twoside
4521 \if@openright
4522 \null
4523 \thispagestyle{empty}%
4524 \newpage
4525 \fi
4526 \fi
4527 \if@tempswa
4528 \twocolumn
4529 \fi}
4530 \renewcommand{\@sec@pppage}{%
4531 \par
4532 \addvspace{4ex}%
4533 \@afterindentfalse
4534 {\parindent \z@ \raggedright
4535 \interlinepenalty \@M
4536 \normalfont
4537 \SUF@chaptersize
4538 \SUF@CHAP@font\expandafter\appendixpagename%
4539 \markboth{}{}\par}%
4540 \if@dotoc@pp
4541 \addappheadtotoc
4542 \fi
4543 \nobreak
4544 \vskip 3ex
4545 \@afterheading}
4546 % \end{macrocode}
4547 % Within the appendices the chapter and section labels are literal.
4548 % Using the \opt{chapnumstyle=Roman} or \opt{chapnumstyle=roman} options,
4549 % this label is passed as an argument to \cmd{@Roman} or \cmd{@roman},
4550 % which however accepts only integers. For this reason we must redefine
4551 % all the occurrences of \cmd{titlecontents} in order to have \cmd{thecontentslabel}
4552 % in place of \cmd{SUF@CHAP@contentslabel} or \cmd{SUF@SEC@contentslabel}.
4553 % \begin{macrocode}
4554 \def\suf@appendixtoc{%
4555 \ifsuftesi@pagelefttoc
4556 \titlecontents{chapter}
4557 [\SUF@tochang@chap]
4558 {\addvspace{2ex}}
4559 {\hskip-\SUF@tochang@chap%
4560 \makebox[1em][l]{\thecontentspage}%
4561 \hskip\SUF@addto@tochang@chap%
4562 \makebox[\SUF@label@chap][l]{%
4563 \thecontentslabel}\hspace*{1em}%
4564 \SUF@tocCHAP@font}
4565 {\hskip-\SUF@tochang@chap%
4566 \makebox[1em][l]{\thecontentspage}%
4567 \hskip\SUF@addto@tochang@chap\SUF@tocCHAP@font}
4568 {}
4569 [\addvspace{1ex}]
4570 \ifsuftesi@ctocsec
4571 \titlecontents*{section}[\SUF@tochang@chap]{}{%
4572 \thecontentslabel\adjtoclabelsep\SUF@tocSEC@font}{\SUF@tocSEC@font}{,
4573 \thecontentspage.}[][\adjtocpagesep][]
4574 \else
4575 \titlecontents{section}
4576 [\SUF@tochang@sec]
4577 {}
4578 {\hskip-\SUF@tochang@sec%
4579 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@sec%
4580 % \makebox[\SUF@label@sec][l]{%
4581 % \ifsuftesi@article\SUF@toclabelnum%
4582 % \else\fi\thecontentslabel}\hspace*{1em}%
4583 \makebox[\SUF@label@sec][l]{\thecontentslabel}\hspace*{1em}%
4584 \SUF@tocSEC@font}
4585 {\hskip-\SUF@tochang@sec%
4586 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@sec%
4587 \SUF@tocSEC@font}
4588 {}
4589 \fi
4590 \else
4591 \titlecontents{chapter}
4592 [\SUF@tocindent@chap]
4593 {\addvspace{2ex}}
4594 {\hskip-\SUF@tocindent@chap%
4595 \makebox[\SUF@label@chap][l]{\thecontentslabel}%
4596 \hspace*{1em}%
4597 \SUF@tocCHAP@font}
4598 {\hskip-\SUF@tocindent@chap%
4599 \SUF@tocCHAP@font}
4600 {\SUF@chaptitlerule\contentspage}
4601 [\addvspace{1ex}]
4602 \ifsuftesi@ctocsec
4603 \titlecontents*{section}[\SUF@tocindent@chap]{}{%
4604 \thecontentslabel\adjtoclabelsep\SUF@tocSEC@font}{\SUF@tocSEC@font}{,
4605 \thecontentspage.}[][\adjtocpagesep][]
4606 \else
4607 \titlecontents{section}
4608 [\SUF@tocindent@sec]
4609 {}
4610 {\hskip-\dimexpr(\SUF@label@sec+1em)%
4611 % \makebox[\SUF@label@sec][l]{%
4612 % \ifsuftesi@article\SUF@toclabelnum%
4613 % \else\fi\thecontentslabel}\hspace*{1em}%
4614 \makebox[\SUF@label@sec][l]{\thecontentslabel}\hspace*{1em}%
4615 \SUF@tocSEC@font}
4616 {\hskip-\dimexpr(\SUF@label@sec+1em)%
4617 \SUF@tocSEC@font}
4618 {\ifsuftesi@article\SUF@chaptitlerule%
4619 \else\SUF@titlerule\fi\contentspage}
4620 \fi}
4621 \ifsuftesi@article
4622 \renewcommand\appendix{\par
4623 \suf@appendixtoc%
4624 \setcounter{section}{0}%
4625 \setcounter{subsection}{0}%
4626 \gdef\SUF@thesection{\@Alph\c@section}%
4627 \gdef\SUF@HEAD@thesection{\@Alph\c@section}%
4628 \renewcommand{\thesection}{\@Alph\c@section}}
4629 \else
4630 \renewcommand\appendix{\par
4631 \suf@appendixtoc%
4632 \setcounter{chapter}{0}%
4633 \setcounter{section}{0}%
4634 \gdef\@chapapp{\appendixname}%
4635 \gdef\SUF@thechapter{\@Alph\c@chapter}%
4636 \gdef\SUF@HEAD@thechapter{\@Alph\c@chapter}%
4637 \renewcommand{\thechapter}{\@Alph\c@chapter}}
4638 \fi
4639 % \end{macrocode}
4640 % \subsubsection{Index}
4641 % \begin{macrocode}
4642 \renewenvironment{theindex}
4643 {\if@twocolumn
4644 \@restonecolfalse
4645 \else
4646 \@restonecoltrue
4647 \fi
4648 \ifsuftesi@article
4649 \twocolumn[\section*{\indexname}]%
4650 \else
4651 \twocolumn[\@makeschapterhead{\indexname}]%
4652 \fi
4653 \@mkboth{\indexname}{\indexname}%
4654 \thispagestyle{plain}%
4655 \raggedright%
4656 \parindent\z@
4657 \parskip\z@ \@plus .3\p@\relax
4658 \columnseprule \z@
4659 \columnsep 35\p@
4660 \let\item\@idxitem}
4661 {\if@restonecol\onecolumn\else\clearpage\fi}
4662 % \end{macrocode}
4663 % \subsection{Contents lists}
4664 % \begin{macrocode}
4665 \RequirePackage{titletoc}
4666 % \end{macrocode}
4667 % All the lengths depend on |\SUF@label@chap|
4668 % so we define this first. The |\toclabelwidth| lengtth is provided to
4669 % adjust the label width in the table of contents.
4670 % \begin{macrocode}
4671 \newlength\SUF@label@chap
4672 \setlength\SUF@label@chap{.5em}
4673 \newcommand*{\toclabelwidth}[2]{%
4674 \AtBeginDocument{
4675 \addtolength{\csname SUF@label@#1\endcsname}{#2}%
4676 \addtolength{\csname SUF@tocindent@#1\endcsname}{#2}}}
4677 % \end{macrocode}
4678 % These commands control the space before and after the label of the sections in the table of contents, using the \opt{compactfont} option.
4679 % \begin{macrocode}
4680 \newcommand{\adjtoclabelsep}{\hskip.2em plus 1pt minus 1pt}
4681 \newcommand{\adjtocpagesep}{\hskip.5em plus 2pt minus 1pt}
4682 % \end{macrocode}
4683 % A class error if the obsolete \cmd{toclabelspace} is used:
4684 % \begin{macrocode}
4685 \newcommand{\toclabelspace}{%
4686 \ClassError{suftesi}
4687 {\MessageBreak
4688 \noexpand\toclabelspace is not more defined\MessageBreak
4689 Use \noexpand\toclabelwidth instead.\MessageBreak
4690 See package documentation for details}
4691 {\MessageBreak
4692 \noexpand\toclabelspace is not more defined\MessageBreak
4693 Use \noexpand\toclabelwidth instead.\MessageBreak
4694 See package documentation for details}}
4695 % \end{macrocode}
4696 % This macro controls the space between page number and chapter
4697 % label using the \opt{toc=pageleft} option:
4698 % \begin{macrocode}
4699 \newlength{\SUF@tochang}
4700 \setlength{\SUF@tochang}{3em}
4701 \AtBeginDocument{%
4702 \newlength\SUF@label@part
4703 \newlength\SUF@label@sec
4704 \newlength\SUF@label@subsec
4705 \newlength\SUF@label@subsubsec
4706 \newlength\SUF@label@par
4707 \newlength\SUF@label@subpar
4708 \newlength\SUF@label@fig
4709 \newlength\SUF@label@tab
4710 \setlength\SUF@label@part
4711 {\SUF@label@chap}
4712 \setlength\SUF@label@sec
4713 {\dimexpr(\SUF@label@chap+.5em)}
4714 \setlength\SUF@label@subsec
4715 {\dimexpr(\SUF@label@sec+.5em)}
4716 \setlength\SUF@label@subsubsec
4717 {\dimexpr(\SUF@label@subsec+.5em)}
4718 \setlength\SUF@label@par
4719 {\dimexpr(\SUF@label@subsubsec+.5em)}
4720 \setlength\SUF@label@subpar
4721 {\dimexpr(\SUF@label@par+.5em)}
4722 \setlength\SUF@label@fig
4723 {\SUF@label@sec}
4724 \setlength\SUF@label@tab
4725 {\SUF@label@sec}}
4726 % \end{macrocode}
4727 % \paragraph{Part etry}
4728 % The style of the part ToC entry the same in all ToC types,
4729 % i.e. aligned to the left and without page indication.
4730 % The font options act only on the title, which is always printed
4731 % in Roman shape, and not on the label.
4732 % As is the case for the other sectioning commands.
4733 % \begin{macrocode}
4734 %\titlecontents{part}
4735 % [0em]
4736 % {\addvspace{3ex}}
4737 % {\partname\hspace*{.5em}\makebox[\SUF@label@part][l]{%
4738 % \SUF@PART@contentslabel}\hspace*{1em}\SUF@tocPART@font}
4739 % {\SUF@tocPART@font}
4740 % {}
4741 % [\addvspace{1ex}]
4742 % \end{macrocode}
4743 % \paragraph{The `left' ToC}
4744 % With this option, page numbers are placed to the left of the respective entry. Therefore we set the space provided for the page number on the right to zero, using the \cmd{contentsmargin} command. In this way the right margin of the index is correctly aligned.
4745 % \begin{macrocode}
4746 \ifsuftesi@pagelefttoc
4747 \contentsmargin{0pt}
4748 \AtBeginDocument{%
4749 \newlength\SUF@tochang@chap
4750 \newlength\SUF@tochang@sec
4751 \newlength\SUF@tochang@subsec
4752 \newlength\SUF@tochang@subsubsec
4753 \newlength\SUF@tochang@par
4754 \newlength\SUF@tochang@subpar
4755 \newlength\SUF@tochang@fig
4756 \newlength\SUF@tochang@tab
4757 \newlength\SUF@addto@tochang@chap
4758 \newlength\SUF@addto@tochang@sec
4759 \newlength\SUF@addto@tochang@subsec
4760 \newlength\SUF@addto@tochang@subsubsec
4761 \newlength\SUF@addto@tochang@par
4762 \newlength\SUF@addto@tochang@subpar
4763 \newlength\SUF@addto@tochang@fig
4764 \newlength\SUF@addto@tochang@tab
4765 \setlength\SUF@tochang@chap
4766 {\dimexpr(1em+\SUF@tochang+\SUF@label@chap+1em)}
4767 \setlength\SUF@tochang@sec
4768 {\dimexpr(\SUF@tochang@chap+\SUF@label@sec+1em)}
4769 \setlength\SUF@tochang@subsec
4770 {\dimexpr(\SUF@tochang@sec+\SUF@label@subsec+1em)}
4771 \setlength\SUF@tochang@subsubsec
4772 {\dimexpr(\SUF@tochang@subsec+\SUF@label@subsubsec+1em)}
4773 \setlength\SUF@tochang@par
4774 {\dimexpr(\SUF@tochang@subsubsec+\SUF@label@par+1em)}
4775 \setlength\SUF@tochang@subpar
4776 {\dimexpr(\SUF@tochang@par+\SUF@label@subpar+1em)}
4777 \setlength\SUF@tochang@fig
4778 {\SUF@tochang@chap}
4779 \setlength\SUF@tochang@tab
4780 {\SUF@tochang@chap}
4781 \setlength\SUF@addto@tochang@chap
4782 {\SUF@tochang}
4783 \setlength\SUF@addto@tochang@sec
4784 {\dimexpr(\SUF@addto@tochang@chap+\SUF@label@sec+.5em)}
4785 \setlength\SUF@addto@tochang@subsec
4786 {\dimexpr(\SUF@addto@tochang@sec+\SUF@label@subsec+.5em)}
4787 \setlength\SUF@addto@tochang@subsubsec
4788 {\dimexpr(\SUF@addto@tochang@subsec+\SUF@label@subsubsec+.5em)}
4789 \setlength\SUF@addto@tochang@par
4790 {\dimexpr(\SUF@addto@tochang@subsubsec+\SUF@label@par+.5em)}
4791 \setlength\SUF@addto@tochang@subpar
4792 {\dimexpr(\SUF@addto@tochang@par+\SUF@label@subpar+.5em)}
4793 \setlength\SUF@addto@tochang@fig
4794 {\dimexpr(\SUF@addto@tochang@chap-\SUF@label@sec+\SUF@label@chap)}
4795 \setlength\SUF@addto@tochang@tab
4796 {\dimexpr(\SUF@addto@tochang@chap-\SUF@label@sec+\SUF@label@chap)}}
4797 % \end{macrocode}
4798 % \paragraph{ToC entries}
4799 % \begin{macrocode}
4800 \titlecontents{chapter}
4801 [\SUF@tochang@chap]
4802 {\addvspace{2ex}}
4803 {\hskip-\SUF@tochang@chap%
4804 \makebox[1em][l]{\thecontentspage}%
4805 \hskip\SUF@addto@tochang@chap%
4806 \makebox[\SUF@label@chap][l]{%
4807 \SUF@CHAP@contentslabel}\hspace*{1em}%
4808 \SUF@tocCHAP@font}
4809 {\hskip-\SUF@tochang@chap%
4810 \makebox[1em][l]{\thecontentspage}%
4811 \hskip\SUF@addto@tochang@chap\SUF@tocCHAP@font}
4812 {}
4813 [\addvspace{1ex}]
4814 \ifsuftesi@ctocsec
4815 \titlecontents*{section}[\SUF@tochang@chap]{}{%
4816 \SUF@SEC@contentslabel\adjtoclabelsep\SUF@tocSEC@font}{\SUF@tocSEC@font}{,
4817 \thecontentspage.}[][\adjtocpagesep][]
4818 \else
4819 \titlecontents{section}
4820 [\SUF@tochang@sec]
4821 {}
4822 {\hskip-\SUF@tochang@sec%
4823 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@sec%
4824 % \makebox[\SUF@label@sec][l]{%
4825 % \ifsuftesi@article\SUF@toclabelnum%
4826 % \else\fi\thecontentslabel}\hspace*{1em}%
4827 \makebox[\SUF@label@sec][l]{\SUF@SEC@contentslabel}\hspace*{1em}%
4828 \SUF@tocSEC@font}
4829 {\hskip-\SUF@tochang@sec%
4830 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@sec%
4831 \SUF@tocSEC@font}
4832 {}
4833 \fi
4834 \ifsuftesi@ctocsubsec
4835 \titlecontents*{subsection}[\SUF@tochang@sec]{\SUF@sscorrect}{%
4836 \SUF@SUBSEC@contentslabel\adjtoclabelsep\SUF@tocSUBSEC@font}{\SUF@tocSUBSEC@font}{,
4837 \thecontentspage.}[][\adjtocpagesep][]
4838 \else
4839 \titlecontents{subsection}
4840 [\SUF@tochang@subsec]
4841 {}
4842 {\hskip-\SUF@tochang@subsec%
4843 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@subsec%
4844 \makebox[\SUF@label@subsec][l]{\SUF@SUBSEC@contentslabel}\hspace*{1em}%
4845 \SUF@tocSUBSEC@font}
4846 {\hskip-\SUF@tochang@subsec%
4847 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@subsec%
4848 \SUF@tocSUBSEC@font}
4849 {}
4850 \fi
4851 \ifsuftesi@ctocsubsubsec
4852 \titlecontents*{subsubsection}[\SUF@tochang@subsec]{\SUF@ssscorrect}{%
4853 \SUF@SUBSUBSEC@contentslabel\adjtoclabelsep%
4854 \SUF@tocSUBSUBSEC@font}{\SUF@tocSUBSUBSEC@font}{,
4855 \thecontentspage.}[][\adjtocpagesep][]
4856 \else
4857 \titlecontents{subsubsection}
4858 [\SUF@tochang@subsubsec]
4859 {}
4860 {\hskip-\SUF@tochang@subsubsec%
4861 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@subsubsec%
4862 \makebox[\SUF@label@subsubsec][l]{\SUF@SUBSUBSEC@contentslabel}\hspace*{1em}%
4863 \SUF@tocSUBSUBSEC@font}
4864 {\hskip-\SUF@tochang@subsubsec%
4865 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@subsubsec%
4866 \SUF@tocSUBSUBSEC@font}
4867 {}
4868 \fi
4869 \ifsuftesi@ctocpar
4870 \titlecontents*{paragraph}[\SUF@tochang@subsubsec]{\SUF@pcorrect}{%
4871 \SUF@PAR@contentslabel\adjtoclabelsep%
4872 \SUF@tocPAR@font}{\SUF@tocPAR@font}{,
4873 \thecontentspage.}[][\adjtocpagesep][]
4874 \else
4875 \titlecontents{paragraph}
4876 [\SUF@tochang@par]
4877 {}
4878 {\hskip-\SUF@tochang@par%
4879 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@par%
4880 \makebox[\SUF@label@par][l]{\thecontentslabel}\hspace*{1em}%
4881 \SUF@tocPAR@font}
4882 {\hskip-\SUF@tochang@par%
4883 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@par%
4884 \SUF@tocPAR@font}
4885 {}
4886 \fi
4887 \ifsuftesi@ctocsubpar
4888 \titlecontents*{subparagraph}[\SUF@tochang@par]{\SUF@pcorrect}{%
4889 \SUF@SUBPAR@contentslabel\adjtoclabelsep%
4890 \SUF@tocSUBPAR@font}{\SUF@tocSUBPAR@font}{,
4891 \thecontentspage.}[][\adjtocpagesep][]
4892 \else
4893 \titlecontents{subparagraph}
4894 [\SUF@tochang@subpar]
4895 {}
4896 {\hskip-\SUF@tochang@subpar%
4897 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@subpar%
4898 \makebox[\SUF@label@subpar][l]{\thecontentslabel}\hspace*{1em}%
4899 \SUF@tocSUBPAR@font}
4900 {\hskip-\SUF@tochang@subpar%
4901 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@subpar%
4902 \SUF@tocSUBPAR@font}
4903 {}
4904 \fi
4905 \titlecontents{figure}
4906 [\SUF@tochang@fig]
4907 {}
4908 {\hskip-\SUF@tochang@fig%
4909 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@fig%
4910 \makebox[\SUF@label@tab][l]{\thecontentslabel}\hspace*{1em}}
4911 {}
4912 {}
4913 \titlecontents{table}
4914 [\SUF@tochang@tab]
4915 {}
4916 {\hskip-\SUF@tochang@tab%
4917 \makebox[1em][l]{\thecontentspage}\hskip\SUF@addto@tochang@tab%
4918 \makebox[\SUF@label@tab][l]{\thecontentslabel}\hspace*{1em}}
4919 {}
4920 {}
4921 \else
4922 % \end{macrocode}
4923 % \paragraph{Default ToC}
4924 % \begin{macrocode}
4925 \AtBeginDocument{%
4926 \newlength\SUF@tocindent@chap
4927 \newlength\SUF@tocindent@sec
4928 \newlength\SUF@tocindent@subsec
4929 \newlength\SUF@tocindent@subsubsec
4930 \newlength\SUF@tocindent@par
4931 \newlength\SUF@tocindent@subpar
4932 \newlength\SUF@tocindent@fig
4933 \newlength\SUF@tocindent@tab
4934 \ifsuftesi@article
4935 \setlength\SUF@tocindent@sec
4936 {\dimexpr(\SUF@label@chap+1.5em)}
4937 \setlength\SUF@tocindent@subsec
4938 {\dimexpr(\SUF@tocindent@sec+\SUF@label@subsec+1em)}
4939 \setlength\SUF@tocindent@subsubsec
4940 {\dimexpr(\SUF@tocindent@subsec+\SUF@label@subsubsec+1em)}
4941 \setlength\SUF@tocindent@par
4942 {\dimexpr(\SUF@tocindent@subsubsec+\SUF@label@par+1em)}
4943 \setlength\SUF@tocindent@subpar
4944 {\dimexpr(\SUF@tocindent@par+\SUF@label@subpar+1em)}
4945 \setlength\SUF@tocindent@fig
4946 {\dimexpr(\SUF@label@chap+1.5em)}
4947 \setlength\SUF@tocindent@tab
4948 {\dimexpr(\SUF@label@chap+1.5em)}
4949 \else
4950 \setlength\SUF@tocindent@chap
4951 {\dimexpr(\SUF@label@chap+1em)}
4952 \setlength\SUF@tocindent@sec
4953 {\dimexpr(\SUF@tocindent@chap+\SUF@label@sec+1em)}
4954 \setlength\SUF@tocindent@subsec
4955 {\dimexpr(\SUF@tocindent@sec+\SUF@label@subsec+1em)}
4956 \setlength\SUF@tocindent@subsubsec
4957 {\dimexpr(\SUF@tocindent@subsec+\SUF@label@subsubsec+1em)}
4958 \setlength\SUF@tocindent@par
4959 {\dimexpr(\SUF@tocindent@subsubsec+\SUF@label@par+1em)}
4960 \setlength\SUF@tocindent@subpar
4961 {\dimexpr(\SUF@tocindent@par+\SUF@label@subpar+1em)}
4962 \setlength\SUF@tocindent@fig
4963 {\dimexpr(\SUF@tocindent@chap+\SUF@label@sec-\SUF@label@chap)}
4964 \setlength\SUF@tocindent@tab
4965 {\dimexpr(\SUF@tocindent@chap+\SUF@label@sec-\SUF@label@chap)}
4966 \fi}
4967 % \end{macrocode}
4968 % \paragraph{ToC entries}
4969 % \begin{macrocode}
4970 \titlecontents{chapter}
4971 [\SUF@tocindent@chap]
4972 {\addvspace{2ex}}
4973 {\hskip-\SUF@tocindent@chap%
4974 \makebox[\SUF@label@chap][l]{\SUF@CHAP@contentslabel}%
4975 \hspace*{1em}%
4976 \SUF@tocCHAP@font}
4977 {\hskip-\SUF@tocindent@chap%
4978 \SUF@tocCHAP@font}
4979 {\SUF@chaptitlerule\contentspage}
4980 [\addvspace{1ex}]
4981 \ifsuftesi@ctocsec
4982 \titlecontents*{section}[\SUF@tocindent@chap]{}{%
4983 \SUF@SEC@contentslabel\adjtoclabelsep\SUF@tocSEC@font}
4984 {\SUF@tocSEC@font}{, \thecontentspage.}[][\adjtocpagesep][]
4985 \else
4986 \titlecontents{section}
4987 [\SUF@tocindent@sec]
4988 {}
4989 {\hskip-\dimexpr(\SUF@label@sec+1em)%
4990 % \makebox[\SUF@label@sec][l]{%
4991 % \ifsuftesi@article\SUF@toclabelnum%
4992 % \else\fi\thecontentslabel}\hspace*{1em}%
4993 \makebox[\SUF@label@sec][l]{\SUF@SEC@contentslabel}\hspace*{1em}%
4994 \SUF@tocSEC@font}
4995 {\hskip-\dimexpr(\SUF@label@sec+1em)%
4996 \SUF@tocSEC@font}
4997 {\ifsuftesi@article\SUF@chaptitlerule%
4998 \else\SUF@titlerule\fi\contentspage}
4999 \fi
5000 \ifsuftesi@ctocsubsec
5001 \titlecontents*{subsection}[\SUF@tocindent@sec]{\SUF@sscorrect}{%
5002 \SUF@SUBSEC@contentslabel\adjtoclabelsep\SUF@tocSUBSEC@font}
5003 {\SUF@tocSUBSEC@font}{, \thecontentspage.}[][\adjtocpagesep][]
5004 \else
5005 \titlecontents{subsection}
5006 [\SUF@tocindent@subsec]
5007 {}
5008 {\hskip-\dimexpr(\SUF@label@subsec+1em)%
5009 \makebox[\SUF@label@subsec][l]{\SUF@SUBSEC@contentslabel}\hspace*{1em}%
5010 \SUF@tocSUBSEC@font}
5011 {\hskip-\dimexpr(\SUF@label@subsec+1em)%
5012 \SUF@tocSUBSEC@font}
5013 {\SUF@titlerule\contentspage}
5014 \fi
5015 \ifsuftesi@ctocsubsubsec
5016 \titlecontents*{subsubsection}[\SUF@tocindent@subsec]{\SUF@ssscorrect}{%
5017 \SUF@SUBSUBSEC@contentslabel\adjtoclabelsep%
5018 \SUF@tocSUBSUBSEC@font}{\SUF@tocSUBSUBSEC@font}{,
5019 \thecontentspage.}[][\adjtocpagesep][]
5020 \else
5021 \titlecontents{subsubsection}
5022 [\SUF@tocindent@subsubsec]
5023 {}
5024 {\hskip-\dimexpr(\SUF@label@subsubsec+1em)%
5025 \makebox[\SUF@label@subsubsec][l]{\SUF@SUBSUBSEC@contentslabel}\hspace*{1em}%
5026 \SUF@tocSUBSUBSEC@font}
5027 {\hskip-\dimexpr(\SUF@label@subsubsec+1em)%
5028 \SUF@tocSUBSUBSEC@font}
5029 {\SUF@titlerule\contentspage}
5030 \fi
5031 \ifsuftesi@ctocpar
5032 \titlecontents*{paragraph}[\SUF@tocindent@subsubsec]{\SUF@pcorrect}{%
5033 \SUF@PAR@contentslabel\adjtoclabelsep%
5034 \SUF@tocPAR@font}{\SUF@tocPAR@font}{,
5035 \thecontentspage.}[][\adjtocpagesep][]
5036 \else
5037 \titlecontents{paragraph}
5038 [\SUF@tocindent@par]
5039 {}
5040 {\hskip-\dimexpr(\SUF@label@par+1em)%
5041 \makebox[\SUF@label@par][l]{\thecontentslabel}\hspace*{1em}%
5042 \SUF@tocPAR@font}
5043 {\hskip-\dimexpr(\SUF@label@par+1em)%
5044 \SUF@tocPAR@font}
5045 {\SUF@titlerule\contentspage}
5046 \fi
5047 \ifsuftesi@ctocsubpar
5048 \titlecontents*{subparagraph}[\SUF@tocindent@par]{\SUF@pcorrect}{%
5049 \SUF@SUBPAR@contentslabel\adjtoclabelsep%
5050 \SUF@tocSUBPAR@font}{\SUF@tocSUBPAR@font}{,
5051 \thecontentspage.}[][\adjtocpagesep][]
5052 \else
5053 \titlecontents{subparagraph}
5054 [\SUF@tocindent@subpar]
5055 {}
5056 {\hskip-\dimexpr(\SUF@label@subpar+1em)%
5057 \makebox[\SUF@label@subpar][l]{\thecontentslabel}\hspace*{1em}%
5058 \SUF@tocSUBPAR@font}
5059 {\hskip-\dimexpr(\SUF@label@subpar+1em)%
5060 \SUF@tocSUBPAR@font}
5061 {\SUF@titlerule\contentspage}
5062 \fi
5063 \titlecontents{figure}
5064 [\SUF@tocindent@fig]
5065 {}
5066 {\hskip-\SUF@tocindent@fig%
5067 \makebox[\SUF@label@fig][l]{\thecontentslabel}\hspace*{1em}}
5068 {}
5069 {\SUF@titlerule\contentspage}
5070 \titlecontents{table}
5071 [\SUF@tocindent@tab]
5072 {}
5073 {\hskip-\SUF@tocindent@tab%
5074 \makebox[\SUF@label@tab][l]{\thecontentslabel}\hspace*{1em}}
5075 {}
5076 {\SUF@titlerule\contentspage}
5077 \fi
5078 % \end{macrocode}
5079 % \subparagraph{partial ToC}
5080 % \begin{macrocode}
5081 \ifSUF@partialtoc
5082 \titlecontents*{partialtocsection}[0cm]{}{%
5083 \@partialtocseclabel\adjtoclabelsep\@partialtocsecfont}
5084 {\@partialtocsecfont}{, \thecontentspage.}[][\adjtocpagesep][]
5085 \ifsuftesi@article
5086 \titlecontents*{partialtocsubsection}[0cm]{}{%
5087 \@partialtocsubseclabel\adjtoclabelsep\@partialtocsubsecfont}
5088 {\@partialtocsubsecfont}{, \thecontentspage.}[][\adjtocpagesep][]
5089 \else
5090 \titlecontents*{partialtocsubsection}[0cm]{\hskip.5em}{%
5091 \@partialtocsubseclabel\adjtoclabelsep\@partialtocsubsecfont}
5092 {\@partialtocsubsecfont}{, \thecontentspage.}[][\adjtocpagesep][]
5093 \fi
5094 \titlecontents*{partialtocsubsubsection}[0cm]{\hskip.5em}{%
5095 \@partialtocsubsubseclabel\adjtoclabelsep\@partialtocsubsubsecfont}
5096 {\@partialtocsubsubsecfont}{, \thecontentspage.}[][\adjtocpagesep][]
5097 \titlecontents*{partialtocparagraph}[0cm]{\hskip.5em}{%
5098 \@partialtocparlabelfont\adjtoclabelsep\@partialtocparfont}
5099 {\@partialtocparfont}{, \thecontentspage.}[][\adjtocpagesep][]
5100 \titlecontents*{partialtocsubparagraph}[0cm]{\hskip.5em}{%
5101 \@partialtocsubparlabelfont\adjtoclabelsep\@partialtocsubparfont}
5102 {\@partialtocsubparfont}{, \thecontentspage.}[][\adjtocpagesep][]
5103 \ifsuftesi@article
5104 \let\startsecpartialtoc\startcontents
5105 \let\startchappartialtoc\relax
5106 \else
5107 \let\startchappartialtoc\startcontents
5108 \let\startsecpartialtoc\relax
5109 \fi
5110 \newcommand{\printpartialtoc}{%
5111 \setcounter{tocdepth}{5}
5112 \contentsmargin{0cm}
5113 \@partialtocsize
5114 \@partialtocbeforespace
5115 \@partialtocbeforecode\par
5116 \ifsuftesi@article
5117 \printcontents{partialtoc}{2}{}
5118 \else
5119 \printcontents{partialtoc}{1}{}
5120 \fi
5121 \par\@partialtocaftercode
5122 \@partialtocafterspace
5123 }
5124 \else
5125 \let\startchappartialtoc\relax
5126 \let\startsecpartialtoc\relax
5127 \def\printpartialtoc{%
5128 \ClassWarningNoLine{suftesi}%
5129 {To activate \string\printpartialtoc\MessageBreak
5130 load the 'partialtoc' option}}
5131 \fi
5132 % \end{macrocode}
5133 % \subparagraph{The ToC, LoF and LoT in the \opt{article} structure}
5134 % \begin{macrocode}
5135 \ifsuftesi@article
5136 \renewcommand\tableofcontents{%
5137 \vspace{2ex}%
5138 \section*{\contentsname}%
5139 \@mkboth{\contentsname}{\contentsname}%
5140 \thispagestyle{empty}
5141 \ifsuftesi@twocolumntoc
5142 \begin{multicols}{2}
5143 \@starttoc{toc}%
5144 \end{multicols}
5145 \else
5146 \@starttoc{toc}%
5147 \fi
5148 \vspace{2ex}%
5149 }
5150 \renewcommand\listoffigures{%
5151 \vspace{2ex}%
5152 \section*{\listfigurename}%
5153 \@mkboth{\listfigurename}{\listfigurename}%
5154 \thispagestyle{empty}
5155 \ifsuftesi@twocolumnlof
5156 \begin{multicols}{2}
5157 \@starttoc{lof}%
5158 \end{multicols}
5159 \else
5160 \@starttoc{lof}%
5161 \fi
5162 \vspace{2ex}%
5163 }
5164 \renewcommand\listoftables{%
5165 \vspace{2ex}%
5166 \section*{\listtablename}%
5167 \@mkboth{\listtablename}{\listtablename}%
5168 \thispagestyle{empty}
5169 \ifsuftesi@twocolumnlot
5170 \begin{multicols}{2}
5171 \@starttoc{lot}%
5172 \end{multicols}
5173 \else
5174 \@starttoc{lot}%
5175 \fi
5176 \vspace{2ex}%
5177 }
5178 \else
5179 % \end{macrocode}
5180 % \subparagraph{The ToC, LoF and LoT in the \opt{book} structure}
5181 % \begin{macrocode}
5182 \renewcommand\tableofcontents{%
5183 \if@twocolumn
5184 \@restonecoltrue\onecolumn
5185 \else
5186 \@restonecolfalse
5187 \fi
5188 \chapter*{\contentsname}%
5189 \@mkboth{%
5190 \contentsname}
5191 {\contentsname}%
5192 \thispagestyle{empty}
5193 \ifsuftesi@twocolumntoc
5194 \begin{multicols}{2}
5195 \@starttoc{toc}%
5196 \end{multicols}
5197 \else
5198 \@starttoc{toc}%
5199 \fi
5200 \if@restonecol\twocolumn\fi
5201 }
5202 \renewcommand\listoffigures{%
5203 \if@twocolumn
5204 \@restonecoltrue\onecolumn
5205 \else
5206 \@restonecolfalse
5207 \fi
5208 \chapter*{\listfigurename}%
5209 \@mkboth{\listfigurename}%
5210 {\listfigurename}%
5211 \thispagestyle{empty}
5212 \ifsuftesi@twocolumnlof
5213 \begin{multicols}{2}
5214 \@starttoc{lof}%
5215 \end{multicols}
5216 \else
5217 \@starttoc{lof}%
5218 \fi
5219 \if@restonecol\twocolumn\fi
5220 }
5221 \renewcommand\listoftables{%
5222 \if@twocolumn
5223 \@restonecoltrue\onecolumn
5224 \else
5225 \@restonecolfalse
5226 \fi
5227 \chapter*{\listtablename}%
5228 \@mkboth{%
5229 \listtablename}%
5230 {\listtablename}%
5231 \thispagestyle{empty}
5232 \ifsuftesi@twocolumnlot
5233 \begin{multicols}{2}
5234 \@starttoc{lot}%
5235 \end{multicols}
5236 \else
5237 \@starttoc{lot}%
5238 \fi
5239 \if@restonecol\twocolumn\fi
5240 }
5241 \fi
5242 % \end{macrocode}
5243 % \subsection{Customizing entries}
5244 % \subsubsection{The partial ToC}
5245 % \begin{macrocode}
5246 \newcommand{\partialtocsize}[1]{%
5247 \def\@partialtocsize{#1}}
5248 \newcommand{\partialtocsecfont}[1]{%
5249 \def\@partialtocsecfont{#1}}
5250 \newcommand{\partialtocsubsecfont}[1]{%
5251 \def\@partialtocsubsecfont{#1}}
5252 \newcommand{\partialtocsubsubsecfont}[1]{%
5253 \def\@partialtocsubsubsecfont{#1}}
5254 \newcommand{\partialtocparfont}[1]{%
5255 \def\@partialtocparfont{#1}}
5256 \newcommand{\partialtocsubparfont}[1]{%
5257 \def\@partialtocsubparfont{#1}}
5258 \newcommand{\partialtocseclabel}[1]{%
5259 \def\@partialtocseclabel{\begingroup#1\thecontentslabel~\endgroup}}
5260 \newcommand{\partialtocsubseclabel}[1]{%
5261 \def\@partialtocsubseclabel{\begingroup#1\thecontentslabel~\endgroup}}
5262 \newcommand{\partialtocsubsubseclabel}[1]{%
5263 \def\@partialtocsubsubseclabel{\begingroup#1\thecontentslabel~\endgroup}}
5264 \newcommand{\partialtocparlabelfont}[1]{%
5265 \def\@partialtocparlabelfont{\begingroup#1\thecontentslabel~\endgroup}}
5266 \newcommand{\partialtocsubparlabelfont}[1]{%
5267 \def\@partialtocsubparlabelfont{\begingroup#1\thecontentslabel~\endgroup}}
5268 \newcommand{\partialtocbeforespace}[1]{%
5269 \def\@partialtocbeforespace{\vspace*{#1}}}
5270 \newcommand{\partialtocafterspace}[1]{%
5271 \def\@partialtocafterspace{\vspace*{#1}}}
5272 \newcommand{\partialtocbeforecode}[1]{%
5273 \def\@partialtocbeforecode{#1}}
5274 \newcommand{\partialtocaftercode}[1]{%
5275 \def\@partialtocaftercode{#1}}
5276 \partialtocsize{\footnotesize}
5277 \partialtocsecfont{\itshape}
5278 \partialtocsubsecfont{}
5279 \partialtocsubsubsecfont{}
5280 \partialtocparfont{}
5281 \partialtocsubparfont{}
5282 \partialtocseclabel{}
5283 \partialtocsubseclabel{}
5284 \partialtocsubsubseclabel{}
5285 \partialtocparlabelfont{}
5286 \partialtocsubparlabelfont{}
5287 \partialtocbeforespace{0pt}
5288 \partialtocafterspace{2\baselineskip}
5289 \partialtocbeforecode{}
5290 \partialtocaftercode{}
5291 % \end{macrocode}
5292 % \subsubsection{Sections font}
5293 % \begin{macrocode}
5294 \newcommand{\partfont}[1]{\def\SUF@PART@font{#1}}
5295 \newcommand{\chapfont}[1]{\def\SUF@CHAP@font{#1}}
5296 \newcommand{\secfont}[1]{\def\SUF@SEC@font{#1}}
5297 \newcommand{\subsecfont}[1]{\def\SUF@SUBSEC@font{#1}}
5298 \newcommand{\subsubsecfont}[1]{\def\SUF@SUBSUBSEC@font{#1}}
5299 \newcommand{\partnumfont}[1]{\def\SUF@PART@font{#1}}\partnumfont{}
5300 \newcommand{\chapnumfont}[1]{\def\SUF@thechapter{#1}}
5301 \newcommand{\secnumfont}[1]{\def\SUF@thesection{#1}}
5302 \newcommand{\subsecnumfont}[1]{\def\SUF@thesubsection{#1}}
5303 \newcommand{\subsubsecnumfont}[1]{\def\SUF@thesubsubsection{#1}}
5304 \newcommand{\titlefont}[1]{\def\SUF@titlestyle{#1}\let\SUF@titlefont\relax}
5305 \newcommand{\authorfont}[1]{\def\SUF@authorstyle{#1}\let\SUF@authorfont\relax}
5306 \newcommand{\datefont}[1]{\def\SUF@datefont{#1}}
5307 % \end{macrocode}
5308 % \subsubsection{Sections font in ToC}
5309 % \begin{macrocode}
5310 \newcommand{\tocpartname}[1]{\def\SUF@tocpartname{#1}}
5311 \tocpartname{\partname}
5312 \newcommand{\tocpartfont}[1]{\def\SUF@tocPART@font{#1}}
5313 \newcommand{\tocchapfont}[1]{\def\SUF@tocCHAP@font{#1}}
5314 \newcommand{\tocsecfont}[1]{\def\SUF@tocSEC@font{#1}}
5315 \newcommand{\tocsubsecfont}[1]{\def\SUF@tocSUBSEC@font{#1}}
5316 \newcommand{\tocsubsubsecfont}[1]{\def\SUF@tocSUBSUBSEC@font{#1}}
5317 \newcommand{\tocparfont}[1]{\def\SUF@tocPAR@font{#1}}
5318 \newcommand{\tocsubparfont}[1]{\def\SUF@tocSUBPAR@font{#1}}
5319 \newcommand{\tocpartnumfont}[1]{\def\SUF@tocPARTnum@font{#1}}\tocpartnumfont{}
5320 \newcommand{\tocchapnumfont}[1]{%
5321 \def\SUF@CHAP@contentslabel{\begingroup#1\thecontentslabel\endgroup}}
5322 \newcommand{\tocsecnumfont}[1]{%
5323 \def\SUF@SEC@contentslabel{\begingroup#1\thecontentslabel\endgroup}}
5324 \newcommand{\tocsubsecnumfont}[1]{%
5325 \def\SUF@SUBSEC@contentslabel{\begingroup#1\thecontentslabel\endgroup}}
5326 \newcommand{\tocsubsubsecnumfont}[1]{%
5327 \def\SUF@SUBSUBSEC@contentslabel{\begingroup#1\thecontentslabel\endgroup}}
5328 \newcommand{\tocparnumfont}[1]{%
5329 \def\SUF@PAR@contentslabel{\begingroup#1\thecontentslabel\endgroup}}
5330 \newcommand{\tocsubparnumfont}[1]{%
5331 \def\SUF@SUBPAR@contentslabel{\begingroup#1\thecontentslabel\endgroup}}
5332 \tocparnumfont{}
5333 \tocsubparnumfont{}
5334 % \end{macrocode}
5335 % \subsubsection{Breaking titles}
5336 % Two commands for manual breaks active, respectively, only in the table of contents and in the body text. The solution was initially made available by Enrico Gregorio many years ago in one of the first versions of the class (at that time the commands were called \cmd{headbreak} and \cmd{xheadbreak}). Later, while I was working on version 3.0, I noticed an alignment problem in the chapter titles when using the \opt{chapstyle=left} option. So I added the \cmd{breakinbodyleft} command and updated the command names to make them more recognizable. Old names are in any case available for backwards compatibility.
5337 % \begin{macrocode}
5338 \newif\ifbreakintoc\breakintocfalse
5339 \newif\ifbreakinbody\breakinbodytrue
5340 \DeclareRobustCommand{\breakintoc}
5341 {\ifbreakintoc\\\else\fi}
5342 \DeclareRobustCommand{\breakinbody}
5343 {\ifbreakinbody\\\else\fi}
5344 \DeclareRobustCommand{\breakinbodyleft}
5345 {\ifbreakinbody\newline\else\fi}
5346 \let\origtableofcontents\tableofcontents
5347 \renewcommand{\tableofcontents}{%
5348 \begingroup
5349 \breakintoctrue\breakinbodyfalse%
5350 \origtableofcontents
5351 \endgroup}
5352 \DeclareRobustCommand{\headbreak}
5353 {\ifbreakintoc\\\else\fi}
5354 \DeclareRobustCommand{\xheadbreak}
5355 {\ifbreakinbody\\\else\fi}
5356 \DeclareRobustCommand{\yheadbreak}
5357 {\ifbreakinbody\newline\else\fi}
5358 % \end{macrocode}
5359 % \subsection{Headers and footers}
5360 % \begin{macrocode}
5361 \RequirePackage{fancyhdr}
5362 \newcommand{\versionstring}[1]{\def\version@string{#1}}
5363 \versionstring{Version of}
5364 \ifSUF@draftdate
5365 \def\SUF@versionof{\footnotesize\texttt{\version@string{} \today}}
5366 \else
5367 \let\SUF@versionof\relax
5368 \fi
5369 % \end{macrocode}
5370 % \paragraph{The \opt{default} headers}
5371 % In previous versions \cmd{SUF@HEAD@thechapter} and
5372 % \cmd{SUF@HEAD@thesection} were preceded by \cmd{protect}.
5373 % This caused an error in the headers. Removing \cmd{protect}
5374 % may cause other bugs. To be tested.
5375 % \begin{macrocode}
5376 \renewcommand{\chaptermark}[1]{%
5377 \markboth{\chaptertitlename\ \SUF@HEAD@thechapter}{#1}}
5378 \ifsuftesi@article
5379 \renewcommand{\sectionmark}[1]{\markright{\SUF@HEAD@thesection.\ #1}}
5380 \else
5381 \renewcommand{\sectionmark}[1]{}
5382 \fi
5383 % \end{macrocode}
5384 % \paragraph{Page styles}
5385 % \begin{macrocode}
5386 \fancypagestyle{plain}{\fancyhf{}\fancyfoot[RE,LO]{\SUF@versionof}}
5387 \fancypagestyle{empty}{\fancyhf{}\fancyfoot[RE,LO]{\SUF@versionof}}
5388 \fancypagestyle{sufplain}{%
5389 \fancyhf{}%
5390 \fancyfoot[RE,LO]{\SUF@versionof}
5391 \fancyfoot[C]{\footnotesize\SUF@thepage}}
5392 \fancypagestyle{centerheader}{%
5393 \fancyhf{}%
5394 \fancyfoot[RE,LO]{\SUF@versionof}
5395 \fancyhead[CO]{\footnotesize\breakinbodyfalse\SUF@rightmark}
5396 \fancyhead[CE]{\footnotesize\breakinbodyfalse\SUF@mark}
5397 \fancyfoot[C]{\footnotesize\SUF@thepage}}
5398 \fancypagestyle{sufdefault}{%
5399 \fancyhf{}%
5400 \fancyfoot[RE,LO]{\SUF@versionof}
5401 \fancyhead[LE,RO]{\footnotesize\SUF@thepage}
5402 \fancyhead[LO]{\footnotesize\breakinbodyfalse\SUF@rightmark}
5403 \fancyhead[RE]{\footnotesize\breakinbodyfalse\SUF@mark}}
5404 \ifsuftesi@article
5405 \ifsuftesi@authortitle
5406 \def\SUF@mark{\SUF@leftmark}
5407 \else
5408 \def\SUF@mark{\SUF@rightmark}
5409 \fi
5410 \else
5411 \def\SUF@mark{\SUF@leftmark}
5412 \fi
5413 \def\SUF@leftrightmark{%
5414 \if@mainmatter\leftmark\else\rightmark\fi}
5415 % \end{macrocode}
5416 % The \cmd{geometry} command gives the expected result
5417 % only if used \textit{before} the page style assignment.
5418 % So this must be declared at the beginning of the document:
5419 % \begin{macrocode}
5420 \AtBeginDocument{%
5421 \renewcommand{\headrulewidth}{0pt}
5422 \renewcommand{\footnoterule}{}
5423 \ifsuftesi@centerheader
5424 \pagestyle{centerheader}
5425 \else
5426 \ifsuftesi@sufplain
5427 \pagestyle{sufplain}
5428 \else
5429 \pagestyle{sufdefault}
5430 \fi
5431 \fi
5432 }
5433 % \end{macrocode}
5434 % \subsection{Notes and quotations}
5435 % \paragraph{Block Quotations}
5436 % New environments for block quotations according to a popular Italian style.
5437 % The font size is the same of the footnotes and the margins are set to \cmd{parindent}.
5438 % \begin{macrocode}
5439 \renewenvironment{quotation}
5440 {\list{}{\listparindent\parindent%
5441 \itemindent \listparindent
5442 \SUF@quote@style
5443 \parsep \z@ \@plus\p@}%
5444 \item\relax%
5445 \SUF@quotation@size%
5446 \noindent\ignorespaces}
5447 {\endlist}
5448 \renewenvironment{quote}
5449 {\list{}{%
5450 \SUF@quote@style}%
5451 \item\relax%
5452 \SUF@quotation@size}% \ignorespaces?
5453 {\endlist}
5454 \renewenvironment{verse}
5455 {\let\\\@centercr
5456 \list{}{\itemsep \z@
5457 \itemindent -1.5em%
5458 \listparindent\itemindent
5459 \rightmargin \leftmargin
5460 \advance\leftmargin 1.5em}%
5461 \item\relax
5462 \SUF@quotation@size}
5463 {\endlist}
5464 % \end{macrocode}
5465 % \paragraph{The \opt{fewfootnotes} option}
5466 % Enable only with three footnotes per page maximum.
5467 % \begin{macrocode}
5468 \ifSUF@fewfootnotes
5469 \RequirePackage{footnpag}
5470 \AtBeginDocument{%
5471 \def\@fnsymbol#1{%
5472 \ifcase#1\or \TextOrMath\textasteriskcentered *\or
5473 \TextOrMath {\textasteriskcentered\textasteriskcentered}{**}\or
5474 \TextOrMath {\textasteriskcentered%
5475 \textasteriskcentered\textasteriskcentered}{***}\or
5476 \protect\ClassError{suftesi}%
5477 {Too many footnotes per page. \MessageBreak
5478 Remove the class option 'fewfootnote'\MessageBreak
5479 Two LaTeX runs required.}
5480 {Too many footnotes per page. \MessageBreak
5481 Remove the class option 'fewfootnote'\MessageBreak
5482 Two LaTeX runs required.}
5483 \fi
5484 }%
5485 }
5486 \def\thefootnote{\@fnsymbol\c@footnote}%
5487 \fi
5488 % \end{macrocode}
5489 % \paragraph{The \cmd{xfootnote} command} Prints a footnote with discretionary
5490 % symbol give in the first argument. Since version 1.3.4 \cmd{protected@xdef}
5491 % replaces \cmd{xdef}.
5492 % \begin{macrocode}
5493 \newcommand*\xfootnote[1][*]{%
5494 \protected@xdef\@thefnmark{#1}%
5495 \@footnotemark\@footnotetext}
5496 % \end{macrocode}
5497 % \paragraph{Marginal notes}
5498 % The |\marginpar| command is redefined according to the look
5499 % of \emph{Classic Thesis} by
5500 % André \textcite{Miede:2011}\index{Miede, André}.
5501 % \begin{macrocode}
5502 \let\oldmarginpar\marginpar
5503 \ifSUF@marginpar
5504 \def\SUF@mpsetup{%
5505 \itshape
5506 \footnotesize%
5507 \parindent=0pt \lineskip=0pt \lineskiplimit=0pt%
5508 \tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300%
5509 \doublehyphendemerits=100000%
5510 \finalhyphendemerits=\doublehyphendemerits}
5511 \renewcommand{\marginpar}[1]{\oldmarginpar%
5512 [\SUF@mpsetup\raggedleft\hspace{0pt}{#1}]%
5513 {\SUF@mpsetup\raggedright\hspace{0pt}{#1}}}
5514 \else
5515 \renewcommand\marginpar[2][]{}
5516 \fi
5517 % \end{macrocode}
5518 % Redefine an internal command of the \sty{todonotes} package in
5519 % order to use the class-specific marginal notes when this
5520 % package is loaded. This redefinition simply substitute
5521 % \cmd{oldmarginpar} to \cmd{marginpar}:
5522 % \begin{macrocode}
5523 \AtBeginDocument{%
5524 \@ifpackageloaded{todonotes}{%
5525 \renewcommand{\@todonotes@drawMarginNoteWithLine}{%
5526 \begin{tikzpicture}[remember picture, overlay, baseline=-0.75ex]%
5527 \node [coordinate] (inText) {};%
5528 \end{tikzpicture}%
5529 \oldmarginpar[{% Draw note in left margin
5530 \@todonotes@drawMarginNote%
5531 \@todonotes@drawLineToLeftMargin%
5532 }]{% Draw note in right margin
5533 \@todonotes@drawMarginNote%
5534 \@todonotes@drawLineToRightMargin%
5535 }
5536 }
5537 }
5538 {\relax}}
5539 % \end{macrocode}
5540 % \subsection{The \opt{collection} structure}
5541 % \begin{macrocode}
5542 \ifsuftesi@collection
5543 \newcounter{journalnumber}
5544 \newcounter{journalvolume}
5545 \newcounter{issue}
5546 \newcounter{title}
5547 \setcounter{title}{1}
5548 \newcounter{article}
5549 \setcounter{article}{0}
5550 \setcounter{journalnumber}{0}
5551 \setcounter{tocdepth}{0}
5552 \def\journalname#1{\gdef\@journalname{#1}}
5553 \def\@journalname{\@latex@warning@no@line{%
5554 No \noexpand\journalname given}}
5555 \def\journalvolume#1{\gdef\@journalvolume{#1}}
5556 \def\@journalvolume{\@latex@warning@no@line{%
5557 No \noexpand\journalvolume given}}
5558 \def\journalnumber#1{\gdef\@journalnumber{#1}}
5559 \def\@journalnumber{\@latex@warning@no@line{%
5560 No \noexpand\journalnumber given}}
5561 \def\issue#1{\gdef\@issue{#1}}
5562 \def\@issue{\@latex@warning@no@line{%
5563 No \noexpand\issue given}}
5564 \def\journalyear#1{\gdef\@journalyear{#1}}
5565 \def\@journalyear{\@latex@warning@no@line{%
5566 No \noexpand\journalyear given}}
5567 \def\journalwebsite#1{\gdef\@journalwebsite{\url{#1}}}
5568 \def\@journalwebsite{\@latex@warning@no@line{%
5569 No \noexpand\journalwebsite given}}
5570 \def\thanks#1{\footnotemark\ \protected@xdef\@thanks{%
5571 \@thanks\protect\footnotetext[\the\c@footnote]{#1}}}
5572 \def\fulljournal{\emph{\@journalname} \@journalnumber, %
5573 \@issue{} \@journalyear}
5574 \def\issuename#1{\gdef\@issuename{#1}}
5575 \def\collectiontitle#1{\gdef\@collectiontitle{#1}}
5576 \def\@collectiontitle{\@latex@warning@no@line{%
5577 No \noexpand\collectiontitle given}}
5578 \def\collectioneditor#1{\gdef\@collectioneditor{#1}}
5579 \def\@collectioneditor{\@latex@warning@no@line{%
5580 No \noexpand\collectioneditor given}}
5581 \renewcommand*{\title}[2][]{%
5582 \gdef\@headtitle{#1}\gdef\@title{#2}\markright{#1}}
5583 \edef\title{\noexpand\@dblarg
5584 \expandafter\noexpand\csname\string\title\endcsname}
5585 \def\@headtitle{--missing title--%
5586 \protect\ClassWarningNoLine{suftesi}{%
5587 No \string\title\space given \MessageBreak%
5588 See the class documentation for explanation}}
5589 \def\@title{--missing title--%
5590 \protect\ClassWarningNoLine{suftesi}{%
5591 No \string\title\space given\MessageBreak%
5592 See the class documentation for explanation}}
5593 \def\@author{--missing author--%
5594 \protect\ClassWarningNoLine{suftesi}{%
5595 No \string\author\space given\MessageBreak%
5596 See the class documentation for explanation}}
5597 \newcommand*\l@title[2]{%
5598 \ifnum \c@tocdepth >\m@ne
5599 \addpenalty{-\@highpenalty}%
5600 \vskip 1.0ex \@plus\p@
5601 \begingroup
5602 \parindent \z@ \rightskip \@pnumwidth
5603 \parfillskip -\@pnumwidth
5604 \advance\leftskip1em
5605 \hskip -\leftskip
5606 #1\nobreak%
5607 \ifsuftesi@dottedtoc\dotfill%
5608 \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
5609 \else
5610 \ifsuftesi@raggedtoc%
5611 \nobreak\hskip1em #2 \hfill\null\par
5612 \else
5613 \ifsuftesi@pagelefttoc
5614 \ClassError{suftesi}
5615 {\MessageBreak
5616 You can not use tocstyle=leftpage\MessageBreak
5617 with structure=collection}
5618 {You can not use tocstyle=leftpage\MessageBreak
5619 with structure=collection}
5620 \else
5621 \nobreak\hfill #2\par
5622 \fi
5623 \fi
5624 \fi
5625 \penalty\@highpenalty
5626 \endgroup
5627 \fi}
5628 % \newenvironment{article}
5629 % {\begingroup
5630 % \global\let\@thanks\@empty
5631 % \setcounter{footnote}{0}
5632 % \refstepcounter{article}
5633 % \label{begin:\thearticle}
5634 %}
5635 % {\label{end:\thearticle}\endgroup
5636 % }
5637 \newenvironment{article}
5638 {\begingroup
5639 \setcounter{section}{0}
5640 \setcounter{footnote}{0}
5641 \setcounter{figure}{0}
5642 \setcounter{table}{0}}
5643 {\label{end:\thearticle}
5644 \cleardoublepage
5645 \global\let\@thanks\@empty
5646 \endgroup}
5647 \newcommand{\collectiontitlepage}{%
5648 \thispagestyle{empty}%
5649 \begingroup
5650 \centering
5651 \vspace*{\stretch{1}}
5652
5653 {\SUF@chaptersize\@collectiontitle\par}
5654 \vskip5ex
5655
5656 \@collectioneditor
5657 \vspace*{\stretch{3}}
5658
5659 \endgroup
5660 \clearpage}
5661 \def\frontispiece{\collectiontitlepage}
5662 % \end{macrocode}
5663 % In the collection document structure the articles are treated as
5664 % chapters but you would not need to print in
5665 % the table of contents all the sections of every article. So first of
5666 % all we include in the table of contents only the author and the
5667 % title of each paper. Anyway the sections inside each paper are
5668 % numbered as in standard articles:
5669 % \begin{macrocode}
5670 \setcounter{tocdepth}{0}
5671 \renewcommand\thesection{%
5672 \@arabic\c@section}
5673 \renewcommand\thesubsection{%
5674 \thesection.\@arabic\c@subsection}
5675 \renewcommand\thesubsubsection{%
5676 \thesubsection.\@arabic\c@subsubsection}
5677 \renewcommand\theparagraph{%
5678 \thesubsubsection.\@arabic\c@paragraph}
5679 \renewcommand\thesubparagraph{%
5680 \theparagraph.\@arabic\c@subparagraph}
5681 \else
5682 \fi
5683 % \end{macrocode}
5684 % \subsection{Title page}
5685 % The new \cmd{title} command has an optional argument
5686 % which can be used in the headers.
5687 % \begin{macrocode}
5688 \def\isbn#1{\gdef\@isbn{#1}}
5689 \def\@issn{\@latex@warning@no@line{%
5690 No \noexpand\isbn given}}
5691 \def\doi#1{\gdef\@doi{#1}}
5692 \def\@doi{\@latex@warning@no@line{%
5693 No \noexpand\doi given}}
5694 \def\isbn#1{\gdef\@issn{#1}}
5695 \def\@issn{\@latex@warning@no@line{%
5696 No \noexpand\isbn given}}
5697 \renewcommand*{\title}[2][]{\gdef\@headtitle{#1}\gdef\@title{#2}}
5698 \edef\title{\noexpand\@dblarg
5699 \expandafter\noexpand\csname\string\title\endcsname}
5700 \def\@headtitle{--missing title--%
5701 \protect\ClassWarningNoLine{suftesi}{%
5702 No \string\title\space given \MessageBreak%
5703 See the class documentation for explanation}}
5704 \def\@title{--missing title--%
5705 \protect\ClassWarningNoLine{suftesi}{%
5706 No \string\title\space given\MessageBreak%
5707 See the class documentation for explanation}}
5708 \def\@author{--missing author--%
5709 \protect\ClassWarningNoLine{suftesi}{%
5710 No \string\author\space given\MessageBreak%
5711 See the class documentation for explanation}}
5712 \ifsuftesi@collection
5713 \renewcommand\maketitle{\par
5714 \begingroup
5715 \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
5716 \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
5717 \long\def\@makefntext##1{\parindent 1em\noindent
5718 \hb@[email protected]{%
5719 \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
5720 \if@twocolumn
5721 \ifnum \col@number=\@ne
5722 \@maketitle
5723 \else
5724 \twocolumn[\@maketitle]%
5725 \fi
5726 \else
5727 \newpage
5728 \global\@topnum\z@ % Prevents figures from going at top of page.
5729 \@maketitle
5730 \fi
5731 \thispagestyle{plain}\@thanks%
5732 \endgroup
5733 \setcounter{section}{0}%
5734 % \setcounter{footnote}{0}%
5735 % \global\let\thanks\relax
5736 % \global\let\maketitle\relax
5737 % \global\let\@maketitle\relax
5738 % \global\let\@thanks\@empty
5739 % \global\let\@author\@empty
5740 % \global\let\@date\@empty
5741 % \global\let\@title\@empty
5742 % \global\let\title\relax
5743 % \global\let\author\relax
5744 % \global\let\date\relax
5745 \global\let\and\relax
5746 \let\thanks\@gobble}
5747 \AtBeginDocument{\def\@maketitle{%
5748 \refstepcounter{article}
5749 \SUF@chaptersize
5750 \SUF@authortitle@align
5751 \let\footnote\thanks
5752 \parindent=0pt
5753 {\SUF@second\par}%
5754 \label{begin:\thearticle}
5755 % \end{macrocode}
5756 % Check if you don't use \sty{hyperrref} provided by Enrico Gregorio
5757 % (\url{https://tex.stackexchange.com/a/427203/231952}):
5758 % \begin{macrocode}
5759 \@ifundefined{Hy@raisedlink}{\let\texorpdfstring\@firstoftwo}{%
5760 \xdef\@currentHref{title.\thearticle}%
5761 \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
5762 }%
5763 % \end{macrocode}
5764 % \begin{macrocode}
5765 \csname toc@entry@\endcsname
5766 \begingroup%
5767 \let\thanks\@gobble
5768 \addcontentsline{toc}{title}{%
5769 {\SUF@tocAUT@font{\@author}}\texorpdfstring{\newline}{, }%
5770 {\SUF@tocTIT@font{\@headtitle}}}
5771 \endgroup%
5772 \par\nobreak\vspace{2ex}
5773 {\SUF@first\par%
5774 \vskip1.5cm}}%
5775 }
5776 \else
5777 \ifSUF@titlepage
5778 \renewcommand\maketitle{%
5779 \begin{titlepage}
5780 \let\footnotesize\small
5781 \let\footnoterule\relax
5782 \let \footnote \thanks
5783 \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
5784 \null\vfil
5785 \vskip 60\p@
5786 \begin{center}%
5787 {\SUF@first\par}%
5788 \vskip 3em%
5789 {\lineskip .75em%
5790 \SUF@second\par}%
5791 \vskip 1.5em%
5792 {\SUF@datefont\@date\par}%
5793 \end{center}\par
5794 \@thanks
5795 \vfil\null
5796 \end{titlepage}%
5797 \setcounter{footnote}{0}%
5798 \global\let\thanks\relax
5799 \global\let\maketitle\relax
5800 \global\let\@thanks\@empty
5801 \global\let\@date\@empty
5802 \global\let\date\relax
5803 \global\let\and\relax}
5804 \else
5805 \renewcommand\maketitle{\par
5806 \begingroup
5807 \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
5808 \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
5809 \long\def\@makefntext##1{\parindent 1em\noindent
5810 \hb@[email protected]{%
5811 \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
5812 \if@twocolumn
5813 \ifnum \col@number=\@ne
5814 \@maketitle
5815 \else
5816 \twocolumn[\@maketitle]%
5817 \fi
5818 \else
5819 \newpage
5820 \global\@topnum\z@% Prevents figures from going at top of page.
5821 \@maketitle
5822 \fi
5823 \thispagestyle{plain}\@thanks
5824 \endgroup
5825 \setcounter{footnote}{0}%
5826 \global\let\thanks\relax
5827 \global\let\maketitle\relax
5828 \global\let\@maketitle\relax
5829 \global\let\@thanks\@empty
5830 \global\let\@date\@empty
5831 \global\let\date\relax
5832 \global\let\and\relax}
5833 \def\@maketitle{%
5834 \newpage
5835 \null
5836 \vskip 2em%
5837 \begin{center}%
5838 \let \footnote \thanks
5839 {\SUF@first\par}%
5840 \vskip 1.5em%
5841 {\lineskip .5em%
5842 \SUF@second\par}%
5843 \vskip 1em%
5844 {\SUF@datefont\@date\par}%
5845 \end{center}%
5846 \par
5847 \vskip 1.5em}
5848 \fi
5849 \fi
5850 % \end{macrocode}
5851 % \subsection{Cover page}
5852 % \begin{macrocode}
5853 \newcommand{\Ctitle}[1]{\def\@Ctitle{#1}}
5854 \newcommand{\Csubtitle}[1]{\def\@Csubtitle{#1}}
5855 \newcommand{\Cauthor}[1]{\def\@Cauthor{#1}}
5856 \newcommand{\Ceditor}[1]{\def\@Ceditor{#1}}
5857 \newcommand{\Cfoot}[1]{\def\@Cfoot{#1}}
5858 \newcommand{\Cpagecolor}[1]{\def\@Cpagecolor{#1}}
5859 \newcommand{\Ccirclecolor}[1]{\def\@Ccirclecolor{#1}}
5860 \newcommand{\Ctextcolor}[1]{\def\@Ctextcolor{#1}}
5861 \newcommand{\Cfootcolor}[1]{\def\@Cfootcolor{#1}}
5862 \Cauthor{}
5863 \Ctitle{}
5864 \Csubtitle{}
5865 \Ceditor{}
5866 \Cfoot{}
5867 \Cpagecolor{gray!30}
5868 \Ctextcolor{white}
5869 \Cfootcolor{black}
5870 \AtBeginDocument{
5871 \@ifpackageloaded{tikz}{%
5872 \newcommand\makecover[1][]{%
5873 \begin{titlepage}
5874 \begin{tikzpicture}[overlay,remember picture]
5875 \draw[draw=none,fill=\@Cpagecolor]
5876 (current page.north west) rectangle (current page.south east);
5877 \node[anchor=center,yshift=.22\paperwidth] at (current page.center) (c) {};
5878 \draw[draw=none,fill=gray,#1]
5879 (c) circle (.38\paperwidth) ;
5880 \node[anchor=center] at (c) (author) {%
5881 \parbox{.7\paperwidth}{%
5882 \centering
5883 \ifx\@Cauthor\@empty
5884 \else
5885 {\scshape\color{\@Ctextcolor}\@Cauthor\\}
5886 \vspace*{\baselineskip}
5887 \fi
5888
5889 \ifx\@Ctitle\@empty
5890 \else
5891 {\Huge\bfseries\color{\@Ctextcolor}\@Ctitle\\[1ex]}
5892 \fi
5893
5894 \ifx\@Csubtitle\@empty
5895 \else
5896 {\smallskip\Large\color{\@Ctextcolor}\@Csubtitle\\}
5897 \fi
5898
5899 \ifx\@Ceditor\@empty
5900 \else
5901 {\vspace*{2\baselineskip}\color{\@Ctextcolor}\@Ceditor\\}
5902 \fi}
5903 };
5904 \ifx\@Cfoot\@empty\else
5905 \node[xshift=.5\paperwidth,yshift=1cm,
5906 align=center,text=\@Cfootcolor,anchor=south]
5907 at (current page.south west) {\@Cfoot};
5908 \fi
5909 \end{tikzpicture}
5910 \end{titlepage}
5911 }
5912 }
5913 {\def\makecover{\ClassError{suftesi}{\MessageBreak%
5914 ***********************************\MessageBreak
5915 * To use the \noexpand\makecover command\MessageBreak
5916 * load the 'tikz' package.\MessageBreak
5917 ************************************}{\MessageBreak%
5918 ***********************************\MessageBreak
5919 * To use the \noexpand\makecover command\MessageBreak
5920 * load the 'tikz' package.\MessageBreak
5921 ************************************}}}
5922 }
5923 % \end{macrocode}
5924 % \subsection{Frontispiece}
5925 % \begin{macrocode}
5926 \AtBeginDocument{%
5927 \@ifpackagewith{frontespizio}{suftesi}{%
5928 \ifsuftesi@periodical
5929 \Margini {5.5cm}{7cm}{4.5cm}{0cm}
5930 \else
5931 \ifsuftesi@periodicalaureo
5932 \Margini {5.5cm}{7cm}{4.5cm}{0cm}
5933 \else
5934 \ifsuftesi@compact
5935 \Margini {4.5cm}{7cm}{4.5cm}{0cm}
5936 \else
5937 \ifsuftesi@compactaureo
5938 \Margini {4.5cm}{7cm}{4.5cm}{0cm}
5939 \else
5940 \ifsuftesi@supercompact
5941 \Margini {4.5cm}{10cm}{6cm}{1cm}
5942 \else
5943 \ifsuftesi@supercompactaureo
5944 \Margini {4.5cm}{10cm}{6cm}{1cm}
5945 \else
5946 \ifsuftesi@pocketa
5947 \Margini {4.5cm}{10cm}{6cm}{1cm}
5948 \else
5949 \ifsuftesi@pocketb
5950 \Margini {4.5cm}{10cm}{6cm}{1cm}
5951 \else
5952 \ifsuftesi@pocketc
5953 \Margini {4.5cm}{10cm}{6cm}{1cm}
5954 \else
5955 \fi\fi\fi\fi\fi\fi\fi\fi\fi}
5956 {\@ifpackageloaded{frontespizio}{%
5957 \ifsuftesi@periodical
5958 \Margini {1cm}{7cm}{5cm}{1cm}
5959 \Rientro{1cm}
5960 \else
5961 \ifsuftesi@periodicalaureo
5962 \Margini {1cm}{7cm}{5cm}{1cm}
5963 \Rientro{1cm}
5964 \else
5965 \ifsuftesi@compact
5966 \Margini {1cm}{7cm}{6cm}{1cm}
5967 \Rientro{1cm}
5968 \else
5969 \ifsuftesi@compactaureo
5970 \Margini {1cm}{7cm}{6cm}{1cm}
5971 \Rientro{1cm}
5972 \else
5973 \ifsuftesi@supercompact
5974 \Margini {1cm}{10cm}{8cm}{1cm}
5975 \Rientro{1cm}
5976 \else
5977 \ifsuftesi@supercompactaureo
5978 \Margini {1cm}{10cm}{8cm}{1cm}
5979 \Rientro{1cm}
5980 \else
5981 \ifsuftesi@pocketa
5982 \Margini {1cm}{10cm}{8cm}{1cm}
5983 \Rientro{1cm}
5984 \else
5985 \ifsuftesi@pocketb
5986 \Margini {1cm}{10cm}{8cm}{1cm}
5987 \Rientro{1cm}
5988 \else
5989 \ifsuftesi@pocketc
5990 \Margini {1cm}{10cm}{8cm}{1cm}
5991 \Rientro{1cm}
5992 \else
5993 \fi\fi\fi\fi\fi\fi\fi\fi\fi}
5994 {\relax}}}
5995 % \end{macrocode}
5996 % \subsection{Colophon}
5997 % \begin{macrocode}
5998 \newcommand{\colophon}[3][]{%
5999 \thispagestyle{empty}
6000 \null
6001 \vfill
6002 \def\next{#2}
6003 \ifx\next\@empty\else
6004 \noindent Copyright \copyright{} \the\year~#2\\[1ex]
6005 Tutti i diritti riservati
6006 \fi
6007 \vfill
6008 {\small\noindent Questo lavoro \`e stato composto con \LaTeX{}%
6009 \def\next{#1}
6010 \ifx\next\@empty\else su #1
6011 \fi usando la classe \textsf{suftesi} di
6012 Ivan Valbusa\index{Valbusa, Ivan}. #3\par}
6013 \cleardoublepage}
6014 \newcommand{\bookcolophon}[2]{%
6015 \thispagestyle{empty}
6016 \null
6017 \vfill
6018 \noindent #1
6019 \vfill
6020 {\small\noindent #2\par}
6021 \cleardoublepage}
6022 \newcommand{\artcolophon}[1]{%
6023 \thispagestyle{empty}
6024 \null
6025 \vfill
6026 {\small\noindent #1\par}}
6027 \newcommand{\finalcolophon}[1]{%
6028 \thispagestyle{empty}
6029 \null\vspace*{\stretch{1}}
6030 \begin{center}
6031 \begin{minipage}{.5\textwidth}
6032 \centering\small #1
6033 \end{minipage}
6034 \end{center}
6035 \vspace*{\stretch{6}}}
6036 % \end{macrocode}
6037 % \paragraph{The \cmd{FSPL} colophon}
6038 % This command is defined only for the \opt{style=FSPL*} options.
6039 % \begin{macrocode}
6040 \ifsuftesi@FSPL
6041 \newcommand{\FSPLcolophon}[1][\the\year]{%
6042 \begingroup
6043 \thispagestyle{empty}
6044 \null\vspace{\stretch{1}}
6045 \noindent \hskip-.5em\cc #1 \@author%
6046 \vskip1ex
6047
6048 \small\noindent This work is licensed under the Creative Commons
6049 Attribution-NonCommercial-NoDerivs 3.0 Unported License.
6050 To view a copy of this license,
6051 visit http://creativecom mons.org/licenses/by-nc-nd/3.0/.
6052
6053 \endgroup
6054
6055 \begingroup
6056 \footnotesize
6057
6058 \null\vspace{\stretch{1}}
6059
6060 \noindent Typeset with \LaTeX{} in collaboration with the Joint Project
6061 \emph{Formal Style for PhD Theses with \LaTeX} (University of Verona,
6062 Italy) using the \textsf{suftesi} class by Ivan Valbusa. The text face
6063 is Palatino, designed by Hermann Zapf. The sans serif font is Iwona by
6064 Janusz M.~Nowacki.
6065
6066 \endgroup
6067
6068 \clearpage}
6069 \else
6070 \def\FSPLcolophon{%
6071 \ClassError{suftesi}
6072 {\noexpand\FSPLcolophon is defined\MessageBreak
6073 only for the FSPL styles}
6074 {\noexpand\FSPLcolophon is defined\MessageBreak
6075 only for the FSPL styles}}
6076 \fi
6077 % \end{macrocode}
6078 % \subsection{Backward compatibility}
6079 % Two environments to manually typeset the bibliography and the list of shorthands.
6080 % As the class was initially designed primarily for Italian-speaking users, these two environments have an Italian name. Particularly the list of shorthands relies on \cmd{losname} which defaults to ``Sigle'' (that means ``shorthands''). They are not documented and are made available only for backward compatibility.
6081 % \begin{macrocode}
6082 \newenvironment{bibliografia}{%
6083 \ifsuftesi@article
6084 \section*{\refname}
6085 \addcontentsline{toc}{section}{\refname}
6086 \else
6087 \chapter{\bibname}%
6088 \fi
6089 \normalfont \list{}{%
6090 \setlength{\itemindent}{-\parindent}
6091 \setlength{\leftmargin}{\parindent}
6092 \setlength{\labelwidth}{0pt}
6093 \setlength{\parsep}{\parskip}
6094 \let\makelabel}}
6095 {\endlist}
6096 \newcommand{\losname}{Sigle}
6097 \newcommand{\itlabel}[1]{\itshape\hbox to 6em{#1}}
6098 \newenvironment{sigle}{%
6099 \chapter{\losname}
6100 \normalfont \list{}{%
6101 \setlength{\labelsep}{0.5em}
6102 \setlength{\itemindent}{0pt}
6103 \setlength{\leftmargin}{6em}
6104 \setlength{\labelwidth}{\leftmargin}
6105 \setlength{\listparindent}{\parindent}
6106 \setlength{\parsep}{\parskip}
6107 \let\makelabel\itlabel}}
6108 {\endlist}
6109 % \end{macrocode}
6110 % A command to print an unnumbered introduction at the beginning of the chapter.
6111 % The \cmd{chapterintroname} defaults to ``Introduzione'' because the class was
6112 % initially designed primarily for Italian-speaking users.
6113 % \begin{macrocode}
6114 \ifsuftesi@article
6115 \def\chapterintro{%
6116 \ClassError{suftesi}
6117 {Command \noexpand\chapterintro is undefined\MessageBreak
6118 using 'structure=article'}
6119 {Command \noexpand\chapterintro is undefined\MessageBreak
6120 using 'structure=article'}}
6121 \else
6122 \def\chapterintro{\@ifstar{%
6123 \@tempswafalse\@chapterintro}{\@tempswatrue\@chapterintro}}
6124 \def\@chapterintro{\phantomsection
6125 \if@tempswa\section*{\SUF@fchapterintroname}\fi
6126 \addcontentsline{toc}{section}{\SUF@fchapterintroname}}
6127 \newcommand{\chapterintroname}[1]{\def\SUF@fchapterintroname{#1}}
6128 \chapterintroname{Introduzione}
6129 \fi
6130 % \end{macrocode}
6131 % \subsection{Final settings}
6132 % \begin{macrocode}
6133 \ifsuftesi@article
6134 \renewcommand\frontmatter{\ClassError{suftesi}
6135 {Command \noexpand\frontmatter is undefined\MessageBreak
6136 using 'structure=article'}
6137 {Command \noexpand\frontmatter is undefined\MessageBreak
6138 using 'structure=article'}}
6139 \renewcommand\mainmatter{\ClassError{suftesi}
6140 {Command \noexpand\mainmatter is undefined\MessageBreak
6141 using 'structure=article'}
6142 {Command \noexpand\mainmatter is undefined\MessageBreak
6143 using 'structure=article'}}
6144 \renewcommand\backmatter{\ClassError{suftesi}
6145 {Command \noexpand\backmatter is undefined\MessageBreak
6146 using 'structure=article'}
6147 {Command \noexpand\backmatter is undefined\MessageBreak
6148 using 'structure=article'}}
6149 \else
6150 % \end{macrocode}
6151 % Nowadays there is no longer any sense in having a different numbering
6152 % for the frontmatter pages. For this reason we redefine the \cmd{frontmatter} command in order to obtain Arabic numerals.
6153 % \begin{macrocode}
6154 \renewcommand\frontmatter{\cleardoublepage\@mainmatterfalse}
6155 \renewcommand\mainmatter{\cleardoublepage\@mainmattertrue}
6156 \fi
6157 % \end{macrocode}
6158 % In a previous version the \cmd{hemph} command was provided
6159 % to fix a bug in the hyphenation of some italian expressions
6160 % like ``dell'\emph{encyclopaedia}''. Now the bug has been fixed by the
6161 % \sty{fixltxhyph} package by Claudio Beccari. The \cmd{hemph} command
6162 % is provided only for backward compatibility. Note that the \sty{fixltxhyph}
6163 % package must be loaded after \sty{babel} or \sty{polyglossia}.
6164 % \begin{macrocode}
6165 \@ifpackageloaded{babel}
6166 {\AtBeginDocument{\RequirePackage{fixltxhyph}}}{}
6167 \@ifpackageloaded{polyglossia}
6168 {\AtBeginDocument{\RequirePackage{fixltxhyph}}}{}
6169 \let\hemph\emph
6170 % \end{macrocode}
6171 % The first line of all sections is indented by default
6172 % using \hologo{XeLaTeX} with Italian as the main language. I think that this is
6173 % incongruous with the \hologo{LaTeX} default. For this reason:
6174 % \begin{macrocode}
6175 \AtBeginDocument{%
6176 \unless\ifPDFTeX% if xetex or luatex
6177 \let\@afterindenttrue\@afterindentfalse
6178 \fi}
6179 % \end{macrocode}
6180 % Now we switch off extra space after punctuation, in accordance with the habits
6181 % of European typography, especially the Italian one. The user can restore standard behavior with the \cmd{nonfrenchspacing} command.
6182 % \begin{macrocode}
6183 \frenchspacing
6184 % \end{macrocode}
6185 % \iffalse
6186 %</class>
6187 % \fi
6188 %
6189 % \iffalse
6190 %<*bib>
6191 @book{Morison:1111,
6192 Author = {Stanley Morison},
6193 Booktitle = {First Principles of Typography},
6194 Date = {1936},
6195 Location = {Cambridge},
6196 Origdate = {2008},
6197 Origlocation = {Pisa-Roma},
6198 Origpublisher = {Fabrizio Serra editore},
6199 Origtitle = {I principi fondamentali della tipografia},
6200 Publisher = {Cambridge University Press},
6201 Title = {First Principles of Typography}}
6202
6203 @book{Eco:1980,
6204 Author = {Umberto Eco},
6205 Booktitle = {Il nome della rosa},
6206 Location = {Milano},
6207 Publisher = {Bompiani},
6208 Title = {Il nome della rosa},
6209 Year = {1980}}
6210
6211 @online{Gregorio:frontespizio,
6212 Author = {Enrico Gregorio},
6213 Note = {version 1.1},
6214 Title = {Il pacchetto \textsf{frontespizio}},
6215 Url = {http://www.guit.sssup.it/phpbb/index.php},
6216 Year = {2009}}
6217
6218 @article{Valbusa:2010,
6219 Author = {Ivan Valbusa},
6220 Journal = {ArsTeXnica},
6221 Month = {10},
6222 Number = {9},
6223 Title = {Creare stili bibliografici con \textsf{biblatex}:
6224 l'esperienza del pacchetto {biblatex-philosophy}},
6225 Year = {2010}}
6226
6227 @book{Bringhurst:1992,
6228 Author = {Robert Bringhurst},
6229 Booktitle = {The Elements of Typographic Style},
6230 Date = {1992},
6231 Edition = {4th ed. (version 4.0)},
6232 Location = {Vancouver},
6233 Publisher = {Hurtley \& Marks Publisher},
6234 Title = {The Elements of Typographic Style},
6235 related = {Bringhurst:1992-ITA}
6236 }
6237
6238 @book{Bringhurst:1992-ITA,
6239 Author = {Robert Bringhurst},
6240 title = {Gli elementi dello stile tipografico},
6241 Date = {2009},
6242 Edition = {5},
6243 Location = {Milano},
6244 Publisher = {Sylvestre Bonnard}}
6245
6246 @book{Tschichold:1975,
6247 Author = {Jan Tschichold},
6248 Booktitle = {Ausgewählte Aufsätze über Fragen der Gestalt des
6249 Buches und der Typographie},
6250 Location = {Basel},
6251 Origdate = {2003},
6252 Origlocation = {Milano},
6253 Origpublisher = {Sylvestre Bonnard},
6254 Origtitle = {La forma del libro},
6255 Publisher = {Birkhäuser Verlag},
6256 Title = {Ausgewählte Aufsätze über Fragen der Gestalt des Buches
6257 und der Typographie},
6258 Year = {1975}}
6259
6260 @online{Miede:2011,
6261 Author = {André Miede},
6262 Title = {A Classic Thesis style},
6263 Url = {http://mirrors.ctan.org/macros/latex/contrib/classicthesis/ClassicThesis.pdf},
6264 Date = {2011}}
6265
6266 @article{valbusa:20122,
6267 Author = {Ivan Valbusa},
6268 Date = {2012},
6269 Journaltitle = {\Ars},
6270 Month = {10},
6271 Number = {14},
6272 Pages = {15-30},
6273 Subtitle = {La classe suftesi},
6274 Title = {La forma del testo umanistico},
6275 url={http://www.guitex.org/home/images/ArsTeXnica/AT014/valbusa.pdf}}
6276
6277 @book{munari:arte-come-mestiere,
6278 Author = {Bruno Munari},
6279 Booktitle = {Arte come mestiere},
6280 Location = {Roma-Bari},
6281 Publisher = {Laterza},
6282 Title = {Arte come mestiere},
6283 Year = {1966}}
6284
6285 @manual{amsthm,
6286 title = {The \textsf{\MakeLowercase{Amsthm}} package},
6287 subtitle = {Typesetting theorems (AMS style)},
6288 author = {{The American Mathematical Society}},
6289 url = {http://www.ams.org/tex/amslatex.html},
6290 urldate = {2020-05-24},
6291 date = {2020-05-29},
6292 version = {2.20.6}
6293 }
6294
6295 @manual{appendix,
6296 title = {The \textsf{\MakeLowercase{Appendix}} package},
6297 subtitle = {Extra control of appendices},
6298 author = {Robertson, Will and Wilson, Peter R.},
6299 url = {http://www.ctan.org/pkg/appendix},
6300 urldate = {2020-05-24},
6301 date = {2020-02-08},
6302 version = {1.2c}
6303 }
6304
6305 @manual{bera,
6306 title = {The \textsf{\MakeLowercase{bera}} package},
6307 subtitle = {Bera fonts},
6308 author = {Walter Schmidt},
6309 url = {http://www.ctan.org/pkg/bera},
6310 urldate = {2020-05-24},
6311 date = {2004-09-30},
6312 version = {}
6313 }
6314
6315 @manual{biolinum,
6316 title = {The \textsf{\MakeLowercase{biolinum-type1}} package},
6317 subtitle = {(pdf)\LaTeX\ support for the Biolinum family of fonts},
6318 author = {Bob Tennent},
6319 url = {https://www.ctan.org/pkg/biolinum-type1},
6320 urldate = {2020-05-24},
6321 date = {2012-10-30},
6322 version = {5.3.0}
6323 }
6324
6325 @manual{caption,
6326 title = {The \textsf{\MakeLowercase{Caption}} package},
6327 subtitle = {Customising captions in floating environments},
6328 author = {Sommerfeldt, Axel},
6329 url = {http://www.ctan.org/pkg/caption},
6330 urldate = {2020-05-24},
6331 date = {2020-05-30},
6332 version = {}
6333 }
6334
6335 @manual{cclicenses,
6336 title = {The \textsf{\MakeLowercase{CClicenses}} package},
6337 subtitle = {Typeset Creative Commons licence logos},
6338 author = {Pignalberi, Gianluca},
6339 url = {http://www.ctan.org/pkg/cclicenses},
6340 urldate = {2020-05-24},
6341 date = {2005-05-20},
6342 version = {v0.4}
6343 }
6344
6345 @manual{cochineal,
6346 title = {The \textsf{\MakeLowercase{Cochineal}} package},
6347 subtitle = {Cochineal fonts with \LaTeX\ support},
6348 author = {Sharpe, Michael},
6349 url = {http://www.ctan.org/pkg/cochineal},
6350 urldate = {2020-05-24},
6351 date = {2020},
6352 version = {1.061}
6353 }
6354
6355 @manual{color,
6356 title = {The \textsf{\MakeLowercase{Color}} package},
6357 subtitle = {Colour control for \LaTeX\ documents},
6358 author = {Carlisle, David and {The \LaTeX\ Team}},
6359 url = {http://www.ctan.org/pkg/color},
6360 urldate = {2020-05-24},
6361 date = {2019-11-23},
6362 version = {1.2a}
6363 }
6364
6365 @manual{crop,
6366 title = {The \textsf{\MakeLowercase{Crop}} package},
6367 subtitle = {Support for cropmarks},
6368 author = {Franz, Melchior},
6369 url = {http://www.ctan.org/pkg/crop},
6370 urldate = {2020-05-24},
6371 date = {2020-06-05},
6372 version = {1.10.2}
6373 }
6374
6375 @manual{emptypage,
6376 title = {The \textsf{\MakeLowercase{Emptypage}} package},
6377 subtitle = {Make empty pages really empty},
6378 author = {Wette, Karl},
6379 url = {http://www.ctan.org/pkg/emptypage},
6380 urldate = {2020-05-24},
6381 date = {2010},
6382 version = {1.2}
6383 }
6384
6385 @manual{enumitem,
6386 title = {The \textsf{\MakeLowercase{Enumitem}} package},
6387 subtitle = {Control layout of itemize, enumerate, description},
6388 author = {Bezos López, Javier},
6389 url = {http://www.texnia.com/enumitem.html},
6390 urldate = {2020-05-24},
6391 date = {2019-06-20},
6392 version = {3.9}
6393 }
6394
6395 @manual{fancyhdr,
6396 title = {The \textsf{\MakeLowercase{Fancyhdr}} package},
6397 subtitle = {Extensive control of page headers and footers in \hologo{LaTeX2e}},
6398 author = {van Oostrum, Piet},
6399 url = {http://www.ctan.org/pkg/fancyhdr},
6400 urldate = {2020-05-24},
6401 date = {2019-01-31},
6402 version = {3.10}
6403 }
6404
6405 @manual{fixltxhyph,
6406 title = {The \textsf{\MakeLowercase{Fixltxhyph}} package},
6407 subtitle = {Allow hyphenation of partially-emphasised substrings},
6408 author = {Beccari, Claudio},
6409 url = {http://www.ctan.org/pkg/fixltxhyph},
6410 urldate = {2020-05-24},
6411 date = {2011},
6412 version = {0.4}
6413 }
6414
6415 @manual{fontsize,
6416 title = {The \textsf{\MakeLowercase{Fontsize}} package},
6417 subtitle = {A small package to set arbitrary sizes for the main font of the document},
6418 author = {Valbusa, Ivan},
6419 url = {http://www.ctan.org/pkg/fontsize},
6420 urldate = {2020-05-24},
6421 date = {2020-05-24},
6422 version = {0.1}
6423 }
6424
6425 @manual{geometry,
6426 title = {The \textsf{\MakeLowercase{Geometry}} package},
6427 subtitle = {Flexible and complete interface to document dimensions},
6428 author = {Carlisle, David and Umeki, Hideo},
6429 url = {http://www.ctan.org/pkg/geometry},
6430 urldate = {2020-05-24},
6431 date = {2020-01-02},
6432 version = {5.9}
6433 }
6434
6435 @manual{iftex,
6436 title = {The \textsf{\MakeLowercase{Iftex}} package},
6437 subtitle = {Am I running under pdf\TeX, Xe\TeX\ or Lua\TeX?},
6438 author = {Khalighi, Vafa and {The \LaTeX\ Team}},
6439 url = {http://www.ctan.org/pkg/iftex},
6440 urldate = {2020-05-24},
6441 date = {2020-03-06},
6442 version = {1.0d}
6443 }
6444
6445 @manual{inconsolata,
6446 title = {The \textsf{\MakeLowercase{Inconsolata}} package},
6447 subtitle = {A monospaced font, with support files for use with \TeX},
6448 author = {Levien, Raph and Berry, Karl and Sharpe, Michael},
6449 url = {http://levien.com/type/myfonts/inconsolata.html},
6450 urldate = {2020-05-24},
6451 date = {2019-06-20},
6452 version = {1.121}
6453 }
6454
6455 @manual{libertine,
6456 title = {The \textsf{\MakeLowercase{Libertine}} package},
6457 subtitle = {Use of Linux Libertine and Biolinum fonts with \LaTeX},
6458 author = {Tennent, Bob},
6459 url = {http://www.ctan.org/pkg/libertine},
6460 urldate = {2020-05-24},
6461 date = {2020-03-26},
6462 version = {5.3.0}
6463 }
6464
6465 @manual{libertinust1math,
6466 title = {The \textsf{\MakeLowercase{LibertinusT1Math}} package},
6467 subtitle = {A Type 1 font and \LaTeX\ support for Libertinus Math},
6468 author = {Sharpe, Michael},
6469 url = {http://www.ctan.org/pkg/libertinust1math},
6470 urldate = {2020-05-24},
6471 date = {2018-10-07},
6472 version = {1.1.9}
6473 }
6474
6475 @manual{lm,
6476 title = {The \textsf{\MakeLowercase{lm}} package},
6477 subtitle = {Latin modern fonts in outline formats},
6478 author = {B. Jackowski and J.M. Nowacki},
6479 url = {http://www.ctan.org/pkg/lmodern},
6480 urldate = {2020-05-24},
6481 date = {2009},
6482 version = {2.004}
6483 }
6484
6485 @manual{luatex85,
6486 title = {The \textsf{\MakeLowercase{Luatex85}} package},
6487 subtitle = {pdfTeX aliases for Lua\TeX},
6488 author = {{The \LaTeX\ Team} and Carlisle, David and Wright, Joseph},
6489 url = {http://www.ctan.org/pkg/luatex85},
6490 urldate = {2020-05-24},
6491 date = {2016-06-15},
6492 version = {1.4}
6493 }
6494
6495 @manual{mathalpha,
6496 title = {The \textsf{\MakeLowercase{Mathalpha}} package},
6497 subtitle = {General package for loading maths alphabets in \LaTeX},
6498 author = {Sharpe, Michael},
6499 url = {http://www.ctan.org/pkg/mathalpha},
6500 urldate = {2020-05-24},
6501 date = {2019-10-05},
6502 version = {1.13}
6503 }
6504
6505 @manual{mathpazo,
6506 title = {The \textsf{\MakeLowercase{Mathpazo}} package},
6507 subtitle = {Fonts to typeset mathematics to match Palatino},
6508 author = {Puga, Diego},
6509 url = {http://www.ctan.org/pkg/mathpazo},
6510 urldate = {2020-05-24},
6511 date = {2002},
6512 version = {1.003}
6513 }
6514
6515 @manual{microtype,
6516 title = {The \textsf{\MakeLowercase{Microtype}} package},
6517 subtitle = {Subliminal refinements towards typographical perfection},
6518 author = {Schlicht, Robert},
6519 url = {http://www.ctan.org/pkg/microtype},
6520 urldate = {2020-05-24},
6521 date = {2019-11-18},
6522 version = {2.7d}
6523 }
6524
6525 @manual{multicol,
6526 title = {The \textsf{\MakeLowercase{Multicol}} package},
6527 subtitle = {Intermix single and multiple columns},
6528 author = {Mittelbach, Frank and {The \LaTeX\ Team}},
6529 url = {http://www.ctan.org/pkg/multicol},
6530 urldate = {2020-05-24},
6531 date = {2019-12-09},
6532 version = {1.8y}
6533 }
6534
6535 @manual{newpx,
6536 title = {The \textsf{\MakeLowercase{newpx}} package},
6537 subtitle = {Alternative uses of the PX fonts, with improved metrics},
6538 author = {Michael Sharpe},
6539 url = {http://www.ctan.org/pkg/newpxmath},
6540 urldate = {2020-05-24},
6541 date = {2020-05-17},
6542 version = {1.411}
6543 }
6544
6545
6546 @manual{newtx,
6547 title = {The \textsf{\MakeLowercase{newtx}} package},
6548 subtitle = {Alternative uses of the TX fonts, with improved metrics},
6549 author = {Michael Sharpe},
6550 url = {http://www.ctan.org/pkg/newtxmath},
6551 urldate = {2020-05-24},
6552 date = {2020-05-17},
6553 version = {1.627}
6554 }
6555
6556 @manual{textcomp,
6557 title = {The \textsf{\MakeLowercase{Textcomp}} package},
6558 subtitle = {\LaTeX\ support for the Text Companion fonts},
6559 author = {Rahtz, Sebastian},
6560 url = {http://www.ctan.org/pkg/textcomp},
6561 urldate = {2020-05-24},
6562 date = {1995},
6563 version = {}
6564 }
6565
6566 @manual{titlesec,
6567 title = {The \textsf{\MakeLowercase{Titlesec}} package},
6568 subtitle = {Select alternative section titles},
6569 author = {Bezos López, Javier},
6570 url = {http://www.ctan.org/pkg/titlesec},
6571 urldate = {2020-05-24},
6572 date = {2019-10-16},
6573 version = {2.13}
6574 }
6575
6576 @manual{titletoc,
6577 title = {The \textsf{\MakeLowercase{Titletoc}} package},
6578 subtitle = {Alternative headings for toc/lof/lot},
6579 author = {Bezos López, Javier},
6580 url = {http://www.ctan.org/pkg/titletoc},
6581 urldate = {2020-05-24},
6582 date = {2019-10-16},
6583 version = {2.13}
6584 }
6585
6586 @manual{xkeyval,
6587 title = {The \textsf{\MakeLowercase{Xkeyval}} package},
6588 subtitle = {Extension of the keyval package},
6589 author = {Adriaens, Hendri},
6590 url = {http://www.ctan.org/pkg/xkeyval},
6591 urldate = {2020-05-24},
6592 date = {2014-03-12},
6593 version = {2.7a}
6594 }
6595
6596 @manual{bookcover,
6597 title = {The \textsf{bookcover} class},
6598 subtitle = {Class for book covers and dust jackets},
6599 author = {Tibor Tómács},
6600 url = {http://www.ctan.org/pkg/bookcover},
6601 urldate = {2020-06-29},
6602 date = {2018-01-21},
6603 version = {v2.3}
6604 }
6605
6606 @manual{zref,
6607 title = {The \sty{zref} package},
6608 author = {Heiko Oberdiek},
6609 url = {http://www.ctan.org/pkg/zref},
6610 urldate = {2021-05-23},
6611 date = {2020-07-03},
6612 version = {v2.32}
6613 }
6614
6615 @manual{footnpag,
6616 title = {The \sty{footnpag} package},
6617 author = {Joachim Schrod},
6618 url = {http://www.ctan.org/pkg/footnpag},
6619 urldate = {2024-12-04},
6620 date = {1995-08-04},
6621 version = {v2.6}
6622 }
6623
6624 @manual{epigraph,
6625 title = {The \sty{epigraph} package},
6626 author = {Peter R. Wilson and Will Robertson},
6627 url = {http://www.ctan.org/pkg/epigraph},
6628 urldate = {2021-05-23},
6629 date = {2020-01-02},
6630 version = {v1.5e}
6631 }
6632
6633 @manual{etoolbox,
6634 title = {The \sty{etoolbox} package},
6635 subtitle = {An e-\TeX Toolbox for Class and Package Authors},
6636 author = {Philipp Lehman and Joseph Wright},
6637 url = {http://www.ctan.org/pkg/etoolbox},
6638 urldate = {2021-06-06},
6639 date = {2020-10-05},
6640 version = {v2.5k}
6641 }
6642
6643 %</bib>
6644 % \fi
6645 % \Finale