Difference between revisions of "Editing guide"
From Maths
m |
m (→Theorems) |
||
Line 93: | Line 93: | ||
Title | Title | ||
{{Begin Proof}} | {{Begin Proof}} | ||
+ | Proof | ||
+ | {{End Proof}} | ||
+ | {{End Theorem}} | ||
+ | |||
+ | <pre> | ||
+ | {{Begin Inline Theorem}} | ||
+ | Title | ||
+ | {{Begin Inline Proof}} | ||
+ | Proof | ||
+ | {{End Proof}} | ||
+ | {{End Theorem}} | ||
+ | </pre> | ||
+ | |||
+ | Result: | ||
+ | |||
+ | {{Begin Inline Theorem}} | ||
+ | Title | ||
+ | {{Begin Inline Proof}} | ||
Proof | Proof | ||
{{End Proof}} | {{End Proof}} |
Revision as of 11:46, 10 July 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
{{Begin Inline Theorem}} Title {{Begin Inline 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