diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/dpfloat/dpfloat.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/dpfloat/dpfloat.sty | 42 |
1 files changed, 35 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/dpfloat/dpfloat.sty b/Master/texmf-dist/tex/latex/dpfloat/dpfloat.sty index 8865453fc04..15eea00940d 100644 --- a/Master/texmf-dist/tex/latex/dpfloat/dpfloat.sty +++ b/Master/texmf-dist/tex/latex/dpfloat/dpfloat.sty @@ -1,13 +1,37 @@ -% double-page float package +% ======================================================================== +% +% Copyright (c) 2006 The University of Washington % -% Copyright University of Washington +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Jim Fox, fox@washington.edu +% +% ======================================================================== +% +% +% double-page float package % % Jim Fox -% fox@u.washington.edu -% http://weber.u.washington.edu/~fox/ +% fox@washington.edu +% http://staff.washington.edu/fox/ +% + % +% Version history +% +% 2006/10/05: fix footer placement (suggestion by Mark Henning (mh@homolog.de) +% 1997/09/21: original + -\ProvidesPackage{dpfloat}[1997/09/21] +\ProvidesPackage{dpfloat}[2006/10/05] \NeedsTeXFormat{LaTeX2e} % This package allows you to format a double-page figure or table @@ -71,8 +95,8 @@ \let\old@xtryfc\@xtryfc \def\@xtryfc #1{% \expandafter\if\csname LP:\string#1\endcsname L% - \ifodd\count0\global\@colht\z@ - \typeout{I moved a leftpage float from page \the\count0.}% + \ifodd\count0\global\@fpmin\maxdimen + \typeout{dpfloat moved a leftpage float from page \the\count0.}% \fi\fi \old@xtryfc #1} @@ -83,4 +107,8 @@ \fi +% assure that any remaining floats are printed +\def\@dpf@mtlist{} +\AtEndDocument{\ifx\@deferlist\@dpf@mtlist\else\ifodd\count0\else\typeout{dpfloat added a blank page}\clearpage\ \clearpage\fi\fi} + % end of dpfloat |