DWQA QuestionsCategory: Development ToolWhat are the common settings for mathjax?
eccstartup asked 2 months ago

I’d like to ask some common configuration examples.
I don’t know JS, so I want to find some ready-made ones; online things are a bit miscellaneous, so I want to ask the user how to use them.
My intention is to combine remarkjs and mathjax to make a simple example for later use.

Evian replied 2 months ago

It still works 🙂

2 Answers
Song Xiao Bei answered 2 months ago

http://blog.libnav.com/js/89.html
Original English:http://ajaxian.com/archives/mathjax
I’ve done something before. Let’s see if it helps
Also, you can see the formula editor of Baidu Encyclopedia, and you will find something special

m00nlight answered 2 months ago

Here is an example of minimization:
<!DOCTYPE html>
<html>
<head lang=”en”>

<script type=”text/javascript” src=”http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML”></script&gt;
<title></title>
</head>
<body>
Test for formula.
$$\sum_{n=1}^\infty 1/n^2 = \frac{\pi^2}{6} $$
</body>
</html>
The mathjax file is introduced, and then the syntax similar to latex is applied where the formula needs to be inserted. If the formula between $$$$is a single line formula, and the formula between $$is an in line formula, the mathematical formula can be generated.

m00nlight replied 2 months ago

Just try this, just go to the above link to download the mathjax file, and then change the original JavaScript link connecting to the mathjax CDN to < script type = “text / JavaScript” SRC = “path to mathjax / mathjax. JS? Config = tex-ams-mml ﹤ htmlormml” >.