summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/xltabular/xltabular.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-29 20:39:03 +0000
committerKarl Berry <karl@freefriends.org>2017-09-29 20:39:03 +0000
commit68787289b7a0fd4331776ca4a50f19eb086e696b (patch)
treec51ff15915ac58da419c2686ec075af2bf0edd30 /Master/texmf-dist/tex/latex/xltabular/xltabular.sty
parentc481150d3ae193500b45a1ff37f38fc2a7ab998f (diff)
xltabular (29sep17)
git-svn-id: svn://tug.org/texlive/trunk@45433 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/xltabular/xltabular.sty')
-rw-r--r--Master/texmf-dist/tex/latex/xltabular/xltabular.sty23
1 files changed, 15 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/xltabular/xltabular.sty b/Master/texmf-dist/tex/latex/xltabular/xltabular.sty
index 5a356850a43..43fd233f94f 100644
--- a/Master/texmf-dist/tex/latex/xltabular/xltabular.sty
+++ b/Master/texmf-dist/tex/latex/xltabular/xltabular.sty
@@ -1,15 +1,15 @@
-%% $Id: xltabular.sty 586 2017-09-27 17:00:55Z herbert $
+%% $Id: xltabular.sty 592 2017-09-29 06:52:56Z herbert $
%%
%% This file is distributed under the terms of the LaTeX Project Public
%% License from CTAN archives in directory macros/latex/base/lppl.txt.
%% Either version 1.3 or, at your option, any later version.
%%
-% Copyright 2017 Herbert Voss hvoss@tug.org
-% Rolf Niepraschk Rolf.Nieprasch@gmx.de
+% Copyright 2017 Herbert Voss <hvoss@tug.org>
+% Rolf Niepraschk <Rolf.Niepraschk@gmx.de>
%%
-\def\xltabular@version{0.01 }
+\def\xltabular@version{0.02 }
\ProvidesPackage{xltabular}
- [2017/09/27 v\xltabular@version `xltabular' package (hv,rn)]
+ [2017/09/28 v\xltabular@version `xltabular' package (hv,rn)]
\RequirePackage{tabularx}
\let\ORIGi@tabularx=\tabularx
@@ -30,13 +30,20 @@
%
% define a new tabularx like the one from "ltablex"
%
-\newenvironment{xltabular}
- {\let\TX@endtabularx=\ORIGii@TX@endtabularx
+\newenvironment{xltabular}[1][x]
+ {\if l#1%
+ \LTleft\z@ \LTright\fill
+ \else\if r#1%
+ \LTleft\fill \LTright\z@
+ \else\if c#1%
+ \LTleft\fill \LTright\fill
+ \fi\fi\fi
+ \let\TX@endtabularx=\ORIGii@TX@endtabularx
\let\endtabularx\endxltabular
\ORIGii@tabularx}
{\def\@currenvir{tabularx}}
%
-% In "longtable" Erhöhung des Zählers "table" nur durch "\caption"
+% In "longtable" increase the counter "table" only if "\caption" is used
\def\LT@capti@n{%
\refstepcounter{table}%
\ORIG@LT@capti@n