Difference between revisions of "Editing guide"
m |
m (→Greek alphabet: added varepsilon) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | __TOC__ | ||
+ | ==Things to do on this page== | ||
+ | # Substitute and/or link to: [[/Templates]] | ||
+ | ==Letter types== | ||
+ | ==="English" symbols and numbers=== | ||
+ | Yes, most of the English alphabet is pinched from Latin, but these 26 letters are the English alphabet. | ||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Type | ||
+ | ! Alphabet | ||
+ | ! Numbers | ||
+ | ! Comment | ||
+ | |- | ||
+ | ! rowspan="2" | Normal | ||
+ | | <center>{{M|abcdefghijklmnopqrstuvwxyz}}</center> | ||
+ | | rowspan="2" | {{M|0123456789}} | ||
+ | |- | ||
+ | | <center>{{M|ABCDEFGHIJKLMNOPQRSTUVWXYZ}}</center> | ||
+ | |- | ||
+ | ! rowspan="2" | Blackboard<br/>{{C|\mathbb{letters} }} | ||
+ | | <center>{{M|\mathbb{abcdefghijklmnopqrstuvwxyz} }}</center> | ||
+ | | rowspan="2" | {{M|\mathbb{0123456789} }} | ||
+ | | rowspan="2" | A shame, because a black-board style {{M|1}} would be a great [[indicator function]] | ||
+ | |- | ||
+ | | <center>{{M|\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ} }}</center> | ||
+ | |- | ||
+ | ! rowspan="2" | Text<br/>{{C|\text{letters} }} | ||
+ | | <center>{{M|\text{abcdefghijklmnopqrstuvwxyz} }}</center> | ||
+ | | rowspan="2" | {{M|\text{0123456789} }} | ||
+ | | rowspan="2" | | ||
+ | |- | ||
+ | | <center>{{M|\text{ABCDEFGHIJKLMNOPQRSTUVWXYZ} }}</center> | ||
+ | |- | ||
+ | ! rowspan="2" | Script | ||
+ | | <center>{{M|\mathscr{abcdefghijklmnopqrstuvwxyz} }}</center> | ||
+ | | rowspan="2" | {{M|\mathscr{0123456789} }} | ||
+ | | rowspan="2" | Remember it as "'''scr'''ibble" {{C|\math'''scr'''{letter} }}. {{Warning|Some letters can be difficult to identify, for example {{M|\mathscr{I} }} - a {{C|J}} right? ''Wrong'' - an {{C|I}}}} | ||
+ | |- | ||
+ | | <center>{{M|\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ} }}</center> | ||
+ | |- | ||
+ | ! rowspan="2" | Calligraphic<br>{{C|\mathcal{letter} }} | ||
+ | | <center>{{M|\mathcal{abcdefghijklmnopqrstuvwxyz} }}</center> | ||
+ | | rowspan="2" | {{M|\mathcal{0123456789} }} | ||
+ | | rowspan="2" | Notice the posh numbers | ||
+ | |- | ||
+ | | <center>{{M|\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ} }}</center> | ||
+ | |- | ||
+ | ! rowspan="2" | Fraktur<br/>{{C|\mathfrak{letters} }} | ||
+ | | <center>{{M|\mathfrak{abcdefghijklmnopqrstuvwxyz} }}</center> | ||
+ | | rowspan="2" | {{M|\mathfrak{0123456789} }} | ||
+ | | rowspan="2" | Gothic style letters, probably something German involved to get the "frak". Notice the numbers too! {{Warning|This font is VERY easy to bugger up, for example {{M|\mathfrak{A} }} looks like a funky {{M|U}}, certainly not a funky {{M|A}}!}} | ||
+ | |- | ||
+ | | <center>{{M|\mathfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ} }}</center> | ||
+ | |- | ||
+ | ! rowspan="2" | Roman<br/>{{C|\mathrm{letters} }} | ||
+ | | <center>{{M|\mathrm{abcdefghijklmnopqrstuvwxyz} }}</center> | ||
+ | | rowspan="2" | {{M|\mathrm{0123456789} }} | ||
+ | | rowspan="2" | Pretty sure this is the same as {{C|\text}} above. | ||
+ | |- | ||
+ | | <center>{{M|\mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ} }}</center> | ||
+ | |- | ||
+ | ! rowspan="2" | Bold<br/>{{C|\mathbf{letters} }} | ||
+ | | <center>{{M|\mathbf{abcdefghijklmnopqrstuvwxyz} }}</center> | ||
+ | | rowspan="2" | {{M|\mathbf{0123456789} }} | ||
+ | | rowspan="2" | Pretty sure it's "math bold font". Also who has ever gone "you know what, I want a bold 7" in a formula. Yet there's no blackboard-style 1. World is a crazy place. | ||
+ | |- | ||
+ | | <center>{{M|\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ} }}</center> | ||
+ | |} | ||
+ | ===Extra English letters=== | ||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Letter | ||
+ | ! Display | ||
+ | ! Comment | ||
+ | |- | ||
+ | ! ell | ||
+ | | <center>{{M|\ell}}</center> | ||
+ | | Lowercase "l" that looks more like it does in my handwriting. Useful to distinguish {{M|\ell^p}}, {{M|l^p}} and {{M|L^p}} | ||
+ | |} | ||
+ | ===Greek alphabet=== | ||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Letter | ||
+ | ! Display | ||
+ | ! Uppercase | ||
+ | ! Display | ||
+ | ! Var-form | ||
+ | ! Display | ||
+ | ! Comment | ||
+ | |- | ||
+ | ! alpha | ||
+ | | <center>{{M|\alpha}}</center> | ||
+ | ! | ||
+ | | | ||
+ | ! | ||
+ | | | ||
+ | | No var or upper forms | ||
+ | |} | ||
+ | {{Todo|Finish, eg {{M|\phi}}, {{M|\Phi}} and {{M|\varphi}} - all phi - ANOTHER ONE {{M|\rho}} and {{M|\varrho}} - ANOTHER ONE: {{M|\epsilon}} and {{M|\varepsilon}} }} | ||
+ | |||
+ | =OLD GUIDE= | ||
==Maths== | ==Maths== | ||
To get maths (LaTeX) use: | To get maths (LaTeX) use: | ||
Line 7: | Line 108: | ||
</pre> | </pre> | ||
+ | ==Diagrams== | ||
+ | <pre> | ||
+ | <math>\require{AMScd} | ||
+ | \begin{CD} | ||
+ | A @<a <b< B\\ | ||
+ | @VVV @VVV\\ | ||
+ | C @= D | ||
+ | \end{CD}</math> | ||
+ | </pre> | ||
+ | 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: | ||
+ | <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== | ||
Line 26: | Line 197: | ||
{{End Proof}} | {{End Proof}} | ||
{{End Theorem}} | {{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 | ||
+ | {{End Proof}} | ||
+ | {{End Theorem}} | ||
+ | |||
+ | ==Examples== | ||
+ | <pre> | ||
+ | {{Begin Example}} | ||
+ | Title | ||
+ | {{Begin Example Body}} | ||
+ | Proof | ||
+ | {{End Example Body}} | ||
+ | {{End Example}} | ||
+ | </pre> | ||
+ | |||
+ | Result: | ||
+ | |||
+ | {{Begin Example}} | ||
+ | Title | ||
+ | {{Begin Example Body}} | ||
+ | Proof | ||
+ | {{End Example Body}} | ||
+ | {{End Example}} |
Latest revision as of 18:48, 24 September 2016
Contents
Things to do on this page
- Substitute and/or link to: /Templates
Letter types
"English" symbols and numbers
Yes, most of the English alphabet is pinched from Latin, but these 26 letters are the English alphabet.
Type | Alphabet | Numbers | Comment |
---|---|---|---|
Normal | |
[ilmath]0123456789[/ilmath] | |
| |||
Blackboard \mathbb{letters} |
|
[ilmath]\mathbb{0123456789} [/ilmath] | A shame, because a black-board style [ilmath]1[/ilmath] would be a great indicator function |
| |||
Text \text{letters} |
|
[ilmath]\text{0123456789} [/ilmath] | |
| |||
Script | |
[ilmath]\mathscr{0123456789} [/ilmath] | Remember it as "scribble" \mathscr{letter} . Warning:Some letters can be difficult to identify, for example [ilmath]\mathscr{I} [/ilmath] - a J right? Wrong - an I |
| |||
Calligraphic \mathcal{letter} |
|
[ilmath]\mathcal{0123456789} [/ilmath] | Notice the posh numbers |
| |||
Fraktur \mathfrak{letters} |
|
[ilmath]\mathfrak{0123456789} [/ilmath] | Gothic style letters, probably something German involved to get the "frak". Notice the numbers too! Warning:This font is VERY easy to bugger up, for example [ilmath]\mathfrak{A} [/ilmath] looks like a funky [ilmath]U[/ilmath], certainly not a funky [ilmath]A[/ilmath]! |
| |||
Roman \mathrm{letters} |
|
[ilmath]\mathrm{0123456789} [/ilmath] | Pretty sure this is the same as \text above. |
| |||
Bold \mathbf{letters} |
|
[ilmath]\mathbf{0123456789} [/ilmath] | Pretty sure it's "math bold font". Also who has ever gone "you know what, I want a bold 7" in a formula. Yet there's no blackboard-style 1. World is a crazy place. |
|
Extra English letters
Letter | Display | Comment |
---|---|---|
ell | |
Lowercase "l" that looks more like it does in my handwriting. Useful to distinguish [ilmath]\ell^p[/ilmath], [ilmath]l^p[/ilmath] and [ilmath]L^p[/ilmath] |
Greek alphabet
Letter | Display | Uppercase | Display | Var-form | Display | Comment |
---|---|---|---|---|---|---|
alpha | |
No var or upper forms |
TODO: Finish, eg [ilmath]\phi[/ilmath], [ilmath]\Phi[/ilmath] and [ilmath]\varphi[/ilmath] - all phi - ANOTHER ONE [ilmath]\rho[/ilmath] and [ilmath]\varrho[/ilmath] - ANOTHER ONE: [ilmath]\epsilon[/ilmath] and [ilmath]\varepsilon[/ilmath]
OLD GUIDE
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