\pi=\frac{426880\sqrt{10005}}{\sum_{n=0}^{\infty} \frac{(6n)!(545140134n+13591409)}{(n!)^3(3n)!(-640320)^{3n}}}
First, I must thank the ASCIIMath Image Fallback website; it is they who developed this powerful JS, making it possible to input mathematical formulas on any website. Then, I thank the Math Development Forum; it is their webmaster Guo Xianqiang who perfected this JS file, making it more powerful than ever before.
Scientific Space displays mathematical formulas by calling a JS file. By adding the following code to any website that needs to display mathematical formulas, you can enable support for mathematical formulas:
<script type="text/javascript" src="JS_FILE_ADDRESS"></script>Please change “JS_FILE_ADDRESS” to your own address. My address is http://kexue.fm/sci/tex.js. Since each JS has anti-hotlinking features, it can only be applied to your own website and requires some modifications. Therefore, please do not call my address directly (it will not display any effect). If you have a need, you can leave a message, and I will help you modify it and send it to you.
In any place in Scientific Space where input is possible, as long as you enter the corresponding mathematical formula code between two dollar signs “$” (which is Shift+4 on the keyboard), the corresponding mathematical formula will be displayed.
The called JS will first determine your browser type. If it is Firefox (Mozilla) or Netscape, since these two browsers support MathML, the LaTeX code will be directly interpreted into MathML language to display beautiful mathematical formulas with fast speed. If you use IE or IE-core browsers (including Maxthon, TheWorld, etc.), it will first detect whether the MathPlayer plugin is installed in the system. If installed, IE will also support MathML and display formulas via MathML quickly; if the system does not have MathPlayer, the formulas will be interpreted as images for display, which is relatively slower (especially for articles with many formulas).
Therefore, IE users are recommended to install the MathPlayer plugin to speed up formula display! Click here to download. After installation, there will be an English prompt, roughly meaning “Software installed successfully.”
Note: MathPlayer and IE8 will encounter errors. The solution is to select “Compatibility View” in the “Tools” tab and add this site’s address (http://kexue.fm) to the Compatibility View websites.
Something like this (I don’t have IE8 installed now, so I can’t use my own site for the demonstration):
[Image: IE8 Compatibility View Settings (GIF Format)]
Another solution is to upgrade MathPlayer to version 2.2 or higher.
Now, we can learn LaTeX syntax. Thanks again to the “Math Development
Forum”; they have already written a detailed tutorial:
http://bbs.emath.ac.cn/thread-212-1-1.html
Here, I will only provide a brief explanation:
(1) Basic symbol input: Fractions can be written as 4/3 or \frac{4}{3} (display effect is 4/3). The latter is recommended because the former is only suitable for this space and is not applicable to other websites (such as Wikipedia). Note that if you use the former, 4a/3b should be written as {4a}/{3b}; if you simply write 4a/3b, it will be displayed as 4a/3b. LaTeX uses {} to enclose a quantity.
Square roots can be represented by \sqrt{2} (don’t forget the “\”, \sqrt{2}), and n-th roots can be expressed as \sqrt[n]{2} (\sqrt[n]{2}). Subscripts and superscripts use “^” and “_” respectively, such as 2^3, 4_n (2^3, 4_n). However, 2^{33} must be written as 2^{33}. Others are similar.
(2) Equals and arrow input:
The basic equal sign is =, and adding “!” before some basic symbols
represents “not”; for example, not equal is “!=”. Therefore, if you want
to input n! = a, you should use
a space to separate ! and =.
“->” and “<-” are two arrows, “\Rightarrow” and “<=” are
arrows, but “>=” represents “not
less than” (\geq).
(3) For the input of other symbols, please refer to: http://bbs.emath.ac.cn/thread-212-1-1.html. I will not go into detail here.
Additionally, here is a web-based mathematical formula editor: http://www.codecogs.com/components/equationeditor/equationeditor.php. Beginners can practice LaTeX here.
When reprinting, please include the address of this article: https://kexue.fm/archives/83
For more detailed reprinting matters, please refer to: Scientific Space FAQ