Can MathJax render a LaTeX math expression as an image?

匿名 (未验证) 提交于 2019-12-03 08:46:08

问题:

I know that MathJax can render LaTeX mathematical expressions as text.

Can MathJax render LaTeX math expressions as images? I can't find any information about this in the help documentation. If so, could you tell me the details? Thanks!

回答1:

I assume you're asking whether MathJax can render math expression as images. Unfortunately, the answer is no: the only output formats are HTML-with-CSS and MathML, according to the documentation. Of course, you could try to convert the resulting HTML+CSS to an image using some other method/library.



回答2:

You can configure MathJax to produce output using SVG (Scalable Vector Graphics) by: TeX-AMS-MML_SVG.js

refer to the following link for more information:

http://docs.mathjax.org/en/latest/configuration.html#using-a-configuration-file



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!