From 1e69268faeff5ed2ce4f8b2afc2386213bee9577 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 22 Dec 2006 23:26:33 +0000 Subject: toptesi update (30nov06) git-svn-id: svn://tug.org/texlive/trunk@2853 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/toptesi/topcoman.sty | 3 +-- Master/texmf-dist/tex/latex/toptesi/topfront.sty | 8 ++++---- Master/texmf-dist/tex/latex/toptesi/toptesi.sty | 13 +++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) (limited to 'Master/texmf-dist/tex/latex/toptesi') diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty index ffcec630072..54fdf4a79b7 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty @@ -81,8 +81,7 @@ {\catcode`\^^L=\active \gdef^^L{\par\penalty-10000}} \mathcode`\,="013B \catcode`\^^Z=10 -\gdef\@roman#1{\protect\ensuremath{\scriptstyle - \mathrm{\uppercase\expandafter{\romannumeral #1}}}}% +\DeclareRobustCommand*{\@roman}[1]{\textsc{\romannumeral#1}}% \def\ft@figure{\iflanguage{italian}{\MakeLowercase{\figurename}}% {\figurename}~} \def\ft@table{\iflanguage{italian}{\MakeLowercase{\tablename}}% diff --git a/Master/texmf-dist/tex/latex/toptesi/topfront.sty b/Master/texmf-dist/tex/latex/toptesi/topfront.sty index 1b528b978f1..8c0e1c4dd45 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topfront.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topfront.sty @@ -36,7 +36,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{topfront}[2006/04/04 v.4.00.02 Title page for TOPtesi] +\ProvidesPackage{topfront}[2006/09/04 v.4.00.04 Title page for TOPtesi] \newif\iffemminile \newif\ifdottorato \dottoratofalse \newif\iflaureatriennale \laureatriennalefalse @@ -118,7 +118,7 @@ \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\AdvisorName[1]{\gdef\Relatore{#1}\gdef\Relatori{#1}} \newcommand\CoAdvisorName[1]{\gdef\Correlatore{#1}\gdef\Correlatori{#1}} \newcommand\TutorName[1]{\gdef\Tutore{#1}} \newcommand\NomeTutoreAziendale[1]{\gdef\@tutoreaziendalename{#1}} @@ -206,7 +206,7 @@ \divide\oddsidemargin \tw@ \evensidemargin \oddsidemargin \thispagestyle{myheadings}% - \null\setcounter{page}{0}% + \null\setcounter{page}{1}% \normalfont \ifx\@nomeat\empty \else {\vspace*{-3\topskip}\centering @@ -399,7 +399,7 @@ \@tutoreaziendale\par} \fi \vfill\par\null - \clearpage + \if@twoside\cleardoublepage\else\clearpage\fi \endgroup} \endinput %% diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty index d2f0d0b4980..f1b877416bb 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty @@ -37,7 +37,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{toptesi}% -[2006/02/20 v. 4.00.01 Extension for toptesi.cls]% +[2006/08/22 v.4.00.03 Extension for toptesi.cls]% \def\TRON{\tracingcommands \tw@ \tracingmacros \tw@} \def\TROFF{\tracingcommands\z@ \tracingmacros \z@} \let\TROF\TROFF @@ -75,7 +75,7 @@ \advance\marginparwidth -7mm \advance\marginparwidth -7mm \fi -\let\lapagina\thepage +\def\lapagina{\thepage} \mark{{}{}} \newbox\@intesta \def\ps@plain{\let\@mkboth\@gobbletwo @@ -119,8 +119,9 @@ \newif\ifnumeriromani \newif\iffrontmatter \def\frontmatter{\clearpage\ps@plain\pagenumbering{roman}% - \numeriromanitrue\frontmattertrue} -\def\mainmatter{\clearpage\ps@headings\pagenumbering{arabic}% + \numeriromanitrue\frontmattertrue\@openrightfalse} +\def\mainmatter{\if@twoside\@openrighttrue\fi + \clearpage\ps@headings\pagenumbering{arabic}% \numeriromanifalse\frontmatterfalse} \AtBeginDocument{\frontmatter} \figurespagefalse @@ -142,15 +143,15 @@ \addcontentsline{toc}{chapter}{\acknowledgename}% } \renewcommand\chapter{% - \if@openright\cleardoublepage\else\clearpage\fi \iffrontmatter\mainmatter\fi + \if@openright\cleardoublepage\else\clearpage\fi \thispagestyle{plain}% \global\@topnum\z@ \@afterindentfalse \secdef\@chapter\@schapter} \renewcommand\part{% - \if@openright\cleardoublepage\else\clearpage\fi \iffrontmatter\mainmatter\fi + \if@openright\cleardoublepage\else\clearpage\fi \thispagestyle{empty}% \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi \null\vfil -- cgit v1.2.3