Difference between revisions of "Insert Formulas"

From energypedia
***** (***** | *****)
m
***** (***** | *****)
m
Line 5: Line 5:
 
Energypedia also offers the possibility to include formulas in an article. To insert a formula: 
 
Energypedia also offers the possibility to include formulas in an article. To insert a formula: 
  
1. Open the article in [[Help:Edit an Article|edit mode]] and switch to "wiki text editor"
+
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]]
 
[[File:Show Wiki Text Editor.JPG|border|left|563px|alt=Show Wiki Text Editor.JPG]]
Line 43: Line 43:
  
 
{{Help Magic Words}}
 
{{Help Magic Words}}
[[category:Help]]
+
 
 +
[[Category:Help|{{PAGENAME}}]]

Revision as of 09:52, 8 November 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"

Show Wiki Text Editor.JPG

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: