LaTeXML icon indicating copy to clipboard operation
LaTeXML copied to clipboard

wrong box heights in \vbox (+ PGF)

Open xworld21 opened this issue 9 months ago • 2 comments

Try

\usepackage{tikz}
\begin{tikz}
    \node[rectangle, draw] {\vbox{Hello

    World}};
\end{tikz}

LaTeXML computes that the vertical box, for some reason, is almost 150pt high, much more than two rows of text.

Edit: more precisely, the box containing the vertical box is almost 150pt high. In other words, it's the foreignObject which becomes very high.

xworld21 avatar Feb 08 '25 11:02 xworld21