summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/booktabs/booktabs.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/booktabs/booktabs.dtx')
-rw-r--r--macros/latex/contrib/booktabs/booktabs.dtx20
1 files changed, 12 insertions, 8 deletions
diff --git a/macros/latex/contrib/booktabs/booktabs.dtx b/macros/latex/contrib/booktabs/booktabs.dtx
index e599a2d7c9..de915565e7 100644
--- a/macros/latex/contrib/booktabs/booktabs.dtx
+++ b/macros/latex/contrib/booktabs/booktabs.dtx
@@ -1,8 +1,8 @@
% \iffalse (meta-comment)
% -----------------------------------------------------------------
% booktabs.dtx
-% Copyright (C) 1995--2016 Simon Fear
-% Maintained by Danie Els <dnjels@sun.ac.za>
+% Copyright (C) 1995--2019 Simon Fear
+% Maintained by Danie Els <dnjels@gmail.com>
%
% This file is part of the booktabs package for publication
% quality tables for LaTeX
@@ -27,12 +27,12 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{booktabs}
%<*package>
- [2016/04/27 v1.618033 publication quality tables]
+ [2019/10/08 v1.6180339 publication quality tables]
%</package>
%
%<*driver>
\documentclass{ltxdoc}
- \usepackage{booktabs}[2016/04/27]
+ \usepackage{booktabs}[2019/10/08]
\EnableCrossrefs
\CodelineIndex
\RecordChanges
@@ -48,7 +48,7 @@
%</driver>
% \fi
%
-% \CheckSum{489}
+% \CheckSum{497}
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -91,7 +91,7 @@
% Releases (Versions 1.618, 1.6180, 1.61803 and 1.618033) are
% only bug patches, support for the =colortbl= package and better
% compatability with =longtable=.\footnote{By Danie Els
-% (\texttt{dnjels@sun.ac.za}) in the absence of the author.}
+% (\texttt{dnjels@gmail.com}) in the absence of the author.}
% \end{abstract}
%
% \bigskip
@@ -746,6 +746,7 @@
% \begin{macro}{\@BTrule}
% All the rules (except =\addlinespace=) share this code.
% \changes{v1.618033}{2016/04/27}{Rearranged and added \cmd{\nobreak} within longtable (Morten H{\o}gholm)}
+% \changes{v1.6180339}{2019/10/08}{Add test for xltabular (Herbert Voss)}
% \begin{macrocode}
\def\@BTrule[#1]{%
% \end{macrocode}
@@ -771,8 +772,11 @@
\nobreak
\let\@BTswitch\@BLTrule
\else
- \let\@BTswitch\@BTnormal
- \fi\fi
+ \ifx\xltabular\undefined
+ \let\@BTswitch\@BTnormal
+ \else
+ \let\@BTswitch\@BLTrule
+ \fi\fi\fi
% \end{macrocode}
% Call =\@BTswitch= at end of macro
% \begin{macrocode}