diff options
author | Norbert Preining <norbert@preining.info> | 2020-03-07 03:00:57 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-03-07 03:00:57 +0000 |
commit | 8012fbf3193a5d1699496b198c3bd448973557bd (patch) | |
tree | ae7b8f657130de7157724405a57edb37485e9e6c /macros/latex/contrib/adjmulticol/adjmulticol.dtx | |
parent | 6749f197f068ccc7a12ea95ee2bbfca4942c1b13 (diff) |
CTAN sync 202003070300
Diffstat (limited to 'macros/latex/contrib/adjmulticol/adjmulticol.dtx')
-rw-r--r-- | macros/latex/contrib/adjmulticol/adjmulticol.dtx | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/macros/latex/contrib/adjmulticol/adjmulticol.dtx b/macros/latex/contrib/adjmulticol/adjmulticol.dtx index 90881468ef..12c5e4ca73 100644 --- a/macros/latex/contrib/adjmulticol/adjmulticol.dtx +++ b/macros/latex/contrib/adjmulticol/adjmulticol.dtx @@ -1,7 +1,6 @@ % \iffalse -% $Id: adjmulticol.dtx,v 2.12 2013-01-23 18:10:07 boris Exp $ % -%% Copyright 2011, Boris Veytsman <borisv@lk.net> +%% Copyright 2020, 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 @@ -88,7 +87,7 @@ %% %<*gobble> % \fi -% \CheckSum{176} +% \CheckSum{184} % % %% \CharacterTable @@ -127,7 +126,7 @@ % \GetFileInfo{adjmulticol.sty} % % \title{Adjusting Margins for Multicolumn and Unicolumn -% Output\thanks{\copyright Boris Veytsman, 2011} \thanks{Note: This +% Output\thanks{\copyright Boris Veytsman, 2020} \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} @@ -309,7 +308,7 @@ %</gobble> %<style>\ProvidesPackage{adjmulticol} %<*style> -[2012/01/20 v1.1 Adjusted margins for multicolumn layout] +[2020/03/06 v1.2 Adjusted margins for multicolumn layout] % \end{macrocode} % % @@ -466,13 +465,16 @@ %\label{sec:end} % % \begin{macro}{\endadjmulticols} +% \changes{v1.2}{2020/03/06}{Redefined macro} % Here we use the standard environment end. Note that it uses -% |\@checkend|, so we need to redefine |\@currenvir| to fool the -% check. +% |\@checkend|, so we need to redefine it to fool the +% check. We need to do it globally to work inside a box too. % \begin{macrocode} \def\endadjmulticols{% - \def\@currenvir{multicols}% - \endmulticols} + \global\let\@ADJMC@checkend\@checkend + \gdef\@checkend##1{}% + \endmulticols + \global\let\@checkend\@ADJMC@checkend} % \end{macrocode} % \end{macro} % |