Difference between revisions of "Insert Formulas"
From energypedia
***** (***** | *****) (Created page with " 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 Tex...") |
***** (***** | *****) m |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{template:Tabs-1 | ||
+ | |Energypedia_Community:_Help|Back to the Help Portal | ||
+ | | | ||
+ | }} | ||
− | + | = Insert Formulas = | |
− | + | Energypedia also offers the possibility to include formulas in an article. To insert a formula: | |
− | [[ | + | 1. Open the article in [[Edit an Article|edit mode]] and switch to "wiki text editor" |
+ | [[File:Show Wiki Text Editor.JPG|border|left|563px|alt=Show Wiki Text Editor.JPG]] | ||
+ | <div style="clear: both"></div> | ||
2. Click on "Mathematical formula (LaTeX)" | 2. Click on "Mathematical formula (LaTeX)" | ||
Line 19: | Line 25: | ||
<u>Which results in a formula like this:</u> | <u>Which results in a formula like this:</u> | ||
− | + | <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> | ||
<br/> | <br/> | ||
Line 25: | Line 33: | ||
<u>What you see is:</u> | <u>What you see is:</u> | ||
− | *The overall formula needs to be enclosed by & | + | *The overall formula needs to be enclosed by <math> and </math> tags. |
− | *The | + | *The formula itself is written in LaTeX code<br/> |
<br/> | <br/> | ||
Line 37: | Line 45: | ||
<br/> | <br/> | ||
− | + | {{Help Magic Words}} | |
[[Category:Help]] | [[Category:Help]] |
Revision as of 07:18, 22 August 2018
Insert Formulas
Energypedia also offers the possibility to include formulas in an article. To insert a formula:
1. Open the article in edit mode and switch to "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 <math> and </math> tags.
- The formula itself is written in LaTeX code
Find more help here:
- Help in English: wikipedia.org
- Help in German: wikipedia.org