summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/adjmulticol
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-04-05 22:06:33 +0000
committerKarl Berry <karl@freefriends.org>2022-04-05 22:06:33 +0000
commit75630711a29aa63abe00f64ce294bb65a27ed40e (patch)
tree8851cadf5f9f6b89050f7fa8ba13dd0e5f1935c5 /Master/texmf-dist/tex/latex/adjmulticol
parent02a7405bfde12f0867c5bc0a26bed234e554d84b (diff)
adjmulticol (28mar22)
git-svn-id: svn://tug.org/texlive/trunk@62935 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/adjmulticol')
-rw-r--r--Master/texmf-dist/tex/latex/adjmulticol/adjmulticol.sty9
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/adjmulticol/adjmulticol.sty b/Master/texmf-dist/tex/latex/adjmulticol/adjmulticol.sty
index 7b9ee5bbefb..4f1ca459598 100644
--- a/Master/texmf-dist/tex/latex/adjmulticol/adjmulticol.sty
+++ b/Master/texmf-dist/tex/latex/adjmulticol/adjmulticol.sty
@@ -20,7 +20,7 @@
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
-%% Copyright 2020, Boris Veytsman <borisv@lk.net>
+%% Copyright 2022, Boris Veytsman <borisv@lk.net>
%% 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
@@ -107,7 +107,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{adjmulticol}
-[2020/03/06 v1.2 Adjusted margins for multicolumn layout]
+[2022/03/27 v1.3 Adjusted margins for multicolumn layout]
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{multicol}}
\ProcessOptions\relax
\RequirePackage{multicol}
@@ -133,6 +133,10 @@
\MessageBreak
I therefore use 10 columns instead}%
\col@number10 \fi
+ \ifnum\col@number=\@ne\relax
+ \let\balance@columns@out
+ \multi@column@out
+ \fi
\ifx\@footnotetext\mult@footnotetext\else
\let\orig@footnotetext\@footnotetext
\let\@footnotetext\mult@footnotetext
@@ -163,6 +167,7 @@
\def\endadjmulticols{%
\global\let\@ADJMC@checkend\@checkend
\gdef\@checkend##1{}%
+ \ifnum\col@number=\@ne\relax\vfill\fi
\endmulticols
\global\let\@checkend\@ADJMC@checkend}
\let\adjmc@page@sofar@orig=\page@sofar