0

enter image description here

\documentclass{article} \usepackage{tabularray} \UseTblrLibrary{booktabs} \begin{document} \section{All good here} \begin{tblr}{lccr} \hline Alpha & Beta & Gamma & Delta \\ \hline Epsilon & Zeta & Eta & Theta \\ \hline Iota & Kappa & Lambda & Mu \\ \hline \end{tblr} \section{Pb here} \begin{tblr}{lccr} \hline Alpha & Beta & Gamma & Delta \tabularnewline \hline Epsilon & Zeta & Eta & Theta \tabularnewline \hline Iota & Kappa & Lambda & Mu \tabularnewline \hline \end{tblr} \end{document} 
4
  • 1
    incompatible is probably the wrong term here. In the LaTeX kernel \tabularnewline is only defined inside \@array, it is \relax everywhere else. You could register an issue about it on tabularrays github. BTW: you can see the definition via \typeout{\meaning\tabularnewline} inside a cell. Compare to what you get if you use tabular instead of tblr. Commented Mar 10, 2022 at 10:10
  • @daleif done ! . nice trick \typeout{\meaning... Merci ! Commented Mar 10, 2022 at 10:14
  • @JeT I can not understand why you want to use a quite long name \tabularnewline? Can you show your use case? Commented Mar 11, 2022 at 0:58
  • @L.J.R. I could not disagree but 1. I follow this post, and 2. I try to apply your package with other packages like acro or tcolorbox that seem to prefer \tabularray. I will send 2 questions on this, sure you'll be able to help me :) Commented Mar 11, 2022 at 19:03

1 Answer 1

3

From the post you gave, you can see it is just a workaround to use \tabularnewline in traditional tabular environment, because of the limitation of tabular. But tabularray is quite different in implementation from tabular and it doesn't have this limitation. Therefore you need not and should not use \tabularnewline any more in general.

In case you really need to use \tabularnewline, you can define \tabularnewline as \\ and use expand option in a tabularray table, see this question.

If you find problems in applying tabularray with other packages like acro or tcolorbox, you may ask some new questions for them.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.