Skip to content

Line break command ignored within frame in beamerarticle #632

Description

@ysalmon

I have a tblr with a multiline cell, but the \\ line breaking command seems ignored when in a frame environment in a beamerarticle :

\documentclass{article}
\usepackage{beamerarticle}
\usepackage{tabularray}

\begin{document}
\begin{frame}
\begin{tblr}{hlines, vlines,
             columns={halign=c, valign=m, font=\scriptsize, colsep=4pt},
             column{1}={wd=4em}}
{$L_1.L_2$ \\ \tiny non vides}  \\
\end{tblr}
\end{frame}
\end{document}

gives

Image

If I remove the frame environment, I correctly get

Image

Of course the frame is there because my real example is from a larger presentation of which I am doing the article counterpart. Adding [fragile] does not help.

In the beamer version of the document, the line break is where I want it, but that may be by chance (it seems the line break happens "naturally" where LaTeX wants to put it, and not where I request it).

Metadata

Metadata

Assignees

Labels

BugAn established bugFixed in devThe raised concern is addressed in the dev branch, awaiting release.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions