|
|
Line 1: |
Line 1: |
| | | |
− | Energypedia also offers the possibility to include formulas in an article, however this is a bit more difficult to do. | + | Energypedia also offers the possibility to include formulas in an article. To insert a formula: |
| | | |
− | 1. Choose the "wiki text editor" | + | 1. Open the article in [[Help:Edit an Article|edit mode]] and switch to "wiki text editor" |
− | | + | |
− | [[File:Show Wiki Text Editor.JPG|none|563px|alt=Show Wiki Text Editor.JPG]] | + | |
| | | |
| + | [[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 19: |
| <u>Which results in a formula like this:</u> | | <u>Which results in a formula like this:</u> |
| | | |
− | [[File:]]
| + | <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/>
| |
| | | |
| <u>What you see is:</u> | | <u>What you see is:</u> |
| | | |
− | *The overall formula needs to be enclosed by [[File:]] tags. | + | *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 formula itself is written in LaTeX code<br/> |
| | | |
| <br/> | | <br/> |
Line 38: |
Line 39: |
| | | |
| = Further Information = | | = Further Information = |
− | <ul style="list-style-image: url("images/bullet-icon.png"); font-size: 13.6px;">
| |
− | <li>[[Energypedia_Community:_Help|Help portal on energypedia]]</li>
| |
− | </ul>
| |
| | | |
− | <br/>
| + | *[[Energypedia Community: Help|Help portal on energypedia]] |
− | | + | |
− | <br/>
| + | |
| | | |
| __NOAUTHORLIST__ | | __NOAUTHORLIST__ |
| | | |
| [[Category:Help|{{PAGENAME}}]] | | [[Category:Help|{{PAGENAME}}]] |
Revision as of 11:25, 14 July 2016
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"
Error creating thumbnail: convert: unable to open image `/var/www/ISWiki/prod/current/energypedia/images/1/1a/Show_Wiki_Text_Editor.JPG': No such file or directory @ error/blob.c/OpenBlob/2641.
convert: no images defined `/tmp/transform_1ade8c8-1.jpg' @ error/convert.c/ConvertImageCommand/3044.
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:
Failed to parse (PNG conversion failed; check for correct installation of latex and dvipng (or dvips + gs + convert)): \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}}
What you see is:
- The overall formula needs to be enclosed by Failed to parse (PNG conversion failed; check for correct installation of latex and dvipng (or dvips + gs + convert)): and
tags.
- The formula itself is written in LaTeX code
Find more help here:
Further Information