|
|
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> | + | Energypedia also offers the possibility to include formulas in an article, however this is a bit more difficult to do. If you want to enter a formula into an article, this can only be done in the wiki text using the <math> tag.<br><br>The Wikitext code for an example formula looks like this: |
− | | + | <pre> <math> |
− | <br> | + | |
− | | + | |
− | The Wikitext code for an example formula looks like this: | + | |
− | <pre> | + | |
− | <math>
| + | |
| \operatorname{erfc}(x) = | | \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}} | | \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}} |
− | </math> | + | </math> |
| </pre> | | </pre> |
− | Which results in a formula like this: | + | Which results in a formula like this: |
| | | |
| <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> |
| | | |
| What you see is: | | What you see is: |
Line 22: |
Line 17: |
| *The formular itself is written in (rather complicated to understand for first-time users) LaTeX code<br> | | *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 | + | Help in English: http://en.wikipedia.org/wiki/Help:Formula |
| + | |
| + | Help in German: http://de.wikipedia.org/wiki/Hilfe:TeX <br> |
| | | |
− | Help in German: http://de.wikipedia.org/wiki/Hilfe:TeX
| |
| <br> | | <br> |
| | | |
− | <br>
| + | [[Category:Articles]] |
Revision as of 11:48, 12 August 2011
Energypedia also offers the possibility to include formulas in an article, however this is a bit more difficult to do. If you want to enter a formula into an article, this can only be done in the wiki text using the <math> tag.
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
Help in English: http://en.wikipedia.org/wiki/Help:Formula
Help in German: http://de.wikipedia.org/wiki/Hilfe:TeX