Difference between revisions of "Insert Formulas"

From energypedia
***** (***** | *****)
m
***** (***** | *****)
m
Line 1: Line 1:
 +
 
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: 
  
Line 18: Line 19:
 
<u>Which results in a formula like this:</u>
 
<u>Which results in a formula like this:</u>
  
<math>\operatorname{erfc}(x) =
+
[[File:]]
\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/>
  
 
<u>What you see is:</u>
 
<u>What you see is:</u>
*The overall formula needs to be enclosed by <math> and </math> tags.
+
 
*The formula itself is written in (rather complicated to understand for first-time users) LaTeX code<br/>
+
*The overall formula needs to be enclosed by &lt;math&gt; and &lt;/math&gt;&nbsp;tags.
 +
*The formula itself is written in LaTeX code<br/>
  
 
<br/>
 
<br/>
  
 
<u>Find more help here:</u>
 
<u>Find more help here:</u>
 +
 
*Help in English: [http://en.wikipedia.org/wiki/Help:Formula wikipedia.org]
 
*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/>
 
*Help in German: [http://de.wikipedia.org/wiki/Hilfe:TeX wikipedia.org]<br/>

Revision as of 11:27, 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: File missing

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:

[[File:]]


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:


Further Information