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.sty16
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
index d11331cf8e2..a45b2caec5d 100644
--- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
@@ -28,7 +28,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{toptesi}[2011/10/06 v.5.59b Extension for toptesi.cls]%
+\ProvidesPackage{toptesi}[2011/10/18 v.5.59c Extension for toptesi.cls]%
\def\TRON{\tracingcommands \tw@ \tracingmacros \tw@}
\def\TROFF{\tracingcommands\z@ \tracingmacros \z@}
\let\TROF\TROFF
@@ -139,7 +139,7 @@
\def\frontmatter{\clearpage\ps@plain\pagenumbering{roman}%
\numeriromanitrue\frontmattertrue\@openrightfalse}
\def\mainmatter{\if@twoside\@openrighttrue\fi
- \clearpage\ps@headings\pagenumbering{arabic}%
+ \cleardoublepage\ps@headings\pagenumbering{arabic}%
\numeriromanifalse\frontmatterfalse}
\AtBeginDocument{\frontmatter}
\figurespagefalse
@@ -174,6 +174,10 @@
\if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
\null\vfil
\secdef\@part\@spart}
+\def\@endpart{\vfil\cleardoublepage
+ \if@tempswa
+ \twocolumn
+ \fi}
\renewcommand\tableofcontents{%
\if@twocolumn\@restonecoltrue\onecolumn\else\@restonecolfalse\fi
\if@openright\cleardoublepage\else\clearpage\fi
@@ -501,6 +505,10 @@ Skipping any redefinition\MessageBreak}%
}{%
\endlist\clearpage
}
+\def\TT@clpagedefault{plain}
+\newcommand*\setcleardoublepage[1]{\gdef\TT@clpagedefault{#1}}
+\renewcommand\cleardoublepage[1][\TT@clpagedefault]{\clearpage\if@twoside \ifodd\c@page\else
+ \hbox{}\thispagestyle{#1}\newpage\if@twocolumn\hbox{}\thispagestyle{#1}\newpage\fi\fi\fi}
%%
%% Copyright 2005-2011 Claudio Beccari
%%
@@ -527,10 +535,10 @@ Skipping any redefinition\MessageBreak}%
%% The toptesi.cfg file is a sample of a local configuration file that can be
%% freely edited and modified.
%%
-%% By running pdflatex on toptesi.dtx the user gets the class, sty and cfg files
+%% By running pdflatex on toptesi.dtx the user gets the class, sty and cfg files,
%% and the English documentation file in pdf format.
%%
%% The documentation file toptesi-doc-xetex.pdf is in Italian; its source file is
-%% another example of how to use toptesi.
+%% another example of how to use toptesi while typesetting with XeLaTeX.
%%
%% End of file `toptesi.sty'.