diff options
author | Norbert Preining <norbert@preining.info> | 2022-03-29 03:00:35 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-03-29 03:00:35 +0000 |
commit | fed9dbe9efe10955aefb7687a15de45404cc76f4 (patch) | |
tree | 056a7157fcf92e74592f51aebfa3cd17da8645ca /macros/latex/contrib/adjmulticol | |
parent | 5f80d92d8bebc775b30e2b212e33b08089517654 (diff) |
CTAN sync 202203290300
Diffstat (limited to 'macros/latex/contrib/adjmulticol')
-rw-r--r-- | macros/latex/contrib/adjmulticol/README | 4 | ||||
-rw-r--r-- | macros/latex/contrib/adjmulticol/adjmulticol.dtx | 15 | ||||
-rw-r--r-- | macros/latex/contrib/adjmulticol/adjmulticol.pdf | bin | 248294 -> 265207 bytes | |||
-rw-r--r-- | macros/latex/contrib/adjmulticol/sample.pdf | bin | 51287 -> 53058 bytes |
4 files changed, 14 insertions, 5 deletions
diff --git a/macros/latex/contrib/adjmulticol/README b/macros/latex/contrib/adjmulticol/README index 62d899f95b..c3c9fcbe51 100644 --- a/macros/latex/contrib/adjmulticol/README +++ b/macros/latex/contrib/adjmulticol/README @@ -11,4 +11,6 @@ Changes: v1.1 Changed calculations for unicolumn layout which might previously lead to loss of text - v1.2 Bug fix: now adjmulticols works inside a box too.
\ No newline at end of file + v1.2 Bug fix: now adjmulticols works inside a box too. + + v1.3 Big fix: disappearing material in one column output
\ No newline at end of file diff --git a/macros/latex/contrib/adjmulticol/adjmulticol.dtx b/macros/latex/contrib/adjmulticol/adjmulticol.dtx index 12c5e4ca73..9ce7012f03 100644 --- a/macros/latex/contrib/adjmulticol/adjmulticol.dtx +++ b/macros/latex/contrib/adjmulticol/adjmulticol.dtx @@ -1,6 +1,6 @@ % \iffalse % -%% 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 @@ -87,7 +87,7 @@ %% %<*gobble> % \fi -% \CheckSum{184} +% \CheckSum{0} % % %% \CharacterTable @@ -126,7 +126,7 @@ % \GetFileInfo{adjmulticol.sty} % % \title{Adjusting Margins for Multicolumn and Unicolumn -% Output\thanks{\copyright Boris Veytsman, 2020} \thanks{Note: This +% Output\thanks{\copyright Boris Veytsman, 2022} \thanks{Note: This % package is released under terms which affect its use in commercial % applications. Please see the details at the top of the source file}} % \author{Boris Veytsman} @@ -308,7 +308,7 @@ %</gobble> %<style>\ProvidesPackage{adjmulticol} %<*style> -[2020/03/06 v1.2 Adjusted margins for multicolumn layout] +[2022/03/27 v1.3 Adjusted margins for multicolumn layout] % \end{macrocode} % % @@ -363,6 +363,7 @@ %\label{sec:start} % % \begin{macro}{\adjmulticols} +% \changes{v1.3}{2022/03/27}{Do not try to balance one-column version} % We have three mandatory arguments instead of one for |multicols|: % the number of columns, the left margin delta and the right margin % delta: @@ -390,6 +391,10 @@ \MessageBreak I therefore use 10 columns instead}% \col@number10 \fi + \ifnum\col@number=\@ne\relax + \let\balance@columns@out + \multi@column@out + \fi % \end{macrocode} % % @@ -466,6 +471,7 @@ % % \begin{macro}{\endadjmulticols} % \changes{v1.2}{2020/03/06}{Redefined macro} +% \changes{v1.3}{2022/03/27}{Added \cs{vfill} for one-column environment} % Here we use the standard environment end. Note that it uses % |\@checkend|, so we need to redefine it to fool the % check. We need to do it globally to work inside a box too. @@ -473,6 +479,7 @@ \def\endadjmulticols{% \global\let\@ADJMC@checkend\@checkend \gdef\@checkend##1{}% + \ifnum\col@number=\@ne\relax\vfill\fi \endmulticols \global\let\@checkend\@ADJMC@checkend} % \end{macrocode} diff --git a/macros/latex/contrib/adjmulticol/adjmulticol.pdf b/macros/latex/contrib/adjmulticol/adjmulticol.pdf Binary files differindex d2709950d5..05999ddfdc 100644 --- a/macros/latex/contrib/adjmulticol/adjmulticol.pdf +++ b/macros/latex/contrib/adjmulticol/adjmulticol.pdf diff --git a/macros/latex/contrib/adjmulticol/sample.pdf b/macros/latex/contrib/adjmulticol/sample.pdf Binary files differindex a55f9bf1c2..af96fd4aa2 100644 --- a/macros/latex/contrib/adjmulticol/sample.pdf +++ b/macros/latex/contrib/adjmulticol/sample.pdf |