summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/widetable
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-14 21:56:06 +0000
committerKarl Berry <karl@freefriends.org>2018-12-14 21:56:06 +0000
commitc9f2f0cf146a8aee3eb8842a99ba0f782b219ec1 (patch)
treea94129c4cb5d8ab6f2992ed9ef51ee04b2179787 /Master/texmf-dist/tex/latex/widetable
parent01c5fe4e31b7afa5576b74cae3f220305fa07f47 (diff)
widetable (14dec18)
git-svn-id: svn://tug.org/texlive/trunk@49416 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/widetable')
-rw-r--r--Master/texmf-dist/tex/latex/widetable/widetable.sty26
1 files changed, 13 insertions, 13 deletions
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