Subject: PmWiki

# Equation Syntax

## How-to use JsMath and the proper equation sytax:

Thanks for showing interest in taking your math^{2} knowledge to the next level.. The following will provide a brief overview of how to insert an equation into math^{2}. Also examples will be provided so you can learn the tricks of the trade.

### How to insert an equation into math^2:

Two different types of equation can be inserted into math^{2}, one is inserted within text and looks like this: `[++{$ ... $}++]`

. And one will be centered and padded. That one is done like this:

`[++{$$ ... $$}++]`

**A few notes:** The only difference between the two are the additional dollar signs ($) that show up. Also the addition symbols (+) are meant to increase the size of the equation. I normally use 1 addition symbol for equations that will be centered and 2 if it will be inside of some text (this is what i have found to look the best).

### Examples of equations being used:

To see how any equation is written, you can double click on the equation and an editor will appear. I have provided a few examples below and also links to many more examples for your use.

**There are also multiple online equation editors for the LaTex format**** (see 1, 2, 3)**

Equation Array:

Then for inline: \sqrt{n} \quad e^x \quad \left({\Theta\times r}\over{4e}\right) \quad {a+1\over b}\!\bigg/{c+1\over d}

**And many more examples:**

- TeXbook Chapter 16
- TeXbook Chapter 17
- TeXbook Chapter 17 (more)
- TeXbook Chapter 18
- TeXbook Chapter 18 (more)
- TeXbook Chapter 18 (and more...)
- TeXbook Chapter 18 (exercise)
- TeXbook Chapter 18 (commutative diagram)
- And More Examples
- And More Examples...
- And we're done...

*As one can see, JsMath is an extremely versatile program which will hopefully be able to fill all of math ^{2}'s needs.*

This page may have a more recent version on pmwiki.org: PmWiki:EquationSyntax, and a talk page: PmWiki:EquationSyntax-Talk.