xltabular and booktabs failing on "(" -- toprule, midrule, bottomrule only on first column

Alexander Krumeich alexander.krumeich at gmail.com
Tue Nov 12 14:30:15 CET 2019


Hi,

there are two bugs in the booktabs package, that might have been caused by
the October update to booktabs.

Consider the following example:

\documentclass[a4paper]{article}

\usepackage{xltabular}
\usepackage{booktabs}

\begin{document}

\begin{tabular*}{\textwidth}{@{}ll@{}}
  \toprule
  Column 1 & Column 2 \\
  \midrule
  (None) & Other \\
  \bottomrule
\end{tabular*}

\end{document}

The first bug:
LuaLaTeX crashes with this error:

! Undefined control sequence.
<argument> ...al \expandafter \let \cmrsideswitch
                                                  \@tempa \fi \fi
l.13   (None)
              & Other \\
?

If you remove the opening parenthesis in "(None)" it works.

The second bug:
The \toprule, \midrule and \bottomrule only extend to the first column of
the table. No rules on, over or under the second column. However, if you
use tabularx instead of xltabular the rules extend the whole line, as
expected.

Kindly take a look at this.

Thanks!

   Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20191112/88c0c46f/attachment.html>


More information about the tex-live mailing list