Nomathjax

From TORI
Jump to: navigation, search

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,