diff options
Diffstat (limited to 'macros/latex/contrib/sttools/stabular.dtx')
-rw-r--r-- | macros/latex/contrib/sttools/stabular.dtx | 41 |
1 files changed, 32 insertions, 9 deletions
diff --git a/macros/latex/contrib/sttools/stabular.dtx b/macros/latex/contrib/sttools/stabular.dtx index f8044720b1..019fa9ffe1 100644 --- a/macros/latex/contrib/sttools/stabular.dtx +++ b/macros/latex/contrib/sttools/stabular.dtx @@ -1,6 +1,6 @@ -% \iffalse meta-comment +% \iffalse meta-comment/*% \end{macrocode}*/ % -% Copyright (C) 2014 by Sigitas Tolu\v{s}is <sigitas@vtex.lt> +% Copyright (C) 2021 by Sigitas Tolu\v{s}is <sigitas@vtex.lt> % --------------------------------------------------------------------------- % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -20,13 +20,35 @@ % \fi % % \iffalse +%<*internal> +\begingroup +%</internal> +%<*batchfile> +\input docstrip.tex +\keepsilent\askforoverwritefalse +\preamble +%% +%% This is file `stabular.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% stabular.dtx (with options: `package') +%% +\endpreamble +\generate{\file{stabular.sty}{\from{stabular.dtx}{package}}} +%</batchfile> +%<batchfile>\endbatchfile +%<*internal> +\generate{\file{stabular.ins}{\from{stabular.dtx}{batchfile}}} +\endgroup +%</internal> %<*driver> \ProvidesFile{stabular.dtx} %</driver> %<*package> -%% Copyright (C) 1998-2014 by Sigitas Tolu\v{s}is <sigitas@vtex.lt> -%% VTeX Ltd., Akademijos 4, Vilnius, Lithuania -%% http://www.vtex.lt/tex/download/macros/ +%% Copyright (C) 1998-2021 by Sigitas Tolu\v{s}is <sigitas@vtex.lt> +%% UAB VTeX, Mokslininkų 2A, LT-08412 Vilnius, Lithuania %% -------------------------------------------------------------------------- %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -42,12 +64,12 @@ %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{stabular} %<*package> - [2014/03/20 v2.0 Improve tabular environment] + [2021/10/04 v2.1 Improve tabular environment] %</package> % %<*driver> \documentclass{ltxdoc} -\usepackage{stabular}[2014/03/20] +\usepackage{stabular}[2021/10/04] \EnableCrossrefs \CodelineIndex \RecordChanges @@ -81,6 +103,7 @@ % \changes{v1.1}{2012/05/29}{Converted to DTX file} % \changes{v1.2}{2014/01/13}{Fixed bug in the '@sarray' macro} % \changes{v2.0}{2014/03/20}{Minimized code and extra functionality} +% \changes{v2.1}{2021/10/04}{Sync with array bugfix version for tabular} % % \DoNotIndex{\newcommand,\newenvironment} % @@ -226,10 +249,10 @@ \@preamble } \def\pkgarray@@stabarray{\@ifnextchar[{\pkgarray@@sarray}{\pkgarray@@sarray[c]}} -\def\pkgarray@stabular{\gdef\@halignto{}\pkgarray@@stabular} +\def\pkgarray@stabular{\def\@halignto{}\pkgarray@@stabular} \expandafter\def\csname pkgarray@stabular*\endcsname#1{% \setlength\dimen@{#1}% - \xdef\@halignto{to\the\dimen@}\pkgarray@@stabular} + \edef\@halignto{to\the\dimen@}\pkgarray@@stabular} \def\pkgarray@@stabular{% \leavevmode \bgroup |