SpyTh - 4 months ago 56

LaTeX Question

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?

Answer

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:

http://askubuntu.com/questions/33196/how-to-convert-latex-equations-to-svg