Sandbox
you can use this page to test wikitext language, it is free to modify by anybody
test6
[math]\displaystyle{ x^2 - y^2 +z^3 - a^{12} + \sqrt{\beta + 2.\pi.R + \delta + \phi} }[/math]
[math]\displaystyle{ {\rm THD}=\sqrt{\sum _{{\rm h}={\rm 2}}^{{\rm h}={\rm H}}\left(\frac{{\rm Y}_{{\rm h}} }{{\rm Y}_{{\rm 1}} } \right)^{{\rm 2}} } =\frac{\sqrt{{\rm Y}_{{\rm 2}}^{{\rm 2}} +{\rm Y}_{{\rm 3}}^{{\rm 2}} +...+{\rm Y}_{{\rm H}}^{{\rm 2}} } }{{\rm Y}_{{\rm 1}} } }[/math]
Color
Equations can use color:
{\color{Blue}x^2}+{\color{YellowOrange}2x}-{\color{OliveGreen}1}
- [math]\displaystyle{ {\color{Blue}x^2}+{\color{YellowOrange}2x}-{\color{OliveGreen}1} }[/math]
x_{1,2}=\frac{-b\pm\sqrt{\color{Red}b^2-4ac}}{2a}
- [math]\displaystyle{ x_{1,2}=\frac{-b\pm\sqrt{\color{Red}b^2-4ac}}{2a} }[/math]
It is also possible to change the background color (since r59550), as in the following example:
Background | Wikicode | Rendering (in PNG) |
---|---|---|
White | e^{i \pi} + 2 = 0
|
[math]\displaystyle{ e^{i \pi} + 2 = 0\,\! }[/math] |
\definecolor{orange}{RGB}{255,165,0}\pagecolor{orange}e^{i \pi} + 2 = 0
|
[math]\displaystyle{ \definecolor{orange}{RGB}{255,165,0}\pagecolor{orange}e^{i \pi} + 2 = 0\,\! }[/math] | |
Orange | e^{i \pi} + 2 = 0
|
[math]\displaystyle{ e^{i \pi} + 2 = 0\,\! }[/math] |
\definecolor{orange}{RGB}{255,165,0}\pagecolor{Green}e^{i \pi} + 2 = 0
|
[math]\displaystyle{ \definecolor{orange}{RGB}{255,165,0}\pagecolor{Green}e^{i \pi} + 2 = 0\,\! }[/math] |
[math]\displaystyle{ \color{Apricot}\text{Apricot} }[/math] | [math]\displaystyle{ \color{Aquamarine}\text{Aquamarine} }[/math] | [math]\displaystyle{ \color{Bittersweet}\text{Bittersweet} }[/math] | [math]\displaystyle{ \color{Black}\text{Black} }[/math] |
[math]\displaystyle{ \color{Blue}\text{Blue} }[/math] | [math]\displaystyle{ \color{BlueGreen}\text{BlueGreen} }[/math] | [math]\displaystyle{ \color{BlueViolet}\text{BlueViolet} }[/math] | [math]\displaystyle{ \color{BrickRed}\text{BrickRed} }[/math] |
[math]\displaystyle{ \color{Brown}\text{Brown} }[/math] | [math]\displaystyle{ \color{BurntOrange}\text{BurntOrange} }[/math] | [math]\displaystyle{ \color{CadetBlue}\text{CadetBlue} }[/math] | [math]\displaystyle{ \color{CarnationPink}\text{CarnationPink} }[/math] |
[math]\displaystyle{ \color{Cerulean}\text{Cerulean} }[/math] | [math]\displaystyle{ \color{CornflowerBlue}\text{CornflowerBlue} }[/math] | [math]\displaystyle{ \color{Cyan}\text{Cyan} }[/math] | [math]\displaystyle{ \color{Dandelion}\text{Dandelion} }[/math] |
[math]\displaystyle{ \color{DarkOrchid}\text{DarkOrchid} }[/math] | [math]\displaystyle{ \color{Emerald}\text{Emerald} }[/math] | [math]\displaystyle{ \color{ForestGreen}\text{ForestGreen} }[/math] | [math]\displaystyle{ \color{Fuchsia}\text{Fuchsia} }[/math] |
[math]\displaystyle{ \color{Goldenrod}\text{Goldenrod} }[/math] | [math]\displaystyle{ \color{Gray}\text{Gray} }[/math] | [math]\displaystyle{ \color{Green}\text{Green} }[/math] | [math]\displaystyle{ \color{GreenYellow}\text{GreenYellow} }[/math] |
[math]\displaystyle{ \color{JungleGreen}\text{JungleGreen} }[/math] | [math]\displaystyle{ \color{Lavender}\text{Lavender} }[/math] | [math]\displaystyle{ \color{LimeGreen}\text{LimeGreen} }[/math] | [math]\displaystyle{ \color{Magenta}\text{Magenta} }[/math] |
[math]\displaystyle{ \color{Mahogany}\text{Mahogany} }[/math] | [math]\displaystyle{ \color{Maroon}\text{Maroon} }[/math] | [math]\displaystyle{ \color{Melon}\text{Melon} }[/math] | [math]\displaystyle{ \color{MidnightBlue}\text{MidnightBlue} }[/math] |
[math]\displaystyle{ \color{Mulberry}\text{Mulberry} }[/math] | [math]\displaystyle{ \color{NavyBlue}\text{NavyBlue} }[/math] | [math]\displaystyle{ \color{OliveGreen}\text{OliveGreen} }[/math] | [math]\displaystyle{ \color{Orange}\text{Orange} }[/math] |
[math]\displaystyle{ \color{OrangeRed}\text{OrangeRed} }[/math] | [math]\displaystyle{ \color{Orchid}\text{Orchid} }[/math] | [math]\displaystyle{ \color{Peach}\text{Peach} }[/math] | [math]\displaystyle{ \color{Periwinkle}\text{Periwinkle} }[/math] |
[math]\displaystyle{ \color{PineGreen}\text{PineGreen} }[/math] | [math]\displaystyle{ \color{Plum}\text{Plum} }[/math] | [math]\displaystyle{ \color{ProcessBlue}\text{ProcessBlue} }[/math] | [math]\displaystyle{ \color{Purple}\text{Purple} }[/math] |
[math]\displaystyle{ \color{RawSienna}\text{RawSienna} }[/math] | [math]\displaystyle{ \color{Red}\text{Red} }[/math] | [math]\displaystyle{ \color{RedOrange}\text{RedOrange} }[/math] | [math]\displaystyle{ \color{RedViolet}\text{RedViolet} }[/math] |
[math]\displaystyle{ \color{Rhodamine}\text{Rhodamine} }[/math] | [math]\displaystyle{ \color{RoyalBlue}\text{RoyalBlue} }[/math] | [math]\displaystyle{ \color{RoyalPurple}\text{RoyalPurple} }[/math] | [math]\displaystyle{ \color{RubineRed}\text{RubineRed} }[/math] |
[math]\displaystyle{ \color{Salmon}\text{Salmon} }[/math] | [math]\displaystyle{ \color{SeaGreen}\text{SeaGreen} }[/math] | [math]\displaystyle{ \color{Sepia}\text{Sepia} }[/math] | [math]\displaystyle{ \color{SkyBlue}\text{SkyBlue} }[/math] |
[math]\displaystyle{ \color{SpringGreen}\text{SpringGreen} }[/math] | [math]\displaystyle{ \color{Tan}\text{Tan} }[/math] | [math]\displaystyle{ \color{TealBlue}\text{TealBlue} }[/math] | [math]\displaystyle{ \color{Thistle}\text{Thistle} }[/math] |
[math]\displaystyle{ \color{Turquoise}\text{Turquoise} }[/math] | [math]\displaystyle{ \color{Violet}\text{Violet} }[/math] | [math]\displaystyle{ \color{VioletRed}\text{VioletRed} }[/math] | [math]\displaystyle{ \pagecolor{Black}\color{White}\text{White} }[/math] |
[math]\displaystyle{ \color{WildStrawberry}\text{WildStrawberry} }[/math] | [math]\displaystyle{ \color{Yellow}\text{Yellow} }[/math] | [math]\displaystyle{ \color{YellowGreen}\text{YellowGreen} }[/math] | [math]\displaystyle{ \color{YellowOrange}\text{YellowOrange} }[/math] |
Note that color should not be used as the only way to identify something, because it will become meaningless on black-and-white media or for color-blind people. See Wikipedia:Manual of Style (accessibility).
[math]\displaystyle{ a^2-b^2=(a+b)*(a-b) }[/math]
[math]\displaystyle{ \sqrt(pi) }[/math]