Skip to content

Line break command ignored within frame in beamerarticle #632

@ysalmon

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions