diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi/toptesi.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi.sty | 13 |
1 files changed, 7 insertions, 6 deletions
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 |