|
|
(8 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
− | If you want to enter a formula into an article, this can be done in WikiText using the <math> tag.<br>
| |
| | | |
− | <br> | + | Energypedia also offers the possibility to include formulas in an article, however this is a bit more difficult to do. |
| + | |
| + | 1. Choose the "wiki text editor" |
| + | |
| + | [[File:Show Wiki Text Editor.JPG|none|563px|alt=Show Wiki Text Editor.JPG]] |
| + | |
| + | 2. Click on "Mathematical formula (LaTeX)" |
| + | |
| + | <br/><u>The Wikitext code for an example formula looks like this:</u><pre> <math> |
| + | \operatorname{erfc}(x) = |
| + | \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt = |
| + | \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}} |
| + | </math> |
| + | </pre> |
| + | |
| + | <br/> |
| + | |
| + | <u>Which results in a formula like this:</u> |
| | | |
− | The Wikitext code for an example formula looks like this: <nowiki>
| |
| <math>\operatorname{erfc}(x) = | | <math>\operatorname{erfc}(x) = |
| \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt = | | \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt = |
− | \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}</math> | + | \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}</math> |
− | </nowiki> | + | |
| + | <br/> |
| + | |
| + | <u>What you see is:</u> |
| + | *The overall formula needs to be enclosed by <math> and </math> tags. |
| + | *The formular itself is written in (rather complicated to understand for first-time users) LaTeX code<br/> |
| | | |
− | What you see is:
| + | <br/> |
| | | |
− | *The overall formula needs to be enclosed by <math> and </math> tags.
| + | <u>Find more help here:</u> |
− | *The formular itself is written in (rather complicated to understand for first-time users) LaTeX code<br> | + | *Help in English: [http://en.wikipedia.org/wiki/Help:Formula wikipedia.org] |
| + | *Help in German: [http://de.wikipedia.org/wiki/Hilfe:TeX wikipedia.org]<br/> |
| | | |
| + | <br/> |
| | | |
− | <br>
| + | __NOAUTHORLIST__ |
| | | |
− | <br>
| + | [[Category:Articles]] |
Latest revision as of 12:42, 30 July 2013
Energypedia also offers the possibility to include formulas in an article, however this is a bit more difficult to do.
1. Choose the "wiki text editor"
2. Click on "Mathematical formula (LaTeX)"
The Wikitext code for an example formula looks like this: <math>
\operatorname{erfc}(x) =
\frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt =
\frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}
</math>
Which results in a formula like this:
What you see is:
- The overall formula needs to be enclosed by tags.
- The formular itself is written in (rather complicated to understand for first-time users) LaTeX code
Find more help here: