Difference between revisions of "Editing guide"
From Maths
m |
m |
||
Line 27: | Line 27: | ||
'''NOTE:''' the < were written and-sign-l-t-semicolon, see http://www.jmilne.org/not/Mamscd.pdf for reference | '''NOTE:''' the < were written and-sign-l-t-semicolon, see http://www.jmilne.org/not/Mamscd.pdf for reference | ||
+ | |||
+ | You can use the: | ||
+ | <pre>{{Extra Maths}} template</pre> | ||
+ | to bring the symbols in. | ||
+ | |||
+ | There are also the following templates: | ||
+ | <pre> | ||
+ | [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] | ||
+ | </pre> | ||
+ | |||
+ | Produces: | ||
+ | |||
+ | [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] | ||
+ | |||
+ | as follows: | ||
+ | |||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! 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== | ==Theorems== |
Revision as of 13:56, 14 April 2015
Contents
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