From e8e9822f1b933fc2a88b18e1a07c6a8b8d338d67 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 25 Jun 2006 18:39:55 +0000 Subject: new package toptesi for european theses git-svn-id: svn://tug.org/texlive/trunk@1724 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/toptesi/size14.clo | 202 +++++++++++ Master/texmf-dist/tex/latex/toptesi/topcoman.sty | 97 ++++++ Master/texmf-dist/tex/latex/toptesi/topfront.sty | 406 +++++++++++++++++++++++ Master/texmf-dist/tex/latex/toptesi/topsiz14.clo | 202 +++++++++++ Master/texmf-dist/tex/latex/toptesi/toptesi.cfg | 60 ++++ Master/texmf-dist/tex/latex/toptesi/toptesi.cls | 48 +++ Master/texmf-dist/tex/latex/toptesi/toptesi.sty | 334 +++++++++++++++++++ Master/texmf-dist/tex/latex/toptesi/trieste.sty | 154 +++++++++ 8 files changed, 1503 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/toptesi/size14.clo create mode 100644 Master/texmf-dist/tex/latex/toptesi/topcoman.sty create mode 100644 Master/texmf-dist/tex/latex/toptesi/topfront.sty create mode 100644 Master/texmf-dist/tex/latex/toptesi/topsiz14.clo create mode 100644 Master/texmf-dist/tex/latex/toptesi/toptesi.cfg create mode 100644 Master/texmf-dist/tex/latex/toptesi/toptesi.cls create mode 100644 Master/texmf-dist/tex/latex/toptesi/toptesi.sty create mode 100644 Master/texmf-dist/tex/latex/toptesi/trieste.sty (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/toptesi/size14.clo b/Master/texmf-dist/tex/latex/toptesi/size14.clo new file mode 100644 index 00000000000..1727aa9be26 --- /dev/null +++ b/Master/texmf-dist/tex/latex/toptesi/size14.clo @@ -0,0 +1,202 @@ +%% +%% This is file `size14.clo', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% toptesi.dtx (with options: `top14') +%% +%% Copyright 1989--2005 Claudio Beccari All rights reserved. +%% +%% This system is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +%% +%% +%% IMPORTANT NOTICE: +%% +%% This file is subject to the LPPL licence, version 1.3 or any subsequent +%% version. Copy of the LaTeX Project Public Licence is downloadable from +%% any CTAN archive. +%% +%% +%% \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 +%% Lower-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 +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTexFormat{LaTeX2e} +\ProvidesFile{size14.clo}% + [2005/12/08 v.4.00.00 TopTesi size-option file] +\renewcommand\normalsize{% + \@setfontsize\normalsize\@xivpt{18}% + \abovedisplayskip 14\p@ \@plus3\p@ \@minus7\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 8.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI} +\normalsize +\renewcommand\small{% + \@setfontsize\small\@xiipt{14}% + \abovedisplayskip 13\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 7.5\p@ \@plus3.5\p@ \@minus3\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 9\p@ \@plus3\p@ \@minus5\p@ + \parsep 4.5\p@ \@plus2\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip +} +\renewcommand\footnotesize{% + \@setfontsize\footnotesize\@xipt{13} + \abovedisplayskip 12\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 7\p@ \@plus3\p@ \@minus3\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 6\p@ \@plus2\p@ \@minus2\p@ + \parsep 3\p@ \@plus2\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip +} +\renewcommand\scriptsize{\@setfontsize\scriptsize\@xpt{12}} +\renewcommand\tiny{\@setfontsize\tiny\@viiipt\@xpt} +\renewcommand\large{\@setfontsize\large\@xviipt{22}} +\renewcommand\Large{\@setfontsize\Large\@xxpt{25}} +\renewcommand\LARGE{\@setfontsize\LARGE\@xxvpt{30}} +\renewcommand\huge{\@setfontsize\huge\@xxvpt{30}} +\let\Huge=\huge +\if@twocolumn + \setlength\parindent{1em} +\else + \setlength\parindent{1.5em} +\fi +\setlength\smallskipamount{3.5\p@ \@plus 1\p@ \@minus 1\p@} +\setlength\medskipamount{7\p@ \@plus 2\p@ \@minus 2\p@} +\setlength\bigskipamount{14\p@ \@plus 4\p@ \@minus 4\p@} +\setlength\headheight{14\p@} +\setlength\headsep {36\p@} +\setlength\topskip {14\p@} +\setlength\footskip{30\p@} +\if@compatibility \setlength\maxdepth{4\p@} \else +\setlength\maxdepth{.5\topskip} \fi + \setlength\@tempdima{\paperwidth} + \addtolength\@tempdima{-2in} + \setlength\@tempdimb{390\p@} + \if@twocolumn + \ifdim\@tempdima>2\@tempdimb\relax + \setlength\textwidth{2\@tempdimb} + \else + \setlength\textwidth{\@tempdima} + \fi + \else + \ifdim\@tempdima>\@tempdimb\relax + \setlength\textwidth{\@tempdimb} + \else + \setlength\textwidth{\@tempdima} + \fi + \fi + \@settopoint\textwidth + \setlength\@tempdima{\paperheight} + \addtolength\@tempdima{-2in} + \addtolength\@tempdima{-1.5in} + \divide\@tempdima\baselineskip + \@tempcnta=\@tempdima + \setlength\textheight{\@tempcnta\baselineskip} +\addtolength\textheight{\topskip} +\if@twocolumn + \setlength\marginparsep{10\p@} +\else + \setlength\marginparsep{10\p@} +\fi +\setlength\marginparpush{7\p@} + \if@twoside + \setlength\@tempdima {\paperwidth} + \addtolength\@tempdima {-\textwidth} + \setlength\oddsidemargin {.4\@tempdima} + \addtolength\oddsidemargin {-1in} + \setlength\marginparwidth {.6\@tempdima} + \addtolength\marginparwidth {-\marginparsep} + \addtolength\marginparwidth {-0.4in} + \else + \setlength\@tempdima {\paperwidth} + \addtolength\@tempdima {-\textwidth} + \setlength\oddsidemargin {.5\@tempdima} + \addtolength\oddsidemargin {-1in} + \setlength\marginparwidth {.5\@tempdima} + \addtolength\marginparwidth {-\marginparsep} + \addtolength\marginparwidth {-0.4in} + \addtolength\marginparwidth {-.4in} + \fi + \ifdim \marginparwidth >2in + \setlength\marginparwidth{2in} + \fi + \@settopoint\oddsidemargin + \@settopoint\marginparwidth + \setlength\evensidemargin {\paperwidth} + \addtolength\evensidemargin{-2in} + \addtolength\evensidemargin{-\textwidth} + \addtolength\evensidemargin{-\oddsidemargin} + \@settopoint\evensidemargin + \setlength\topmargin{\paperheight} + \addtolength\topmargin{-2in} + \addtolength\topmargin{-\headheight} + \addtolength\topmargin{-\headsep} + \addtolength\topmargin{-\textheight} + \addtolength\topmargin{-\footskip} % this might be wrong! + \addtolength\topmargin{-.5\topmargin} + \@settopoint\topmargin +\setlength\footnotesep{10.4\p@} +\setlength{\skip\footins}{13\p@ \@plus 4\p@ \@minus 2\p@} +\setlength\floatsep {14\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\intextsep {16\p@ \@plus 4\p@ \@minus 4\p@} +\setlength\dblfloatsep {16\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\@fptop{0\p@ \@plus 1fil} +\setlength\@fpsep{10\p@ \@plus 2fil} +\setlength\@fpbot{0\p@ \@plus 1fil} +\setlength\@dblfptop{0\p@ \@plus 1fil} +\setlength\@dblfpsep{10\p@ \@plus 2fil} +\setlength\@dblfpbot{0\p@ \@plus 1fil} +\setlength\partopsep{3\p@ \@plus 2\p@ \@minus 2\p@} +\def\@listi{\leftmargin\leftmargini + \parsep 5\p@ \@plus2.5\p@ \@minus\p@ + \topsep 10\p@ \@plus4\p@ \@minus6\p@ + \itemsep5\p@ \@plus2.5\p@ \@minus\p@} +\let\@listI\@listi +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep 5\p@ \@plus2.5\p@ \@minus\p@ + \parsep 2.5\p@ \@plus\p@ \@minus\p@ + \itemsep \parsep} +\def\@listiii{\leftmargin\leftmarginiii + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep 2.5\p@\@plus\p@\@minus\p@ + \parsep \z@ + \partopsep \p@ \@plus\z@ \@minus\p@ + \itemsep \topsep} +\def\@listiv {\leftmargin\leftmarginiv + \labelwidth\leftmarginiv + \advance\labelwidth-\labelsep} +\def\@listv {\leftmargin\leftmarginv + \labelwidth\leftmarginv + \advance\labelwidth-\labelsep} +\def\@listvi {\leftmargin\leftmarginvi + \labelwidth\leftmarginvi + \advance\labelwidth-\labelsep} +\endinput +%% +%% End of file `size14.clo'. diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty new file mode 100644 index 00000000000..ffcec630072 --- /dev/null +++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty @@ -0,0 +1,97 @@ +%% +%% This is file `topcoman.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% toptesi.dtx (with options: `topcmn') +%% +%% Copyright 1989--2005 Claudio Beccari All rights reserved. +%% +%% This system is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +%% +%% +%% IMPORTANT NOTICE: +%% +%% This file is subject to the LPPL licence, version 1.3 or any subsequent +%% version. Copy of the LaTeX Project Public Licence is downloadable from +%% any CTAN archive. +%% +%% +%% \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 +%% Lower-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 +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e} % lavora solo con LaTeX 2e +\ProvidesPackage{topcoman}% + [2005/12/08 v.4.00.00 Additional commands for the TOPtesi bundle] +\newcommand*\DeclareSlantedCapitalGreekLetters{% + \mathchardef\Gamma="7100 + \mathchardef\Delta="7101 + \mathchardef\Theta="7102 + \mathchardef\Lambda="7103 + \mathchardef\Xi="7104 + \mathchardef\Pi="7105 + \mathchardef\Sigma="7106 + \mathchardef\Upsilon="7107 + \mathchardef\Phi="7108 + \mathchardef\Psi="7109 + \mathchardef\Omega="710A +} +\providecommand{\ensuremath}[1]{\ifmmode#1\else$#1$\fi}% +\providecommand{\ohm}{\ensuremath{{\mathrm{\Omega}}}} +\providecommand{\ped}[1]{\ensuremath{_{\mathrm{#1}}}} +\providecommand{\ap}[1]{\ensuremath{^{\mathrm{#1}}}} +\providecommand{\unit}[1]{\ensuremath{{\mathrm{\,#1}}}} +\providecommand{\gei}{\ensuremath{{\mathop{\mathrm{j}}\nolimits}}} +\providecommand{\eu}{\ensuremath{{\mathop{\mathrm{e}}\nolimits}}} +\providecommand{\micro}{\ensuremath{\ifx\muup\undefined\mu\else\muup\fi}} +\providecommand{\gradi}{\ensuremath{^\circ}} +\def\listing#1{\par\begingroup +\programma \input #1 \endgroup} +\def\uncatcodespecials{\def\do##1{\catcode`##1=12}\dospecials} +\def\programma{\footnotesize\tt \parindent 0pt +\def\par{\leavevmode\egroup\box0\endgraf} +\catcode`\`=\active \catcode`\^^I=\active \catcode`\^^L=\active +\obeylines \uncatcodespecials \obeyspaces +\everypar{\startbox}} +\newdimen\tabwidth \setbox0=\hbox{\footnotesize\tt\space} \tabwidth=8\wd0 +\def\startbox{\setbox0=\hbox\bgroup} +{\obeyspaces\global\let =\ } +{\catcode`\`=\active \gdef`{\relax\lq}} +{\catcode`\^^I=\active +\gdef^^I{\leavevmode\egroup \dimen0=\wd0 +\divide\dimen0 by\tabwidth +\multiply\dimen0 by\tabwidth +\advance\dimen0 by\tabwidth +\wd0=\dimen0 \box0 \startbox}} +{\catcode`\^^L=\active \gdef^^L{\par\penalty-10000}} +\mathcode`\,="013B +\catcode`\^^Z=10 +\gdef\@roman#1{\protect\ensuremath{\scriptstyle + \mathrm{\uppercase\expandafter{\romannumeral #1}}}}% +\def\ft@figure{\iflanguage{italian}{\MakeLowercase{\figurename}}% + {\figurename}~} +\def\ft@table{\iflanguage{italian}{\MakeLowercase{\tablename}}% + {\tablename}~} +\newcommand*\EnableFigTabNames{% + \let\p@figure\ft@figure\let\p@table\ft@table} +\newcommand*\DisableFigTabNames{% + \let\p@figure\empty\let\p@table\empty} +\DisableFigTabNames +\endinput +%% +%% End of file `topcoman.sty'. diff --git a/Master/texmf-dist/tex/latex/toptesi/topfront.sty b/Master/texmf-dist/tex/latex/toptesi/topfront.sty new file mode 100644 index 00000000000..1b528b978f1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/toptesi/topfront.sty @@ -0,0 +1,406 @@ +%% +%% This is file `topfront.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% toptesi.dtx (with options: `topfrn') +%% +%% Copyright 1989--2005 Claudio Beccari All rights reserved. +%% +%% This system is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +%% +%% +%% IMPORTANT NOTICE: +%% +%% This file is subject to the LPPL licence, version 1.3 or any subsequent +%% version. Copy of the LaTeX Project Public Licence is downloadable from +%% any CTAN archive. +%% +%% +%% \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 +%% Lower-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 +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{topfront}[2006/04/04 v.4.00.02 Title page for TOPtesi] +\newif\iffemminile +\newif\ifdottorato \dottoratofalse +\newif\iflaureatriennale \laureatriennalefalse +\def\monografia#1{\global\laureatriennaletrue + \global\dottoratofalse + \global\def\titolo##1{\PackageWarning{toptesi}% + {Il titolo e' gia' stato impostato con + il comando \string\monografia}}% + \gdef\@title{#1}} +\let\@stitle\empty +\newcommand*{\titolo}[2][]{{\def\@tempA{#1}% + \ifx\@tempA\empty\gdef\@stitle{#2}\else\gdef\@stitle{#1}\fi + \gdef\@title{#2}}} +\def\sottotitolo#1{\gdef\@subtitle{#1}} +\let\@materia\empty +\def\Materia#1{\def\@materia{#1}}\let\materia\Materia +\newif\ifDirettore \Direttorefalse +\def\tutore#1{\gdef\@tutore{#1}} +\def\direttore{\Direttoretrue\relatore}% +\def\coordinatore{\Direttorefalse\relatore}% +\def\QualificaDirettore#1{\gdef\@PhDdirector{#1}} +\def\relatore#1{\gdef\@principaladviser{#1}} +\def\secondorelatore#1{\gdef\@secondadviser{#1}} +\def\terzorelatore#1{\gdef\@thirdadviser{#1}} +\def\candidato#1{\gdef\@author{#1}\femminilefalse} +\def\candidata#1{\gdef\@author{#1}\femminiletrue} +\def\secondocandidato#1{\gdef\@secondauthor{#1}\femminilefalse} +\def\secondacandidata#1{\gdef\@secondauthor{#1}} +\def\terzocandidato#1{\gdef\@thirdauthor{#1}\femminilefalse} +\def\terzacandidata#1{\gdef\@thirdauthor{#1}} +\def\sedutadilaurea#1{\getseduta#1 !} +\def\getseduta#1 #2!{% + \def\@tempA{#2}% + \ifx\@tempA\empty + \def\@submitdate{#1}% + \else + \expandafter + \ifx\csname StileTrieste\endcsname\relax + \def\@submitdate{#1 #2}% + \else + \s@dutaTrieste#1 #2!% + \fi + \fi +}% +\def\s@dutaTrieste#1 #2!{% + \if@ldstyle + \s@paranumeri#2-!% + \ifx\2\empty + \edef\@submitdate{\noexpand#1 \noexpand\oldstylenums{#2}}% + \else + \s@paranumeri#2!% + \edef\@submitdate{\noexpand#1 + \noexpand\oldstylenums{\1} -- \noexpand\oldstylenums{\2}}% + \fi + \let\1\undefined + \let\2\undefined + \else + \def\@submitdate{#1 #2}% + \fi +} +\def\s@paranumeri#1-#2!{\def\1{#1}\def\2{#2}}% +\let\esamedidottorato\sedutadilaurea +\def\ciclodidottorato#1{\gdef\@ciclo{#1 \@cyclename}}% +\def\corsodilaurea#1{\global\dottoratofalse\gdef\@corso{#1}} +\def\corsodidottorato#1{\global\dottoratotrue\global\laureatriennalefalse + \gdef\@corso{#1}} +\def\scuoladidottorato#1{\global\dottoratotrue\global\laureatriennalefalse + \gdef\@phdschool{#1}} +\def\ateneo#1{\gdef\@ateneo{\expandafter\uppercase{\expandafter #1}}} +\def\nomeateneo#1{\gdef\@nomeat{\expandafter\uppercase{\expandafter #1}}} +\newcommand\facolta[2][]{\gdef\@facname{#2}\gdef\@facnumber{#1}} +\def\logosede#1{\edef\@logosede{\noexpand\includegraphics[width=3cm]{#1}}} +\def\tutoreaziendale#1{\gdef\@tutoreaziendale{#1}} +\newcommand\FacoltaDi[1]{\gdef\@faculty{#1}} +\newcommand\DottoratoIn[1]{\gdef\@PhDname{#1}} +\newcommand\CorsoDiLaureaIn[1]{\gdef\@laureaname{#1}} +\newcommand\TesiDiLaurea[1]{\gdef\@TesiDiLaurea{#1}} +\newcommand\NomeMonografia[1]{\gdef\@monografia{#1}} +\newcommand\NomeDissertazione[1]{\gdef\@dissertazione{#1}} +\newcommand\InName[1]{\gdef\@InName{#1}} +\newcommand\CandidateName[1]{\gdef\@nomecandidato{#1}} +\newcommand\AdvisorName[1]{\gdef\@nomerelatore{#1}} +\newcommand\CoAdvisorName[1]{\gdef\Correlatore{#1}\gdef\Correlatori{#1}} +\newcommand\TutorName[1]{\gdef\Tutore{#1}} +\newcommand\NomeTutoreAziendale[1]{\gdef\@tutoreaziendalename{#1}} +\newcommand\CycleName[1]{\gdef\@cyclename{#1}} +\newcommand\NomePrimoTomo[1]{\gdef\PrimoTomo{#1}} +\newcommand\NomeSecondoTomo[1]{\gdef\SecondoTomo{#1}} +\newcommand\NomeTerzoTomo[1]{\gdef\TerzoTomo{#1}} +\newcommand\NomeQuartoTomo[1]{\gdef\QuartoTomo{#1}} +\IfFileExists{toptesi.cfg}{\input{toptesi.cfg}}{} +\@ifundefined{@cyclename}{\def\@cyclename{ciclo}}{} +\@ifundefined{@title}{\def\@title{}}{} +\@ifundefined{@author}{\def\@author{}}{} +\@ifundefined{@principaladviser}{\def\@principaladviser{}}{} +\@ifundefined{@secondadviser}{\def\@secondadviser{}}{} +\@ifundefined{@thirdadviser}{\def\@thirdadviser{}}{} +\@ifundefined{@PhDdirector}{% + \edef\@PhDdirector{\ifDirettore Direttore \else Coordinatore \fi + del corso di dottorato}}{} +\@ifundefined{@tutore}{\def\@tutore{}}{} +\@ifundefined{@secondauthor}{\def\@secondauthor{}}{} +\@ifundefined{@thirdauthor}{\def\@thirdauthor{}}{} +\@ifundefined{@nomerelatore}{\def\@nomerelatore{}}{} +\@ifundefined{@nomecandidato}{\def\@nomecandidato{}}{} +\@ifundefined{Candidato}{\def\Candidato{Candidato}}{} +\@ifundefined{Candidata}{\def\Candidata{Candidata}}{} +\@ifundefined{Candidati}{\def\Candidati{Candidati}}{} +\@ifundefined{Candidate}{\def\Candidate{Candidate}}{} +\@ifundefined{Relatore}{\def\Relatore{Relatore}}{} +\@ifundefined{Relatori}{\def\Relatori{Relatori}}{} +\@ifundefined{Correlatore}{\def\Correlatore{Correlatore}}{} +\@ifundefined{Correlatori}{\def\Correlatori{Correlatori}}{} +\@ifundefined{Tutore}{\def\Tutore{Tutore}}{} +\@ifundefined{@tutoreaziendale}{\def\@tutoreaziendale{}}{} +\@ifundefined{@tutoreaziendalename}% + {\def\@tutoreaziendalename{Supervisore Aziendale}}{} +\@ifundefined{@subtitle}{\def\@subtitle{}}{} +\@ifundefined{@corso}{\def\@corso{}}{} +\@ifundefined{@ciclo}{\def\@ciclo{}}{} +\@ifundefined{@ateneo}{\def\@ateneo{POLITECNICO DI TORINO}}{} +\@ifundefined{@nomeat}{\def\@nomeat{}}{}% Nome proprio dell'ateneo +\@ifundefined{@facolta}{\def\@facname{Ingegneria}}{} +\@ifundefined{@facnumber}{\def\@facnumber{}}{} +\@ifundefined{@faculty}{\def\@faculty{Facolt\`a di}}{} +\@ifundefined{PrimoTomo}{\def\PrimoTomo{Tomo primo}}{} +\@ifundefined{SecondoTomo}{\def\SecondoTomo{Tomo secondo}}{} +\@ifundefined{TerzoTomo}{\def\TerzoTomo{Tomo terzo}}{} +\@ifundefined{QuartoTomo}{\def\QuartoTomo{Tomo quarto}}{} +\@ifundefined{@submitdate}{\def\@submitdate{\ifcase\the\month\or% + Gennaio\or Febbraio\or Marzo\or Aprile\or Maggio\or Giugno\or + Luglio\or Agosto\or Settembre\or Ottobre\or Novembre\or Dicembre\fi + \space \the\year}}{} +\@ifundefined{@logosede}{\let\@logosede\relax}{} +\@ifundefined{@TesiDiLaurea}{\def\@TesiDiLaurea{Tesi di Laurea}}{} +\@ifundefined{@phdschool}{\def\@phdschool{SCUOLA DI DOTTORATO}}{} +\@ifundefined{@PhDname}{\def\@PhDname{Dottorato in}}{} +\@ifundefined{@laureaname}{\def\@laureaname{Corso di Laurea in }}{} +\@ifundefined{@dissertazione}{\def\@dissertazione{Tesi di Dottorato}}{} +\@ifundefined{@monografia}{\def\@monografia{Monografia di Laurea}}{} +\@ifundefined{@InName}{\def\@InName{in}}{} +\def\frontespizio{% +\begingroup + \def\ps@myheadings{\let\@mkboth\markboth + \def\@oddhead{\vbox{% + \hbox to \hsize{\hfill {\LARGE \@ateneo}\hfill}% + \expandafter + \ifx\csname StileTrieste\endcsname\relax + \else + \hbox to \hsize{\hfil\vrule\@width\z@ + \@height3.5ex\vrule\@height1.4\p@\@depth-\p@\@width50mm\hfil}% + \fi + }}% + \def\@oddfoot{\vbox to 15mm{\vss + \expandafter + \ifx\csname StileTrieste\endcsname\relax + \else + \hbox to \hsize{\hfil\raisebox{-.3ex}[\z@][\z@]{% + \vrule\@height-2.6\p@\@depth3\p@\@width50mm}\hfil}% + \fi + \hbox to\hsize{\hfill{\Large{\@submitdate}}\hfill}}% + }% + \let\@evenhead\@oddhead + \let\@evenfoot\@oddfoot + }% + \advance\oddsidemargin \evensidemargin + \divide\oddsidemargin \tw@ + \evensidemargin \oddsidemargin + \thispagestyle{myheadings}% + \null\setcounter{page}{0}% + \normalfont + \ifx\@nomeat\empty \else + {\vspace*{-3\topskip}\centering + \expandafter{\Large \@nomeat}\par}\vfill + \fi + \begin{center} + {\rmfamily\mdseries + \ifdottorato + \large \@phdschool + \else + \LARGE\ifx\@facnumber\empty\else\@facnumber\space\fi + \@faculty\space\expandafter{\@facname}% + \fi + \par}% + \ifx\@corso\empty \else{\large + \ifdottorato + {\@PhDname\@corso\ifx\@ciclo\empty\else~--~\@ciclo\fi}% + \else + {\@laureaname\@corso}% + \fi + \par} + \fi + \end{center} + \vfill + \begin{center} + \LARGE + \ifdottorato + \@dissertazione% + \else + \iflaureatriennale + \@monografia% + \else + \@TesiDiLaurea% + \fi + \fi + \ifx\empty\@materia\else + \\\@InName\\\@materia + \fi + \end{center} + \vfill + \begin{center} + {\huge\bfseries \baselineskip=0.95em plus 1pt + \expandafter{\@title \par}} + \end{center} + \ifx\@subtitle\empty \else + \begin{center}% + \large\textrm{\expandafter{\@subtitle}}\par + \end{center}% + \fi + \expandafter + \ifx\csname StileTrieste\endcsname\relax + \else + \expandafter + \ifnum\value{tomo}>\z@ + \par\bigskip + \noindent\makebox[\textwidth]{% + \large\textbf{% + \ifcase\c@tomo% + \or \PrimoTomo% + \or \SecondoTomo% + \or \TerzoTomo% + \or \QuartoTomo% + \else + \PackageWarning{toptesi}{% + Counter tomo equals \the\c@tomo\MessageBreak + It was not considered a thesis might get + divided in more than four volumes}% + \fi}}% + \fi + \fi + \par + \ifx\@logosede\@empty\else + \vspace*{\bigskipamount} + {\centering \@logosede\par}\fi + \vfill + \iflaureatriennale + \let\@nomerelatore\empty + \else + \ifdottorato + \edef\@nomerelatore{\@PhDdirector}% + \else + \ifx\@principaladviser\empty\else + \def\@nomerelatore{\Relatore:}% + \fi + \@ifundefined{StileTrieste}% + {\ifx\@secondadviser\empty \else + \def\@nomerelatore{\Relatori:}% + \fi}{}% + \fi + \fi + \ifdottorato + \let\@nomecandidato\empty + \else + \iflanguage{italian}{% + \iffemminile + \def\@nomecandidato{\Candidata:}% + \else + \def\@nomecandidato{\Candidato:}% + \fi + \ifx\@secondauthor\empty \else + \iffemminile + \def\@nomecandidato{\Candidate:}% + \else + \def\@nomecandidato{\Candidati:}% + \fi + \fi}{} + \fi + \iflaureatriennale + \begin{center}% + \large\mdseries\textsc{\@author} + \end{center}% + \else + \def\BoxRelatori{% + \begin{tabular}[t]{l}% + \hbox{{\@ifundefined{StileTrieste}{\large}{}% + \textbf{\protect\@nomerelatore}}}\\[.6ex] + \hbox{{\large\textrm{\protect\@principaladviser}}}% + \ifx\@secondadviser\empty \else + \@ifundefined{StileTrieste}{}{% + \ifx\@thirdadviser\empty + \ifx\@secondadviser\empty\else + \\[1.5ex]\textbf{\Correlatore:}% + \fi + \else + \\[1.5ex]\textbf{\Correlatori:}% + \fi} + \\[.6ex]\hbox{{\large\textrm{\protect\@secondadviser}}}% + \fi + \ifx\@thirdadviser\empty \else + \\[.6ex] \hbox{{\large\textrm{\protect\@thirdadviser}}}% + \fi + \end{tabular}% + }% + \def\BoxCandidati{% + \begin{tabular}[t]{l}% + \hbox{{\expandafter + \@ifundefined{StileTrieste}{\large}{}% + \textbf{\protect\@nomecandidato}}}\\[.6ex] + \hbox{{\large\textrm{\protect\@author}}}% + \ifx\@secondauthor\empty + \else + \\\hbox{{\large\textrm{\protect\@secondauthor}}}% + \fi + \ifx\@thirdauthor\empty + \else + \\\hbox{{\large\textrm{\protect\@thirdauthor}}}% + \fi + \end{tabular}% + }% + \ifdottorato + \begin{center}\large + \textbf{\@author}\\[3em] + {\normalsize + \begin {tabular*}{\hsize}{@{\extracolsep{\fill}}ccc} + \ifx\@tutore\empty\else + \textbf{\Tutore} + \fi + &\relax& + \ifx\@principaladviser\empty\else + \textbf{\@nomerelatore} + \fi + \\ + \ifx\@tutore\empty\else + \@tutore + \fi + &\relax& + \ifx\@principaladviser\empty\else + \@principaladviser + \fi + \end{tabular*} + }% + \end{center} + \else + \expandafter + \@ifundefined{StileTrieste}{% + \begin{flushleft}% + \BoxRelatori + \end{flushleft}\par\vspace*{-1.5\baselineskip} + \begin{flushright}% + \BoxCandidati + \end{flushright}\par}{% + \noindent + \makebox[\textwidth]{\BoxRelatori + \hfill\BoxCandidati}\par}% + \fi + \fi +\ifx\@tutoreaziendale\@empty\else + \vfill\vfill + {\centering \textbf{\@tutoreaziendalename}\\[.6ex] + \@tutoreaziendale\par} +\fi + \vfill\par\null + \clearpage +\endgroup} +\endinput +%% +%% End of file `topfront.sty'. diff --git a/Master/texmf-dist/tex/latex/toptesi/topsiz14.clo b/Master/texmf-dist/tex/latex/toptesi/topsiz14.clo new file mode 100644 index 00000000000..f88ff5c84ef --- /dev/null +++ b/Master/texmf-dist/tex/latex/toptesi/topsiz14.clo @@ -0,0 +1,202 @@ +%% +%% This is file `topsiz14.clo', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% toptesi.dtx (with options: `top14') +%% +%% Copyright 1989--2005 Claudio Beccari All rights reserved. +%% +%% This system is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +%% +%% +%% IMPORTANT NOTICE: +%% +%% This file is subject to the LPPL licence, version 1.3 or any subsequent +%% version. Copy of the LaTeX Project Public Licence is downloadable from +%% any CTAN archive. +%% +%% +%% \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 +%% Lower-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 +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e} +\ProvidesFile{topsiz14.clo}% + [2006/04/16 v.4.00.01 TopTesi 14pt size-option file] +\renewcommand\normalsize{% + \@setfontsize\normalsize\@xivpt{18}% + \abovedisplayskip 14\p@ \@plus3\p@ \@minus7\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 8.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI} +\normalsize +\renewcommand\small{% + \@setfontsize\small\@xiipt{14}% + \abovedisplayskip 13\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 7.5\p@ \@plus3.5\p@ \@minus3\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 9\p@ \@plus3\p@ \@minus5\p@ + \parsep 4.5\p@ \@plus2\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip +} +\renewcommand\footnotesize{% + \@setfontsize\footnotesize\@xipt{13} + \abovedisplayskip 12\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 7\p@ \@plus3\p@ \@minus3\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 6\p@ \@plus2\p@ \@minus2\p@ + \parsep 3\p@ \@plus2\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip +} +\renewcommand\scriptsize{\@setfontsize\scriptsize\@xpt{12}} +\renewcommand\tiny{\@setfontsize\tiny\@viiipt\@xpt} +\renewcommand\large{\@setfontsize\large\@xviipt{22}} +\renewcommand\Large{\@setfontsize\Large\@xxpt{25}} +\renewcommand\LARGE{\@setfontsize\LARGE\@xxvpt{30}} +\renewcommand\huge{\@setfontsize\huge\@xxvpt{30}} +\let\Huge=\huge +\if@twocolumn + \setlength\parindent{1em} +\else + \setlength\parindent{1.5em} +\fi +\setlength\smallskipamount{3.5\p@ \@plus 1\p@ \@minus 1\p@} +\setlength\medskipamount{7\p@ \@plus 2\p@ \@minus 2\p@} +\setlength\bigskipamount{14\p@ \@plus 4\p@ \@minus 4\p@} +\setlength\headheight{14\p@} +\setlength\headsep {36\p@} +\setlength\topskip {14\p@} +\setlength\footskip{30\p@} +\if@compatibility \setlength\maxdepth{4\p@} \else +\setlength\maxdepth{.5\topskip} \fi + \setlength\@tempdima{\paperwidth} + \addtolength\@tempdima{-2in} + \setlength\@tempdimb{390\p@} + \if@twocolumn + \ifdim\@tempdima>2\@tempdimb\relax + \setlength\textwidth{2\@tempdimb} + \else + \setlength\textwidth{\@tempdima} + \fi + \else + \ifdim\@tempdima>\@tempdimb\relax + \setlength\textwidth{\@tempdimb} + \else + \setlength\textwidth{\@tempdima} + \fi + \fi + \@settopoint\textwidth + \setlength\@tempdima{\paperheight} + \addtolength\@tempdima{-2in} + \addtolength\@tempdima{-1.5in} + \divide\@tempdima\baselineskip + \@tempcnta=\@tempdima + \setlength\textheight{\@tempcnta\baselineskip} +\addtolength\textheight{\topskip} +\if@twocolumn + \setlength\marginparsep{10\p@} +\else + \setlength\marginparsep{10\p@} +\fi +\setlength\marginparpush{7\p@} + \if@twoside + \setlength\@tempdima {\paperwidth} + \addtolength\@tempdima {-\textwidth} + \setlength\oddsidemargin {.4\@tempdima} + \addtolength\oddsidemargin {-1in} + \setlength\marginparwidth {.6\@tempdima} + \addtolength\marginparwidth {-\marginparsep} + \addtolength\marginparwidth {-0.4in} + \else + \setlength\@tempdima {\paperwidth} + \addtolength\@tempdima {-\textwidth} + \setlength\oddsidemargin {.5\@tempdima} + \addtolength\oddsidemargin {-1in} + \setlength\marginparwidth {.5\@tempdima} + \addtolength\marginparwidth {-\marginparsep} + \addtolength\marginparwidth {-0.4in} + \addtolength\marginparwidth {-.4in} + \fi + \ifdim \marginparwidth >2in + \setlength\marginparwidth{2in} + \fi + \@settopoint\oddsidemargin + \@settopoint\marginparwidth + \setlength\evensidemargin {\paperwidth} + \addtolength\evensidemargin{-2in} + \addtolength\evensidemargin{-\textwidth} + \addtolength\evensidemargin{-\oddsidemargin} + \@settopoint\evensidemargin + \setlength\topmargin{\paperheight} + \addtolength\topmargin{-2in} + \addtolength\topmargin{-\headheight} + \addtolength\topmargin{-\headsep} + \addtolength\topmargin{-\textheight} + \addtolength\topmargin{-\footskip} + \addtolength\topmargin{-.5\topmargin} + \@settopoint\topmargin +\setlength\footnotesep{10.4\p@} +\setlength{\skip\footins}{13\p@ \@plus 4\p@ \@minus 2\p@} +\setlength\floatsep {14\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\intextsep {16\p@ \@plus 4\p@ \@minus 4\p@} +\setlength\dblfloatsep {16\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} +\setlength\@fptop{0\p@ \@plus 1fil} +\setlength\@fpsep{10\p@ \@plus 2fil} +\setlength\@fpbot{0\p@ \@plus 1fil} +\setlength\@dblfptop{0\p@ \@plus 1fil} +\setlength\@dblfpsep{10\p@ \@plus 2fil} +\setlength\@dblfpbot{0\p@ \@plus 1fil} +\setlength\partopsep{3\p@ \@plus 2\p@ \@minus 2\p@} +\def\@listi{\leftmargin\leftmargini + \parsep 5\p@ \@plus2.5\p@ \@minus\p@ + \topsep 10\p@ \@plus4\p@ \@minus6\p@ + \itemsep5\p@ \@plus2.5\p@ \@minus\p@} +\let\@listI\@listi +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep 5\p@ \@plus2.5\p@ \@minus\p@ + \parsep 2.5\p@ \@plus\p@ \@minus\p@ + \itemsep \parsep} +\def\@listiii{\leftmargin\leftmarginiii + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep 2.5\p@\@plus\p@\@minus\p@ + \parsep \z@ + \partopsep \p@ \@plus\z@ \@minus\p@ + \itemsep \topsep} +\def\@listiv {\leftmargin\leftmarginiv + \labelwidth\leftmarginiv + \advance\labelwidth-\labelsep} +\def\@listv {\leftmargin\leftmarginv + \labelwidth\leftmarginv + \advance\labelwidth-\labelsep} +\def\@listvi {\leftmargin\leftmarginvi + \labelwidth\leftmarginvi + \advance\labelwidth-\labelsep} +\endinput +%% +%% End of file `topsiz14.clo'. diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg b/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg new file mode 100644 index 00000000000..83d000a6aa3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg @@ -0,0 +1,60 @@ +%% +%% This is file `toptesi.cfg', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% toptesi.dtx (with options: `topcfg') +%% +%% Copyright 1989--2005 Claudio Beccari All rights reserved. +%% +%% This system is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +%% +%% +%% IMPORTANT NOTICE: +%% +%% This file is subject to the LPPL licence, version 1.3 or any subsequent +%% version. Copy of the LaTeX Project Public Licence is downloadable from +%% any CTAN archive. +%% +%% +%% \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 +%% Lower-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 +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +%%================================================================ +%% This file is the only file of the TOPtesi bundle that the user +%% can modify without restrictions in order to personalize the +%% contents of this configuration file to his/her needs. The user +%% can add or remove lines, comment or uncomment lines, change the +%% arguments to the macros, add definitions and so on. +%%================================================================ +%% +\ateneo{Politecnico di Torino} +\facolta{Ingegneria} +\FacoltaDi{Facolt\`a di } +%%\DottoratoIn{Corso di dottorato in } +\CorsoDiLaureaIn{Corso di Laurea in } +\TesiDiLaurea{Tesi di Laurea Magistrale} +%%\NomeMonografia{Monografia di Laurea} +%%\NomeDissertazione{Tesi di Dottorato} +\InName{in} +%%\TutorName{Tutore} +%%\CycleName{ciclo} +\endinput +%% +%% End of file `toptesi.cfg'. diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls new file mode 100644 index 00000000000..c5ccbd066fa --- /dev/null +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls @@ -0,0 +1,48 @@ +%% +%% This is file `toptesi.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% toptesi.dtx (with options: `class') +%% +%% Copyright 1989--2005 Claudio Beccari All rights reserved. +%% +%% This system is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +%% +%% +%% IMPORTANT NOTICE: +%% +%% This file is subject to the LPPL licence, version 1.3 or any subsequent +%% version. Copy of the LaTeX Project Public Licence is downloadable from +%% any CTAN archive. +%% +%% +%% \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 +%% Lower-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 +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{toptesi}% +[2006/04/04 v.4.00.02 Class for typesetting university theses] +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}} +\ProcessOptions\relax +\LoadClass[a4paper]{report} +\RequirePackage[english,italian]{babel} +\RequirePackage{toptesi} +\endinput +%% +%% End of file `toptesi.cls'. diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty new file mode 100644 index 00000000000..d2f0d0b4980 --- /dev/null +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty @@ -0,0 +1,334 @@ +%% +%% This is file `toptesi.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% toptesi.dtx (with options: `topsty') +%% +%% Copyright 1989--2005 Claudio Beccari All rights reserved. +%% +%% This system is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +%% +%% +%% IMPORTANT NOTICE: +%% +%% This file is subject to the LPPL licence, version 1.3 or any subsequent +%% version. Copy of the LaTeX Project Public Licence is downloadable from +%% any CTAN archive. +%% +%% +%% \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 +%% Lower-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 +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{toptesi}% +[2006/02/20 v. 4.00.01 Extension for toptesi.cls]% +\def\TRON{\tracingcommands \tw@ \tracingmacros \tw@} +\def\TROFF{\tracingcommands\z@ \tracingmacros \z@} +\let\TROF\TROFF +\newif\if@binding \@bindingfalse +\newif\ifchapterbibliography \chapterbibliographyfalse +\DeclareOption{cucitura}{\@bindingtrue} +\DeclareOption{14pt}{\input{topsiz14.clo}} +\DeclareOption{chapterbib}{\chapterbibliographytrue} +\DeclareOption{trieste}{\AtEndOfPackage{\RequirePackage{trieste}}} +\DeclareOption{classica}{\AtEndOfPackage{\RequirePackage{trieste}}} +\ProcessOptions\relax +\RequirePackage{graphicx} + +\textheight 585pt +\divide\textheight by \baselineskip +\multiply\textheight by \baselineskip +\advance\textheight by \topskip +\ifx\f@size\@xivpt + \textwidth=138mm +\else + \textwidth=150mm +\fi +\oddsidemargin=\paperwidth +\advance\oddsidemargin -\textwidth +\divide\oddsidemargin \tw@ +\advance\oddsidemargin -1in +\evensidemargin=\oddsidemargin +\marginparwidth\oddsidemargin +\advance\marginparwidth 1in +\advance\marginparwidth-2.5\marginparsep +\if@binding + \typeout{Messaggio Toptesi: Ricalcolo i margini} + \advance\oddsidemargin 7mm + \advance\evensidemargin -7mm + \advance\marginparwidth -7mm + \advance\marginparwidth -7mm +\fi +\let\lapagina\thepage +\mark{{}{}} +\newbox\@intesta +\def\ps@plain{\let\@mkboth\@gobbletwo +\def\@oddfoot{\null\hfill {{\lapagina}}\hfill \null}\def\@oddhead{} +\def\@evenhead{}\let\@evenfoot\@oddfoot} +\if@twoside + \def\ps@headings{\let\@mkboth\markboth% + \def\@oddfoot{\null\hfill {{\lapagina}} \hfill\null} + \let\@evenfoot\@oddfoot + % + \def\@evenhead{\setbox\@intesta\hbox{\footnotesize\slshape + \leftmark}% + \ifdim\wd\@intesta>\textwidth \headWarn{\chapter}\fi% + \underline{\makebox[\textwidth]{\footnotesize\slshape + \strut\leftmark}}}% + \def\@oddhead{\setbox\@intesta\hbox{\footnotesize\slshape + \rightmark}% + \ifdim\wd\@intesta>\textwidth \headWarn{\section}\fi% + \underline{\makebox[\textwidth]{\footnotesize\slshape + \strut\rightmark}}}% + \def\chaptermark##1{\markboth{\thechapter\ -- ##1}{}} + \def\sectionmark##1{\markright{\ifnum\c@secnumdepth>\z@ + \thesection\ -- \fi ##1}}} +\else + \def\ps@headings{\let\@mkboth\markboth + \def\@oddfoot{\null \hfill {\lapagina} \hfill \null} + \def\@evenfoot{} + \def\@oddhead{\setbox\@intesta\hbox{\footnotesize\slshape + \rightmark}% + \ifdim\wd\@intesta>\textwidth \headWarn{\chapter}\fi% + \underline{\makebox[\textwidth]{\footnotesize\slshape + \strut\rightmark}}}% + \def\chaptermark##1{\markright{\thechapter\ -- ##1}}} +\fi +\def\headWarn#1{\PackageWarning{toptesi}{% + 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}} +\newif\iffigurespage +\newif\iftablespage +\newif\ifnumeriromani +\newif\iffrontmatter +\def\frontmatter{\clearpage\ps@plain\pagenumbering{roman}% + \numeriromanitrue\frontmattertrue} +\def\mainmatter{\clearpage\ps@headings\pagenumbering{arabic}% + \numeriromanifalse\frontmatterfalse} +\AtBeginDocument{\frontmatter} +\figurespagefalse +\tablespagefalse +\def\sommario{% + \iffrontmatter\else\frontmattertrue\fi + \if@openright\cleardoublepage\else\clearpage\fi + \global\@topnum\z@ + \@afterindentfalse + \@schapter{\summaryname}% + \addcontentsline{toc}{chapter}{\summaryname}% + } +\def\ringraziamenti{% + \iffrontmatter\else\frontmattertrue\fi + \if@openright\cleardoublepage\else\clearpage\fi + \global\@topnum\z@ + \@afterindentfalse + \@schapter{\acknowledgename}% + \addcontentsline{toc}{chapter}{\acknowledgename}% + } +\renewcommand\chapter{% + \if@openright\cleardoublepage\else\clearpage\fi + \iffrontmatter\mainmatter\fi + \thispagestyle{plain}% + \global\@topnum\z@ + \@afterindentfalse + \secdef\@chapter\@schapter} +\renewcommand\part{% + \if@openright\cleardoublepage\else\clearpage\fi + \iffrontmatter\mainmatter\fi + \thispagestyle{empty}% + \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi + \null\vfil + \secdef\@part\@spart} +\renewcommand\tableofcontents{% + \if@twocolumn\@restonecoltrue\onecolumn\else\@restonecolfalse\fi + \if@openright\cleardoublepage\else\clearpage\fi + \global\@topnum\z@ + \@afterindentfalse + \@schapter{\contentsname}% + \@starttoc{toc}% + \clearpage + \if@restonecol\twocolumn\fi + } +\renewcommand\listoffigures{% + \if@twocolumn\@restonecoltrue\onecolumn\else\@restonecolfalse\fi + \if@openright\cleardoublepage\else\clearpage\fi + \global\@topnum\z@ + \@afterindentfalse + \@schapter{\listfigurename} + \@mkboth{\listfigurename}{\listfigurename}% + \@starttoc{lof}% + \clearpage + \if@restonecol\twocolumn\fi + } +\renewcommand\listoftables{% + \if@twocolumn\@restonecoltrue\onecolumn\else\@restonecolfalse\fi + \if@openright\cleardoublepage\else\clearpage\fi + \global\@topnum\z@ + \@afterindentfalse + \@schapter{\listtablename}% + \@mkboth{\listtablename}{\listtablename}% + \@starttoc{lot}% + \clearpage + \if@restonecol\twocolumn\fi + } +\def\indici{% + \iffrontmatter\else\frontmattertrue\fi + \tableofcontents + \iftablespage + {\addvspace{10pt} + \let\saveaddvspace=\addvspace + \def\addvspace##1{} + \listoftables + \let\addvspace=\saveaddvspace} + \fi + \iffigurespage + {\addvspace{10pt} + \let\saveaddvspace=\addvspace + \def\addvspace##1{} + \listoffigures + \let\addvspace=\saveaddvspace} + \fi +} +\onecolumn +\if@twoside + \flushbottom +\else + \ifx\@xivpt\f@size + \raggedbottom + \else + \flushbottom + \fi +\fi +\brokenpenalty=10000 +\def\interlinea#1{\linespread{#1}\selectfont} +\def\endinterlinea{\par} +\def \@floatboxreset {% + \reset@font + \linespread{1}% + \normalsize + \@setminipage +} +\def\fps@figure{htb} \def\fps@table{htb} +\setcounter{topnumber}{2} +\def\topfraction{1} +\setcounter{bottomnumber}{1} +\def\bottomfraction{.5} +\setcounter{totalnumber}{3} +\def\textfraction{0} +\def\floatpagefraction{0} +\setcounter{dbltopnumber}{2} +\def\dbltopfraction{1} +\def\dblfloatpagefraction{0} +\newdimen\captionwidth +\long\def\@makecaption#1#2{% + \begingroup + \small \parskip\z@ \parindent\z@ + \finalhyphendemerits 100000\relax + \linespread{0.95}\selectfont + \vskip \abovedisplayskip + \vskip \abovedisplayskip\captionwidth=\hsize + \advance\captionwidth-3em + \setbox0 \hbox{#1.\quad#2}% + \ifdim\wd0>\hsize + \setbox1 \vbox{\hsize=\captionwidth + \unhbox0\par\global\setbox2\lastbox}% + \setbox2\hbox{\unhbox2}% + \ifdim\wd2<0.333333\captionwidth + \count255=\ht1 \advance\count255 \dp1 + \divide\count255\baselineskip + \advance\count255\@ne + \@tempdima=\wd2 + \advance\@tempdima \count255\captionwidth + \advance\@tempdima 0.5\captionwidth + \advance \count255\@ne + \divide \@tempdima \count255 + \captionwidth=\@tempdima + \setbox0 \vbox{\hsize\captionwidth + #1.\quad#2} + \else + \setbox2\hbox to\captionwidth{\unhbox2 \hfill}% + \setbox0\vbox{\unvbox1\box2}% + \fi + \fi + \makebox[\hsize]{\box0}% + \endgroup +} +\def\redef@bibitem{\def\@bibitem##1{\item\if@filesw + \immediate\write\@auxout + {\string\bibcite{##1}{\thechapter.\the\c@enumi}}\fi\ignorespaces}} +\def\thebibliography#1{% + \ifchapterbibliography\section*{\bibname}\relax + \if@twoside\markright{\bibname}\fi + \addcontentsline{toc}{section}{\bibname}\relax + \redef@bibitem + \list{[\thechapter.\arabic{enumi}]}{% + \settowidth\labelwidth{[\thechapter.#1]}\leftmargin\labelwidth + \advance\leftmargin\labelsep\itemsep\z@ plus 1pt\parsep\z@ + \usecounter{enumi}} + \else + \chapter*{\bibname}\relax + \@mkboth{\bibname}{\bibname}\relax + \addcontentsline{toc}{chapter}{\bibname}\relax + \list{[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep\itemsep\z@ plus 1pt\parsep\z@ + \usecounter{enumi}} + \fi + \def\newblock{\hskip .11em plus .33em minus -.07em} + \sloppy + \sfcode`\.=1000\relax} + +\let\endthebibliography=\endlist +\long\def\@footnotetext#1{\insert\footins{\linespread{1}\footnotesize + \interlinepenalty\interfootnotelinepenalty + \splittopskip\footnotesep + \splitmaxdepth \dp\strutbox \floatingpenalty \@MM + \hsize\columnwidth \@parboxrestore + \edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}% + \@makefntext{\rule{\z@}{\footnotesep}\ignorespaces#1\strut}}} +\mathcode`\,="013B +\catcode`\^^Z=10 +\topmargin 0pt +\let\summaryname\empty +\let\acknowledgename\empty +\newcommand*\ExtendCaptions[3]{{% +\@ifundefined{captions#1}{% +\PackageWarning{toptesi}{Language option #1 not specified\MessageBreak +Skipping any redefinition\MessageBreak}% +}{% +\expandafter\let\expandafter\@tempA\csname captions#1\endcsname + \toks0=\expandafter{\@tempA% + \def\summaryname{#2}% + \def\acknowledgename{#3}}% + \expandafter\xdef\csname captions#1\endcsname{\the\toks0}% + }}}% +\ExtendCaptions{italian}{Sommario}{Ringraziamenti} +\ExtendCaptions{english}{Summary}{Acknowledgements} +\def\italiano{\selectlanguage{italian}}% +\def\english{\selectlanguage{english}}% +\let\inglese\english +\AtBeginDocument{% + \italiano + \renewcommand\@chapapp{\chaptername}% + } +\RequirePackage{topfront} +\RequirePackage{topcoman} +\endinput +%% +%% End of file `toptesi.sty'. diff --git a/Master/texmf-dist/tex/latex/toptesi/trieste.sty b/Master/texmf-dist/tex/latex/toptesi/trieste.sty new file mode 100644 index 00000000000..7bba23a367c --- /dev/null +++ b/Master/texmf-dist/tex/latex/toptesi/trieste.sty @@ -0,0 +1,154 @@ +%% +%% This is file `trieste.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% toptesi.dtx (with options: `toptrst') +%% +%% Copyright 1989--2005 Claudio Beccari All rights reserved. +%% +%% This system is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +%% +%% +%% IMPORTANT NOTICE: +%% +%% This file is subject to the LPPL licence, version 1.3 or any subsequent +%% version. Copy of the LaTeX Project Public Licence is downloadable from +%% any CTAN archive. +%% +%% +%% \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 +%% Lower-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 +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{trieste}% + [2005/12/08 v.4.00.00 opzioni specifiche per Trieste] +\def\StileTrieste{classica} +\newif\if@utoretitolo \@utoretitolofalse +\newif\if@ldstyle \@ldstylefalse +\DeclareOption{autoretitolo}{\@utoretitolotrue} +\DeclareOption{oldstyle}{\@ldstyletrue} +\ProcessOptions +\def\Candidato{Laureando} +\def\Candidata{Laureanda} +\def\Candidati{Laureandi} +\def\Candidate{Laureande} +\newcounter{tomo} +\newcommand*{\tomo}{\clearpage\stepcounter{tomo}\frontespizio} +\renewcommand*{\lapagina}{% + \ifnumeriromani + \thepage + \else + \if@ldstyle + \expandafter\oldstylenums\expandafter{\thepage}% + \else + \thepage + \fi + \fi + } +\if@utoretitolo + \if@twoside + \renewcommand*{\ps@headings}{\let\@mkboth\markboth% + \def\@oddfoot{\null \hfill \textbf{\lapagina} \hfill \null}% + \let\@evenfoot\@oddfoot + \def\@evenhead{% + \setbox\@intesta\hbox{\latintext + \footnotesize\strut\textsc{% + \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle}% + }% + \ifdim\wd\@intesta>\textwidth\headwrn{\titolo}\fi + \underline{\makebox[\textwidth]{\box\@intesta}}}% + \def\@oddhead{\latintext + \setbox\@intesta\hbox{% + \footnotesize\strut\textsl{\rightmark}}% + \ifdim\wd\@intesta>\textwidth \headWarn{\section}\fi% + \underline{\makebox[\textwidth]{\box\@intesta}}}% + \def\chaptermark##1{\markright{\thechapter\ -- ##1}{}}% + \def\sectionmark##1{}}% + \else + \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{\latintext\footnotesize + \textsc{% + \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle}}% + \setbox\tw@\hbox{\latintext\footnotesize\textsl{\rightmark}}% + \dimen@=2em\advance\dimen@\wd\z@\advance\dimen@\wd\tw@ + \ifdim\dimen@<\textwidth \relax + \else + \setbox\z@\vbox{\hsize.48\textwidth\parindent\z@\raggedright + \latintext\footnotesize\textsc{% + \@author\ifx\@secondauthor\empty\else\ et al.\fi: \@stitle + }}% + \setbox\tw@\vbox{\hsize.48\textwidth\parindent\z@\raggedleft + \latintext\footnotesize\textsl{\rightmark}}% + \fi + \setbox\@intesta\vbox to\z@{% + \vss\hbox to\textwidth{\strut\box\z@\hfill\box\tw@}}% + \underline{\box\@intesta}}}% + \def\chaptermark##1{\markright{\thechapter\ -- ##1}}} + \fi +\fi +\newcommand*\NomeAnnoAccademico[1]{\gdef\AnnoAccademico{#1}} +\@ifundefined{AnnoAccademico}{\gdef\AnnoAccademico{Anno accademico}}{} +\def\annoaccademico#1{% + \def\@submitdate{{\large\textsc{\AnnoAccademico}} {\Large\s@tanno#1!}}} +\def\s@tanno#1-#2!{\oldstylenums{#1\EnDash#2}} + +\def\EnDash{{\settowidth{\dimen@}{\large\sc I}% +\setbox\tw@\hbox{2}\dimen\tw@.5\ht\tw@\advance\dimen\tw@-.5\dp\tw@ +\dimen4\dimen\tw@\advance\dimen4by.0385ex\relax +\advance\dimen\tw@-.0385ex\relax +\makebox[1.5\dimen@]{% + \vrule\@width\dimen@\@height\dimen4\@depth-\dimen\tw@}}} +\renewcommand\footnoterule{% + \kern-6\p@ + \hrule\@width.4\columnwidth + \kern5.6\p@} +\setlength\footnotesep{12\p@} +\setlength{\skip\footins}{24\p@ \@plus 4\p@ \@minus 2\p@} +\DeclareMathSymbol{*}{\mathalpha}{symbols}{"03} +\newcommand*\nota[1][*]{% + \xdef\@thefnmark{\ensuremath{\m@th#1}}\@footnotemark\@footnotetext +} +\newcommand*{\NoteWhiteLine}{\par\vspace*{-.3\baselineskip}} +\newcommand*\paginavuota{\clearpage\thispagestyle{empty}\null\clearpage} +\newenvironment{dedica}{\clearpage + \if@twoside + \ifodd\c@page\else\thispagestyle{empty}\clearpage\fi + \fi + \thispagestyle{empty}% + \list{}{\labelwidth\z@ + \leftmargin.5\textwidth + \parindent\z@ + \raggedright\LARGE\itshape}\item[] +}{% + \endlist\clearpage +} +\newenvironment{citazioni}{% + \clearpage\thispagestyle{empty} + \list{}{\labelwidth\z@ + \leftmargin.5\textwidth + \parindent\z@ + \raggedright}\item[] +}{% + \endlist\clearpage +} +\endinput +%% +%% End of file `trieste.sty'. -- cgit v1.2.3