Difference between revisions of "Nomathjax"

From TORI
Jump to: navigation, search
 
m (Text replacement - "\$\$([^\$]+)\$\$" to "<math>\1\</math>")
Line 8: Line 8:
   
 
Here is the expression with MathJax:
 
Here is the expression with MathJax:
$$ \sum_{n=0}^\infty a^n=\frac{1}{1-a} $$
+
<math> \sum_{n=0}^\infty a^n=\frac{1}{1-a} \</math>
 
Now, I turn the MathJax off
 
Now, I turn the MathJax off
 
<nomathjax> and copypast the same formula:
 
<nomathjax> and copypast the same formula:
$$ \sum_{n=0}^\infty a^n=\frac{1}{1-a} $$
+
<math> \sum_{n=0}^\infty a^n=\frac{1}{1-a} \</math>
   
 
Now I switch MathJax on again: </nomathjax>
 
Now I switch MathJax on again: </nomathjax>
$$ \sum_{n=0}^\infty a^n=\frac{1}{1-a} $$
+
<math> \sum_{n=0}^\infty a^n=\frac{1}{1-a} \</math>
   
 
==Keywords==
 
==Keywords==

Revision as of 15:37, 26 July 2019

nomathjax is option that allow to suppress the MathJax style. In Mizugadro, this style is default; dollars ($ \$ $) are used to indicate the mathematical expressions. However, sometimes, the dollars have different meaning. For example, in PHP, the names of variables begin with $ \$ $. For these cases, the nomathjax command is designed.

MathJax can be switched-off with command $\rm < \! nomathjax \! >$. Then, perhaps, after typing some text, where dollars do not have their usual mathematical meaning, the normal style can be recovered with command $\rm < \! /nomathjax \! >$. Below I suggest an example for this.

Here is the expression with MathJax\[ \sum_{n=0}^\infty a^n=\frac{1}{1-a} \\] Now, I turn the MathJax off and copypast the same formula\[ \sum_{n=0}^\infty a^n=\frac{1}{1-a} \\]

Now I switch MathJax on again: \( \sum_{n=0}^\infty a^n=\frac{1}{1-a} \\)

Keywords

Dollar, Latex, Mathematics, MathJax, Science, PHP,