brucemiller / LaTeXML

LaTeXML: a TeX and LaTeX to XML/HTML/ePub/MathML translator.
http://dlmf.nist.gov/LaTeXML/
Other
957 stars 101 forks source link

pgfmath parse for width,depth,height #2304

Closed dginev closed 9 months ago

dginev commented 10 months ago

Added in the hope of fixing https://github.com/dginev/ar5iv/issues/431 , but it only resolved the first error in that issue.

Minimal example enabled by the PR:

\documentclass{article}
\usepackage{pgf}
\begin{document}

\pgfmathparse{height("Some Lovely Text")} \pgfmathresult

\pgfmathsetmacro\MathAxis{height("$\vcenter{}$")}

\MathAxis

\end{document}