Nomathjax

From TORI
Revision as of 18:44, 30 July 2019 by T (talk | contribs) (Text replacement - "\$([^\$]+)\$" to "\\(\1\\)")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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,