SpyTh SpyTh - 7 months ago 76
LaTeX Question

Latex mathematical equations in SVG elements

Is the a straightforward way to embed latex mathematical equations (typesetting) in a SVG element, e.g. labels in D3.js or within a SVG text?


You could use MathML by embedding HTML in a <foreignObject> element. However that would only work in browsers. And only for browsers that support MathML.

Otherwise you would need to search out some other utilities such as those suggested here: