Difference between revisions of "Insert Formulas"

From energypedia
***** (***** | *****)
m (Ranisha moved page Insert Formulas to Help:Insert Formulas without leaving a redirect)
***** (***** | *****)
m
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Back to Help Portal}}
  
Energypedia also offers the possibility to include formulas in an article, however this is a bit more difficult to do.
+
= Insert Formulas =
  
1. Choose the "wiki text editor"
+
Energypedia also offers the possibility to include formulas in an article. To insert a formula: 
  
[[File:Show Wiki Text Editor.JPG|none|563px|alt=Show Wiki Text Editor.JPG]]
+
1. Open the article in [[Edit an Article|edit mode]] and click on "Insert". Select "Math Formula"
  
2. Click on "Mathematical formula (LaTeX)"
+
[[File:Capture d’écran 2021-09-15 à 11.13.35.png|700x700px|alt=|border]]
  
<br/><u>The Wikitext code for an example formula looks like this:</u><pre> <math>
+
<br /><u>The Wikitext code for an example formula looks like this:</u><pre> <math>
 
  \operatorname{erfc}(x) =
 
  \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 =
Line 19: Line 20:
 
<u>Which results in a formula like this:</u>
 
<u>Which results in a formula like this:</u>
  
&#x5B;&#x5B;File:&#x5D;&#x5D;
+
<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 28:
 
<u>What you see is:</u>
 
<u>What you see is:</u>
  
*The overall formula needs to be enclosed by &#x5B;&#x5B;File:&#x5D;&#x5D; tags.
+
*The overall formula needs to be enclosed by &lt;math&gt; and &lt;/math&gt;&nbsp;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/>
 
  
 
<u>Find more help here:</u>
 
<u>Find more help here:</u>
Line 37: Line 38:
 
<br/>
 
<br/>
  
__NOAUTHORLIST__
+
{{Help Magic Words}}
  
 
[[Category:Help]]
 
[[Category:Help]]

Latest revision as of 15:33, 28 April 2023



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 click on "Insert". Select "Math Formula"


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: