summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/toptesi
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-07-03 20:44:48 +0000
committerKarl Berry <karl@freefriends.org>2016-07-03 20:44:48 +0000
commitf0c23554405bd929a290a9a0532aeecaaf94a255 (patch)
tree4a9730b12ca293aff5d45d29dacd8c857014c3c9 /Master/texmf-dist/tex/latex/toptesi
parent94626ee0ec44f738d36151189f2e0ef4327d91b7 (diff)
toptesi (3jul16)
git-svn-id: svn://tug.org/texlive/trunk@41608 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi')
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/topcoman.sty2
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/topfront.sty4
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/toptesi.cls2
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/toptesi.sty22
4 files changed, 18 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty
index f48be5ac854..787e7bd3d9e 100644
--- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty
@@ -14,7 +14,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2015/01/01]
\ProvidesPackage{topcoman}[%
-2015/12/18 v.5.91
+2016/06/29 v.5.92
Additional commands for the TOPtesi bundle]
\RequirePackage{iftex}
\ifPDFTeX
diff --git a/Master/texmf-dist/tex/latex/toptesi/topfront.sty b/Master/texmf-dist/tex/latex/toptesi/topfront.sty
index a299188d2f5..061ccdf5862 100644
--- a/Master/texmf-dist/tex/latex/toptesi/topfront.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/topfront.sty
@@ -14,7 +14,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2015/01/01]
\ProvidesPackage{topfront}[%
-2015/12/18 v.5.91
+2016/06/29 v.5.92
Title page for TOPtesi and other classes]
\@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}}
\ifcsundef{ifclassica}{%
@@ -26,7 +26,7 @@ Title page for TOPtesi and other classes]
\def\@oddfoot{\vbox to 0.05\paperheight{\vss
\hbox to\hsize{\hfil{\Large{\@submitdate}}\hfil}}}%
\let\@evenfoot\@oddfoot
- \def\@oddhead{
+ \def\@oddhead{%
\vbox to\headheight{\vss\iftopTPTlogos
\hbox to\textwidth{%
\headstrut\hfil
diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls
index fc2579d16d5..1d954e963b0 100644
--- a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls
+++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls
@@ -14,7 +14,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2015/01/01]
\ProvidesClass{toptesi}[%
-2015/12/18 v.5.91
+2016/06/29 v.5.92
Class for typesetting university theses]
\DeclareOption{a4paper}{\PassOptionsToClass{\CurrentOption}{report}}
\DeclareOption{titlepage}{\PassOptionsToClass{\CurrentOption}{report}}
diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
index f7f909e555a..66365df5ab0 100644
--- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
@@ -14,7 +14,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2015/01/01]
\ProvidesPackage{toptesi}[%
-2015/12/18 v.5.91
+2016/06/29 v.5.92
Extension for toptesi.cls]
\def\TRON{\tracingcommands \tw@ \tracingmacros \tw@}
\def\TROFF{\tracingcommands\z@ \tracingmacros \z@}
@@ -150,13 +150,10 @@ Read documentation toptesi-it-*.pdf, because package pdfx has changed}}
\clearpage\null\thispagestyle{#1}\clearpage\fi\fi\fi}
\def\sommario{%
\iffrontmatter\else\frontmattertrue\fi
- \chapter*{\summaryname}%
- \addcontentsline{toc}{chapter}{\summaryname}%
- }
+ \chapter*{\summaryname}}
\def\ringraziamenti{%
\iffrontmatter\else\frontmattertrue\fi
- \chapter*{\acknowledgename}%
- }
+ \chapter*{\acknowledgename}}
\def\@chapter[#1]#2{\iffrontmatter\mainmatter\fi
\ifnum \c@secnumdepth >\m@ne
\refstepcounter{chapter}%
@@ -247,7 +244,7 @@ Read documentation toptesi-it-*.pdf, because package pdfx has changed}}
\brokenpenalty=10000
\def\interlinea#1{\linespread{#1}\selectfont}
\def\endinterlinea{\par}
-\def\@floatboxreset {%
+\def\@floatboxreset{%
\reset@font
\linespread{1}%
\normalsize
@@ -264,7 +261,11 @@ Read documentation toptesi-it-*.pdf, because package pdfx has changed}}
\setcounter{dbltopnumber}{2}
\def\dbltopfraction{1}
\def\dblfloatpagefraction{0}
+
+\AtBeginDocument{\@ifpackageloaded{caption}{}{%
+\providecommand\captionsetup{}\renewcommand\captionsetup[2][]{}%
\newdimen\captionwidth
+\belowcaptionskip=\abovecaptionskip
\long\def\@makecaption#1#2{%
\begingroup
\small \parskip\z@ \parindent\z@
@@ -296,8 +297,13 @@ Read documentation toptesi-it-*.pdf, because package pdfx has changed}}
\fi
\fi
\makebox[\hsize]{\box0}%
+ \vskip \belowcaptionskip
\endgroup
-}
+}}}
+
+\newcommand\goodpagebreak[1][4]{\ifvmode
+\unless\ifdim\dimexpr\pagegoal-\pagetotal>#1\baselineskip\newpage\fi
+\else\ifhmode\vadjust{\newpage}\fi\fi}
\def\redef@bibitem{\def\@bibitem##1{\item\if@filesw
\immediate\write\@auxout
{\string\bibcite{##1}{\thechapter.\the\c@enumi}}\fi\ignorespaces}}