diff options
author | Karl Berry <karl@freefriends.org> | 2014-02-11 23:42:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-02-11 23:42:29 +0000 |
commit | 962b48c82ba3eb966bc79f4cc8abdfec8e57c5e5 (patch) | |
tree | 6600fe2af4a440b39660c8611a56190dc88c193f /Master/texmf-dist/source | |
parent | 02ddc1ee00f9b04862a0515cd84481cbeb251d3f (diff) |
suftesi (11feb14)
git-svn-id: svn://tug.org/texlive/trunk@32941 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/suftesi/suftesi.dtx | 1027 |
1 files changed, 528 insertions, 499 deletions
diff --git a/Master/texmf-dist/source/latex/suftesi/suftesi.dtx b/Master/texmf-dist/source/latex/suftesi/suftesi.dtx index 20de282abd0..7803dfdf8e7 100644 --- a/Master/texmf-dist/source/latex/suftesi/suftesi.dtx +++ b/Master/texmf-dist/source/latex/suftesi/suftesi.dtx @@ -4,7 +4,7 @@ \input docstrip \preamble - Copyright 2009-2012 by Ivan Valbusa + Copyright 2009-2014 by Ivan Valbusa This program is provided under the terms of the LaTeX Project Public License distributed from CTAN @@ -79,7 +79,7 @@ \endgroup %</internal> % -% Copyright (C) 2009-2013 by Ivan Valbusa +% Copyright (C) 2009-2014 by Ivan Valbusa % <ivan dot valbusa at univr dot it> % ------------------------------------------------------- % @@ -102,7 +102,7 @@ %<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01] %<class>\ProvidesClass{suftesi} %<*class> - [2013/09/21 v1.9 A class for typesetting theses, books and articles] + [2014/02/11 v1.9a A class for typesetting theses, books and articles] %</class> %<*driver> \documentclass[]{ltxdoc} @@ -125,7 +125,7 @@ {\list{}{% \setlength{\labelwidth}{\marglistwidth}% \setlength{\labelsep}{0pt}% - \setlength{\leftmargin}{1cm}% + \setlength{\leftmargin}{2cm}% \renewcommand*{\makelabel}[1]{% \hss\ltxsyntaxfont\ltxsyntaxlabelfont##1}}% \let\csitem\ltd@csitem @@ -151,106 +151,50 @@ \usepackage[style=philosophy-classic,backend=biber]{biblatex} \addbibresource{suftesi.bib} -% 'suftesi' emulation +%% 'suftesi' emulation \definecolor{sufred}{rgb}{0.5,0,0} \definecolor{sufgray}{rgb}{0.5,0.5,0.5} -\usepackage[osf,sc]{mathpazo} -\usepackage[scaled=0.9]{beramono} - \renewcommand{\sfdefault}{iwona} +%\usepackage[osf,sc]{mathpazo} +%\usepackage[scaled=0.9]{beramono} +%\renewcommand{\sfdefault}{iwona} + +\usepackage[osf,p]{libertine} +\renewcommand{\ttfamily}{\fontencoding{OT1}\fontfamily{cmtt}\selectfont} + \usepackage{pifont} -\newcommand{\redtriangle}{\noindent\textcolor{sufred}{\ding{228}}} +\newcommand{\redtriangle}{\noindent\textcolor{red}{\ding{228}}} \newcommand{\xealert}{\marginpar{\hfill\footnotesize\textcolor{sufred}{\fbox{\XeLaTeX}}}} +\usepackage{sectsty} +\allsectionsfont{\sffamily} + \usepackage{geometry} -% \geometry{margin=1cm,bottom=1.5cm,paperwidth=8in,paperheight=6.25in} - \geometry{% - heightrounded, - includeheadfoot=true, - textwidth= 120mm, - textheight= 194mm, - paperwidth= 17cm, - paperheight= 24cm, - vmarginratio= 2:3, - hmarginratio= 1:1, - marginparwidth= 62pt, - marginparsep= 10pt} -%\usepackage[a4,cam,center]{crop} +\geometry{hmarginratio=1:1,a4paper,margin=2cm} \usepackage{fancyhdr} -\renewcommand{\headrulewidth}{0pt} -\pagestyle{fancy} \fancyhf{} -%\fancyhead[R]{\footnotesize Ivan Valbusa} -%\fancyhead[c]{\footnotesize User's Guide to \textsf{suftesi} -- Version 1.9} -\fancyhead[L]{\footnotesize User's Guide to \textsf{suftesi} \fileversion{} -- \filedate} -\fancyhead[R]{\footnotesize\thepage}%\fancyfoot[c]{\footnotesize \thepage} -%\fancyfoot[L]{\footnotesize Version 1.9} - - \renewenvironment{abstract}{% - \begin{center}% - {\abstractname\vspace{-.5em}}% - \end{center}% - \quotation\small\noindent\ignorespaces} - {\endquotation} - - \DeclareRobustCommand{\SUFtitlesmallcaps}[1]{% - \scshape\MakeLowercase{\lsstyle #1}}% - -\usepackage{titlesec} -\titleformat{\section}[display] - {\filcenter} - {\Roman{section}.} - {0ex} - {\expandafter\SUFtitlesmallcaps} -\titlespacing*{\section}{0em}{\baselineskip}{\baselineskip}[0em] -\titleformat{\subsection}[block] - {\filright} - {\textnormal\thesubsection} - {1em} - {\expandafter\SUFtitlesmallcaps} -\titlespacing*{\subsubsection}{0em}{\baselineskip}{\baselineskip}[0em] -\titleformat{\subsubsection}[block] - {\filright} - {\textnormal\thesubsubsection} - {1em} - {\expandafter\itshape} -\titlespacing*{\subsubsection}{0em}{\baselineskip}{\baselineskip}[0em] +\fancyhead[L]{@ 2009 - \the\year\quad Ivan Valbusa} +\fancyfoot[L]{\textsf{suftesi.cls} \fileversion{} -- \filedate} +\renewcommand{\footrulewidth}{0.4pt} +\fancyhead[R]{\thepage} +\pagestyle{fancy} -\usepackage{titletoc} -\titlecontents{section} - [1em] - {} - {\thecontentslabel\hspace*{1em}} - {\thecontentslabel\hspace*{1em}} - {\hspace{1em}\contentspage} -\titlecontents{subsection} - [4em] - {} - {\hskip-2em% - \makebox[1em][l]{\thecontentslabel}\hspace*{1em}} - {\thecontentslabel\hspace*{1em}} - {\hspace{1em}\contentspage} -\titlecontents{subsubsection} - [5em] - {} - {\hskip-2em% - \makebox[2em][l]{\thecontentslabel}\hspace*{1em}} - {\thecontentslabel\hspace*{1em}} - {\hspace{1em}\contentspage} - \makeatletter \renewcommand\tableofcontents{% \setlength{\columnsep}{0cm} - \vspace{2ex}% + \begin{center} \section*{\contentsname}% \@mkboth{\contentsname}{\contentsname}% + \end{center} + \vskip-2mm \thispagestyle{empty} + \begin{tcolorbox} \begin{multicols}{2} \@starttoc{toc}% \end{multicols} - \vspace{2ex}% - } + \end{tcolorbox} + } \makeatother % % HYPERREF @@ -262,10 +206,10 @@ books and articles}, pdfauthor={Ivan Valbusa}, pdfkeywords={thesis, humanities, books}, - citecolor=sufred, - colorlinks=false, - linkcolor=sufred, - urlcolor=sufred, + citecolor=DarkBlue, + colorlinks=true, + linkcolor=DarkBlue, + urlcolor=DarkBlue, } % % NEW COMMANDS @@ -290,11 +234,14 @@ \hangindent2\normalparindent #1} {\par\addvspace{\quoteskip}\noindent\ignorespacesafterend} -\newenvironment{ttquote} - {\begin{mdframed}[backgroundcolor=red!2] - \ttfamily\small\microtypesetup{activate=false}} - {\end{mdframed}} -\usepackage{mdframed} + +\usepackage{tcolorbox} +\tcbuselibrary{breakable,skins} + +\newenvironment{ttquote}[1][]{% + \tcolorbox[colback=DarkBlue!5,colback=White,title=#1,boxrule=0pt]} + {\ttfamily\small\microtypesetup{activate=false}\endtcolorbox} + \newcommand{\appendixpage}[1]{% \clearpage \bgroup\centering @@ -306,7 +253,6 @@ % suftesi LOGO \def\suftesi{\textsf{suftesi}} - \setcounter{tocdepth}{3} \EnableCrossrefs @@ -320,7 +266,7 @@ %</driver> % \fi % -% \CheckSum{3982} +% \CheckSum{4032} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -338,6 +284,7 @@ % Grave accent \` Left brace \{ Vertical bar \| % Right brace \} Tilde \~} % +% \changes{v1.9a}{2014/02/11}{Maintenance release. Updated greek support. Updated documentation.} % \changes{v1.9}{2013/09/21}{Added \opt{italic}, \opt{smallcaps} and \opt{sanserif} values for \opt{captionstyle} option. New \opt{twocolcontents} option. New \opt{supercompactaureo} page layout. Changed \cmd{toclabelspace} command and renamed to \cmd{toclabelwidth}. New \opt{collection} document structure} % \changes{v1.8}{2013/07/18}{Maintenance release. Corrected a bug in the definition of \cmd{appendix}} % \changes{v1.7}{2013/06/20}{Renamed \opt{viewmode} option to \opt{version}: @@ -406,17 +353,20 @@ % \DoNotIndex{\titlepage,\vss,\vtop,\xdef,\@gobbletwo,\color,\dimexpr} % \DoNotIndex{\huge,\large,\makebox,\ProcessOptions,\renewcommand} % -% \title{\vspace*{-1.5cm}\bfseries\color{sufred} User's Guide to \suftesi\\ -% \large\itshape A document class for typesetting theses, -% books and articles} -% \author{Ivan Valbusa \\ -% \normalsize\scshape Dipartimento di Filosofia, Pedagogia e Psicologia\\[-0.2ex] -% \normalsize Università degli Studi di Verona\\[2ex] -% \normalsize \texttt{ivan dot valbusa at univr dot it}} -% \date{\fileversion{} -- \filedate} +% \title{% +% \vspace{-1.5cm} +% {\huge\color{sufred}\bfseries User's Guide to \textsf{suftesi}\\ +% \itshape\normalsize A document class for typesetting theses, +% books and articles\\[3ex]} +% \normalsize\fileversion{} -- \filedate} +% \author{Ivan Valbusa\\ +% \small Dipartimento di Filosofia, Pedagogia e Psicologia\\[-0.2ex] +% \small Università degli Studi di Verona\\ +% \footnotesize\texttt{ivan dot valbusa at univr dot it}} +% \date{} % % \maketitle -% +% % \thispagestyle{empty} % % \begin{abstract} @@ -433,48 +383,47 @@ % \end{abstract} % % \tableofcontents -% \clearpage -% -% -% \section*{A brief history} -% -% The \sty{suftesi} class was born as a result of the course \emph{Introduzione a \LaTeX{} per le scienze umane} (\emph{Introduction to \LaTeX{} for human sciences}) which I held at the Graduate School of Human Sciences and Philosophy (\textcolor{red}{\textbf{S}}cienze \textcolor{red}{\textbf{U}}mane e \textcolor{red}{\textbf{F}}ilosofia) of Verona University (Italy) in June 2010.\footnote{\url{http://www.sdsuf.univr.it}. Some informations can be found on -%\url{http://profs.lettere.univr.it/valbusa/2010/06/01/introduzione-a-latex-per-le-scienze-umane/}} Originally thought as a class to typeset theses, during these years it has developed many new features and styles. Finally it has become the referential class of the Joint Project \emph{Formal Style for PhD Theses with LaTeX} of the University of Verona (Italy).\footnote{\url{http://www.univr.it/main?ent=catdoc&id=3727&idDest=6&serv=127\#1431}} -% -% -% \section*{Acknowledgements} -% -% I would like to thank Professors Paola Di~Nicola, -% Director of the Graduate School, and Ugo Savardi who suggested to propose the course precisely to that School; Gilberto D'Arduini, Matteo Lanza and Antonio Rinaldi, who installed \LaTeX{} on the computers used during the course; Catia Cordioli, for her help in the organization of the lessons; Corrado Ferreri, responsible of the \mbox{E-Learning} Center, who provided the \TeX{}~Live~2009 \textsc{DVD}s. - -% Special thanks to Professors Enrico~Gregorio, the Italian guru of \TeX, for the \TeX pert support and his priceless ``magic formulas'', and Tommaso Gordini for his valuable advice in choosing and improving the class features during these years. - -%I would finally thank all the participants to the course who patiently resisted the four intensive lessons. This work is dedicated to them. % % \section*{Copyright notice} % -% {% -% ^^A \noindent Copyright \copyright\ 2009-2013 Ivan Valbusa.\\[8ex] -% % \noindent This package is % author-maintained. Permission is granted to copy, distribute and/or % modify this software under the terms of the LaTeX Project Public % License, version 1.3c (\url{http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt}). In addition to the terms of this license % the author requires an attribution notice (see section % \ref{sec:commands}) like the following one: +% +% \begin{tcolorbox}[boxrule=0pt] +% ^^A \noindent Copyright \copyright\ 2009-2013 Ivan Valbusa.\\[8ex] +% % \begin{center} -% \textcolor{sufred}{\emph{This work has been typeset with \LaTeX{}, using the -% \textsf{suftesi} class by Ivan Valbusa.}} +% \emph{This work has been typeset with \LaTeX{}, using the +% \textsf{suftesi} class by Ivan Valbusa.} % \end{center} -% +% \end{tcolorbox} % \noindent The most essence of this class is the set of styles it -% provides. For this reason\\ -% \textcolor{sufred}{\textsc{\centering do not modify the styles of this class with packages\\ -% and/or commands which change the laytout of the document.\\ -% If you do not like these styles, use another class.\\}} -% \noindent If you use \sty{suftesi}{} in a document typeset with another class +% provides. For this reason +% \textcolor{sufred}{\scshape do not modify the styles of this class with packages +% and/or commands which change the laytout of the document. +% If you do not like these styles, use another class.} +% If you use \sty{suftesi}{} in a document typeset with another class % (for example \sty{book}), remember to clean up the preamble from all -% the layout redefinitions.\par} +% the layout redefinitions. +% +% +% \section*{A brief history} +% +% The \sty{suftesi} class was born as a result of the course \emph{Introduzione a \LaTeX{} per le scienze umane} (\emph{Introduction to \LaTeX{} for human sciences}) which I held at the Graduate School of Human Sciences and Philosophy (\textcolor{sufred}{\textbf{S}}cienze \textcolor{sufred}{\textbf{U}}mane e \textcolor{sufred}{\textbf{F}}ilosofia) of Verona University (Italy) in June 2010.\footnote{\url{http://www.sdsuf.univr.it}. Some informations can be found on +%\url{http://profs.lettere.univr.it/valbusa/2010/06/01/introduzione-a-latex-per-le-scienze-umane/}} Originally thought as a class to typeset theses, during these years it has developed many new features and styles. Finally it has become the referential class of the Joint Project \emph{Formal Style for PhD Theses with LaTeX} of the University of Verona (Italy).\footnote{\url{http://www.univr.it/main?ent=catdoc&id=3727&idDest=6&serv=127\#1431}} +% +% \section*{Acknowledgements} +% +% {\itshape I would like to thank Professors Paola Di~Nicola, +% Director of the Graduate School, and Ugo Savardi who suggested to propose the course precisely to that School; Gilberto D'Arduini, Matteo Lanza and Antonio Rinaldi, who installed \LaTeX{} on the computers used during the course; Catia Cordioli, for her help in the organization of the lessons; Corrado Ferreri, responsible of the \mbox{E-Learning} Center, who provided the \TeX{}~Live~2009 \textsc{DVD}s. + +% Special thanks to Professors Enrico~Gregorio, the Italian guru of \TeX, for the \TeX pert support and his priceless ``magic formulas'', and Tommaso Gordini for his valuable advice in choosing and improving the class features during these years. + +%I would finally thank all the participants to the course who patiently resisted the four intensive lessons. This work is dedicated to them.} % % \section{Use} % @@ -526,14 +475,15 @@ % % \section{Class features} % -% The \sty{suftesi} class provides a large set of options to customize the style of page, titles, headings and other text elements (see section \ref{sec:options}). The simplest way to get to know the class features is therefore to typeset one of the templates which you can find in the \texttt{/doc/latex/suftesi} in your \LaTeX{} distribution. +% The \sty{suftesi} class provides a large set of options to customize the style of page, titles, headings and other text elements (see section \ref{sec:options}). The simplest way to get to know the class features is therefore to typeset one of the templates which you can find in the \texttt{/doc/latex/suftesi} folder in your \LaTeX{} distribution. % % -% \subsection{Formats} +% \subsection{Page layouts} % % The class provides six page layouts which can be selected by the \opt{pagelayout} option (see section \ref{sec:page-styles}). The \opt{standard} layout (set by default) is aimed to typeset standard A4 documents, while the other five layouts are particularly suitable to typeset compact books and articles (see table \ref{tab:layouts} for details). -% \begin{table*} -% \small\centering +% +% \begin{table}[h!] +% \centering %\makebox[\textwidth][c]{\begin{tabular}{lcccccccc} %\toprule %&\multicolumn{4}{c}{Dimensions (mm)}&\multicolumn{4}{c}{Proportions}\\\cmidrule(l){2-5}\cmidrule(l){6-9} @@ -541,32 +491,32 @@ %Layout: &width & height& width& height&t/b&i/o&Text block& Page\\\cmidrule(lr){2-3}\cmidrule(lr){4-5}\cmidrule(lr){6-7}\cmidrule(lr){8-9}\cmidrule(r){1-1} %\opt{standard} & 110& 220& 210& 297&$1:2$&$1:2$&$1:2$&$1:\sqrt{2}$\\ %\opt{compact}& 110& 165& 160& 240&$2:3$&$2:3$&$2:3$&$2:3$\\ +%\opt{compactaureo}& 118& 191& 160& 240&$2:3$&$2:3$&$5:8$\makebox[0pt]{\ \textsuperscript{*}}&$2:3$\\ %\opt{supercompact}& 100 &150& 140& 210&$2:3$&$2:3$&$2:3$&$2:3$\\ -%\opt{supercompactaureo}& 108 &175& 140& 210&$1:1$&$1:1$&$2:3$&$2:3$\\ +%\opt{supercompactaureo}& 108 &175& 140& 210&$1:1$&$1:1$&$5:8$\makebox[0pt]{\ \textsuperscript{*}}&$2:3$\\ %\opt{periodical} &110& 165& 170& 240&$2:3$&$2:3$&$2:3$&$1:\sqrt{2}$\\ -%\opt{periodicalaureo}& 120& 194& 170& 240&$2:3$&$2:3$&$2:3$&$1:\sqrt{2}$\\ +%\opt{periodicalaureo}& 120& 194& 170& 240&$2:3$&$2:3$&$5:8$\makebox[0pt]{\ \textsuperscript{*}}&$1:\sqrt{2}$\\ % -%\opt{elements} (pt)& 251& 502& 374& 648&$1:2$&$2:5$&$1:2$&$1:\sqrt{3}$\\\bottomrule -%\end{tabular}} +%\opt{elements} (pt)& 251& 502& 374& 648&$1:2$&$2:5$&$1:2$&$1:\sqrt{3}$\\ +% \bottomrule\\[-2ex] +% \multicolumn{9}{r}{\footnotesize\textsuperscript{*} $5:8\approx 1:1,618$} +%\end{tabular}}\\[-1ex] % \caption{The layouts of \sty{suftesi}}\label{tab:layouts} -% \end{table*} +% \end{table} % % \subsection{Font} % % The default serif font for body text is -% Palatino designed by Hermann Zapf\index{Zapf, Hermann} and loaded through the \sty{mathpazo} package, but you can simply choose the standard Latin Modern through the \opt{defaultfont} option (see section \ref{sec:options}). +% {\fontfamily{ppl}\selectfont Palatino designed by Hermann Zapf}\index{Zapf, Hermann} and loaded through the \sty{mathpazo} package, but you can simply choose {\fontfamily{lmr}\selectfont the standard Latin Modern} through the \opt{defaultfont} option (see section \ref{sec:options}). % The \textsf{sans serif} font is Iwona designed by Janusz M.~Nowacki\index{Nowacki, Janusz M.} and the \texttt{monospaced} typeface is Bera Mono, opportunely scaled to match Palatino. % This choice has been inspired by \emph{L'arte di scrivere con \LaTeX{}} \parencite{Pantieri:2011}. -% -% The Greek text is {\fontfamily{artemisia}\selectfont Artemisia} by the {\fontfamily{artemisia}\selectfont Greek Font Society} which is particularly suitable for Palatino, but with the \opt{greekfont} option (see section \ref{sec:options}) you can choose also Porson or CB Greek (see figure \ref{fig:greek-font}).\footnote{% +% The Greek text is {\fontfamily{artemisia}\selectfont Artemisia} by the {\fontfamily{artemisia}\selectfont Greek Font Society} which is particularly suitable for Palatino, but with the \opt{greekfont} option (see section \ref{sec:options}) you can choose also Porson or CB Greek.\footnote{% % The first code for the Porson font has been written by Enrico % Gregorio. Claudio Beccari successively added the code to improve the % scale factor when using this greek font in combination with Palatino. %} - -% -% -% \begin{figure}[h] +% +% \begin{tcolorbox}[lower separated=false,center lower] %\fontfamily{ppl}\selectfont\small %\noindent\begin{minipage}[t]{.32\textwidth} % \raggedright @@ -592,15 +542,15 @@ %\fontfamily{lmr}\selectfont %T`o g`ar kal`on >en meg'ejei ka`i t'axei >est'in.}~Il bello infatti sta nella grandezza e % nell'ordinata disposizione delle parti. -% {\vskip1ex\centering (c) CBGreek\\} +% {\vskip1ex\centering (c) CB Greek\\} %\end{minipage} -% \caption{Comparison between Artemisia, Porson and CBGreek greek font.}\label{fig:greek-font} -% \end{figure} +% \tcblower +% Comparison between (a) Artemisia, (b) Porson and (c) CBGreek greek font. +% \end{tcolorbox} % % You can use other fonts as well. In this case remember to load the \opt{defaultfont=standard} class option % which turns off the default font settings. % -% % \subsection{Frontispiece} % % The class has an original frontispiece (see figure \ref{fig:frontispiece}) now directly available @@ -609,21 +559,17 @@ % \begin{ttquote} % \cmd{usepackage}[suftesi]\ar{frontespizio} % \end{ttquote} +% +% The \sty{frontespizio} package produces a frontispiece in the standard Computer Modern typeface. If you prefer a consistent font remember to load the needed packages or commands in the \cmd{Preambolo} command inside the \env{frontespizio} environment (see package documentation for details). % -% \begin{figure} +% +% +% \begin{figure}[h!] % \centering -% \fbox{\includegraphics[width=.5\textwidth]{frontespizio}} +% \fbox{\includegraphics[height=200mm]{frontespizio}} % \caption{The frontispiece of \sty{suftesi}.}\label{fig:frontispiece} % \end{figure} -% -% The \sty{frontespizio} package produces a frontispiece in the standard Computer Modern typeface. If you prefer a consistent font remember to load the needed packages or commands in the \cmd{Preambolo} command inside the \env{frontespizio} environment. For example, with the default class settings you will need: -% \begin{ttquote} -% \cmd{begin}\ar{frontespizio}\\ -% \cmd{Preambolo}\{\cmd{usepackage}\ar{mathpazo}\}\\ -% ...\\ -% \cmd{end}\ar{frontespizio} -% \end{ttquote} -% +% % \section{Options}\label{sec:options} % % \subsection{Layout}\label{sec:page-styles} @@ -636,7 +582,7 @@ % \item[book] For typesetting texts with chapters. % \item[article] For typesetting articles or short theses % (that is without chapter division). -% \item[collection] For typesetting journals or collections of articles. +% \item[collection] For typesetting journals or collections of articles (see section \ref{sec:collection}). % \end{valuelist} %\optitem[standard]{pagelayout}{\opt{standard}, \opt{periodical}, \opt{compact}, \opt{supercompact}, \opt{elements}} % \changes{v0.9b}{2012/09/23}{New option \opt{pagestyle}} @@ -655,7 +601,9 @@ % \emph{golden ratio} text area of $120 \si{cm} \times 194 \si{mm}$. %\item[compact] % Prints a typeblock of $16 \si{cm} \times 24 \si{cm}$ with a text area of $11 \si{cm} \times 16,5 \si{cm}$. -%\item[supercompact] +%\item[compactaureo] +% The same as \opt{compact} but with +% a \emph{golden ratio} text area of $11,8 \si{cm} \times 19,1 \si{cm}$.%\item[supercompact] % Prints a typeblock of $14 \si{cm} \times 21 \si{cm}$ with a text area of $10 \si{cm} \times 15,5 \si{cm}$. %\item[supercompactaureo] % The same as \opt{supercompact} but with @@ -668,6 +616,31 @@ % The details of this option are shown in table \ref{tab:layouts}. %\end{optionlist} % +%\subsection{Fonts} +% +% The font options are available only with \LaTeX. Using \XeLaTeX{} +% the default font is the Computer Modern but you can change it through +% the \sty{fontspec} or \sty{mathspec} packages. With this engine +% I do suggest the Junicode or EB Garamond font families. +% +%\begin{optionlist} +% \setlength{\labelwidth}{2.5cm}% +% \optitem[palatino]{defaultfont}{\opt{palatino}, \opt{standard}} +% \begin{valuelist} +% \item[palatino] Loads the Palatino font family. +% \item[standard] Loads the {\fontfamily{lmr}\selectfont Latin Modern} font family +% and the standard CB Greek font. +% \end{valuelist} +% \optitem[artemisia]{greekfont}{\opt{artemisia}, \opt{porson}, +% \opt{cbgreek}} +% \changes{v0.9b}{2012/09/23}{New option \opt{greekfont}} +% \begin{valuelist} +% \item[artemisia] Loads the Artemisia font. +% \item[porson] Loads the Porson font. +% \item[cbgreek] Loads the standard CB~Greek font. +% \end{valuelist} +% \end{optionlist} +% % \subsection{Titles} % % \begin{optionlist} @@ -832,8 +805,8 @@ % \end{valuelist} % \boolitem[false]{fewfootnotes} % \changes{v0.9b}{2012/09/23}{New option \opt{fewfootnotes}} -% Uses symbols instead of numbers to mark footnotes -% It is active only if your document has +% Uses symbols instead of numbers to mark footnotes. +% It is active only in documents with % three footnotes per page maximum. % The symbol sequence is: *, **, ***. % With more footnotes you should not need this option. @@ -846,7 +819,7 @@ % \item[indented] % Prints standard indented lists. % \end{valuelist} -% \optitem[standard]{captionstyle}{\opt{standard}, \opt{sansserif}, \opt{italic}, \opt{smallcaps}, \opt{elements}} +% \optitem[standard]{captionstyle}{\opt{standard}, \opt{sanserif}, \opt{italic}, \opt{smallcaps}, \opt{elements}} % All these values print the caption in small size, changing the shape: % \begin{valuelist} % \item[standard] Prints the caption text and label in normal font. @@ -857,30 +830,6 @@ % \end{valuelist} % \end{optionlist} % -%\subsection{Fonts} -% -% The font options are available only with \LaTeX. Using \XeLaTeX{} -% the default font is the Computer Modern but you can change it through -% the \sty{fontspec} or \sty{mathspec} packages. With this engine -% I do suggest the Junicode font family. -% -%\begin{optionlist} -% \setlength{\labelwidth}{2.5cm}% -% \optitem[palatino]{defaultfont}{\opt{palatino}, \opt{standard}} -% \begin{valuelist} -% \item[palatino] Loads the Palatino font family. -% \item[standard] Loads the {\fontfamily{lmr}\selectfont Latin Modern} font family -% and the standard CB Greek font. -% \end{valuelist} -% \optitem[artemisia]{greekfont}{\opt{artemisia}, \opt{porson}, -% \opt{cbgreek}} -% \changes{v0.9b}{2012/09/23}{New option \opt{greekfont}} -% \begin{valuelist} -% \item[artemisia] Loads the Artemisia font. -% \item[porson] Loads the Porson font. -% \item[cbgreek] Loads the standard CB~Greek font. -% \end{valuelist} -% \end{optionlist} % % \subsection{Other options} % @@ -902,15 +851,16 @@ % \begin{valuelist} % \item[true] Prints the output on a A4 paper, showing the crop marks. It is the same of \opt{version=draft}. % \item[false] Prints a \textsc{pdf} with page dimensions -% according to the \opt{pagelayout} option. It is similar to \opt{version=screen} but it does not execute \opt{oneside} option and it does not redefine the \cmd{crop} command. +% according to the \opt{pagelayout} option. It is similar to \opt{version=screen} but it does not execute \opt{oneside} option and it does not redefine \cmd{crop}. % \end{valuelist} % \optitem[compact]{parindent}{\opt{compact}, \opt{wide}} % \changes{v0.9b}{2012/09/23}{New option \opt{parindent}} % \begin{valuelist} +% Sets the indentation of the first line of each paragraph except those following a section title. % \item[compact] -% Sets |\parindent| to 1\,em. +% Sets indentation to 1\,em. % \item[wide] -% Sets |\parindent| to 1.5\,em. +% Sets indentation to 1.5\,em. % \end{valuelist} %\boolitem[true]{marginpar} % \begin{valuelist} @@ -927,10 +877,10 @@ % \end{valuelist} % \optitem[false]{draftdate}{\opt{true}, \opt{false}} % \changes{v1.0}{2012/10/14}{First stable release. Renamed option \opt{bozza} to \opt{draftdate}} -% If \opt{true} it prints the string ``Version of \meta{date}'' in the footer. It obviously requires the \cmd{date}\ar{\meta{date}} command. +% If \opt{true} it prints the string ``Version of \meta{date}'' in the footer. It requires the \cmd{date}\ar{\meta{date}} command. % \end{optionlist} % -% \subsection{Pre-defined styles} +% \subsection{Pre-defined styles}\label{sec:predefined-styles} % % These pre-defined styles are intended as shotrcuts to some groups of % class options. Combining them @@ -955,122 +905,53 @@ % \item[elements] Reproduces the style of the Italian edition of \textcite{Bringhurst:1996}. % \item[sufelements] Combines the \opt{elements}-style sections with standard small caps headers. It can be used with all the page layouts. % \end{valuelist} +% \end{optionlist} % -%The next styles are only meant to typeset a doctoral thesis respecting the features required by the Joint Project \emph{Formal Style for PhD Theses with LaTeX} of the Verona University (Italy).\footnote{\url{http://www.univr.it/main?ent=catdoc&id=3727&idDest=6&serv=127\#1431}.} % +% The following styles are only meant to typeset a doctoral thesis respecting the features required by the Joint Project \emph{Formal Style for PhD Theses with LaTeX} of the Verona University (Italy).\footnote{\url{http://www.univr.it/main?ent=catdoc&id=3727&idDest=6&serv=127\#1431}.} +% \begin{optionlist} +% \optitem{style}{\opt{FSPLa}, \opt{FSPLb}, \opt{FSPLc}} % \begin{valuelist} % \item[FSPLa] Equal to: % \opt{pagelayout=periodical}, -% \opt{style=roman1}, -% \opt{footnotestyle=superscript},\\ +% \opt{style=roman1},\\ +% \opt{footnotestyle=superscript}, % \opt{liststyle=indented}. % \opt{tocstyle=ragged}. % \item[FSPLb] Equal to: % \opt{pagelayout=periodical}, % \opt{style=italic5}, -% \opt{headerstyle=center}, -% \opt{chapnumstyle=roman},\\ +% \opt{headerstyle=center},\\ +% \opt{chapnumstyle=roman}, % \opt{secstyle=center}, % \opt{quotestyle=right},\\ -% \opt{footnotestyle=hung},\\ +% \opt{footnotestyle=hung}, % \opt{liststyle=indented}. % \opt{tocstyle=dotted}. % \item[FSPLc] Equal to: -% \opt{pagelayout=periodical},\\ +% \opt{pagelayout=periodical}, % \opt{style=smallcaps5}, % \opt{secfont=smallcaps},\\ % \opt{headerstyle=center}, -% \opt{footnotestyle=dotted},\\ -% \opt{liststyle=indented}, +% \opt{footnotestyle=dotted}, +% \opt{liststyle=indented},\\ % \opt{tocstyle=leftpage}. % \end{valuelist} % \end{optionlist} -% -% \section{The \opt{collection} document structure}\label{sec:collection} % -% The \opt{collection} document structure is thought to compose a collection of papers. Each paper has to be typeset in a separate \file{.tex} file with the following structure: -%\begin{ttquote} -%\cmd{author}\ar{Author}\\ -%\cmd{title}\ar{Title of the paper}\\\\ -% \% The abstract is optional.\\ -% \% \cmd{begin}\ar{abstract}\\ -% \% The abstract\\ -% \% \cmd{end}\ar{abstract}\\\\ -%\cmd{maketitle}\\\\ -%Text of the paper -%\end{ttquote} -% If the names of the papers are \file{article1.tex}, \file{article2.tex}, \file{article3.tex}, etc., then a minimal main file should be similar to this: % -%\begin{ttquote} -%\cmd{documentclass}\oar{documentstructure=collection}\ar{suftesi}\\\\ -% \cmd{begin}\ar{document}\\\\ -% \cmd{includeart}\ar{article1}\\ -% \cmd{includeart}\ar{article2}\\ -% \cmd{includeart}\ar{article3}\\\\ -% \cmd{end}\ar{document} -%\end{ttquote} -% -% -% \subsection{Options} -% -% In addition to the following options you can use the other options of the class too. In particular, with the \opt{chapstyle} and \opt{chapfont} options you can customize all the section titles which are treated as a normal unnumbered chapters in the \opt{book} document structure, such as ``Table of Contents'', ``Index'', ``Bibliography'', etc. -% -% \begin{optionlist} -% \optitem[left]{papertitlestyle}{\opt{left}, \opt{center}, \opt{right}} -% \begin{valuelist} -% \item[left] Aligns the author-title block on the left. -% \item[center] Centers the author-title block. -% \item[right] Aligns the author-title block on the right. -% \end{valuelist} -% \optitem[italic]{titlefont}{\opt{roman}, \opt{italic}, \opt{smallcaps}} -% \begin{valuelist} -% \item[roman] Prints the title of the articles in roman. -% \item[italic] Prints the title of the articles in \emph{italic}. -% \item[smallcaps] Prints the title of the articles -% in \textsc{small caps}. -% \end{valuelist} -% \optitem[roman]{authorfont}{\opt{roman}, \opt{italic}, \opt{smallcaps}} -% \begin{valuelist} -% \item[roman] Prints the author's name in roman. -% \item[italic] Prints the author's name in \emph{italic}. -% \item[smallcaps] Prints the \author's name -% in \textsc{small caps}. -% \end{valuelist} -% \end{optionlist} -% -% \subsection{Commands} -% \begin{ltxsyntax} -% \cmditem{includeart}{file name} +% \section{New commands}\label{sec:commands} % -% Include the \meta{file name} in the collection. -% \cmditem{frontispiece} +% \subsection{Printing the colophon} % -% Typeset the frontispiece of the collection. -% -% \cmditem{collectiontitle}{The Title of the Collection} -% -% Sets the title of the collection. -% -% \cmditem{collectioneditor}{The Editor(s) of the collection} -% -% Sets the editor(s) of the collection. -%\end{ltxsyntax} +% As explained at the beginning of this documentation, in addition to the terms of the \LaTeX Project Public License, \textsf{suftesi} requires a specific attribution notice. You can typeset the attribution notice manually or using one of these commands. % -% \section{New commands}\label{sec:commands} -% % \begin{ltxsyntax} -% -% \cmditem{title}[short title for headers]{complete title for titlepage} -% \changes{v0.8}{2012/03/19}{Renewed \cmd{title} command} -% -% Useful with \opt{authortitle} option if the title is too long -% or has some breaks. -% -% +% % \cmditem{colophon}[OS]{name and surname}{additional info} % % This command is provided only for Italian documents. It prints a page with -% a copyright notice and the colophon in the bottom. For different languages +% a copyright notice and the colophon in the bottom of the page. For different languages % use the \cmd{bookcolophon} instead (see below). % % If you don't need the copyright notice, leave the second argument of @@ -1084,23 +965,24 @@ % or the \cmd{thanks} command: % \begin{ttquote} % \cmd{author}\{\meta{Name Surname}\\ -% \cmd{thanks}\{This work has been typeset with \cmd{LaTeX},\\ -% using the \cmd{textsf}\{suftesi\} class by Ivan Valbusa\}.\} +% \cmd{thanks}\{This work has been typeset with \cmd{LaTeX}, +% using the \cmd{textsf}\{suftesi\} class\\ +% by Ivan Valbusa\}.\} % \end{ttquote} % % \cmditem{bookcolophon}{copyright notice}{attribution notice and % other informations} % \changes{v0.6}{2011/10/21}{New command \cmd{bookcolophon}} % -% This command is similar to \cmd{colophon} but it is completely customizable. +% Similar to \cmd{colophon} but completely customizable. % The first argument prints its content (usually the copyright notice) in the center of the page. -% The second argument prints its content at the bottom. For example: +% The second one prints its content at the bottom. For example: % % \begin{ttquote} % \cmd{bookcolophon}\{Copyright © 2007 by Ivan Valbusa\}\{\%\\ -% This work has been typeset with \cmd{LaTeX}, using the\\ -% \cmd{sty}\{suftesi\} class by Ivan Valbusa\cmd{index}\{Valbusa, -% Ivan\}.\\ +% This work has been typeset with \cmd{LaTeX}, +% using the \cmd{sty}\{suftesi\} class\\ +% by Ivan Valbusa\cmd{index}\{Valbusa, Ivan\}. % The normal font is Palatino by Hermann Zapf.\\ % The sans serif font is Iwona by Janusz M.~Nowacki.\} % \end{ttquote} @@ -1109,22 +991,24 @@ % \changes{v0.6}{2011/10/21}{New command \cmd{artcolophon}} % % This command only has one argument. It simply prints its content at the -% bottom of the page. Here is an example: +% bottom of the page. +% +% Here is an example: % % \begin{ttquote} % \cmd{artcolophon}\{\%\\ -% This work is licensed under the Creative Commons \\ -% Attribution-NonCommercial-NoDerivs 3.0 Unported License. \\ +% This work is licensed under the Creative Commons +% Attribution-NonCommercial-NoDerivs 3.0 Unported License. % To view a copy of this license, visit\\ % % \cmd{begin}\{center\}\\ % \cmd{texttt}{http://creativecommons.org/licenses/by-nc-nd/3.0/}\\ % \cmd{end}\{center\}\\ % -% or send a letter to Creative Commons, 444 Castro Street,\\ +% or send a letter to Creative Commons, 444 Castro Street, % Suite 900, Mountain View, California, 94041, USA.\cmd{}\cmd{}[1ex]\\ % -% Typeset with \cmd{LaTeX}, using the \cmd{sty}\{suftesi\} class\\ +% Typeset with \cmd{LaTeX}, using the \cmd{sty}\{suftesi\} class % by Ivan Valbusa.\} % \end{ttquote} % @@ -1137,21 +1021,13 @@ % \cmditem{FSPLcolophon} % \changes{v1.3}{2013/03/05}{New command \cmd{FSPLcolophon}} % -% To typeset the colophon in the FSPL style. See the previous section. -% -% \cmditem{chapterintro} -% -% Prints an unnumbered introduction at the beginning of the chapter, -% with the correct hyperlink. In order to use this command the \sty{hyperref} package must be loaded. -% -% \cmditem{chapterintroname}{name}\hfill(default=\texttt{Introduzione}) -% -% Changes in \meta{name} the title printed by the \cmd{chapterintro} command. +% To typeset the colophon in the FSPL style, according to the Joint Project \emph{Formal Style for PhD Theses with LaTeX} of the Verona University (Italy) (See section \ref{sec:predefined-styles}). +% \end{ltxsyntax} % -% \cmditem{appendicesname}{name}\hfill(default=\texttt{Appendici}) % -% Changes in \meta{name} the title printed by the \cmd{appendix} command. +% \subsection[Breaking titles]{Breaking titles in text body, headers and table of contents} % +% \begin{ltxsyntax} % \cmditem{headbreak} % % A manual break which is active for the table of contents but not in the text or in the headers. @@ -1160,18 +1036,11 @@ % % A manual break which is active in the text and in the headers but not in the table of contents. % -% \cmditem{chapnumfont}{name} +% \end{ltxsyntax} % -% \changes{v0.5}{2011/10/21}{New command \opt{chapnumfont}} -% Sets the font of the chapter number of \opt{style=elements/sufelements} styles. -% The default is Palatino (\LaTeX) or Computer Modern (\XeLaTeX). Using (pdf)\LaTeX{} you can change it simply giving the name of the font family. For example, to select the Helvetica family you will need: -% \begin{ttquote} -% \cmd{chapnumfont}\{phv\} -% \end{ttquote} -% With \XeLaTeX{} the \cmd{fontspec} command is required: -% \begin{ttquote} -% \cmd{chapnumfont}\{\cmd{fontspec}[Numbers=OldStyle]\{Helvetica\}\} -% \end{ttquote} +% \subsection{Other commands} +% +% \begin{ltxsyntax} % \cmditem{toclabelwidth}{level}{dim}\new % \changes{v0.9a}{2012/08/31}{New command \cmd{toclabelspace}} % @@ -1179,8 +1048,10 @@ % \begin{ttquote} % \cmd{toclabelwidht}\ar{chap}\ar{1em} % \end{ttquote} +% \end{ltxsyntax} % -% \cmditem{xfootnote}{symbol}{footnote text} +% \begin{ltxsyntax} +% \cmditem{xfootnote}[symbol]{footnote text} % \changes{v0.9b}{2012/09/23}{New command \cmd{xfootnote}} % % A command to print a footnote with a discretionary @@ -1191,151 +1062,268 @@ % \cmd{xfootnote}\oar{\cmd{textdagger}}\ar{Footnote text.} % \end{ttquote} % \end{ltxsyntax} +% +% +% \begin{ltxsyntax} +% +% \cmditem{title}[short title for headers]{complete title for titlepage} +% \changes{v0.8}{2012/03/19}{Renewed \cmd{title} command} % -% \clearpage -% \section*{Obsolete options} -% \begin{multicols}{2} -% \begin{ltxsyntax}\scriptsize -% \setlength{\parskip}{.5ex} -% \setlength{\itemindent}{1.5cm} -% \setlength{\labelwidth}{2.5cm}% -% \optitem{defaultparindent} -% \changes{v0.9a}{2012/08/31}{New option \opt{defaultparindent}} -% $\rightarrow$ \opt{parindent=compact} -% \optitem{ralignquotation} -% \changes{v0.9a}{2012/08/31}{New option \opt{ralignquotation}} -%$\rightarrow$ \opt{quotestyle=right} -% \optitem{smallquotation} -% \changes{v0.9a}{2012/08/31}{New option \opt{smallquotation}} -% $\rightarrow$ \opt{quotesize=small} -% \optitem{dottedfootnote} +% Useful with \opt{authortitle} option if the title is too long +% or has some breaks. +% +% \cmditem{chapterintro} +% +% Prints an unnumbered introduction at the beginning of the chapter, +% with the correct hyperlink. In order to use this command the \sty{hyperref} package must be loaded. +% +% \cmditem{chapterintroname}{name}\hfill(default=\texttt{Introduzione}) +% +% Changes in \meta{name} the title printed by the \cmd{chapterintro} command. +% +% \cmditem{appendicesname}{name}\hfill(default=\texttt{Appendici}) +% +% Changes in \meta{name} the title printed by the \cmd{appendix} command. +% +% +% \cmditem{chapnumfont}{name} +% +% \changes{v0.5}{2011/10/21}{New command \opt{chapnumfont}} +% Sets the font of the chapter number of \opt{style=elements/sufelements} styles. +% The default is Palatino (\LaTeX) or Computer Modern (\XeLaTeX). Using (pdf)\LaTeX{} you can change it simply giving the name of the font family. +% +%For example, to select the Helvetica family you will need: +% \begin{ttquote} +% \cmd{chapnumfont}\{phv\} +% \end{ttquote} +% With \XeLaTeX{} the \cmd{fontspec} command is required: +% \begin{ttquote} +% \cmd{chapnumfont}\{\cmd{fontspec}[Numbers=OldStyle]\{Helvetica\}\} +% \end{ttquote} +% \end{ltxsyntax} +% +% \begin{tcolorbox}[enhanced,breakable,colback=yellow!20] +% \section{The \opt{collection} document structure}\label{sec:collection} +% +% The \opt{collection} document structure is thought to compose a collection of papers. Each paper has to be typeset in a separate \file{.tex} file with the following structure: +%\begin{ttquote} +%\cmd{author}\ar{Author}\\ +%\cmd{title}\ar{Title of the paper}\\\\ +% \% The abstract is optional.\\ +% \% \cmd{begin}\ar{abstract}\\ +% \% The abstract\\ +% \% \cmd{end}\ar{abstract}\\\\ +%\cmd{maketitle}\\\\ +%Text of the paper +%\end{ttquote} +% If the names of the papers are \file{article1.tex}, \file{article2.tex}, \file{article3.tex}, etc., then a minimal main file should be similar to this: +% +%\begin{ttquote} +%\cmd{documentclass}\oar{documentstructure=collection}\ar{suftesi}\\\\ +% \cmd{begin}\ar{document}\\\\ +% \cmd{includeart}\ar{article1}\\ +% \cmd{includeart}\ar{article2}\\ +% \cmd{includeart}\ar{article3}\\\\ +% \cmd{end}\ar{document} +%\end{ttquote} +% +% +% \subsection{Options} +% +% In addition to the following options you can use the other options of the class too. In particular, with the \opt{chapstyle} and \opt{chapfont} options you can customize all the section titles which are treated as a normal unnumbered chapters in the \opt{book} document structure, such as ``Table of Contents'', ``Index'', ``Bibliography'', etc. +% +% \begin{optionlist} +% \setlength{\labelwidth}{2.1cm}% +% \optitem[left]{papertitlestyle}{\opt{left}, \opt{center}, \opt{right}} +% \begin{valuelist} +% \item[left] Aligns the author-title block on the left. +% \item[center] Centers the author-title block. +% \item[right] Aligns the author-title block on the right. +% \end{valuelist} +% \optitem[italic]{titlefont}{\opt{roman}, \opt{italic}, \opt{smallcaps}} +% \begin{valuelist} +% \item[roman] Prints the title of the articles in roman. +% \item[italic] Prints the title of the articles in \emph{italic}. +% \item[smallcaps] Prints the title of the articles +% in \textsc{small caps}. +% \end{valuelist} +% \optitem[roman]{authorfont}{\opt{roman}, \opt{italic}, \opt{smallcaps}} +% \begin{valuelist} +% \item[roman] Prints the author's name in roman. +% \item[italic] Prints the author's name in \emph{italic}. +% \item[smallcaps] Prints the \author's name +% in \textsc{small caps}. +% \end{valuelist} +% \end{optionlist} +% +% \subsection{Commands} +% \begin{ltxsyntax} +% \cmditem{includeart}{file name} +% +% Include the \meta{file name} in the collection. +% \cmditem{frontispiece} +% +% Typeset the frontispiece of the collection. +% +% It requires the \cmd{collectiontitle} and \cmd{collectioneditor} commands in the preamble of your document. +% +% \cmditem{collectiontitle}{The Title of the Collection} +% +% Sets the title of the collection. +% +% \cmditem{collectioneditor}{The Editor(s)} +% +% Sets the editor(s) of the collection. +%\end{ltxsyntax} +% +% \end{tcolorbox} +% +% ^^A\section*{Obsolete options} +% +% ^^A \begin{multicols}{2} +% ^^A \begin{ltxsyntax} +% ^^A \setlength{\parskip}{.5ex} +% ^^A \setlength{\itemindent}{1.5cm} +% ^^A \setlength{\labelwidth}{2.5cm} +% ^^A \optitem{defaultparindent} +% \changes{v0.9a}{2012/08/31}{New option \opt{defaultparindent}} +% ^^A $\rightarrow$ \opt{parindent=compact} +% ^^A \optitem{ralignquotation} +% \changes{v0.9a}{2012/08/31}{New option \opt{ralignquotation}} +% ^^A$\rightarrow$ \opt{quotestyle=right} +% ^^A \optitem{smallquotation} +% \changes{v0.9a}{2012/08/31}{New option \opt{smallquotation}} +% ^^A $\rightarrow$ \opt{quotesize=small} +% ^^A \optitem{dottedfootnote} % \changes{v0.9a}{2012/08/31}{New option \opt{dottedfootnote}} -% $\rightarrow$ \opt{footnotes=dot} -% \optitem{indentlist} -% \changes{v0.9a}{2012/08/31}{New option \opt{indentlist}} -% $\rightarrow$ \opt{liststyle=indented} -% \optitem{alignlist} -% \changes{v0.9a}{2012/08/31}{New option \opt{alignlist}} -% $\rightarrow$ \opt{liststyle=aligned} -% \optitem{artemisia} $\rightarrow$ \opt{greekfont=artemisia} -% \optitem{porson} $\rightarrow$ \opt{greekfont=porson} -% \optitem{defaultgreek} $\rightarrow$ \opt{greekfont=cbgreek} -% \optitem{defaultfont} -% $\rightarrow$ \opt{defaultfont=standard} -% \optitem{centerpart} -% \changes{v0.9a}{2012/08/31}{New option \opt{centerpart}} -% $\rightarrow$ \opt{partstyle=center} -% \optitem{centerchap} -% \changes{v0.9a}{2012/08/31}{New option \opt{centerchap}} -% $\rightarrow$ \opt{chapstyle=center} -% \optitem{centersec} -% \changes{v0.9a}{2012/08/31}{New option \opt{centersec}} -% $\rightarrow$ \opt{secstyle=center} -% \optitem{rightpart} -% \changes{v0.9a}{2012/08/31}{New option \opt{rightpart}} -% $\rightarrow$ \opt{partstyle=right} -% \optitem{rightchap} -% \changes{v0.9a}{2012/08/31}{New option \opt{rightchap}} -% $\rightarrow$ \opt{chapstyle=right} -% \optitem{rightsec} -% \changes{v0.9a}{2012/08/31}{New option \opt{rightsec}} -% $\rightarrow$ \opt{secstyle=right} -% \optitem{numparpart} +% ^^A $\rightarrow$ \opt{footnotes=dot} +% ^^A \optitem{indentlist} +% \changes{v0.9a}{2012/08/31}{New option \opt{indentlist}} +% ^^A $\rightarrow$ \opt{liststyle=indented} +% ^^A \optitem{alignlist} +% \changes{v0.9a}{2012/08/31}{New option \opt{alignlist}} +% ^^A $\rightarrow$ \opt{liststyle=aligned} +% ^^A \optitem{artemisia} $\rightarrow$ \opt{greekfont=artemisia} +% ^^A \optitem{porson} $\rightarrow$ \opt{greekfont=porson} +% ^^A \optitem{defaultgreek} $\rightarrow$ \opt{greekfont=cbgreek} +% ^^A \optitem{defaultfont} +% ^^A $\rightarrow$ \opt{defaultfont=standard} +% ^^A \optitem{centerpart} +% \changes{v0.9a}{2012/08/31}{New option \opt{centerpart}} +% ^^A $\rightarrow$ \opt{partstyle=center} +% ^^A \optitem{centerchap} +% \changes{v0.9a}{2012/08/31}{New option \opt{centerchap}} +% ^^A $\rightarrow$ \opt{chapstyle=center} +% ^^A \optitem{centersec} +% \changes{v0.9a}{2012/08/31}{New option \opt{centersec}} +% ^^A $\rightarrow$ \opt{secstyle=center} +% ^^A \optitem{rightpart} +% \changes{v0.9a}{2012/08/31}{New option \opt{rightpart}} +% ^^A $\rightarrow$ \opt{partstyle=right} +% ^^A \optitem{rightchap} +% \changes{v0.9a}{2012/08/31}{New option \opt{rightchap}} +% ^^A $\rightarrow$ \opt{chapstyle=right} +% ^^A \optitem{rightsec} +% \changes{v0.9a}{2012/08/31}{New option \opt{rightsec}} +% ^^A $\rightarrow$ \opt{secstyle=right} +% ^^A \optitem{numparpart} % \changes{v0.9a}{2012/08/31}{New option \opt{numparpart}} -% $\rightarrow$ \opt{partnumposition=above} -% \optitem{numparchap} -% \changes{v0.9a}{2012/08/31}{New option \opt{numparchap}} -% $\rightarrow$ \opt{chapnumposition=above} -% \optitem{numparsec} -% \changes{v0.9a}{2012/08/31}{New option \opt{numparsec}} -% $\rightarrow$ \opt{secnumposition=above} -% \optitem{smallcapspart} -% \changes{v0.9a}{2012/08/31}{New option \opt{smallcapspart}} -% $\rightarrow$ \opt{partstyle=smallcaps} -% \optitem{smallcapschap} -% \changes{v0.9a}{2012/08/31}{New option \opt{smallcapschap}} -% $\rightarrow$ \opt{chapstyle=smallcaps} -% \optitem{smallcapssec} -% \changes{v0.9a}{2012/08/31}{New option \opt{smallcapssec}} -% $\rightarrow$ \opt{subsecstyle=smallcaps} -% \optitem{italicpart} -% \changes{v0.9a}{2012/08/31}{New option \opt{italicpart}} -% $\rightarrow$ \opt{partstyle=italic} -% \optitem{italicchap} -% \changes{v0.9a}{2012/08/31}{New option \opt{italicchap}} -% $\rightarrow$ \opt{chapsecstyle=italic} -% \optitem{italicsec} -% \changes{v0.9a}{2012/08/31}{New option \opt{italicsec}} -% $\rightarrow$ \opt{secstyle=italic} -% \optitem{italicsubsec} -% \changes{v0.9a}{2012/08/31}{New option \opt{italicsubsec}} -% $\rightarrow$ \opt{subsecstyle=italic} -% \optitem{romanchapnum} +% ^^A $\rightarrow$ \opt{partnumposition=above} +% ^^A \optitem{numparchap} +% \changes{v0.9a}{2012/08/31}{New option \opt{numparchap}} +% ^^A $\rightarrow$ \opt{chapnumposition=above} +% ^^A \optitem{numparsec} +% \changes{v0.9a}{2012/08/31}{New option \opt{numparsec}} +% ^^A $\rightarrow$ \opt{secnumposition=above} +% ^^A \optitem{smallcapspart} +% \changes{v0.9a}{2012/08/31}{New option \opt{smallcapspart}} +% ^^A $\rightarrow$ \opt{partstyle=smallcaps} +% ^^A \optitem{smallcapschap} +% \changes{v0.9a}{2012/08/31}{New option \opt{smallcapschap}} +% ^^A $\rightarrow$ \opt{chapstyle=smallcaps} +% ^^A \optitem{smallcapssec} +% \changes{v0.9a}{2012/08/31}{New option \opt{smallcapssec}} +% ^^A $\rightarrow$ \opt{subsecstyle=smallcaps} +% ^^A \optitem{italicpart} +% \changes{v0.9a}{2012/08/31}{New option \opt{italicpart}} +% ^^A $\rightarrow$ \opt{partstyle=italic} +% ^^A \optitem{italicchap} +% \changes{v0.9a}{2012/08/31}{New option \opt{italicchap}} +% ^^A $\rightarrow$ \opt{chapsecstyle=italic} +% ^^A \optitem{italicsec} +% \changes{v0.9a}{2012/08/31}{New option \opt{italicsec}} +% ^^A $\rightarrow$ \opt{secstyle=italic} +% ^^A \optitem{italicsubsec} +% \changes{v0.9a}{2012/08/31}{New option \opt{italicsubsec}} +% ^^A $\rightarrow$ \opt{subsecstyle=italic} +% ^^A \optitem{romanchapnum} % \changes{v0.9a}{2012/08/31}{New option \opt{romanchap}} -% $\rightarrow$ \opt{chapnumstyle=roman} -% \optitem{dottedchap} -% \changes{v0.9a}{2012/08/31}{New option \opt{dottedchap}} -% $\rightarrow$ \opt{chapnumstyle} -% \optitem{italicheader} -% \changes{v0.9a}{2012/08/31}{New option \opt{italicheader}} -% $\rightarrow$ \opt{headerfont=italic} -% \optitem{centerheader} -% $\rightarrow$ \opt{headerstyle=center} -% \optitem{sufplain} -% $\rightarrow$ \opt{headerstyle=plain} -% \optitem{authortitle} +% ^^A $\rightarrow$ \opt{chapnumstyle=roman} +% ^^A \optitem{dottedchap} +% \changes{v0.9a}{2012/08/31}{New option \opt{dottedchap}} +% ^^A $\rightarrow$ \opt{chapnumstyle} +% ^^A \optitem{italicheader} +% \changes{v0.9a}{2012/08/31}{New option \opt{italicheader}} +% ^^A $\rightarrow$ \opt{headerfont=italic} +% ^^A \optitem{centerheader} +% ^^A $\rightarrow$ \opt{headerstyle=center} +% ^^A \optitem{sufplain} +% ^^A $\rightarrow$ \opt{headerstyle=plain} +% ^^A \optitem{authortitle} % \changes{v0.6}{2011/10/21}{New option \opt{authortitle}} -% $\rightarrow$ \opt{headerstyle} -% \optitem{periodical} +% ^^A $\rightarrow$ \opt{headerstyle} +% ^^A \optitem{periodical} % \changes{v0.8}{2012/03/19}{New option \opt{periodical}} -% $\rightarrow$ \opt{pagestyle=periodical} -% \optitem{compact} +% ^^A $\rightarrow$ \opt{pagestyle=periodical} +% ^^A \optitem{compact} % \changes{v0.5}{2011/10/21}{New option \opt{compact}} -% $\rightarrow$ \opt{pagestyle=compact} -% \optitem{supercompact} +% ^^A $\rightarrow$ \opt{pagestyle=compact} +% ^^A \optitem{supercompact} % \changes{v0.5}{2011/10/21}{New option \opt{supercompact}} -% $\rightarrow$ \opt{pagestyle=supercompact} -% \optitem{dottedtoc} +% ^^A $\rightarrow$ \opt{pagestyle=supercompact} +% ^^A \optitem{dottedtoc} % \changes{v0.9}{2012/04/22}{New option \opt{dottedtoc}} -% $\rightarrow$ \opt{tocstyle=dotted} -% \optitem{raggedtoc} +% ^^A $\rightarrow$ \opt{tocstyle=dotted} +% ^^A \optitem{raggedtoc} % \changes{v0.9}{2012/04/22}{New option \opt{raggedtoc}} -% $\rightarrow$ \opt{tocstyle=ragged} -% \optitem{tocpageleft} -% \changes{v0.9a}{2012/08/31}{New option \opt{tocpageleft}} -% $\rightarrow$ \opt{tocstyle=leftpage} -% \optitem{dottedpart} -% \changes{v0.9a}{2012/08/31}{New option \opt{dottedpart}} -% $\rightarrow$ \opt{partnumstyle=dotarabic} -% \optitem{elements} +% ^^A $\rightarrow$ \opt{tocstyle=ragged} +% ^^A \optitem{tocpageleft} +% \changes{v0.9a}{2012/08/31}{New option \opt{tocpageleft}} +% ^^A $\rightarrow$ \opt{tocstyle=leftpage} +% ^^A \optitem{dottedpart} +% \changes{v0.9a}{2012/08/31}{New option \opt{dottedpart}} +% ^^A $\rightarrow$ \opt{partnumstyle=dotarabic} +% ^^A \optitem{elements} % \changes{v0.5}{2011/10/21}{New option \opt{elements}} -% $\rightarrow$ \opt{style=elements} -% \optitem{nomarginpar} +% ^^A $\rightarrow$ \opt{style=elements} +% ^^A \optitem{nomarginpar} % \changes{v0.5}{2011/10/21}{New option \opt{nomarginpar}} -% $\rightarrow$ \opt{marginpar=false} -% \optitem{nocrop} +% ^^A $\rightarrow$ \opt{marginpar=false} +% ^^A \optitem{nocrop} % \changes{v0.5}{2011/10/21}{New option \opt{nocrop}} -% $\rightarrow$ \opt{crop=false} -% \optitem{rmstyle(1-6)} -% \changes{v0.9a}{2012/08/31}{New option \opt{rmstyle(1-6)}} -% $\rightarrow$ \opt{style=roman(1-6)} -% \optitem{itstyle(1-12)} -% \changes{v0.9a}{2012/08/31}{New option \opt{itstyle(1-12)}} -% $\rightarrow$ \opt{style=italic(1-6)} -% \optitem{scstyle(1-12)} -% \changes{v0.9a}{2012/08/31}{New option \opt{scstyle(1-12)}} -% $\rightarrow$ \opt{style=smallcaps(1-6)} -% \optitem{sufelements} +% ^^A $\rightarrow$ \opt{crop=false} +% ^^A \optitem{rmstyle(1-6)} +% \changes{v0.9a}{2012/08/31}{New option \opt{rmstyle(1-6)}} +% ^^A $\rightarrow$ \opt{style=roman(1-6)} +% ^^A \optitem{itstyle(1-12)} +% \changes{v0.9a}{2012/08/31}{New option \opt{itstyle(1-12)}} +% ^^A $\rightarrow$ \opt{style=italic(1-6)} +% ^^A \optitem{scstyle(1-12)} +% \changes{v0.9a}{2012/08/31}{New option \opt{scstyle(1-12)}} +% ^^A $\rightarrow$ \opt{style=smallcaps(1-6)} +% ^^A \optitem{sufelements} % \changes{v0.5}{2011/10/21}{New option \opt{sufelements}} -% $\rightarrow$ \opt{style=sufelements} -% \optitem{standardfootnote} +% ^^A $\rightarrow$ \opt{style=sufelements} +% ^^A \optitem{standardfootnote} % \changes{v0.9a}{2012/08/31}{New option \opt{standardfootnote}} -% $\rightarrow$ \opt{footnotes=superscript} -% \optitem{smallcapsheader} -% \changes{v0.9a}{2012/08/31}{New option \opt{smallcapsheader}} -% $\rightarrow$ \opt{headerfont=smallcaps} -% \end{ltxsyntax} -% \end{multicols} +% ^^A $\rightarrow$ \opt{footnotes=superscript} +% ^^A \optitem{smallcapsheader} +% \changes{v0.9a}{2012/08/31}{New option \opt{smallcapsheader}} +% ^^A $\rightarrow$ \opt{headerfont=smallcaps} +% ^^A \optitem{viewmode} +% ^^A $\rightarrow$ \opt{version} +% ^^A \end{ltxsyntax} +% ^^A \end{multicols} % % % \defbibnote{note}{\sffamily This bibliography has been typeset with @@ -1347,9 +1335,12 @@ % ^^A\includepdf[pages=1-]{collect-examples} % % \StopEventually{\PrintChanges\PrintIndex} -% \newgeometry{left=3.3cm,marginparwidth=3.3cm} +% +% \newgeometry{hmarginratio=1:1,a4paper,margin=2cm,left=4cm} % \section{The Code} +% \iffalse %<*class> +% \fi % \begin{macrocode} \ClassWarningNoLine{suftesi}{% ******************************************\MessageBreak @@ -1368,8 +1359,11 @@ \newif\ifsuftesi@article \newif\ifsuftesi@authortitle \newif\ifsuftesi@periodical +\newif\ifsuftesi@periodicalaureo \newif\ifsuftesi@compact +\newif\ifsuftesi@compactaureo \newif\ifsuftesi@supercompact +\newif\ifsuftesi@supercompactaureo \newif\ifsuftesi@sufelements \newif\ifsuftesi@nocrop \newif\ifsuftesi@dottedtoc @@ -1390,7 +1384,6 @@ \newif\ifsuftesi@fewfootnotes \newif\ifsuftesi@partpage \newif\ifsuftesi@FSPL -\newif\ifsuftesi@periodicalaureo \newif\ifsuftesi@screen \newif\ifsuftesi@pagelefttoc \newif\ifsuftesi@twocolumntoc @@ -1434,25 +1427,25 @@ % \begin{macrocode} \RequirePackage{geometry} \define@choicekey{}{pagelayout}[\val\nr] - {standard,periodical,compact,supercompact,supercompactaureo,elements, - periodicalaureo}[standard]{% + {standard,periodical,compact,compactaureo,supercompact, + supercompactaureo,elements,periodicalaureo}[standard]{% \ifcase\nr\relax \DeclareRobustCommand{\SUF@chaptersize}{\Large} - \geometry{% - heightrounded, - a4paper, - includeheadfoot=true, - textwidth= 110mm, - textheight= 220mm, - marginratio= 1:2, - marginparwidth= 30mm, - marginparsep= 12pt} + \geometry{% + heightrounded, + a4paper, + includeheadfoot=true, + textwidth= 110mm, + textheight= 220mm, + marginratio= 1:2, + marginparwidth= 30mm, + marginparsep= 12pt} \or \suftesi@periodicaltrue \DeclareRobustCommand{\SUF@chaptersize}{\large} \geometry{ - heightrounded, - includeheadfoot=false, + heightrounded, + includeheadfoot=false, textheight= 165mm, textwidth= 110mm, paperwidth= 170mm, @@ -1464,8 +1457,8 @@ \suftesi@compacttrue \DeclareRobustCommand{\SUF@chaptersize}{\large} \geometry{ - heightrounded, - includeheadfoot=false, + heightrounded, + includeheadfoot=false, textheight= 165mm, textwidth= 110mm, paperwidth= 160mm, @@ -1474,11 +1467,24 @@ marginparwidth= 22mm, marginparsep= 9pt} \or +\suftesi@compactaureotrue + \DeclareRobustCommand{\SUF@chaptersize}{\large} + \geometry{ + heightrounded, + includeheadfoot=false, + textheight= 191mm, + textwidth= 118mm, + paperwidth= 160mm, + paperheight= 240mm, + marginratio= 2:3, + marginparwidth= 19mm, + marginparsep= 9pt} +\or \suftesi@supercompacttrue \DeclareRobustCommand{\SUF@chaptersize}{\large} \geometry{ - heightrounded, - includeheadfoot=false, + heightrounded, + includeheadfoot=false, textheight= 150mm, textwidth= 100mm, paperwidth= 140mm, @@ -1487,11 +1493,11 @@ marginparwidth= 18mm, marginparsep= 8pt} \or -\suftesi@supercompacttrue +\suftesi@supercompactaureotrue \DeclareRobustCommand{\SUF@chaptersize}{\large} \geometry{ - heightrounded, - includeheadfoot=false, + heightrounded, + includeheadfoot=false, textheight= 175mm, textwidth= 108mm, paperwidth= 140mm, @@ -1501,7 +1507,7 @@ marginparsep= 7pt}\or \suftesi@elementspagelayouttrue \geometry{% - heightrounded, + heightrounded, includeheadfoot=false, textwidth= 251pt, textheight= 502pt, @@ -1515,7 +1521,7 @@ \suftesi@periodicalaureotrue \DeclareRobustCommand{\SUF@chaptersize}{\large} \geometry{% - heightrounded, + heightrounded, includeheadfoot=true, textwidth= 120mm, textheight= 194mm, @@ -2429,6 +2435,7 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} } \else \RequirePackage[LGR,T1]{fontenc} +\RequirePackage{substitutefont} \AtBeginDocument{\fontencoding{T1}\selectfont} \ifsuftesi@standardfont \RequirePackage{lmodern} @@ -2438,9 +2445,11 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} \RequirePackage[scaled=0.8]{beramono} \renewcommand{\sfdefault}{iwona} \AtBeginDocument{ +\substitutefont{LGR}{\rmdefault}{\SUF@greekfamily} \DeclareRobustCommand{\greektext}{% - \usefont{LGR}{\SUF@greekfamily}{\f@series}{\f@shape}}% - \DeclareTextFontCommand{\textgreek}{\greektext} + \usefont{LGR}{\SUF@greekfamily}{\f@series}{\f@shape} + \def\encodingdefault{LGR}} + \DeclareTextFontCommand{\textgreek}{\greektext} } \fi % \end{macrocode} @@ -2642,11 +2651,11 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} \RequirePackage{extramarks} \SUF@elements@CHAPTER \SUF@elements@SECTIONS -\ifsuftesi@periodicalaureo +\ifsuftesi@periodical \titlespacing*{\chapter}{0em}{-\baselineskip}{10pt}[0pt] \setkeys[SUF]{elements}{chapsize=80,chapposition=-83} \else -\ifsuftesi@periodical +\ifsuftesi@periodicalaureo \titlespacing*{\chapter}{0em}{-\baselineskip}{10pt}[0pt] \setkeys[SUF]{elements}{chapsize=80,chapposition=-83} \else @@ -2654,16 +2663,26 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} \titlespacing*{\chapter}{0em}{-1\baselineskip}{10pt}[0pt] \setkeys[SUF]{elements}{chapsize=75,chapposition=-83} \else +\ifsuftesi@compactaureo + \titlespacing*{\chapter}{0em}{-1\baselineskip}{10pt}[0pt] + \setkeys[SUF]{elements}{chapsize=75,chapposition=-83} +\else \ifsuftesi@supercompact \titlespacing*{\chapter}{0em}{-1\baselineskip}{10pt}[0pt] \setkeys[SUF]{elements}{chapsize=70,chapposition=-73} \else +\ifsuftesi@supercompactaureo + \titlespacing*{\chapter}{0em}{-1\baselineskip}{10pt}[0pt] + \setkeys[SUF]{elements}{chapsize=70,chapposition=-73} +\else \ifsuftesi@elementspagelayout \titlespacing*{\chapter}{0em}{-\baselineskip}{10pt}[0pt] \setkeys[SUF]{elements}{chapsize=60,chapposition=-73} \else \titlespacing*{\chapter}{0em}{-\baselineskip}{10pt}[0pt] \setkeys[SUF]{elements}{chapsize=90,chapposition=-83} + \fi + \fi \fi \fi \fi @@ -2878,12 +2897,6 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} No \string\author\space given\MessageBreak% See the class documentation for explanation}} % \end{macrocode} -% \DescribeMacro{\standardtitle} Reproduces the standard |\maketitle| style: -% \begin{macrocode} -% \end{macrocode} -% For |notitlepage| option: -% \begin{macrocode} -% \end{macrocode} % \DescribeMacro{\maketitle} % For |titlepage| (default) option: % \begin{macrocode} @@ -2928,6 +2941,9 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} \global\let\@date\@empty \global\let\date\relax \global\let\and\relax} +% \end{macrocode} +% \DescribeMacro{\standardtitle} Reproduces the standard |\maketitle| style: +% \begin{macrocode} \newcommand\standardtitle{\begin{titlepage}% \let\footnotesize\small \let\footnoterule\relax @@ -2957,7 +2973,7 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} \global\let\and\relax} \else % \end{macrocode} -% For |notitlepage| option: +% \DescribeMacro{\maketitle} For |notitlepage| option: % \begin{macrocode} \renewcommand\maketitle{\par \begingroup @@ -3017,6 +3033,9 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} \end{center}% \par \vskip 1.5em} +% \end{macrocode} +% \DescribeMacro{\standardtitle} Reproduces the standard |\maketitle| style: +% \begin{macrocode} \newcommand\standardtitle{\par \begingroup \renewcommand\thefootnote{\@fnsymbol\c@footnote}% @@ -3181,12 +3200,12 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} {\ifsuftesi@reverseauthortitle \SUF@titlefont@Switch{\@title}% \else\SUF@authorfont@Switch{\@author}\fi}% - \label{begin:\thetitle}% - \begingroup +% \label{begin:\thetitle}% + \begingroup% \let\thanks\@gobble \addcontentsline{toc}{title}{\normalfont{\@author}\newline% \itshape\@headtitle} - \endgroup + \endgroup% \vspace{2ex}\par {\ifsuftesi@reverseauthortitle \SUF@authorfont@Switch{\@author}% @@ -3199,10 +3218,12 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} % \begin{macrocode} \newcommand{\includeart}[1]{% \begingroup - \setcounter{section}{0} - \input{#1}\label{end:\thetitle} - \clearpage + \cleardoublepage + \setcounter{section}{0} + \input{#1}%\label{end:\thetitle} \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@headtitle\@empty \endgroup} % \end{macrocode} % \DescribeMacro{\frontispiece} The command to typeset @@ -3487,7 +3508,7 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} % \DescribeEnv{quotation} % \DescribeEnv{quote} % \DescribeEnv{verse} -% New \env{quotation} and \env{quote} environments according to a popular Italian style. +% New environments for block quotations according to a popular Italian style. % The font size is the same of the footnotes and the margins are set to \cmd{parindent}. % \begin{macrocode} \renewenvironment{quotation} @@ -3521,7 +3542,7 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} % Enable only with three footnotes per page maximum. % \begin{macrocode} \ifsuftesi@fewfootnotes -\AtBeginDocument{ +\AtBeginDocument{% \def\@fnsymbol#1{\ensuremath{\ifcase#1\or*\or{*}{*}\or{*}{*}{*}\or% \ClassError{suftesi}% {Too many footnotes\MessageBreak @@ -3543,10 +3564,10 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} % \subsubsection{Marginal notes} % \DescribeMacro{\marginpar} % The |\marginpar| command is redefined according to the look -% of \emph{Classic Thesis} by André \textcite{Miede:2011} -% \index{Miede, André}. Thanks to Lorenzo -% Pantieri\index{Pantieri, Lorenzo} and Enrico -% Gregorio\index{Gregorio, Enrico}. +% of \emph{Classic Thesis} by +% André \textcite{Miede:2011}\index{Miede, André}. +% Thanks to Lorenzo Pantieri\index{Pantieri, Lorenzo} +% and Enrico Gregorio\index{Gregorio, Enrico}. % \begin{macrocode} \def\SUF@mpsetup{% % \end{macrocode} @@ -3571,7 +3592,7 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} % package is loaded. This redefinition simply substitute % \cmd{oldmarginpar} to \cmd{marginpar}: % \begin{macrocode} -\AtBeginDocument{ +\AtBeginDocument{% \@ifpackageloaded{todonotes}{% \renewcommand{\@todonotes@drawMarginNoteWithLine}{% \begin{tikzpicture}[remember picture, overlay, baseline=-0.75ex]% @@ -3589,6 +3610,7 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent} {\relax}} % \end{macrocode} % \subsubsection{Abstract} +% \DescribeEnv{quotation} % This is the macro that defines the \env{abstract} environment in \sty{article} class. In \sty{suftesi} it simply prints the abstract name in roman font: % \begin{macrocode} \ifsuftesi@collection @@ -4095,6 +4117,8 @@ Janusz M. Nowacki. % The default toc, lof and lot are treated as chapters. % \begin{macrocode} \renewcommand\tableofcontents{% + \author{\contentsname}% + \title{\contentsname}% \if@twocolumn \@restonecoltrue\onecolumn \else @@ -4115,6 +4139,8 @@ Janusz M. Nowacki. \if@restonecol\twocolumn\fi } \renewcommand\listoffigures{% + \author{\listfigurename}% + \title{\listfigurename}% \if@twocolumn \@restonecoltrue\onecolumn \else @@ -4134,6 +4160,8 @@ Janusz M. Nowacki. \if@restonecol\twocolumn\fi } \renewcommand\listoftables{% + \author{\listtablename}% + \title{\listtablename}% \if@twocolumn \@restonecoltrue\onecolumn \else @@ -4284,8 +4312,9 @@ Janusz M. Nowacki. \frenchspacing % \end{macrocode} %</class> -% \vfill +% % \restoregeometry +% % \iffalse %<*bib> @book{Morison:1111, |