summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi/toptesi.sty')
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/toptesi.sty398
1 files changed, 326 insertions, 72 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
index cab63d05b42..da9a3517252 100644
--- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
@@ -6,58 +6,150 @@
%%
%% toptesi.dtx (with options: `topsty')
%% ______________________________________________________
-%% The TOPtesi package
-%% Copyright (C) 2005-2016 Claudio Beccari
+%% The TOPtesi bundle
+%% Copyright (C) 2015-2017 Claudio Beccari
%% All rights reserved
%%
%% License information appended
%%
-\NeedsTeXFormat{LaTeX2e}[2015/01/01]
+\NeedsTeXFormat{LaTeX2e}[2016/01/01]
\ProvidesPackage{toptesi}[%
-2016/11/25 v.5.9.06
+2017/10/22 v.~6.1.09
Extension for toptesi.cls]
+
\def\TRON{\tracingcommands \tw@ \tracingmacros \tw@}
\def\TROFF{\tracingcommands\z@ \tracingmacros \z@}
\let\TROF\TROFF
+
+\newif\ifevenboxes \evenboxesfalse
\newif\if@utoretitolo \@utoretitolofalse
\newif\if@ldstyle \@ldstylefalse
\newif\if@xivpt \@xivptfalse
+\newif\iflibro \librofalse
\newif\ifT@Pfrontespizio \T@Pfrontespiziofalse
\newif\ifTOPfront \TOPfronttrue
-\newlength\T@Pbinding\setlength\T@Pbinding{7mm}
+\newif\ifScuDo \ScuDofalse
+\newif\ifmonografia\monografiafalse
+\newif\iftriennale\monografiafalse
+\newif\ifmagistrale\magistralefalse
+\newif\ifdottorato\dottoratofalse
+\newif\ifsecondaria\secondariafalse
+\newif\ifcustom\customfalse
+\newif\ifTOPnumerazioneromana\TOPnumerazioneromanafalse
+\newlength\T@Pbinding
\def\setbindingcorrection#1{\T@Pbinding=#1}
\newif\if@binding \@bindingfalse
\newif\ifchapterbibliography \chapterbibliographyfalse
\newif\ifclassica \classicafalse
-\DeclareOption{cucitura}{\@bindingtrue}
-\DeclareOption{14pt}{\@xivpttrue}
-\DeclareOption{chapterbib}{\chapterbibliographytrue}
-\DeclareOption{trieste}{\classicatrue}% Just for backwards compatibility
-\DeclareOption{classica}{\classicatrue}
-\DeclareOption{autoretitolo}{\ifclassica\@utoretitolotrue\fi}
-\DeclareOption{oldstyle}{\ifclassica\@ldstyletrue\fi}
-\DeclareOption{pdfa}{\PackageWarning{toptesi}{Option pdfa ignored.\MessageBreak
-Read documentation toptesi-it-*.pdf, because package pdfx has changed}}
-\DeclareOption{usefrontespizio}{\T@Pfrontespiziotrue\TOPfrontfalse}
-\DeclareOption{noTOPfront}{\T@Pfrontespiziotrue\TOPfrontfalse}
-\ProcessOptions\relax
+
+\@ifpackageloaded{xkeyval}{}{\RequirePackage{xkeyval}}
+\@ifpackageloaded{scrextend}{}{\RequirePackage{scrextend}}
+\@ifpackageloaded{iftex}{}{\RequirePackage{iftex}}
+\@ifpackageloaded{xspace}{}{\RequirePackage{xspace}}
+\@ifpackageloaded{xparse}{}{\RequirePackage{xparse}}
+
+\DeclareOptionX{cucitura}[7mm]{\setlength\T@Pbinding{#1}\@bindingtrue}
+\DeclareOptionX{corpo}[10pt]{\unless\ifdim#1<\@xivpt\p@\@xivpttrue\fi
+ \changefontsizes{#1}}
+\DeclareOptionX{chapterbib}[true]{\chapterbibliographtrue}
+\DeclareOptionX{evenboxes}[true]{\evenboxestrue}
+\DeclareOptionX{libro}[true]{\librotrue}
+\DeclareOptionX{stile}[standard]{\setkeys{toptesi}{stile=#1}}
+\define@choicekey{toptesi}{stile}[\val\nr]{standard,classica,trieste}{%
+ \ifcase\nr
+ \typeout{valore=\number\nr}\classicafalse
+ \or
+ \typeout{valore=\number\nr}\classicatrue
+ \or
+ \typeout{valore=\number\nr}\classicatrue
+ \else
+ \typeout{valore=\number\nr}\classicafalse
+ \fi}
+\DeclareOptionX{autoretitolo}[true]{\ifclassica\@utoretitolotrue\fi}
+\DeclareOptionX{oldstyle}[true]{\ifclassica\@ldstyletrue\fi}
+\DeclareOptionX{pdfa}{\PackageWarning{toptesi}{%
+ ***********************************************\MessageBreak%
+ Option pdfa ignored.\MessageBreak%
+ Read documentation toptesi-it-*.pdf,\MessageBreak%
+ because package pdfx has changed\MessageBreak%
+ ***********************************************\MessageBreak%
+ }}
+
+\DeclareOptionX{numerazioneromana}[true]{\TOPnumerazioneromanatrue}
+
+\newcommand\NoValidTipo[1]{%
+\PackageError{toptesi}{Option value `#1' not defined\MessageBreak
+}{Type `X' to exit and check your input}}
+
+\DeclareOptionX{tipotesi}[topfront]{%
+ \ifstrequal{#1}{frontespizio}{\TOPfrontfalse\T@Pfrontespiziotrue
+ \AtEndOfPackage{\RequirePackage{frontespizio}}%
+ }{%
+ \ifstrequal{#1}{topfront}{\TOPfronttrue\T@Pfrontespiziofalse
+ \AtEndOfPackage{\RequirePackage{topfront}}%
+ }{%
+ \TOPfrontfalse\T@Pfrontespiziofalse
+ \ifstrequal{#1}{custom}{\relax}{%
+ \ifstrequal{#1}{triennale}{%
+ \def\TPT@tipo{toptesi-monografia}% opz:monografia
+ }{\ifstrequal{#1}{secondaria}{% opz: secondaria
+ \edef\TPT@tipo{toptesi-sss}%
+ }{%
+ \edef\TPT@tipo{toptesi-#1}% opz: triennale,
+ }% % magistrale, dottorale
+ }%
+ \AtEndOfPackage{%
+ \IfFileExists{\TPT@tipo.sty}%
+ {\RequirePackage{\TPT@tipo}}{\NoValidTipo{#1}}%
+ }%
+ }% opz: custom
+ }% opz: topfront
+ }% opz: frontespizio
+ }
+\ProcessOptionsX*
+
\RequirePackage{graphicx}
\RequirePackage{etoolbox}
-\if@xivpt\input{size14.clo}\fi
+\RequirePackage{xspace}
+\newcommand*\ifempty[1]{\edef\@tempA{#1}%
+\ifx\@tempA\@empty\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi}
\newlength\interno
-\textheight 0.7\paperheight
-\setlength{\textheight}{\dimexpr\textheight*\baselineskip/\baselineskip+\topskip}
-\ifx\f@size\@xivpt
+\normalsize% necessary to have the correct value for \baselineskip
+\textheight \paperwidth
+\setlength{\textheight}{%
+\dimexpr\textheight*\baselineskip/\baselineskip+\topskip}
+\iflibro
+ \unless\if@xivpt
+ \textwidth=\dimexpr0.70711\paperwidth\relax
+ \setlength\interno{\dimexpr\paperwidth/8}
+ \footskip=1.5\baselineskip
+ \else
+ \textwidth=\dimexpr0.79549875\paperwidth\relax
+ \setlength\interno{\dimexpr\paperwidth/9}
+ \footskip=2\baselineskip
+ \fi
+\else
+ \unless\if@xivpt
+ \textwidth=\dimexpr0.70711\paperwidth\relax
\setlength\interno{\dimexpr\paperwidth/6}
- \footskip=1,5\baselineskip
+ \footskip=1.5\baselineskip
+ \else
+ \textwidth=\dimexpr0.79549875\paperwidth\relax
+ \setlength\interno{\dimexpr\paperwidth/7}
+ \footskip=2\baselineskip
+ \fi
+\fi
+\iflibro
+ \interno=\dimexpr\paperwidth-\textwidth\relax
+ \oddsidemargin=0.414214\interno\relax
+ \evensidemargin=\dimexpr\paperwidth-\textwidth-\oddsidemargin\relax
\else
- \setlength\interno{\dimexpr\paperwidth/7}
- \footskip=2\baselineskip
+ \oddsidemargin=\dimexpr(\paperwidth-\textwidth)/2\relax
+ \evensidemargin=\oddsidemargin
\fi
-\textwidth=\dimexpr\paperwidth-2\interno\relax
-\oddsidemargin=\dimexpr\interno-1in\relax
-\evensidemargin=\oddsidemargin
-\marginparwidth=\dimexpr\interno-2.5\marginparsep
+\marginparwidth=\dimexpr\evensidemargin-2.5\marginparsep
+\oddsidemargin=\dimexpr\oddsidemargin-1in\relax
+\evensidemargin=\dimexpr\evensidemargin-1in\relax
\AtBeginDocument{%
\if@binding
\PackageInfo{TOPtesi}{Margin width recalculation}
@@ -79,7 +171,7 @@ Read documentation toptesi-it-*.pdf, because package pdfx has changed}}
\def\@oddfoot{\null\hfill {\scshape\lapagina}\hfill \null}\def\@oddhead{}
\def\@evenhead{}\let\@evenfoot\@oddfoot}
\if@twoside
- \def\ps@headings{\let\@mkboth\markboth%
+ \def\ps@headings{\let\@mkboth\markboth% autoretitolo
\def\@oddfoot{\null\hfill {\scshape\lapagina} \hfill\null}
\let\@evenfoot\@oddfoot
%
@@ -110,10 +202,12 @@ Read documentation toptesi-it-*.pdf, because package pdfx has changed}}
\fi
\def\headWarn#1{\PackageWarning{toptesi}{%
+*******************************************\MessageBreak
THE HEADING IS TOO LONG\MessageBreak
Use the optional argument of command \string#1\MessageBreak
- See the LaTeX Handbook (1994) on section C.4.1\MessageBreak}}
-\renewcommand*\l@chapter[2]{%
+ See the LaTeX Handbook (1994) on section C.4.1\MessageBreak
+*******************************************\MessageBreak}}
+\renewcommand\l@chapter[2]{%
\ifnum \c@tocdepth >\m@ne
\addpenalty{-\@highpenalty}%
\vskip 1.0em \@plus\p@
@@ -133,27 +227,42 @@ Read documentation toptesi-it-*.pdf, because package pdfx has changed}}
\newif\iftablespage
\newif\ifnumeriromani
\newif\iffrontmatter
-\def\frontmatter{\clearpage\ps@plain\pagenumbering{roman}%
- \numeriromanitrue\frontmattertrue\@openrightfalse\c@secnumdepth=-2}
+\def\frontmatter{\clearpage\ps@plain%
+ \ifTOPnumerazioneromana\numeriromanitrue\fi
+ \frontmattertrue\@openrightfalse\c@secnumdepth=-2\relax
+}
+
\def\mainmatter{\if@twoside\@openrighttrue\fi
- \numeriromanifalse\frontmatterfalse\c@secnumdepth=2
- \clearpage\ps@headings\pagenumbering{arabic}%
- }
-\AtBeginDocument{\frontmatter}
+ \ifTOPnumerazioneromana\numeriromanifalse\fi
+ \frontmatterfalse\c@secnumdepth=2
+ \clearpage\ps@headings
+ \ifTOPnumerazioneromana\pagenumbering{arabic}\fi
+}
+\newcommand\backmatter{\cleardoublepage[empty]%
+\setcounter{secnumdepth}{-1}\if@twoside\@openrightfalse\fi}
+
+\AtBeginDocument{%
+ \ifTOPnumerazioneromana\pagenumbering{roman}\fi\frontmatter
+}
\figurespagefalse
\tablespagefalse
\let\ps@blank\ps@plain
\newcommand*\blankpagestyle[1]{%
\expandafter\let\expandafter\ps@blank\csname ps@#1\endcsname}
-\renewcommand\cleardoublepage[1][blank]{\clearpage\ifodd\value{page}\else
- \if@twoside\if@openright
-\clearpage\null\thispagestyle{#1}\clearpage\fi\fi\fi}
+\renewcommand\cleardoublepage[1][blank]{\clearpage
+\unless\ifodd\value{page}
+ \if@twoside
+ \if@openright
+ \null\thispagestyle{#1}\clearpage
+ \fi\fi\fi}
\def\sommario{%
\iffrontmatter\else\frontmattertrue\fi
\chapter*{\summaryname}}
+\let\summary\sommario
\def\ringraziamenti{%
\iffrontmatter\else\frontmattertrue\fi
\chapter*{\acknowledgename}}
+\let\acknowledgements\ringraziamenti
\def\@chapter[#1]#2{\iffrontmatter\mainmatter\fi
\ifnum \c@secnumdepth >\m@ne
\refstepcounter{chapter}%
@@ -230,10 +339,15 @@ Read documentation toptesi-it-*.pdf, because package pdfx has changed}}
\listoffigures
\let\addvspace=\saveaddvspace}
\fi
-\ifbool{@twoside}{\clearpage\thispagestyle{empty}\null\clearpage}{}}
+\ifbool{@twoside}{\cleardoublepage[empty]}{}}
+\let\allcontents\indici
\onecolumn
\if@twoside
- \flushbottom
+ \unless\ifScuDo
+ \flushbottom
+ \else
+ \raggedbottom
+ \fi
\else
\ifx\@xivpt\f@size
\raggedbottom
@@ -264,7 +378,11 @@ Read documentation toptesi-it-*.pdf, because package pdfx has changed}}
\AtBeginDocument{\@ifpackageloaded{caption}{}{%
\providecommand\captionsetup{}\renewcommand\captionsetup[2][]{}%
+\providecommand\captionof[1]{\def\@captype{#1}\caption}
+\let\originalcaption\caption
\newdimen\captionwidth
+\newdimen\fullwidth
+\if@twocolumn\fullwidth=\columnwidth\else\fullwidth=\textwidth\fi
\belowcaptionskip=\abovecaptionskip
\long\def\@makecaption#1#2{%
\begingroup
@@ -272,9 +390,9 @@ Read documentation toptesi-it-*.pdf, because package pdfx has changed}}
\finalhyphendemerits 100000\relax
\linespread{0.95}\selectfont
\vskip \abovecaptionskip
- \captionwidth=\hsize
- \advance\captionwidth-3em
- \setbox0 \hbox{#1.\quad#2}%
+ \ifdim\hsize<\fullwidth \captionwidth=\hsize\else
+ \captionwidth=\dimexpr\hsize-3em\fi
+ \setbox0 \hbox{\ifblank{#1}{}{#1.\quad}#2}%
\ifdim\wd0>\hsize
\setbox1 \vbox{\hsize=\captionwidth
\unhbox0\par\global\setbox2\lastbox}%
@@ -301,6 +419,126 @@ Read documentation toptesi-it-*.pdf, because package pdfx has changed}}
\endgroup
}}}
+
+\newdimen\SDcaptionwidth
+\newdimen\SDfigurewidth
+\newdimen\SDlinewidth
+\newbox\SDfigbox \setbox\SDfigbox\hbox{}%
+\newbox\SDcapbox \setbox\SDcapbox\hbox{}%
+\newcounter{SDpage}%
+\newcounter{NumberSD} \setcounter{NumberSD}{0}
+\providecommand*\theNumberSD{\value{NumberSD}}
+\newif\ifNumberFloat \NumberFloattrue
+\NewDocumentCommand\captionSD{s O{} m}{% o: optionale fra graffe
+ \IfBooleanTF{#1}%
+ {%
+ \@makecaption{}{#3}%
+ }{%
+ \ifempty{#2}%
+ {%
+ \originalcaption{#3}%
+ }{%
+ \originalcaption[#2]{#3}%
+ }%
+ }%
+}
+
+\DeclareDocumentEnvironment{SDbox}{ G{} s O{0.5} }{%------OPENING
+\NumberFloattrue
+\ifempty{#1}%
+ {\NumberFloatfalse}%
+ {\def\@captype{#1}}%
+\IfBooleanTF{#2}%
+ {\SDlinewidth=\dimexpr\textwidth+0.8\marginparwidth}%
+ {\SDlinewidth=\textwidth}%
+\SDcaptionwidth=#3\SDlinewidth
+\ifdim\SDcaptionwidth<0.3\SDlinewidth
+ \SDcaptionwidth=0.3\SDlinewidth
+\fi
+\ifdim\SDcaptionwidth>0.7\SDlinewidth
+ \SDcaptionwidth=0.7\SDlinewidth
+\fi
+\SDfigurewidth=\dimexpr\SDlinewidth-\SDcaptionwidth\relax
+\SDcaptionwidth=\dimexpr\SDcaptionwidth-\columnsep\relax
+\SDfigurewidth=\dimexpr\SDfigurewidth-\columnsep\relax
+}{%---------------------------------------------------CLOSING
+ {\ifcsdef{r@\@tempSD}%
+ {%
+ \edef\@tempD{r@\@tempSD}%
+ \edef\@tempD{\expandafter\csuse\expandafter{\@tempD}}%
+ \edef\@tempD{\@tempD}%
+ \ifcsdef{ver@hyperref.sty}%
+ {%
+ \edef\@tempD{\noexpand\@secondoffive\@tempD}%
+ }%
+ {%
+ \edef\@tempD{\noexpand\@secondoftwo\@tempD}%
+ }%
+ \edef\@tempD{\@tempD}%
+ \setcounter{SDpage}{\@tempD}%
+ }%
+ {%
+ \setcounter{SDpage}{\thepage}%
+ }%
+ }%
+\ifbool{@twoside}%
+ {%
+ \ifnumodd{\value{SDpage}}%
+ {%
+ \makebox[\textwidth][l]{\makebox[\SDlinewidth]{%
+ \usebox{\SDfigbox}\hfill\usebox{\SDcapbox}}}%
+ }{%
+ \makebox[\textwidth][r]{\makebox[\SDlinewidth]{%
+ \usebox{\SDcapbox}\hfill\usebox{\SDfigbox}}}%
+ }%
+ }{%
+ \makebox[\textwidth][l]{\makebox[\SDlinewidth]{%
+ \usebox{\SDfigbox}\hfill\usebox{\SDcapbox}}}%
+ }
+}
+\NewDocumentCommand\SDcaption{ O{} m G{} }{%
+ \notbool{NumberFloat}%
+ {%
+ \stepcounter{NumberSD}%
+ \edef\@tempSD{SD\the\c@NumberSD}%
+ \begin{lrbox}{\SDcapbox}%
+ \parbox[t]{\SDcaptionwidth}%
+ {%
+ \captionSD*{#2}\relax
+ \expandafter\label\expandafter{\@tempSD}%
+ }%
+ \end{lrbox}%
+ }%
+ {%
+ \ifempty{#3}%
+ {%
+ \NumberFloatfalse
+ \stepcounter{NumberSD}%
+ \edef\@tempSD{SD\the\c@NumberSD}%
+ \begin{lrbox}{\SDcapbox}%
+ \parbox[t]{\SDcaptionwidth}%
+ {%
+ \captionSD*{#2}\relax
+ \expandafter\label\expandafter{\@tempSD}%
+ }%
+ \end{lrbox}%
+ }{%
+ \begin{lrbox}{\SDcapbox}%
+ \parbox[t]{\SDcaptionwidth}%
+ {%
+ \captionSD[#1]{#2}\label{#3}\gdef\@tempSD{#3}%
+ }%
+ \end{lrbox}%
+ }%
+ }%
+}
+\newcommand\SDimage[1]{%
+ \setbox0\hbox{M}\dimen0\ht0\relax
+ \begin{lrbox}{\SDfigbox}\parbox[t]{\SDfigurewidth}{#1}\end{lrbox}%
+ \dimen2\dimexpr\ht\SDfigbox+\dimen0\relax
+ \setbox\SDfigbox\hbox{\raisebox{-\dimen2}{\box\SDfigbox}}%
+}
+\let\SDtabular\SDimage
\newcommand\goodpagebreak[1][4]{\ifvmode
\unless\ifdim\dimexpr\pagegoal-\pagetotal>#1\baselineskip\newpage\fi
\else\ifhmode\vadjust{\newpage}\fi\fi}
@@ -351,7 +589,8 @@ Read documentation toptesi-it-*.pdf, because package pdfx has changed}}
\providecommand*\acknowledgename{}
\newcommand*\ExtendCaptions[3]{{%
\@ifundefined{captions#1}{%
-\PackageWarning{toptesi}{Language option #1 not specified\MessageBreak
+\PackageWarning{toptesi}{%
+Language option #1 not specified\MessageBreak
Skipping any redefinition\MessageBreak}%
}{%
\expandafter\let\expandafter\@tempA\csname captions#1\endcsname
@@ -370,9 +609,9 @@ Skipping any redefinition\MessageBreak}%
\renewcommand\@chapapp{\chaptername}%
}
\AtBeginDocument{%
-\unless\ifT@Pfrontespizio
+\unless\ifT@Pfrontespizio\ifTOPfront
\RequirePackage{topfront}
- \fi
+ \fi\fi
\RequirePackage{topcoman}%
}
\ifPDFTeX
@@ -418,7 +657,7 @@ Skipping any redefinition\MessageBreak}%
\def\@evenhead{%
\setbox\@intesta\hbox{\ifPDFTeX\latintext\fi
\footnotesize\strut\textsc{%
- \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle}%
+ \@@author\ifcsvoid{@secondauthor}{\ et al.}: \@stitle}%
}%
\ifdim\wd\@intesta>\textwidth\headwrn{\titolo}\fi
\underline{\makebox[\textwidth]{\box\@intesta}}}%
@@ -433,20 +672,24 @@ Skipping any redefinition\MessageBreak}%
\renewcommand*{\ps@headings}{\let\@mkboth\markboth
\def\@oddfoot{\null \hfill \textbf{\lapagina}\hfill \null}%
\let\@evenfoot\empty\let\@evenhead\empty
- \def\@oddhead{{\setbox\z@\hbox{\ifPDFTeX\latintext\fi\footnotesize
- \textsc{%
- \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle}}%
- \setbox\tw@\hbox{\ifPDFTeX\latintext\fi\footnotesize\textsl{\rightmark}}%
+ \def\@oddhead{{\setbox\z@\hbox{\ifPDFTeX\latintext\fi
+ \footnotesize\textsc{%
+ \@@author\ifcsvoid{@secondauthor}{}{\ et al.}: \@stitle}}%
+ \setbox\tw@\hbox{\ifPDFTeX\latintext\fi
+ \footnotesize\textsl{\rightmark}}%
\dimen@=\dimexpr2em + \wd\z@ + \wd\tw@\relax
\ifdim\dimen@<\textwidth \relax
\else
- \setbox\z@\vbox{\hsize.48\textwidth\parindent\z@\raggedright
+ \setbox\z@\vbox{\hsize.48\textwidth\parindent\z@
+ \raggedright
\ifPDFTeX\latintext\fi\footnotesize\textsc{%
- \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle
+ \@@author\ifcsvoid{@secondauthor}{}{\ et al.}: \@stitle
}}%
- \setbox\tw@\vbox{\hsize.48\textwidth\parindent\z@\raggedleft
- \ifPDFTeX\latintext\fi\footnotesize\textsl{\rightmark}}%
- \fi
+ \setbox\tw@\vbox{\hsize.48\textwidth\parindent\z@
+ \raggedleft
+ \ifPDFTeX\latintext\fi\footnotesize
+ \textsl{\rightmark}}%
+ \fi
\setbox\@intesta\vbox to\z@{%
\vss\hbox to\textwidth{\strut\box\z@\hfill\box\tw@}}%
\underline{\box\@intesta}}}%
@@ -464,6 +707,7 @@ Skipping any redefinition\MessageBreak}%
}
\newcommand*{\NoteWhiteLine}{\par\vspace*{-.3\baselineskip}}
\newcommand*\paginavuota{\clearpage\thispagestyle{empty}\null\clearpage}
+\let\emptypage\paginavuota
\newenvironment{dedica}{\clearpage
\if@twoside
\ifodd\c@page\else\thispagestyle{empty}\null\clearpage\fi
@@ -476,6 +720,7 @@ Skipping any redefinition\MessageBreak}%
}{%
\endlist\clearpage
}
+\let\dedication\dedica \let\enddedication\enddedica
\newenvironment{citazioni}{%
\clearpage\thispagestyle{empty}
\list{}{\labelwidth\z@
@@ -485,8 +730,9 @@ Skipping any redefinition\MessageBreak}%
}{%
\endlist\clearpage
}
+\let\wittysentences\citazioni \let\endwittysentences\endcitazioni
%%
-%% Copyright 2005-2016 Claudio Beccari
+%% Copyright 2005-2017 Claudio Beccari
%%
%% Distributable under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -495,14 +741,14 @@ Skipping any redefinition\MessageBreak}%
%% This work is "author-maintained"
%%
%% This work consists of this file toptesi.dtx, a README file
-%% and the derived files:
-%%
-%% toptesi.cls, toptesi.sty, topfront.sty, topcoman.sty,
-%% toptesi.cfg, and the English documentation toptesi.pdf.
+%% the manifest.txt file, and the derived files:
+%% toptesi.cls, toptesi.sty, topfront.sty, topcommand.sty,
+%% toptesi-scudo.sty, toptesi-scudo.def, toptesi.cfg, and the
+%% English documentation toptesi.pdf.
%%
%% Furthermore the bundle contains the documentation source
-%% file toptesi-it-pdftex.tex and the derived file
-%% toptesi-it-pdftex.pdf.
+%% file toptesi-it.tex and the derived file
+%% toptesi-it.pdf.
%%
%% The toptesi-example.tex source file is just an example
%% that shows how to use the various commands; by commenting
@@ -513,18 +759,26 @@ Skipping any redefinition\MessageBreak}%
%% to produce just the title page with TOPtesi and the external
%% package frontespizio.
%%
+%% The toptesi-scudo-example.tex source file is an example
+%% that shows the particular features available with TOPtesi,
+%% when a doctoral thesis is produced for the SCUola di
+%% DOttorato (ScuDo) of Politecnico di Torino.
+%%
%% The toptesi.cfg file is a sample of a local configuration
%% file that can be copied to another file and its copy freely
-%% edited and customized.
+%% edited and customised.
%%
%% By running pdflatex on toptesi.dtx the user gets the class,
-%% sty and cfg files and the English documentation file in
-%% pdf format.
+%% sty, def and cfg files and the English documentation file in
+%% PDF format.
%%
%% The source file of the Italian documentation file
-%% toptesi-it-pdftex.pdf is another example of how to use TOPtesi.
-%% In spite of its name, toptesi-it-pdftex.tex may be typeset
-%% with pdfLaTeX, XeLaTeX, and LuaLateX; see the first comment
-%% lines of the file for how-to information.
+%% toptesi-it.pdf is another example of how to use TOPtesi.
+%% This file toptesi-it.tex may be typeset with pdfLaTeX,
+%% XeLaTeX, and LuaLateX; see the first comment lines of
+%% the file for how-to information. In spite of being mainly
+%% written in Italian, it contains several sections in English
+%% for the benefit of foreign students attending the Doctoral
+%% School of Turin.
%%
%% End of file `toptesi.sty'.