"Песочница" — различия между версиями

Материал из Руководство по устройству электроустановок

Перейти к: навигация , поиск
м (test)
 
Строка 15: Строка 15:
  
 
0.9 x Uo
 
0.9 x Uo
 +
 +
 +
test 77
 +
 +
<math>x^2 - y^2 +z^3 - a^{12} + \sqrt{\beta + 2.\pi.R + \delta + \phi} </math>
 +
 +
<math> {\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:
 +
 +
*<code>{\color{Blue}x^2}+{\color{YellowOrange}2x}-{\color{OliveGreen}1}</code>
 +
*:<math>{\color{Blue}x^2}+{\color{YellowOrange}2x}-{\color{OliveGreen}1}</math>
 +
 +
*<code>x_{1,2}=\frac{-b\pm\sqrt{\color{Red}b^2-4ac}}{2a}</code>
 +
*:<math>x_{1,2}=\frac{-b\pm\sqrt{\color{Red}b^2-4ac}}{2a}</math>
 +
 +
It is also possible to change the background color (since [[rev:59550|r59550]]), as in the following example:
 +
{| class=wikitable
 +
|-
 +
! Background
 +
! Wikicode
 +
! Rendering (in PNG)
 +
|-
 +
! rowspan=2 | White
 +
| <code>e^{i \pi} + 2 = 0</code>
 +
| <math>e^{i \pi} + 2 = 0\,\!</math>
 +
|-
 +
| <code>'''\definecolor{orange}{RGB}{255,165,0}\pagecolor{orange}'''e^{i \pi} + 2 = 0</code>
 +
| <math>\definecolor{orange}{RGB}{255,165,0}\pagecolor{orange}e^{i \pi} + 2 = 0\,\!</math>
 +
|-
 +
! rowspan=2 | Orange
 +
| <code>e^{i \pi} + 2 = 0</code>
 +
| style="background-color:orange;" | <math>e^{i \pi} + 2 = 0\,\!</math>
 +
|-
 +
| <code>'''\definecolor{orange}{RGB}{255,165,0}\pagecolor{Green}'''e^{i \pi} + 2 = 0</code>
 +
| style="background-color:orange;" | <math>\definecolor{orange}{RGB}{255,165,0}\pagecolor{DarkOrchid}e^{i \pi} + 2 = 0\,\!</math>
 +
|}
 +
 +
{| class="wikitable"
 +
|+ Colors supported
 +
|-
 +
| <math>\color{Apricot}\text{Apricot}</math> || <math>\color{Aquamarine}\text{Aquamarine}</math> || <math>\color{Bittersweet}\text{Bittersweet}</math> || <math>\color{Black}\text{Black}</math>
 +
|-
 +
| <math>\color{Blue}\text{Blue}</math> || <math>\color{BlueGreen}\text{BlueGreen}</math> || <math>\color{BlueViolet}\text{BlueViolet}</math> || <math>\color{BrickRed}\text{BrickRed}</math>
 +
|-
 +
| <math>\color{Brown}\text{Brown}</math> || <math>\color{BurntOrange}\text{BurntOrange}</math> || <math>\color{CadetBlue}\text{CadetBlue}</math> || <math>\color{CarnationPink}\text{CarnationPink}</math>
 +
|-
 +
| <math>\color{Cerulean}\text{Cerulean}</math> || <math>\color{CornflowerBlue}\text{CornflowerBlue}</math> || <math>\color{Cyan}\text{Cyan}</math> || <math>\color{Dandelion}\text{Dandelion}</math>
 +
|-
 +
| <math>\color{DarkOrchid}\text{DarkOrchid}</math> || <math>\color{Emerald}\text{Emerald}</math> || <math>\color{ForestGreen}\text{ForestGreen}</math> || <math>\color{Fuchsia}\text{Fuchsia}</math>
 +
|-
 +
| <math>\color{Goldenrod}\text{Goldenrod}</math> || <math>\color{Gray}\text{Gray}</math> || <math>\color{Green}\text{Green}</math> || <math>\color{GreenYellow}\text{GreenYellow}</math>
 +
|-
 +
| <math>\color{JungleGreen}\text{JungleGreen}</math> || <math>\color{Lavender}\text{Lavender}</math> || <math>\color{LimeGreen}\text{LimeGreen}</math> || <math>\color{Magenta}\text{Magenta}</math>
 +
|-
 +
| <math>\color{Mahogany}\text{Mahogany}</math> || <math>\color{Maroon}\text{Maroon}</math> || <math>\color{Melon}\text{Melon}</math> || <math>\color{MidnightBlue}\text{MidnightBlue}</math>
 +
|-
 +
| <math>\color{Mulberry}\text{Mulberry}</math> || <math>\color{NavyBlue}\text{NavyBlue}</math> || <math>\color{OliveGreen}\text{OliveGreen}</math> || <math>\color{Orange}\text{Orange}</math>
 +
|-
 +
| <math>\color{OrangeRed}\text{OrangeRed}</math> || <math>\color{Orchid}\text{Orchid}</math> || <math>\color{Peach}\text{Peach}</math> || <math>\color{Periwinkle}\text{Periwinkle}</math>
 +
|-
 +
| <math>\color{PineGreen}\text{PineGreen}</math> || <math>\color{Plum}\text{Plum}</math> || <math>\color{ProcessBlue}\text{ProcessBlue}</math> || <math>\color{Purple}\text{Purple}</math>
 +
|-
 +
| <math>\color{RawSienna}\text{RawSienna}</math> || <math>\color{Red}\text{Red}</math> || <math>\color{RedOrange}\text{RedOrange}</math> || <math>\color{RedViolet}\text{RedViolet}</math>
 +
|-
 +
| <math>\color{Rhodamine}\text{Rhodamine}</math> || <math>\color{RoyalBlue}\text{RoyalBlue}</math> || <math>\color{RoyalPurple}\text{RoyalPurple}</math> || <math>\color{RubineRed}\text{RubineRed}</math>
 +
|-
 +
| <math>\color{Salmon}\text{Salmon}</math> || <math>\color{SeaGreen}\text{SeaGreen}</math> || <math>\color{Sepia}\text{Sepia}</math> || <math>\color{SkyBlue}\text{SkyBlue}</math>
 +
|-
 +
| <math>\color{SpringGreen}\text{SpringGreen}</math> || <math>\color{Tan}\text{Tan}</math> || <math>\color{TealBlue}\text{TealBlue}</math> || <math>\color{Thistle}\text{Thistle}</math>
 +
|-
 +
| <math>\color{Turquoise}\text{Turquoise}</math> || <math>\color{Violet}\text{Violet}</math> || <math>\color{VioletRed}\text{VioletRed}</math> || <math style="background:black">\pagecolor{Black}\color{White}\text{White}</math>
 +
|-
 +
| <math>\color{WildStrawberry}\text{WildStrawberry}</math> || <math>\color{Yellow}\text{Yellow}</math> || <math>\color{YellowGreen}\text{YellowGreen}</math> || <math>\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)#Color]].
 +
 +
<math>a^2-b^2=(a+b)*(a-b)</math>
 +
 +
<math>\sqrt(pi)</math>

Текущая версия на 09:39, 4 февраля 2014

Это песочница для экспериментов с редактированием статей. Чтобы начать редактировать эту страницу, нажмите кнопку «править» в верхнем меню. Не стесняйтесь пробовать различные варианты форматирования.

Если вы уже зарегистрированы, то можете создать для тестов свою отдельную подстраницу участника.

test


0.8\ \sqrt 3\ .\ U_0

0.8\ \sqrt 3 \cdot U_0

0.8\ \sqrt 3 \bullet U_0

0.8\ \sqrt 3 \times U_0

0.9 x Uo


test 77

x^2 - y^2 +z^3 - a^{12} + \sqrt{\beta + 2.\pi.R + \delta + \phi}

 {\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}} }



[править] Color

Equations can use color:

  • {\color{Blue}x^2}+{\color{YellowOrange}2x}-{\color{OliveGreen}1}
    {\color{Blue}x^2}+{\color{YellowOrange}2x}-{\color{OliveGreen}1}
  • x_{1,2}=\frac{-b\pm\sqrt{\color{Red}b^2-4ac}}{2a}
    x_{1,2}=\frac{-b\pm\sqrt{\color{Red}b^2-4ac}}{2a}

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 e^{i \pi} + 2 = 0\,\!
\definecolor{orange}{RGB}{255,165,0}\pagecolor{orange}e^{i \pi} + 2 = 0 \definecolor{orange}{RGB}{255,165,0}\pagecolor{orange}e^{i \pi} + 2 = 0\,\!
Orange e^{i \pi} + 2 = 0 e^{i \pi} + 2 = 0\,\!
\definecolor{orange}{RGB}{255,165,0}\pagecolor{Green}e^{i \pi} + 2 = 0 \definecolor{orange}{RGB}{255,165,0}\pagecolor{DarkOrchid}e^{i \pi} + 2 = 0\,\!
Colors supported
\color{Apricot}\text{Apricot} \color{Aquamarine}\text{Aquamarine} \color{Bittersweet}\text{Bittersweet} \color{Black}\text{Black}
\color{Blue}\text{Blue} \color{BlueGreen}\text{BlueGreen} \color{BlueViolet}\text{BlueViolet} \color{BrickRed}\text{BrickRed}
\color{Brown}\text{Brown} \color{BurntOrange}\text{BurntOrange} \color{CadetBlue}\text{CadetBlue} \color{CarnationPink}\text{CarnationPink}
\color{Cerulean}\text{Cerulean} \color{CornflowerBlue}\text{CornflowerBlue} \color{Cyan}\text{Cyan} \color{Dandelion}\text{Dandelion}
\color{DarkOrchid}\text{DarkOrchid} \color{Emerald}\text{Emerald} \color{ForestGreen}\text{ForestGreen} \color{Fuchsia}\text{Fuchsia}
\color{Goldenrod}\text{Goldenrod} \color{Gray}\text{Gray} \color{Green}\text{Green} \color{GreenYellow}\text{GreenYellow}
\color{JungleGreen}\text{JungleGreen} \color{Lavender}\text{Lavender} \color{LimeGreen}\text{LimeGreen} \color{Magenta}\text{Magenta}
\color{Mahogany}\text{Mahogany} \color{Maroon}\text{Maroon} \color{Melon}\text{Melon} \color{MidnightBlue}\text{MidnightBlue}
\color{Mulberry}\text{Mulberry} \color{NavyBlue}\text{NavyBlue} \color{OliveGreen}\text{OliveGreen} \color{Orange}\text{Orange}
\color{OrangeRed}\text{OrangeRed} \color{Orchid}\text{Orchid} \color{Peach}\text{Peach} \color{Periwinkle}\text{Periwinkle}
\color{PineGreen}\text{PineGreen} \color{Plum}\text{Plum} \color{ProcessBlue}\text{ProcessBlue} \color{Purple}\text{Purple}
\color{RawSienna}\text{RawSienna} \color{Red}\text{Red} \color{RedOrange}\text{RedOrange} \color{RedViolet}\text{RedViolet}
\color{Rhodamine}\text{Rhodamine} \color{RoyalBlue}\text{RoyalBlue} \color{RoyalPurple}\text{RoyalPurple} \color{RubineRed}\text{RubineRed}
\color{Salmon}\text{Salmon} \color{SeaGreen}\text{SeaGreen} \color{Sepia}\text{Sepia} \color{SkyBlue}\text{SkyBlue}
\color{SpringGreen}\text{SpringGreen} \color{Tan}\text{Tan} \color{TealBlue}\text{TealBlue} \color{Thistle}\text{Thistle}
\color{Turquoise}\text{Turquoise} \color{Violet}\text{Violet} \color{VioletRed}\text{VioletRed} \pagecolor{Black}\color{White}\text{White}
\color{WildStrawberry}\text{WildStrawberry} \color{Yellow}\text{Yellow} \color{YellowGreen}\text{YellowGreen} \color{YellowOrange}\text{YellowOrange}

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)#Color.

a^2-b^2=(a+b)*(a-b)

\sqrt(pi)