From c9f2f0cf146a8aee3eb8842a99ba0f782b219ec1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 14 Dec 2018 21:56:06 +0000 Subject: widetable (14dec18) git-svn-id: svn://tug.org/texlive/trunk@49416 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/widetable/widetable.sty | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/widetable/widetable.sty b/Master/texmf-dist/tex/latex/widetable/widetable.sty index 114ea14a57c..314f513b659 100644 --- a/Master/texmf-dist/tex/latex/widetable/widetable.sty +++ b/Master/texmf-dist/tex/latex/widetable/widetable.sty @@ -7,23 +7,23 @@ %% widetable.dtx (with options: `package') %% ______________________________________________________ %% The WIDETABLE bundle -%% Copyright (C) 2009-2017 Claudio Beccari +%% Copyright (C) 2009-2018 Claudio Beccari %% All rights reserved %% %% License information appended %% -\NeedsTeXFormat{LaTeX2e}[2016/01/01] \ProvidesPackage{widetable}% - [2017/09/09 v.1.4 Package for typesetting specified width tables] - -\ProvidesPackage{widetable}[2017/09/05 v.1.2 A simpler way to produce - tables of specified width] + [2018-12-14 v.1.5 Package for typesetting specified width tables] +\NeedsTeXFormat{LaTeX2e}[2018/01/01] +\AtBeginDocument{% + \@ifpackageloaded{array}{}{\RequirePackage{array}}% + } \dimendef\wt@Numer=2 \dimendef\wt@Denom=4 \countdef\wt@Num=2 \countdef\wt@Den=4 -\usepackage{xparse} +\RequirePackage{xparse} \newcommand\WT@scale[4]{\begingroup \wt@Num #2\relax \wt@Den #3\relax \ifnum#3=\z@ @@ -53,12 +53,12 @@ \setbox\tw@=\hbox{\wt@starttabular\the\toks@\endtabular}% \ifdim\wt@width<\wd\z@ \@tempdimb=\dimexpr\wd\tw@-\wd\z@\relax - \PackageWorning{widetable}{% - The natural width `\the\wd\z@' of the tabular - material\MessageBreak - is larger than the specified width - `\the\wt@width'\MessageBreak\null\space \MessageBreak - The table is typeset with the default column spacing}% + \PackageWarning{widetable}{% + The natural width \the\wd\z@ \space of the tabular\MessageBreak + material is larger than the specified width + \the\wt@width.\MessageBreak\MessageBreak + The table is typeset with the default\MessageBreak + column spacing}% \else \@tempdimb=\dimexpr\wt@width-\wd\z@\relax \fi -- cgit v1.2.3