Difference between revisions of "Editing guide"

From Maths
Jump to: navigation, search
m (Theorems)
m
Line 1: Line 1:
 +
__TOC__
 +
==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} }}
 +
|-
 +
| <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}}
 +
=OLD GUIDE=
 
==Maths==
 
==Maths==
 
To get maths (LaTeX) use:
 
To get maths (LaTeX) use:

Revision as of 11:40, 2 June 2016

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]abcdefghijklmnopqrstuvwxyz[/ilmath]
[ilmath]0123456789[/ilmath]
[ilmath]ABCDEFGHIJKLMNOPQRSTUVWXYZ[/ilmath]
Blackboard
\mathbb{letters}
[ilmath]\mathbb{abcdefghijklmnopqrstuvwxyz} [/ilmath]
[ilmath]\mathbb{0123456789} [/ilmath] A shame, because a black-board style [ilmath]1[/ilmath] would be a great indicator function
[ilmath]\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ} [/ilmath]
Text
\text{letters}
[ilmath]\text{abcdefghijklmnopqrstuvwxyz} [/ilmath]
[ilmath]\text{0123456789} [/ilmath]
[ilmath]\text{ABCDEFGHIJKLMNOPQRSTUVWXYZ} [/ilmath]
Script
[ilmath]\mathscr{abcdefghijklmnopqrstuvwxyz} [/ilmath]
[ilmath]\mathscr{0123456789} [/ilmath] Remember it as "scribble" \mathscr{letter}
[ilmath]\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ} [/ilmath]
Calligraphic
\mathcal{letter}
[ilmath]\mathcal{abcdefghijklmnopqrstuvwxyz} [/ilmath]
[ilmath]\mathcal{0123456789} [/ilmath] Notice the posh numbers
[ilmath]\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ} [/ilmath]
Fraktur
\mathfrak{letters}
[ilmath]\mathfrak{abcdefghijklmnopqrstuvwxyz} [/ilmath]
[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]!
[ilmath]\mathfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ} [/ilmath]
Roman
\mathrm{letters}
[ilmath]\mathrm{abcdefghijklmnopqrstuvwxyz} [/ilmath]
[ilmath]\mathrm{0123456789} [/ilmath] Pretty sure this is the same as \text above.
[ilmath]\mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ} [/ilmath]
Bold
\mathbf{letters}
[ilmath]\mathbf{abcdefghijklmnopqrstuvwxyz} [/ilmath]
[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.
[ilmath]\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ} [/ilmath]

Extra English letters

Letter Display Comment
ell
[ilmath]\ell[/ilmath]
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
[ilmath]\alpha[/ilmath]
No var or upper forms

TODO: Finish, eg [ilmath]\phi[/ilmath], [ilmath]\Phi[/ilmath] and [ilmath]\varphi[/ilmath] - all phi


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