Editing guide

From Maths
Revision as of 13:56, 14 April 2015 by Alec (Talk | contribs)

Jump to: navigation, search

Maths

To get maths (LaTeX) use:

<math>Maths here</math>
[math]Maths here[/math]
{{M|Maths here}}

Diagrams

<math>\require{AMScd}
\begin{CD}
A @<a <b< B\\
@VVV @VVV\\
C @= D
\end{CD}</math>

Produces:

[math] \require{AMScd} \begin{CD} A @<a <b< B\\ @VVV @VVV\\ C @= D \end{CD}[/math]

NOTE: the < were written and-sign-l-t-semicolon, see http://www.jmilne.org/not/Mamscd.pdf for reference

You can use the:

{{Extra Maths}} template

to bring the symbols in.

There are also the following templates:

[math]\begin{CD}
A {{CD Left Arrow|A|B}} B {{CD Hoz Eq|A|B}} E\\
{{CD Down Arrow|A|B}} {{CD Up Arrow|A|B}} {{CD Vert Eq|A|B}}\\
C {{CD Right Arrow|Top|Bottom}} D {{CD No Arrow}} F
\end{CD}[/math]

Produces:

[math]\begin{CD} A @< A <B < B @= E\\ @V A VB V @A { A }A{ B } A @|\\ C @> Top >Bottom > D @. F \end{CD}[/math]

as follows:

Name Parameters
Template:CD Up Arrow 2 - left, right
Template:CD Down Arrow 2 - left, right
Template:CD Left Arrow 2 - top, bottom
Template:CD Right Arrow 2 - top, bottom
Template:CD Vert Eq (none)
Template:CD Hoz Eq (none)
Template:CD No Arrow (none)

Theorems

{{Begin Theorem}}
Title
{{Begin Proof}}
Proof
{{End Proof}}
{{End Theorem}}

Result:

Title


Proof


Examples

{{Begin Example}}
Title
{{Begin Example Body}}
Proof
{{End Example Body}}
{{End Example}}

Result:

Title


Proof