- #1
MarkFL
Gold Member
MHB
- 13,288
- 12
Hello Everyone,
We have added all of MathJax's extensions to our script, so we have many new commands available. You can read about them here:
http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-extensions
Here are some examples of our new extensions:
Bbox:
\(\displaystyle \bbox[5px,border:2px solid red]{\frac{x}{y}}\)
\(\displaystyle \color{white}\bbox[5px,blue]{\sum_{k=0}^n\left(k^3 \right)=\left(\sum_{k=0}^n\left(k \right) \right)^2}\)
Cancel:
The cancel commands (we previously had this extension, but we thought it would be good to show the variants):
\(\displaystyle \frac{\cancel{a}x}{\cancel{a}}=x\)
\(\displaystyle \frac{\bcancel{a}x}{\bcancel{a}}=x\)
\(\displaystyle \frac{\xcancel{a}x}{\xcancel{a}}=x\)
Chemical equations:
\(\displaystyle \ce{SO4^2- + Ba^2+ -> BaSO4 v}\)
Enclose:
\(\displaystyle \enclose{circle}[mathcolor="red"]{\color{black}{x}}\)
\(\displaystyle \enclose{circle,box}{x}\)
\(\displaystyle 13\enclose{longdiv}{169}\)
\(\displaystyle \enclose{left}{\frac{x}{y}}\)
Extpfeil:
\(\displaystyle x\xtwoheadrightarrow y\)
\(\displaystyle x\xtwoheadleftarrow y\)
\(\displaystyle x\xmapsto y\)
\(\displaystyle x\xlongequal y\)
\(\displaystyle x\xtofrom y\)
You can even define your own arrow as follows:
\(\displaystyle \Newextarrow{\xrightharpoonup}{5,10}{0x21C0}\)
and then use it thereafter (in that post):
\(\displaystyle x\xrightharpoonup y\)
Text tip:
This allows you to define information the will pop up when the mouse cursor hovers over your expression.
\(\displaystyle \texttip{\int_a^b f(x)\,dx=F(b)-F(a)}{The Anti-Derivative form of The Fundamental Theorem of Calculus}\)
Unicodes:
\(\displaystyle \unicode[.55,0.05]{x22D6}\)
We have added all of MathJax's extensions to our script, so we have many new commands available. You can read about them here:
http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-extensions
Here are some examples of our new extensions:
Bbox:
Code:
[MATH]\bbox[5px,border:2px solid red]{\frac{x}{y}}[/MATH]
\(\displaystyle \bbox[5px,border:2px solid red]{\frac{x}{y}}\)
Code:
[MATH]\color{white}\bbox[5px,blue]{\sum_{k=0}^n\left(k^3 \right)=\left(\sum_{k=0}^n\left(k \right) \right)^2}[/MATH]
\(\displaystyle \color{white}\bbox[5px,blue]{\sum_{k=0}^n\left(k^3 \right)=\left(\sum_{k=0}^n\left(k \right) \right)^2}\)
Cancel:
The cancel commands (we previously had this extension, but we thought it would be good to show the variants):
Code:
[MATH]\frac{\cancel{a}x}{\cancel{a}}=x[/MATH]
\(\displaystyle \frac{\cancel{a}x}{\cancel{a}}=x\)
Code:
[MATH]\frac{\bcancel{a}x}{\bcancel{a}}=x[/MATH]
\(\displaystyle \frac{\bcancel{a}x}{\bcancel{a}}=x\)
Code:
[MATH]\frac{\xcancel{a}x}{\xcancel{a}}=x[/MATH]
\(\displaystyle \frac{\xcancel{a}x}{\xcancel{a}}=x\)
Chemical equations:
Code:
[MATH]\ce{SO4^2- + Ba^2+ -> BaSO4 v}[/MATH]
\(\displaystyle \ce{SO4^2- + Ba^2+ -> BaSO4 v}\)
Enclose:
Code:
[MATH]\enclose{circle}[mathcolor="red"]{\color{black}{x}}[/MATH]
\(\displaystyle \enclose{circle}[mathcolor="red"]{\color{black}{x}}\)
Code:
[MATH]\enclose{circle,box}{x}[/MATH]
\(\displaystyle \enclose{circle,box}{x}\)
Code:
[MATH]13\enclose{longdiv}{169}[/MATH]
\(\displaystyle 13\enclose{longdiv}{169}\)
Code:
[MATH]\enclose{left}{\frac{x}{y}}[/MATH]
\(\displaystyle \enclose{left}{\frac{x}{y}}\)
Extpfeil:
Code:
[MATH]x\xtwoheadrightarrow y[/MATH]
\(\displaystyle x\xtwoheadrightarrow y\)
Code:
[MATH]x\xtwoheadleftarrow y[/MATH]
\(\displaystyle x\xtwoheadleftarrow y\)
Code:
[MATH]x\xmapsto y[/MATH]
\(\displaystyle x\xmapsto y\)
Code:
[MATH]x\xlongequal y[/MATH]
\(\displaystyle x\xlongequal y\)
Code:
[MATH]x\xtofrom y[/MATH]
\(\displaystyle x\xtofrom y\)
You can even define your own arrow as follows:
Code:
[MATH]\Newextarrow{\xrightharpoonup}{5,10}{0x21C0}[/MATH]
\(\displaystyle \Newextarrow{\xrightharpoonup}{5,10}{0x21C0}\)
and then use it thereafter (in that post):
Code:
[MATH]x\xrightharpoonup y[/MATH]
\(\displaystyle x\xrightharpoonup y\)
Text tip:
This allows you to define information the will pop up when the mouse cursor hovers over your expression.
Code:
[MATH]\texttip{\int_a^b f(x)\,dx=F(b)-F(a)}{The Anti-Derivative form of The Fundamental Theorem of Calculus}[/MATH]
\(\displaystyle \texttip{\int_a^b f(x)\,dx=F(b)-F(a)}{The Anti-Derivative form of The Fundamental Theorem of Calculus}\)
Unicodes:
Code:
[MATH]\unicode[.55,0.05]{x22D6}[/MATH]
\(\displaystyle \unicode[.55,0.05]{x22D6}\)