summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-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