Difference between revisions of "Working with TeX Equations"

From Advanced Projects Lab
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
If you want to include nicely formatted math text on your wiki page you can use (when in edit mode) the WikiEditor button [[File:button_math.png]] and LaTeX.
 +
 +
As an example:
 +
 
<math>P(r) \propto r^{n-1} \exp(-kr^2/2\sigma^2)</math>
 
<math>P(r) \propto r^{n-1} \exp(-kr^2/2\sigma^2)</math>
 +
 +
is rendered by inserting "P(r) \propto r^{n-1} \exp(-kr^2/2\sigma^2)" (without the quotation marks) into the highlighted area after clicking the [[File:button_math.png]] button.
 +
 +
----
 +
 +
Step 1: Generate your mathematical expression in TeX (e.g., using the TeX/LaTeX graphical editor [http://www.lyx.org/ |LyX])
 +
 +
Step 2: Copy the LaTeX source code and paste it into the highlighted area displayed after clicking the [[File:button_math.png]] button.
 +
 +
Preview and save your LaTeX wiki math equation.

Latest revision as of 13:29, 6 November 2014

If you want to include nicely formatted math text on your wiki page you can use (when in edit mode) the WikiEditor button Button math.png and LaTeX.

As an example:

is rendered by inserting "P(r) \propto r^{n-1} \exp(-kr^2/2\sigma^2)" (without the quotation marks) into the highlighted area after clicking the Button math.png button.


Step 1: Generate your mathematical expression in TeX (e.g., using the TeX/LaTeX graphical editor |LyX)

Step 2: Copy the LaTeX source code and paste it into the highlighted area displayed after clicking the Button math.png button.

Preview and save your LaTeX wiki math equation.