From db908823bf32703fe586c3f2fe3ad133d4f23ae7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 30 Jan 2013 23:58:50 +0000 Subject: toptesi (30jan13) git-svn-id: svn://tug.org/texlive/trunk@28992 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/toptesi/toptesi.dtx | 37 ++++++++++++++++------ 1 file changed, 27 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/source/latex') diff --git a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx index 59737fc5613..96286084513 100644 --- a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx +++ b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx @@ -85,11 +85,11 @@ another example of how to use toptesi. % \iffalse %<*driver> \documentclass{ltxdoc} -\ProvidesFile{toptesi.dtx}[2012/12/26 v.5.62 Documented TeX file for +\ProvidesFile{toptesi.dtx}[2013/01/29 v.5.62a Documented TeX file for the TOPtesi bundle] \GetFileInfo{toptesi.dtx} \title{The TOPtesi bundle} -\date{\fileversion\space\filedate} +\date{\fileversion\space--- \filedate} \author{Claudio Beccari} \usepackage{metalogo} @@ -102,7 +102,7 @@ the TOPtesi bundle] % % \fi % -% \CheckSum{2613} +% \CheckSum{2635} % %% \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 @@ -144,7 +144,7 @@ the TOPtesi bundle] % \end{abstract} % % \section{Introduction} -% The TOPtesi bundle collects a certain number of files, specifically +% The TOPtesi bundle contains a certain number of files, specifically % \begin{itemize} % \item a class file \texttt{toptesi.cls} to be used as the main document class; the main % document may be any of a certain number of reports that in Italy @@ -693,7 +693,7 @@ the TOPtesi bundle] % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{toptesi}% -[2012/12/26 v.5.62 Class for typesetting university theses] +[2013/01/29 v.5.62a Class for typesetting university theses] % \end{macrocode} % % The class itself is very simple since it requires just the \texttt{report} document @@ -747,7 +747,7 @@ the TOPtesi bundle] % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{toptesi}% -[2012/12/26 v.5.62 Extension for toptesi.cls]% +[2013/01/29 v.5.62a Extension for toptesi.cls]% % \end{macrocode} % % We start with defining the debugging macros; these trace commands and macros @@ -955,8 +955,8 @@ the TOPtesi bundle] \AtBeginDocument{\frontmatter} % \end{macrocode} % The main matter is automatically established with the first |\chapter| command issued by -% the user; this means that every command that starts a section at the ``chapter'' level within -% the front matter must be executed without an explicit call to |\chapter|. +% the user; this means that every command that starts a section at the ``chapter'' level +% within the front matter must be executed without an explicit call to |\chapter|. % % By default we set to false the boolean variables that control the typesetting of the % list of figures and the list of tables. @@ -964,6 +964,23 @@ the TOPtesi bundle] \figurespagefalse \tablespagefalse % \end{macrocode} +% +% Before going further on, we redefine the |\cleardoublepage| command so that +% it uses by default the plain page style, but it can be set to any other style; +% we define a blahk page style as an alias to an existing page style; then we +% define a command to let this page style to be an alias of some other page +% style; eventually we use this alias as the page style that |\cleardoublepage| +% uses for outputting the blank page in case it is necessary so as to open on +% a right page. The user can redefine the blank page style as often as he +% whishes, and, of course, it is better he plans such a redefinition in advance, +% before the need arises to output a blank page. +% \begin{macrocode} +\newcommand\blankpagestyle[1]{\def\blank@ps{#1}} +\def\blank@ps{plain} +\renewcommand\cleardoublepage{\clearpage\ifodd\value{page}\else\if@twoside\if@openright +\clearpage\null\thispagestyle{\blank@ps}\clearpage\fi\fi\fi} +% \end{macrocode} +% % We have to define the front matter sectioning names |\sommario| and |\ringraziamenti| % so as to remain in the front matter. % \begin{macrocode} @@ -1740,7 +1757,7 @@ Skipping any redefinition\MessageBreak}% % \fi % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{topfront}[2012/12/26 v.5.62 Title page for TOPtesi] +\ProvidesPackage{topfront}[2013/01/29 v.5.62a Title page for TOPtesi] % \end{macrocode} % % The title page information depends on the type of ``thesis' that is being typeset. @@ -2547,7 +2564,7 @@ Skipping any redefinition\MessageBreak}% % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} % lavora solo con LaTeX 2e \ProvidesPackage{topcoman}% - [2012/12/26 v.5.62 Additional commands for the TOPtesi bundle] + [2013/01/29 v.5.62a Additional commands for the TOPtesi bundle] % \end{macrocode} % The new command |\DeclareSlantedCapitalGreekLetters| optionally sets the capital % Greek letters in math mode with the glyphs taken from the math italic fonts, not from -- cgit v1.2.3