|
|
(9 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/> |
| | | |
− | What you see is: | + | <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/> |
| | | |
− | *The overall formula needs to be enclosed by <math> and </math> tags.
| + | <br/> |
− | *The formular itself is written in (rather complicated to understand for first-time users) LaTeX code<br>
| + | |
| | | |
− | == From Microsoft Word to LaTeX ==
| + | <u>Find more help here:</u> |
| + | *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/> |
| | | |
− | However, if you don't know LaTeX, there is an easy way to write a formula for the Wiki without knowing any LaTeX. The Microsoft Word 2007 Formular editor uses LaTeX internally. That means, if you write your formular using Microsoft Word 2007 or later and then copy and paste the formular into the Wiki, it will appear as LaTeX code in the wiki. <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: