show math formulas as pictures

50 views
Skip to first unread message

Nguyễn Thành Trương

unread,
Oct 25, 2021, 12:24:27 AM10/25/21
to MathJax Users
I want the math formula to be displayed as an image as shown below, how can I do that? Please give me the code, thank you
Untitled.png
Untitled.png

Murray

unread,
Oct 25, 2021, 3:37:45 AM10/25/21
to MathJax Users
MathJax is a library that produces HTML (for Web pages) and MathML (used largely by screen readers). It doesn't produce images as output.

Your options include:

(1) Using a service like Codecogs (https://latex.codecogs.com/) if you only have a small number of equations; or

(2) Using a library like http://www.latex2png.com/ which is a PHP, server-based facility that creates quite good image output. You can see the results on this page https://www.intmath.com/blog/mathematics/infinite-series-background-11487 The images are annoyingly fuzzy because of some optimisation going on by some plugin, but the original images are quite good.

Hope it helps

Regards
Murray

Nguyễn Thành Trương

unread,
Oct 25, 2021, 9:42:59 AM10/25/21
to mathja...@googlegroups.com
Is there a way to put the formula in the $$ sign pair? Because I want more formulas to display as images

Vào Th 2, 25 thg 10, 2021 vào lúc 14:37 Murray <murray...@gmail.com> đã viết:
--
You received this message because you are subscribed to a topic in the Google Groups "MathJax Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mathjax-users/Ffmuqg7iZK0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/8e0cdc44-d5c4-4e6f-b5ce-4e91739ad916n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages