Difference between revisions of "Editing guide"

From Maths
Jump to: navigation, search
m
m (Letter types)
Line 33: Line 33:
 
| <center>{{M|\mathscr{abcdefghijklmnopqrstuvwxyz} }}</center>
 
| <center>{{M|\mathscr{abcdefghijklmnopqrstuvwxyz} }}</center>
 
| rowspan="2" | {{M|\mathscr{0123456789} }}
 
| rowspan="2" | {{M|\mathscr{0123456789} }}
| rowspan="2" | Remember it as "'''scr'''ibble" {{C|\math'''scr'''{letter} }}
+
| 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>
 
| <center>{{M|\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ} }}</center>
Line 96: Line 96:
 
|}
 
|}
 
{{Todo|Finish, eg {{M|\phi}}, {{M|\Phi}} and {{M|\varphi}} - all phi}}
 
{{Todo|Finish, eg {{M|\phi}}, {{M|\Phi}} and {{M|\varphi}} - all phi}}
 +
 
=OLD GUIDE=
 
=OLD GUIDE=
 
==Maths==
 
==Maths==

Revision as of 17:46, 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} . Warning:Some letters can be difficult to identify, for example [ilmath]\mathscr{I} [/ilmath] - a J right? Wrong - an I
[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