summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/suftesi
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/suftesi')
-rw-r--r--Master/texmf-dist/source/latex/suftesi/suftesi.dtx111
1 files changed, 59 insertions, 52 deletions
diff --git a/Master/texmf-dist/source/latex/suftesi/suftesi.dtx b/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
index 8e2db041359..025f26887f3 100644
--- a/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
+++ b/Master/texmf-dist/source/latex/suftesi/suftesi.dtx
@@ -102,7 +102,7 @@
%<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
%<class>\ProvidesClass{suftesi}
%<*class>
- [2013/06/20 v1.7 A class for typesetting theses, books and articles]
+ [2013/07/18 v1.8 A class for typesetting theses, books and articles]
%</class>
%<*driver>
\documentclass{ltxdoc}
@@ -212,7 +212,7 @@
%</driver>
% \fi
%
-% \CheckSum{3370}
+% \CheckSum{3384}
%
% \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
@@ -230,10 +230,11 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
+% \changes{v1.8}{2013/07/18}{Maintenance release. Corrected a bug in the definition of \cmd{appendix}}
% \changes{v1.7}{2013/06/20}{Renamed \opt{viewmode} option to \opt{version}:
% renamed \opt{print} value to \opt{draft} and
% added \opt{final} value. New \opt{smallcapsstyle} option.}
-% \changes{v1.6}{2013/04/17}{New option \opt{viewmode}. Corrected bugs in definition of \cmd{listoffigures}, \cmd{listoftables} and \cmd{tableofcontens} commands. Updated documentation.}
+% \changes{v1.6}{2013/04/17}{New option \opt{viewmode}. Corrected bugs in the definition of \cmd{listoffigures}, \cmd{listoftables} and \cmd{tableofcontens} commands. Updated documentation.}
% \changes{v1.5}{2013/03/22}{The \sty{microtype} package is loaded for all engines. Improved compatibility with \sty{todonotes} package and with \sty{mdframed} and \sty{bookmark} packages when using \sty{style} class option. New option \opt{viewmode}}
% \changes{v1.4}{2013/03/15}{New value \opt{periodicalaureo} for option \opt{pagelayout}. Changed code for \cmd{xfootnote} command.}
% \changes{v1.3}{2013/03/05}{Updated documentation. Added \opt{FSPLa},
@@ -346,6 +347,8 @@
% provides. For this reason:
% \begin{center}
% \textbf{\textsc{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.}}
% \end{center}
% If you use \sty{suftesi}{} in a document typeset with another class
@@ -372,7 +375,7 @@
% \sty{caption}, \sty{color}, \sty{enumitem}, \sty{emptypage}, \sty{extramarks},
% \sty{fancyhdr}, \sty{fixltxhyph}, \sty{fontenc}, \sty{geometry},
% \sty{ifxetex}, \sty{mathpazo},
-% \sty{microtype} (pdf\LaTeX{} only), \sty{multicol}, \sty{textcase}, \sty{titlesec}, \sty{titletoc}, \sty{xkeyval}.
+% \sty{microtype}, \sty{multicol}, \sty{textcase}, \sty{titlesec}, \sty{titletoc}, \sty{xkeyval}.
% \changes{v0.9b}{2012/09/23}{The \sty{epigraph} package is no longer loaded}
%
@@ -499,23 +502,23 @@
% \changes{v0.9b}{2012/09/23}{New option \opt{pagestyle}}
%\begin{valuelist}
%\item[standard]
-% Prints an A4 typeblock (see table \ref{tab:gabbia} for details).
+% Prints an A4 typeblock (see table \ref{tab:layouts} for details).
%\item[periodical]
% Prints a typeblock of $17 \si{cm} \times 24 \si{cm}$ on an A4 paper,
-% showing the crop marks (see table \ref{tab:gabbia} for details).
+% showing the crop marks (see table \ref{tab:layouts} for details).
% This style is expecially meant for theses.
% The \opt{crop=false} option disables the crop marks.
%\item[periodicalaureo] Similar to \opt{periodical} but with a
% \emph{golden ratio} text area of $120 \si{cm} \times 194 \si{mm}$.
%\item[compact]
-% The same as \opt{periodical} but with a typeblock of $16 \si{cm} \times 24 \si{cm}$ (see table \ref{tab:gabbia} for details).
+% The same as \opt{periodical} but with a typeblock of $16 \si{cm} \times 24 \si{cm}$ (see table \ref{tab:layouts} for details).
%\item[supercompact]
% The same as \opt{compact} but with
% a typeblock of $14 \si{cm} \times 21 \si{cm}$
-% (see table \ref{tab:gabbia} for details).
+% (see table \ref{tab:layouts} for details).
% \item[elements] Prints a typeblock with the dimensions of
% \citetitle{Bringhurst:1996} by Robert \citeauthor{Bringhurst:1996}
-% (see table \ref{tab:gabbia} for details). To reproduce the whole
+% (see table \ref{tab:layouts} for details). To reproduce the whole
% style of \textcite{Bringhurst:1996} use \opt{style=elements} option.
%\end{valuelist}
%\end{optionlist}
@@ -534,12 +537,6 @@
% \end{valuelist}
% Where <level> can be \opt{part}, \opt{chap}, \opt{sec},
% \opt{subsec}, \opt{subsubsec}.
-% \optitem[low]{smallcapsstyle}{\opt{low}, \opt{upper}}
-% This option is active only with \opt{<level>font=smallcaps} options.
-% \begin{valuelist}
-% \item[low] Prints lowercase small capitals.
-% \item[upper] Prints small capitals without changing the case.
-% \end{valuelist}
% \optitem[left]{<level>style}{\opt{left}, \opt{center},
% \opt{right}, \opt{parleft}, \opt{parcenter},
% \opt{parright}}
@@ -585,6 +582,12 @@
% \item[leftpage] Prints a table of contents with page numbers
% on the left margin.
% \end{valuelist}
+% \optitem[low]{smallcapsstyle}{\opt{low}, \opt{upper}}
+% This option is active only with \opt{<level>font=smallcaps} options.
+% \begin{valuelist}
+% \item[low] Prints lowercase small capitals.
+% \item[upper] Prints small capitals without changing the case.
+% \end{valuelist}
% \end{optionlist}
%
% \subsection{Headings}
@@ -819,7 +822,7 @@
% \opt{tocstyle=leftpage}.
% \end{valuelist}
% \end{optionlist}
-
+% \clearpage
% \section{New commands}\label{sec:commands}
%
% The class defines the following new commands.
@@ -956,9 +959,9 @@
% symbols given in the optional argument (default=*).
% It does not increment the footnote counter.
% \begin{ttquote}
-% \cmd{xfootnote}[*]\{Footnote text.\}\\
-% \cmd{xfootnote}[\textdollar\cmd{dagger}\textdollar]\{Footnote text.\}\\
-% \cmd{xfootnote}[\cmd{textdagger}]\{Footnote text.\}
+% \cmd{xfootnote}[\textdollar\cmd{dagger}\textdollar]\{Footnote text.\}
+% ^^A \cmd{xfootnote}[\textdollar\cmd{dagger}\textdollar]\{Footnote text.\}\\
+% ^^A \cmd{xfootnote}[\cmd{textdagger}]\{Footnote text.\}
% \end{ttquote}
% \end{ltxsyntax}
%
@@ -1975,6 +1978,8 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent}
no ligatures = {f} ]
{ encoding = {OT1,T1,T2A,LY1,OT4,QX,EU2} }
{ 110 }
+\newcommand{\versionstring}[1]{\def\version@string{#1}}
+\versionstring{Version of}
% \end{macrocode}
% The FSPL style requires a verbose colophon which uses specific icons:
% \begin{macrocode}
@@ -2745,12 +2750,14 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent}
\renewcommand\appendix{\par
\setcounter{section}{0}%
\setcounter{subsection}{0}%
+ \gdef\thesection{\@Alph\c@section}%
\gdef\SUF@thesection{\@Alph\c@section}}
\else
\renewcommand\appendix{\par
\setcounter{chapter}{0}%
\setcounter{section}{0}%
\gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@Alph\c@chapter}%
\gdef\SUF@thechapter{\@Alph\c@chapter}}
\fi
\fi
@@ -2761,7 +2768,7 @@ quotesize,footnotestyle,liststyle,captionstyle,parindent}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footnoterule}{}
-\def\SUF@versionstring{\texttt{Version of \today}}
+\def\SUF@versionstring{\texttt{\version@string{} \today}}
% \end{macrocode}
% \paragraph{The \opt{elements} headers}
% \begin{macrocode}
@@ -3722,7 +3729,7 @@ style=roman1]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3740,7 +3747,7 @@ style=roman2]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3758,7 +3765,7 @@ style=roman3]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3776,7 +3783,7 @@ style=roman4]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3794,7 +3801,7 @@ style=roman5]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3812,7 +3819,7 @@ style=roman6]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3830,7 +3837,7 @@ style=italic1]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3848,7 +3855,7 @@ style=italic2]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3866,7 +3873,7 @@ style=italic3]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3884,7 +3891,7 @@ style=italic4]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3902,7 +3909,7 @@ style=italic5]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3920,7 +3927,7 @@ style=italic6]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3938,7 +3945,7 @@ style=italic7]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3956,7 +3963,7 @@ style=italic8]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3974,7 +3981,7 @@ style=italic9]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -3992,7 +3999,7 @@ style=italic10]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4010,7 +4017,7 @@ style=italic11]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4028,7 +4035,7 @@ style=italic12]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4046,7 +4053,7 @@ style=smallcaps1]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4064,7 +4071,7 @@ style=smallcaps2]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4082,7 +4089,7 @@ style=smallcaps3]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4100,7 +4107,7 @@ style=smallcaps4]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4118,7 +4125,7 @@ style=smallcaps5]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4136,7 +4143,7 @@ style=smallcaps6]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4154,7 +4161,7 @@ style=smallcaps7]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4172,7 +4179,7 @@ style=smallcaps8]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4190,7 +4197,7 @@ style=smallcaps9]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4208,7 +4215,7 @@ style=smallcaps10]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4226,7 +4233,7 @@ style=smallcaps11]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4244,7 +4251,7 @@ style=smallcaps12]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4262,7 +4269,7 @@ crop=false]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}
@@ -4280,7 +4287,7 @@ style=sufelements,crop=false]{suftesi}
\setmainfont[Numbers=OldStyle]{Junicode}
\setcounter{chapter}{2}
\begin{document}
-\chapter{Titolo del capitolo}
+\chapter{The Title of the Chapter}
\section{Dolor sit amet}
\lipsum[1]
\subsection{Peniteitiagite}