summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pbalance/pbalance.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/pbalance/pbalance.dtx')
-rw-r--r--macros/latex/contrib/pbalance/pbalance.dtx10
1 files changed, 6 insertions, 4 deletions
diff --git a/macros/latex/contrib/pbalance/pbalance.dtx b/macros/latex/contrib/pbalance/pbalance.dtx
index ea00526085..9f984e0e11 100644
--- a/macros/latex/contrib/pbalance/pbalance.dtx
+++ b/macros/latex/contrib/pbalance/pbalance.dtx
@@ -15,7 +15,7 @@
% \iffalse
%
%<package>\NeedsTeXFormat{LaTeX2e}[2015/01/01]
-%<package>\ProvidesPackage{pbalance}[2021/04/26 v1.1.0 Poor man's balance]
+%<package>\ProvidesPackage{pbalance}[2021/05/24 v1.1.1 Poor man's balance]
%
%<*driver>
@@ -58,6 +58,8 @@
% \changes{v1.0}{2020/09/14}{Initial version}
% \changes{v1.0.1}{2020/12/16}{Improvements to documentation}
% \changes{v1.1.0}{2021/04/26}{Do not crash in one-column mode}
+% \changes{v1.1.1}{2021/05/24}{Do not use balance package if
+% there are dbltop floats}
%
% \GetFileInfo{pbalance.sty}
%
@@ -449,8 +451,7 @@
\newcommand\@PBifbotfloat[2]{\ifx\@botlist\empty #2\else #1\fi}
\newcommand\@PBiffootnote[2]{\ifvoid\footins #2\else #1\fi}
\newcommand\@PBiffloatcol[2]{\if@fcolmade #1\else #2\fi}
-% dbltop floats are apparently ok with the balance package
-%%%\newcommand\@PBifdbltopfloat[2]{\ifx\@dbltoplist\empty #2\else #1\fi}
+\newcommand\@PBifdbltopfloat[2]{\ifx\@dbltoplist\empty #2\else #1\fi}
% dblbotlist only exists with package stfloats
\newcommand\@PBifdblbotfloat[2]{%
\ifdefvoid{\@dblbotlist}
@@ -469,7 +470,8 @@
\ifboolexpr
{
test {\@PBifmidfloat} or test {\@PBiftopfloat} or
- test {\@PBifbotfloat} or test {\@PBifdblbotfloat}
+ test {\@PBifbotfloat} or test {\@PBifdblbotfloat} or
+ test {\@PBifdbltopfloat}
}
{\global\toggletrue{@PBtmpHasFloats}}
{}