LaTeXML icon indicating copy to clipboard operation
LaTeXML copied to clipboard

SVG images are not sized properly (--mathsvg + dvisvgm)

Open xworld21 opened this issue 3 years ago • 0 comments
trafficstars

Creating math images produces poor sizing and alignment, for instance

\documentclass{amsart}
\begin{document}
  Alignment test: $\underbrace{x + \dots + x}_{n\text{ times}}$.
\end{document}

through latexmlc --mathimages produces image My guess is that the scaling passed to dvisvgm does not match the scaling applied to the depth, hence the poor vertical alignment.

xworld21 avatar Apr 02 '22 18:04 xworld21