Difference between revisions of "Nomathjax"
m (Text replacement - "\$([^\$]+)\$" to "\\(\1\\)") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[nomathjax]] is option that allow to suppress the [[MathJax]] style. |
[[nomathjax]] is option that allow to suppress the [[MathJax]] style. |
||
− | In [[Mizugadro]], this style is default; dollars ( |
+ | 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. |
For these cases, the [[nomathjax]] command is designed. |
||
− | MathJax can be switched-off with command |
+ | 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 |
+ | 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. |
Below I suggest an example for this. |
||
Here is the expression with MathJax: |
Here is the expression with MathJax: |
||
− | + | <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: |
||
− | + | <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> |
||
− | + | <math> \sum_{n=0}^\infty a^n=\frac{1}{1-a} \</math> |
|
==Keywords== |
==Keywords== |
Latest revision as of 18:44, 30 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} \\)