VISUAL PHYSICS
Unconventional Explorations into Uninhabited Areas of Physics
Through Thought Experiments in the Form of Simulations...


This is NOT an educational site. The views expressed here are not those of mainstream physics.
If you want to contribute to the wiki, email me at the address given in the Contact page.
Legend:  sim  : Article with simulation --  stb  : Article that needs development (stub).

Help:Contents and Help:Formula: Difference between pages

From Visual Physics Wiki
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
<table style="background-color:rgb(249,249,249); border: 1px solid rgb(153, 153, 153); position: absolute; left: 300px">
<table width="230px" align="right" style="background-color:rgb(249,249,249); border: 1px solid rgb(153, 153, 153); padding: 1em; font-size:9pt">
<tr><td>
<tr>
<div style="padding: 0px 15px 5px 5px">
<td>
*'''[[Help:Editing|Editing Cheatsheet]]'''
*[http://www1.chapman.edu/%7Ejipsen/mathml/asciimath.html ASCIIMathML HomePage]
*'''[[Help:Formula|Mathematical Notation]]'''
*[http://www.mozilla.org/projects/mathml/fonts/ Download Firefox fonts for MathML]
</div>
*[http://www.dessci.com/en/products/mathplayer/download.htm Download IE plugin for MathML]
</td></tr>
</td>
</tr>
</table>
</table>
==General==
To edit a MediaWiki page, click on the "'''Edit'''" tab above or on a section "'''edit'''" link on the right. This will bring you to the '''edit page''': a page with a text box containing the editable text. Depending on the preferences that have been set, a version of the edit page called '''preview page''' appears: in this case the rendered page is also shown; if not you get it by pressing "Show preview" (see below).


After adding to or changing the wikitext it is useful to press "Show preview", which produces the corresponding webpage in your browser but does not make it publicly available yet (not until you press "Save page"). Errors in formatting, links, tables, etc., are often much easier to discover from the rendered page than from the raw wikitext.  
==ASCIIMathML.js (ver 2.0.9): Syntax and List of Constants==


<br />
You can use your favorite editor to write HTML pages that use this JavaScript program. If the page is viewed by a browser that does not support MathML or JavaScript, the ASCII formulas are still quite readable. Most users will not have to read the technicalities on
<br />
this page. If you type


==Composition of the edit page==
<pre>\`x^2\` or \`a_(mn)\` or \`a_{mn}\` or \`(x+1)/y\` or \`sqrtx\`</pre>
*Edit Toolbar (optional)
*Edit Box
*Edit Summary box
*Save/Preview/Cancel links
*List of templates used
*Preview (optionally either on every edit page or just after pressing "Show preview"; optionally the first item)


<br />
you pretty much get what you expect: `x^2` or `a_(mn)` or `a_{mn}` or `(x+1)/y` or `sqrtx`. The choice of grouping parenthesis is up to you (they don't have to match either). If the displayed expression can be parsed uniquely without them, they are omitted. Printing the table of constant symbols (below) may be helpful (but is not necessary if you
<br />
know the LaTeX equivalents).


== Minor edits ==
It is hoped that this simple input format for MathML will further encourage its use on the web. The remainder of this page gives a fairly detailed specification of the ASCII syntax. <b>The expressions described here correspond to a wellspecified subset of Presentation MathML and behave in a predictable way.</b>
When editing a page, a user has the option of flagging the edit as a "minor edit". This feature is important, because users can choose to ''hide'' minor edits in their view of the Recent Changes page to keep the volume of edits down to a manageable level.


When to use this is somewhat a matter of personal preference. The rule of thumb is that an edit of a page that consists of spelling corrections, formatting, and minor rearranging of text should be flagged as a "minor edit".  A major edit is basically something that makes the entry worth revisiting for somebody who wants to watch the article rather closely. So any "real" change, even if it is a single word, should be flagged as a "major edit".  
The syntax is very permissive and does not generate syntax errors. This allows mathematically incorrect expressions to be displayed, which is important for teaching purposes. It also causes less frustration when previewing formulas.


The parser uses no operator precedence and only respects the grouping brackets, subscripts, superscript, fractions and (square) roots. This is done for reasons of efficiency and generality. The resulting MathML code can quite easily be processed further to ensure additional syntactic requirements of any particular application.
<br>
<br>


== Basic text formatting ==
==The grammar==
Here is a definition of the grammar used to parse ASCIIMathML expressions. In the Backus-Naur form given below, the letter on the left of the ::= represents a category of symbols that could be one of the possible sequences of symbols listed on the right. The vertical bar | separates the alternatives.


{| border="1" cellpadding="2"
<pre>c ::= [A-z] | numbers | greek letters | other constant symbols (see below)
!width="50%"|What it looks like
u ::= 'sqrt' | 'text' | 'bb' |    other unary symbols for font commands
!width="50%"|What you type
b ::= 'frac' | 'root' | 'stackrel' binary symbols
|-
l ::= ( | [ | { | (: | {:          left brackets
|
r ::= ) | ] | } | :) | :}          right brackets
You can ''italicize text'' by putting 2
S ::= c | lEr | uS | bSS | "any"  simple expression
apostrophes on each side.
E ::= SE | S/S |S_S | S^S | S_S^S  expression (fraction, sub-, super-, subsuperscript)
 
3 apostrophes will bold '''the text'''.
 
5 apostrophes will bold and italicize
'''''the text'''''.
 
(Using 4 apostrophes doesn't do anything special -- <br> there are just '''' left over ones'''' that are included as part of the text.)
|<pre>
You can ''italicize text'' by putting 2
apostrophes on each side.
 
3 apostrophes will bold '''the text'''.
 
5 apostrophes will bold and italicize
'''''the text'''''.
 
(Using 4 apostrophes doesn't do anything
special -- <br> there are just '''' left
over ones'''' that are included as part of the text.)
</pre>
</pre>
|-
<br>
|
<br>
A single newline
==The translation rules==
generally has no effect on the layout.
Each terminal symbol is translated into a corresponding MathML node. The constants are mostly converted to their respective Unicode symbols. The other expressions are converted
These can be used to separate
as follows:
sentences within a paragraph.
<br/>
Some editors find that this aids editing
and improves the ''diff'' function
(used internally to compare
different versions of a page).


But an empty line
<table>
starts a new paragraph.
<tr><td>l`S`r</td><td>`to`</td><td><mrow>l`S`r</mrow>(note that any pair of brackets can be used to delimit subexpressions, they don't have to match)</td></tr>
<tr><td>sqrt `S`</td><td>`to`</td><td>&lt;msqrt>`S'`</msqrt></td></tr>
<tr><td>text `S`</td><td>`to`</td><td>&lt;mtext>`S'`</mtext></td></tr>
<tr><td>"any"</td><td>`to`</td><td>&lt;mtext>any&lt;/mtext></td></tr>
<tr><td>frac `S_1` `S_2`</td><td>`to`</td><td><mfrac>`S_1'` `S_2'`</mfrac></td></tr>
<tr><td>root `S_1` `S_2`</td><td>`to`</td><td><mroot>`S_2'` `S_1'`</mroot></td></tr>
<tr><td>stackrel `S_1` `S_2`</td><td>`to`</td><td><mover>`S_2'` `S_1'`</mover></td></tr>
<tr><td>`S_1`/`S_2`</td><td>`to`</td><td><mfrac>`S_1'` `S_2'`</mfrac></td></tr>
<tr><td>`S_1`_`S_2`</td><td>`to`</td><td><msub>`S_1` `S_2'`</msub></td></tr>
<tr><td>`S_1`^`S_2`</td><td>`to`</td><td><msup>`S_1` `S_2'`</msup></td></tr>
<tr><td>`S_1`_`S_2`^`S_3`</td><td>`to`</td><td><msubsup>`S_1` `S_2'` `S_3'`</msubsup> or <munderover>`S_1` `S_2'` `S_3'`</munderover> (in some cases)</td></tr>
</table>
In the rules above, the expression `S'` is the same as `S`, except that if
`S` has an outer level of brackets, then `S'` is the expression inside
these brackets.
<br>
<br>


When used in a list, a newline ''does'' affect the layout ([[#lists|see below]]).
==Matrices:==
|<pre>
A simple syntax for matrices is also recognized:
A single newline
<br/>
generally has no effect on the layout.
<tt>l(`S_(11)`,...,`S_(1n)`),(...),(`S_(m1)`,...,`S_(mn)`)r</tt>
These can be used to separate
&#x00A0; &#x00A0; or &#x00A0; &#x00A0;
sentences within a paragraph.
<tt>l[`S_(11)`,...,`S_(1n)`],[...],[`S_(m1)`,...,`S_(mn)`]r</tt>.
Some editors find that this aids editing
<br/>
and improves the ''diff'' function
(used internally to compare
different versions of a page).


But an empty line
Here <tt>l</tt> and <tt>r</tt> stand for any of the left and right
starts a new paragraph.
brackets (just like in the grammar they do not have to match). Both of
these expressions are translated to
<br/>


When used in a list, a newline ''does''
<mrow>l<mtable><mtr><mtd>`S_(11)`</mtd>...
affect the layout ([[#lists|see below]]).
<mtd>`S_(1n)`<mtd></mtr>...
</pre>
<mtr><mtd>`S_(m1)`</mtd>...
|-
<mtd>`S_(mn)`</mtd></mtr></mtable></mrow>.
|
<br/>
You can break lines<br>
without a new paragraph.<br>
Please use this sparingly.


Please do not start a [[link]] or ''italics'' or '''bold''' on one line and close it on the next.
For example
|<pre>
<tt>{(S_(11),...,S_(1n)),(vdots,ddots,vdots),(S_(m1),...,S_(mn))]</tt>displays as `{(S_(11),...,S_(1n)),(vdots,ddots,vdots),(S_(m1),...,S_(mn))]`.
You can break lines<br>
<br/>
without a new paragraph.<br>
Please use this sparingly.


Please do not start a [[link]] or
Note that each row must have the same number of expressions, and there should be at least two rows.
''italics'' or '''bold''' on one line
<br>
and close it on the next.
<br>
</pre>
|-
|
You should "sign" your comments on talk pages: <br>
- Three tildes gives your signature: [[User:Karl Wick|Karl Wick]] <br>
- Four tildes give your signature plus date/time: [[User:Karl Wick|Karl Wick]] 07:46, 27 November 2005 (UTC) <br>
- Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC) <br>
|<pre>
You should "sign" your comments
on talk pages: <br>
- Three tildes gives your
signature: ~~~ <br>
- Four tildes give your
signature plus date/time: ~~~~ <br>
- Five tildes gives the
date/time alone: ~~~~~ <br>
</pre>
|}


See also [[Help:Editing]]
==Tokenization:==
The input formula is broken into tokens using a "longest matching initial substring search". Suppose the input formula has been processed from left to right up to a fixed position. The longest string from the list of constants (given below) that matches the initial part of the remainder of the formula is the next token. If there is no matching string, then the first character of the remainder is the next token. The symbol table at the top of the ASCIIMathML.js script specifies whether a symbol is a math operator (surrounded by a &lt;mo> tag) or a math identifier (surrounded by a &lt;mi> tag). For
single character tokens, letters are treated as math identifiers, and non-alphanumeric characters are treated as math operators. For digits, see "Numbers" below.


<br />
Spaces are significant when they separate characters and thus prevent a certain string of characters from matching one of the constants. Multiple spaces and end-of-line characters are equivalent to a single space.
<br />
<br>
<br>


== HTML tags ==
==Complete list of constants==
You can use some '''HTML tags''' too.  For a list of HTML tags that are allowed, see [[Help:HTML in wikitext|HTML in wikitext]]. However, you should avoid HTML in favor of Wiki markup whenever possible.
([http://math.chapman.edu/cgi-bin/mathxml.pl?Complete_list_of_LaTeX_constants Standard LaTeX names] also work.)


Numbers: A string of digits, optionally preceded by a minus sign, and optionally followed by a decimal point (a period) and another string of digits, is parsed as a single token and converted to a MathML number, i.e., enclosed with the &lt;mn> tag. If it is not desirable to  have a preceding minus sign be part of the number, a space should be inserted. Thus tt>x-1</tt> is converted to &lt;mi>x&lt;/mi>&lt;mn>-1&lt;/mn>, whereas <tt>x - 1</tt> is converted to &lt;mi>x&lt;/mi>&lt;mo>-&lt;/mo>&lt;mn>1&lt;/mn>.
<br><br>
==Greek letters==
<table border="1" cellpadding="2" style="border: 1px solid #aaa; ">
<tr>
<td style="valign:top">
<table border="1" style="background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid rgb(153, 153, 153); padding: 1em;">
<tr><td border="1">alpha</td><td  border="1" align="center">`alpha`</td></tr>
<tr><td>beta</td><td align="center">`beta`</td></tr>
<tr><td>chi</td><td align="center">`chi`</td></tr>
<tr><td>delta</td><td align="center">`delta`</td></tr>
<tr><td>Delta</td><td align="center">`Delta`</td></tr>
<tr><td>epsilon</td><td align="center">`epsilon`</td></tr>
<tr><td>varepsilon</td><td align="center">`varepsilon`</td></tr>
<tr><td>eta</td><td align="center">`eta`</td></tr>
<tr><td>gamma</td><td align="center">`gamma`</td></tr>
</table>
</td>
<td style="valign:top">
<table border="1" style="background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid rgb(153, 153, 153); padding: 1em;">
<tr><td>Gamma</td><td align="center">`Gamma`</td></tr>
<tr><td>iota</td><td align="center">`iota`</td></tr>
<tr><td>kappa</td><td align="center">`kappa`</td></tr>
<tr><td>lambda</td><td align="center">`lambda`</td></tr>
<tr><td>Lambda</td><td align="center">`Lambda`</td></tr>
<tr><td>mu</td><td align="center">`mu`</td></tr>
<tr><td>nu</td><td align="center">`nu`</td></tr>
<tr><td>omega</td><td align="center">`omega`</td></tr>
<tr><td>Omega</td><td align="center">`Omega`</td></tr>
</table>
</td>
<td style="valign:top">
<table border="1" style="background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid rgb(153, 153, 153); padding: 1em;">
<tr><td>phi</td><td align="center">`phi`</td></tr>
<tr><td>varphi</td><td align="center">`varphi`</td></tr>
<tr><td>Phi</td><td align="center">`Phi`</td></tr>
<tr><td>pi</td><td align="center">`pi`</td></tr>
<tr><td>Pi</td><td align="center">`Pi`</td></tr>
<tr><td>psi</td><td align="center">`psi`</td></tr>
<tr><td>Psi</td><td align="center">`Psi`</td></tr>
<tr><td>rho</td><td align="center">`rho`</td></tr>
<tr><td>sigma</td><td align="center">`sigma`</td></tr>
</table>
</td>
<td style="valign:top">
<table border="1" style="background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid rgb(153, 153, 153); padding: 1em;">
<tr><td>Sigma</td><td align="center">`Sigma`</td></tr>
<tr><td>tau</td><td align="center">`tau`</td></tr>
<tr><td>theta</td><td align="center">`theta`</td></tr>
<tr><td>vartheta</td><td align="center">`vartheta`</td></tr>
<tr><td>Theta</td><td align="center">`Theta`</td></tr>
<tr><td>upsilon</td><td align="center">`upsilon`</td></tr>
<tr><td>xi</td><td align="center">`xi`</td></tr>
<tr><td>Xi</td><td align="center">`Xi`</td></tr>
<tr><td>zeta</td><td align="center">`zeta`</td></tr></table>


{| border="1" cellpadding="2"
</td>
!width="1000"|What it looks like
</tr>
!width="500"|What you type
</table>
|-
|
Put text in a <tt>typewriter
font</tt>. The same font is
generally used for <code>
computer code</code>.
|<pre>
Put text in a <tt>typewriter
font</tt>. The same font is
generally used for <code>
computer code</code>.
</pre>
|-
|
<strike>Strike out</strike>
or <u>underline</u> text,
or write it <span style=
"font-variant:small-caps">
in small caps</span>.
|<pre>
<strike>Strike out</strike>
or <u>underline</u> text,
or write it <span style=
"font-variant:small-caps">
in small caps</span>.
</pre>
|-
|
Superscripts and subscripts:
X<sup>2</sup>, H<sub>2</sub>O
|<pre>
Superscripts and subscripts:
X<sup>2</sup>, H<sub>2</sub>O
</pre>
|-
|
<center>Centered text</center>
* Please note the American spelling of "center".
|<pre>
<center>Centered text</center>
</pre>
|-
|
<blockquote>
The '''blockquote''' command will indent
both margins when needed instead of the
left margin only as the colon does. 
</blockquote>
|<pre>
<blockquote>
The '''blockquote''' command will indent
both margins when needed instead of the
left margin only as the colon does. 
</blockquote>
</pre>
|-
|
Invisible comments to editors (&lt;!-- --&gt;)
only appear while editing the page.
<!-- Note to editors: blah blah blah. -->


* If you wish to make comments to the public, you should usually use the [[talk page]].
|<pre>
Invisible comments to editors (&amp;lt;!-- --&amp;gt;)
only appear while editing the page.
<!-- Note to editors: blah blah blah. -->
</pre>
|}


<br />
<br><br>
<br />


== Organizing your writing ==
==Symbols==
{| border="1" cellpadding="2"
!width="1000"|What it looks like
!width="500"|What you type
|-
|
<div style="font-size:150%;border-bottom:1px solid #000000;">Section headings</div>


''Headings'' organize your writing into
<table border="2" style="background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid rgb(153, 153, 153); padding: 1em;">
sections. The Wiki software can automatically
<tr valign="top"><td style="border: 1px solid #aaa;" align="center">
generate a [[Help:table of contents|table of contents]] from them.
'''Operation symbols'''</td><td style="border: 1px solid #aaa;" align="center">'''Relation symbols'''</td>
<td style="border: 1px solid #aaa;" align="center">
'''Logical symbols'''</td><td style="border: 1px solid #aaa;" align="center">'''Miscellaneous symbols'''</td>
<td style="border: 1px solid #aaa;" align="center">
'''Standard functions'''</td><td style="border: 1px solid #aaa;" align="center">'''Grouping brackets'''</td>
<td style="border: 1px solid #aaa;" align="center">
'''Accents'''</td><td style="border: 1px solid #aaa;" align="center">'''Font commands'''</td>
<td style="border: 1px solid #aaa;" align="center">
'''Arrows'''</td></tr>
<tr valign="top"><td style="border: 1px solid #aaa;" align="center">
<table border="2" cellpadding="2" style="background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid rgb(153, 153, 153); padding: 1em;">
<tr><th style="border: 1px solid #aaa;" >Type</th><th style="border: 1px solid #aaa;">See</th></tr>
<tr><td style="border: 1px solid #aaa;">+</td><td style="border: 1px solid #aaa;" align="center">`+`</td></tr>
<tr><td style="border: 1px solid #aaa">-</td><td style="border: 1px solid #aaa;" align="center">`-`</td></tr>
<tr><td style="border: 1px solid #aaa;" ><nowiki>*</nowiki></td><td style="border: 1px solid #aaa;" align="center">`*`</td></tr>
<tr><td style="border: 1px solid #aaa;" >**</td><td  style="border: 1px solid #aaa;" align="center">`**`</td></tr>
<tr><td style="border: 1px solid #aaa;" >//</td><td  style="border: 1px solid #aaa;" align="center">`//`</td></tr>
<tr><td style="border: 1px solid #aaa;" >\\</td><td  style="border: 1px solid #aaa;" align="center">`\\ `</td></tr>
<tr><td style="border: 1px solid #aaa;" >xx</td><td  style="border: 1px solid #aaa;" align="center">`xx`</td></tr>
<tr><td style="border: 1px solid #aaa;" >-:</td><td  style="border: 1px solid #aaa;" align="center">`-:`</td></tr>
<tr><td style="border: 1px solid #aaa;" >@</td><td  style="border: 1px solid #aaa;" align="center">`@`</td></tr>
<tr><td style="border: 1px solid #aaa;" >o+</td><td  style="border: 1px solid #aaa;" align="center">`o+`</td></tr>
<tr><td style="border: 1px solid #aaa;" >ox</td><td  style="border: 1px solid #aaa;" align="center">`ox`</td></tr>
<tr><td style="border: 1px solid #aaa;" >o.</td><td  style="border: 1px solid #aaa;" align="center">`o.`</td></tr>
<tr><td style="border: 1px solid #aaa;" >sum</td><td  style="border: 1px solid #aaa;" align="center">`sum`</td></tr>
<tr><td style="border: 1px solid #aaa;" >prod</td><td  style="border: 1px solid #aaa;" align="center">`prod`</td></tr>
<tr><td style="border: 1px solid #aaa;" >^^</td><td  style="border: 1px solid #aaa;" align="center">`^^`</td></tr>
<tr><td style="border: 1px solid #aaa;" >^^^</td><td  style="border: 1px solid #aaa;" align="center">`^^^`</td></tr>
<tr><td style="border: 1px solid #aaa;" >vv</td><td  style="border: 1px solid #aaa;" align="center">`vv`</td></tr>
<tr><td style="border: 1px solid #aaa;" >vvv</td><td  style="border: 1px solid #aaa;" align="center">`vvv`</td></tr>
<tr><td style="border: 1px solid #aaa;" >nn</td><td  style="border: 1px solid #aaa;" align="center">`nn`</td></tr>
<tr><td style="border: 1px solid #aaa;" >nnn</td><td  style="border: 1px solid #aaa;" align="center">`nnn`</td></tr>
<tr><td style="border: 1px solid #aaa;" >uu</td><td  style="border: 1px solid #aaa;" align="center">`uu`</td></tr>
<tr><td style="border: 1px solid #aaa;" >uuu</td><td  style="border: 1px solid #aaa;" align="center">`uuu`</td></tr>
</table>
</td><td style="border: 1px solid #aaa;" align="center">
<table border="1" style="background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid rgb(153, 153, 153); padding: 1em;" >
<tr><th style="border: 1px solid #aaa;" >Type</th><th style="border: 1px solid #aaa;" >See</th></tr>
<tr><td style="border: 1px solid #aaa;" >=</td><td  style="border: 1px solid #aaa;" align="center">`=`</td></tr>
<tr><td style="border: 1px solid #aaa;" >!=</td><td  style="border: 1px solid #aaa;" align="center">`!=`</td></tr>
<tr><td style="border: 1px solid #aaa;" >< </td><td  style="border: 1px solid #aaa;" align="center">`<`</td></tr>
<tr><td style="border: 1px solid #aaa;" >></td><td  style="border: 1px solid #aaa;" align="center">`>`</td></tr>
<tr><td style="border: 1px solid #aaa;" ><=</td><td  style="border: 1px solid #aaa;" align="center">`<=`</td></tr>
<tr><td style="border: 1px solid #aaa;" >>=</td><td  style="border: 1px solid #aaa;" align="center">`>=`</td></tr>
<tr><td style="border: 1px solid #aaa;" >-<</td><td  style="border: 1px solid #aaa;" align="center">`-<`</td></tr>
<tr><td style="border: 1px solid #aaa;" >>-</td><td  style="border: 1px solid #aaa;" align="center">`>-`</td></tr>
<tr><td style="border: 1px solid #aaa;" >in</td><td  style="border: 1px solid #aaa;" align="center">`in`</td></tr>
<tr><td style="border: 1px solid #aaa;" >!in</td><td  style="border: 1px solid #aaa;" align="center">`notin`</td></tr>
<tr><td style="border: 1px solid #aaa;" >sub</td><td  style="border: 1px solid #aaa;" align="center">`sub`</td></tr>
<tr><td style="border: 1px solid #aaa;" >sup</td><td  style="border: 1px solid #aaa;" align="center">`sup`</td></tr>
<tr><td style="border: 1px solid #aaa;" >sube</td><td  style="border: 1px solid #aaa;" align="center">`sube`</td></tr>
<tr><td style="border: 1px solid #aaa;" >supe</td><td  style="border: 1px solid #aaa;" align="center">`supe`</td></tr>
<tr><td style="border: 1px solid #aaa;" >-=</td><td  style="border: 1px solid #aaa;" align="center">`-=`</td></tr>
<tr><td style="border: 1px solid #aaa;" >~=</td><td  style="border: 1px solid #aaa;" align="center">`~=`</td></tr>
<tr><td style="border: 1px solid #aaa;" >~~</td><td  style="border: 1px solid #aaa;" align="center">`~~`</td></tr>
<tr><td style="border: 1px solid #aaa;" >prop</td><td  style="border: 1px solid #aaa;" align="center">`prop`</td></tr>
</table>
</td><td style="border: 1px solid #aaa;" align="center">
<table border="2" cellpadding="2" style="background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid #aaa; padding: 1em;">
<tr><th style="border: 1px solid #aaa;" >Type</th><th style="border: 1px solid #aaa;" align="center">See</th></tr>
<tr><td style="border: 1px solid #aaa">and</td><td style="border: 1px solid #aaa;" align="center">`and`</td></tr>
<tr><td style="border: 1px solid #aaa;" >or</td><td style="border: 1px solid #aaa;" align="center">`or`</td></tr>
<tr><td style="border: 1px solid #aaa;" >not</td><td style="border: 1px solid #aaa;" align="center">`not`</td></tr>
<tr><td style="border: 1px solid #aaa;" >=></td><td style="border: 1px solid #aaa;" align="center">`=>`</td></tr>
<tr><td style="border: 1px solid #aaa;" >if</td><td style="border: 1px solid #aaa;" align="center">`if`</td></tr>
<tr><td style="border: 1px solid #aaa;" >iff</td><td style="border: 1px solid #aaa;" align="center">`iff`</td></tr>
<tr><td style="border: 1px solid #aaa;" >AA</td><td style="border: 1px solid #aaa;" align="center">`AA`</td></tr>
<tr><td style="border: 1px solid #aaa;" >EE</td><td style="border: 1px solid #aaa;" align="center">`EE`</td></tr>
<tr><td style="border: 1px solid #aaa;" >_|_</td><td style="border: 1px solid #aaa;" align="center">`_|_`</td></tr>
<tr><td style="border: 1px solid #aaa;" >TT</td><td style="border: 1px solid #aaa;" align="center">`TT`</td></tr>
<tr><td style="border: 1px solid #aaa;" >|--</td><td style="border: 1px solid #aaa;" align="center">`|--`</td></tr>
<tr><td style="border: 1px solid #aaa;" >|==</td><td style="border: 1px solid #aaa;" align="center">`|==`</td></tr>
</table>


<div style="font-size:132%;font-weight:bold;">Subsection</div>
</td><td style="border: 1px solid #aaa;" align="center">
Using more equals signs creates a subsection.
<table border="2" cellpadding="2" style="background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid rgb(153, 153, 153); padding: 1em;">
<tr><th style="border: 1px solid #aaa;" >Type</th><th style="border: 1px solid #aaa;">See</th></tr>
<tr><td style="border: 1px solid #aaa;" >int</td><td style="border: 1px solid #aaa;" align="center">`int`</td></tr>
<tr><td style="border: 1px solid #aaa;" >oint</td><td style="border: 1px solid #aaa;" align="center">`oint`</td></tr>
<tr><td style="border: 1px solid #aaa;" >del</td><td style="border: 1px solid #aaa;" align="center">`del`</td></tr>
<tr><td style="border: 1px solid #aaa;" >grad</td><td style="border: 1px solid #aaa;" align="center">`grad`</td></tr>
<tr><td style="border: 1px solid #aaa;" >+-</td><td style="border: 1px solid #aaa;" align="center">`+-`</td></tr>
<tr><td style="border: 1px solid #aaa;" >O/</td><td style="border: 1px solid #aaa;" align="center">`O/`</td></tr>
<tr><td style="border: 1px solid #aaa;" >oo</td><td style="border: 1px solid #aaa;" align="center">`oo`</td></tr>
<tr><td style="border: 1px solid #aaa;" >aleph</td><td style="border: 1px solid #aaa;" align="center">`aleph`</td></tr>
<tr><td style="border: 1px solid #aaa;" >/_</td><td style="border: 1px solid #aaa;" align="center">`/_`</td></tr>
<tr><td style="border: 1px solid #aaa;" >:.</td><td style="border: 1px solid #aaa;" align="center">`:.`</td></tr>
<tr><td style="border: 1px solid #aaa;" >|...|</td><td style="border: 1px solid #aaa;" align="center">|`...`|</td></tr>
<tr><td style="border: 1px solid #aaa;" >|cdots|</td><td style="border: 1px solid #aaa;" align="center">|`cdots`|</td></tr>
<tr><td style="border: 1px solid #aaa;" >vdots</td><td style="border: 1px solid #aaa;" align="center">`vdots`</td></tr>
<tr><td style="border: 1px solid #aaa;" >ddots</td><td style="border: 1px solid #aaa;" align="center">`ddots`</td></tr>
<tr><td style="border: 1px solid #aaa;" >|\ |</td><td style="border: 1px solid #aaa;" align="center">|`\ `|</td></tr>
<tr><td style="border: 1px solid #aaa;" >|quad|</td><td style="border: 1px solid #aaa;" align="center">|`quad`|</td></tr>
<tr><td style="border: 1px solid #aaa;" >diamond</td><td style="border: 1px solid #aaa;" align="center">`diamond`</td></tr>
<tr><td style="border: 1px solid #aaa;" >square</td><td style="border: 1px solid #aaa;" align="center">`square`</td></tr>
<tr><td style="border: 1px solid #aaa;" >|__</td><td style="border: 1px solid #aaa;" align="center">`|__`</td></tr>
<tr><td style="border: 1px solid #aaa;" >__|</td><td style="border: 1px solid #aaa;" align="center">`__|`</td></tr>
<tr><td style="border: 1px solid #aaa;" >|~</td><td style="border: 1px solid #aaa;" align="center">`|~`</td></tr>
<tr><td style="border: 1px solid #aaa;" >~|</td><td style="border: 1px solid #aaa;" align="center">`~|`</td></tr>
<tr><td style="border: 1px solid #aaa;" >CC</td><td style="border: 1px solid #aaa;" align="center">`CC`</td></tr>
<tr><td style="border: 1px solid #aaa;" >NN</td><td style="border: 1px solid #aaa;" align="center">`NN`</td></tr>
<tr><td style="border: 1px solid #aaa;" >QQ</td><td style="border: 1px solid #aaa;" align="center">`QQ`</td></tr>
<tr><td style="border: 1px solid #aaa;" >RR</td><td style="border: 1px solid #aaa;" align="center">`RR`</td></tr>
<tr><td style="border: 1px solid #aaa;" >ZZ</td><td style="border: 1px solid #aaa;" align="center">`ZZ`</td></tr>
</table>
</td><td style="border: 1px solid #aaa;" align="center">
<table border="2" cellpadding="2" style="background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid rgb(153, 153, 153); padding: 1em;">
<tr><th style="border: 1px solid #aaa;" >Type</th><th style="border: 1px solid #aaa;">See</th></tr>
<tr><td style="border: 1px solid #aaa;" >sin</td><td style="border: 1px solid #aaa;" align="center">`sin`</td></tr>
<tr><td style="border: 1px solid #aaa;" >cos</td><td style="border: 1px solid #aaa;" align="center">`cos`</td></tr>
<tr><td style="border: 1px solid #aaa;" >tan</td><td style="border: 1px solid #aaa;" align="center">`tan`</td></tr>
<tr><td style="border: 1px solid #aaa;" >csc</td><td style="border: 1px solid #aaa;" align="center">`csc`</td></tr>
<tr><td style="border: 1px solid #aaa;" >sec</td><td style="border: 1px solid #aaa;" align="center">`sec`</td></tr>
<tr><td style="border: 1px solid #aaa;" >cot</td><td style="border: 1px solid #aaa;" align="center">`cot`</td></tr>
<tr><td style="border: 1px solid #aaa;" >sinh</td><td style="border: 1px solid #aaa;" align="center">`sinh`</td></tr>
<tr><td style="border: 1px solid #aaa;" >cosh</td><td style="border: 1px solid #aaa;" align="center">`cosh`</td></tr>
<tr><td style="border: 1px solid #aaa;" >tanh</td><td style="border: 1px solid #aaa;" align="center">`tanh`</td></tr>
<tr><td style="border: 1px solid #aaa;" >log</td><td style="border: 1px solid #aaa;" align="center">`log`</td></tr>
<tr><td style="border: 1px solid #aaa;" >ln</td><td style="border: 1px solid #aaa;" align="center">`ln`</td></tr>
<tr><td style="border: 1px solid #aaa;" >det</td><td style="border: 1px solid #aaa;" align="center">`det`</td></tr>
<tr><td style="border: 1px solid #aaa;" >dim</td><td style="border: 1px solid #aaa;" align="center">`dim`</td></tr>
<tr><td style="border: 1px solid #aaa;" >lim</td><td style="border: 1px solid #aaa;" align="center">`lim`</td></tr>
<tr><td style="border: 1px solid #aaa;" >mod</td><td style="border: 1px solid #aaa;" align="center">`mod`</td></tr>
<tr><td style="border: 1px solid #aaa;" >gcd</td><td style="border: 1px solid #aaa;" align="center">`gcd`</td></tr>
<tr><td style="border: 1px solid #aaa;" >lcm</td><td style="border: 1px solid #aaa;" align="center">`lcm`</td></tr>
<tr><td style="border: 1px solid #aaa;" >min</td><td style="border: 1px solid #aaa;" align="center">`min`</td></tr>
<tr><td style="border: 1px solid #aaa;" >max</td><td style="border: 1px solid #aaa;" align="center">`max`</td></tr>
</table>


<div style="font-size:116%;font-weight:bold;">A smaller subsection</div>
</td><td style="border: 1px solid #aaa;" align="center">
<table border="2" cellpadding="2" style="background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid rgb(153, 153, 153); padding: 1em;" id="table1">
<tr><th style="border: 1px solid #aaa;" >Type</th><th style="border: 1px solid #aaa;">See</th></tr>
<tr><td style="border: 1px solid #aaa;" >(</td><td style="border: 1px solid #aaa;" align="center">`(`</td></tr>
<tr><td style="border: 1px solid #aaa;" >)</td><td style="border: 1px solid #aaa;" align="center">`)`</td></tr>
<tr><td style="border: 1px solid #aaa;" >[</td><td style="border: 1px solid #aaa;" align="center">`[`</td></tr>
<tr><td style="border: 1px solid #aaa;" >]</td><td style="border: 1px solid #aaa;" align="center">`]`</td></tr>
<tr><td style="border: 1px solid #aaa;" >{</td><td style="border: 1px solid #aaa;" align="center">`{`</td></tr>
<tr><td style="border: 1px solid #aaa;" >}</td><td style="border: 1px solid #aaa;" align="center">`}`</td></tr>
<tr><td style="border: 1px solid #aaa;" >(:</td><td style="border: 1px solid #aaa;" align="center">`(:`</td></tr>
<tr><td style="border: 1px solid #aaa;" >:)</td><td style="border: 1px solid #aaa;" align="center">`:)`</td></tr>
<tr><td style="border: 1px solid #aaa;" >{:</td><td style="border: 1px solid #aaa;" align="center">`{:`</td></tr>
<tr><td style="border: 1px solid #aaa;" >:}</td><td style="border: 1px solid #aaa;" align="center">`{::}`</td></tr>
</table>


Don't skip levels, like from two to four equals signs.
</td><td style="border: 1px solid #aaa;" align="center">
<table border="2" cellpadding="2" style="width:70px; background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid rgb(153, 153, 153); padding: 1em;" id="table2">
<tr><th style="border: 1px solid #aaa;" >Type</th><th style="border: 1px solid #aaa;">See</th></tr>
<tr><td style="border: 1px solid #aaa;" >hat x</td><td style="border: 1px solid #aaa;" align="center">`hat x`</td></tr>
<tr><td style="border: 1px solid #aaa;" >bar x</td><td style="border: 1px solid #aaa;" align="center">`bar x`</td></tr>
<tr><td style="border: 1px solid #aaa;" >ul x</td><td style="border: 1px solid #aaa;" align="center">`ul x`</td></tr>
<tr><td style="border: 1px solid #aaa;" >vec x</td><td style="border: 1px solid #aaa;" align="center">`vec x`</td></tr>
<tr><td style="border: 1px solid #aaa;" >dot x</td><td style="border: 1px solid #aaa;" align="center">`dot x`</td></tr>
<tr><td style="border: 1px solid #aaa;" >ddot x</td><td style="border: 1px solid #aaa;" align="center">`ddot x`</td></tr>
</table>


Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title.
</td><td style="border: 1px solid #aaa;" align="center">
|<pre>
<table border="2" cellpadding="2" style="width:70px; background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid rgb(153, 153, 153); padding: 1em;" id="table3">
== Section headings ==
<tr><th style="border: 1px solid #aaa;" >Type</th><th style="border: 1px solid #aaa;">See</th></tr>
<tr><td style="border: 1px solid #aaa;" >bb A</td><td style="border: 1px solid #aaa;" align="center">`bb A`</td></tr>
<tr><td style="border: 1px solid #aaa;" >bbb A</td><td style="border: 1px solid #aaa;" align="center">`bbb A`</td></tr>
<tr><td style="border: 1px solid #aaa;" >cc A</td><td style="border: 1px solid #aaa;" align="center">`cc A`</td></tr>
<tr><td style="border: 1px solid #aaa;" >tt A</td><td style="border: 1px solid #aaa;" align="center">`tt A`</td></tr>
<tr><td style="border: 1px solid #aaa;" >fr A</td><td style="border: 1px solid #aaa;" align="center">`fr A`</td></tr>
<tr><td style="border: 1px solid #aaa;" >sf A</td><td style="border: 1px solid #aaa;" align="center">`sf A`</td></tr>
</table>


''Headings'' organize your writing into
</td><td style="border: 1px solid #aaa;" align="center">
sections. The Wiki software can automatically
<table border="2" cellpadding="2" style="background-color:rgb(249,249,249); border-collapse: collapse; border: 1px solid rgb(153, 153, 153); padding: 1em;">
generate a table of contents from them.
<tr><th style="border: 1px solid #aaa;" >Type</th><th style="border: 1px solid #aaa;">See</th></tr>
<tr><td style="border: 1px solid #aaa;" >uarr</td><td style="border: 1px solid #aaa;" align="center">`uarr`</td></tr>
<tr><td style="border: 1px solid #aaa;" >darr</td><td style="border: 1px solid #aaa;" align="center">`darr`</td></tr>
<tr><td style="border: 1px solid #aaa;" >rarr</td><td style="border: 1px solid #aaa;" align="center">`rarr`</td></tr>
<tr><td style="border: 1px solid #aaa;" >-></td><td style="border: 1px solid #aaa;" align="center">`->`</td></tr>
<tr><td style="border: 1px solid #aaa;" >|-></td><td style="border: 1px solid #aaa;" align="center">`|->`</td></tr>
<tr><td style="border: 1px solid #aaa;" >larr</td><td style="border: 1px solid #aaa;" align="center">`larr`</td></tr>
<tr><td style="border: 1px solid #aaa;" >harr</td><td style="border: 1px solid #aaa;" align="center">`harr`</td></tr>
<tr><td style="border: 1px solid #aaa;" >rArr</td><td style="border: 1px solid #aaa;" align="center">`rArr`</td></tr>
<tr><td style="border: 1px solid #aaa;" >lArr</td><td style="border: 1px solid #aaa;" align="center">`lArr`</td></tr>
<tr><td style="border: 1px solid #aaa;" >hArr</td><td style="border: 1px solid #aaa;" align="center">`hArr`</td></tr>
</table>


=== Subsection ===
</td></tr>
</table>


Using more equals signs creates a subsection.
<br><br>


==== A smaller subsection ====
==Examples==


Don't skip levels,
<table border="1" cellpadding="2" style="border: 1px solid #aaa; background-color:rgb(249,249,249); ">
like from two to four equals signs.
<tr>
 
<th style="border: 1px solid #aaa; width: 270px">Type this</th>
Start with 2 equals signs not 1  
<th style="border: 1px solid #aaa; width: 150px">See that</th>
because 1 creates H1 tags
<th style="border: 1px solid #aaa;">Comment</th>
which should be reserved for page title.
</tr>
</pre>
<tr>
 
<td style="border: 1px solid #aaa;">\`x^2+y_1+z_12^34\`</td>
 
<td style="border: 1px solid #aaa;">`x^2+y_1+z_12^34`</td>
|- id="lists"
<td style="border: 1px solid #aaa;">subscripts as in TeX, but numbers are treated as a unit</td>
|
</tr>
* ''Unordered [[Help:List|list]]s'' are easy to do:
<tr>
** Start every line with a star.
<td style="border: 1px solid #aaa;">\`sin^-1(x)\`</td>
*** More stars indicate a deeper level.
<td style="border: 1px solid #aaa;">`sin^-1(x)`</td>
*: Previous item continues.
<td style="border: 1px solid #aaa;">function names are treated as constants</td>
** A newline
</tr>
* in a list 
<tr>
marks the end of the list.
<td style="border: 1px solid #aaa;">\`d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h\`</td>
*Of course you can start again.
<td style="border: 1px solid #aaa;">`d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h`</td>
|<pre>
<td style="border: 1px solid #aaa;">complex subscripts are bracketed, displayed under lim</td>
* ''Unordered lists'' are easy to do:
</tr>
** Start every line with a star.
<tr>
*** More stars indicate a deeper level.
<td style="border: 1px solid #aaa;">\`\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\`</td>
*: Previous item continues.
<td style="border: 1px solid #aaa;">`\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}`</td>
** A newline
<td style="border: 1px solid #aaa;">standard LaTeX notation is an alternative</td>
* in a list 
</tr>
marks the end of the list.
<tr>
* Of course you can start again.
<td style="border: 1px solid #aaa;">\`f(x)=sum_(n=0)^oo(f^((n))(a))/(n!)(x-a)^n\`</td>
</pre>
<td style="border: 1px solid #aaa;">`f(x)=sum_(n=0)^oo(f^((n))(a))/(n!)(x-a)^n`</td>
|-
<td style="border: 1px solid #aaa;">f^((n))(a) must be bracketed, else the numerator is only `a`</td>
|
</tr>
# ''Numbered lists'' are:
<tr>
## Very organized
<td style="border: 1px solid #aaa;">\`f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(a)}{n!}(x-a)^n\`</td>
## Easy to follow
<td style="border: 1px solid #aaa;">`f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(a)}{n!}(x-a)^n`</td>
A newline marks the end of the list.
<td style="border: 1px solid #aaa;">standard LaTeX produces the same result</td>
# New numbering starts with 1.
</tr>
 
<tr>
|<pre>
<td style="border: 1px solid #aaa;">\`int_0^1f(x)dx\`</td>
# ''Numbered lists'' are:
<td style="border: 1px solid #aaa;">`int_0^1f(x)dx`</td>
## Very organized
<td style="border: 1px solid #aaa;">subscripts must come before superscripts</td>
## Easy to follow
</tr>
A newline marks the end of the list.
<tr>
# New numbering starts with 1.
<td style="border: 1px solid #aaa;">\`[[a,b],[c,d]]((n),(k))\`</td>
</pre>
<td style="border: 1px solid #aaa;">`[[a,b],[c,d]]((n),(k))`</td>
|-
<td style="border: 1px solid #aaa;">matrices and column vectors are simple to type</td>
|
</tr>
Here's a ''definition list'':
<tr>
; Word : Definition of the word
<td style="border: 1px solid #aaa;">\`x/x={(1,if x!=0),(text{undefined},if x=0):}\`</td>
; A longer phrase needing definition
<td style="border: 1px solid #aaa;">`x/x={(1,if x!=0),(text{undefined},if x=0):}`</td>
: Phrase defined
<td style="border: 1px solid #aaa;">piecewise defined function are based on matrix notation</td>
; A word : Which has a definition
</tr>
: Also a second one
<tr>
: And even a third
<td style="border: 1px solid #aaa;">\`a//b\`</td>
 
<td style="border: 1px solid #aaa;">`a//b`</td>
Begin with a semicolon. One item per line;  
<td style="border: 1px solid #aaa;">use // for inline fractions</td>
a newline can appear before the colon, but
</tr>
using a space before the colon improves
<tr>
parsing.
<td style="border: 1px solid #aaa;">\`(a/b)/(c/d)\`</td>
|<pre>
<td style="border: 1px solid #aaa;">`(a/b)/(c/d)`</td>
Here's a ''definition list'':
<td style="border: 1px solid #aaa;">with brackets, multiple fraction work as expected</td>
; Word : Definition of the word
</tr>
; A longer phrase needing definition
<tr>
: Phrase defined
<td style="border: 1px solid #aaa;">\`a/b/c/d\`</td>
; A word : Which has a definition
<td style="border: 1px solid #aaa;">`a/b/c/d`</td>
: Also a second one
<td style="border: 1px solid #aaa;">without brackets the parser chooses this particular expression</td>
: And even a third
</tr>
 
<tr>
Begin with a semicolon. One item per line;  
<td style="border: 1px solid #aaa;">\`((a*b))/c\`</td>
a newline can appear before the colon, but
<td style="border: 1px solid #aaa;">`((a*b))/c`</td>
using a space before the colon improves
<td style="border: 1px solid #aaa;">only one level of brackets is removed; * gives standard product</td>
parsing.
</tr>
</pre>
<tr>
|-
<td style="border: 1px solid #aaa;">\`sqrtsqrtroot3x\`</td>
|
<td style="border: 1px solid #aaa;">`sqrtsqrtroot3x`</td>
* You can even do mixed lists
<td style="border: 1px solid #aaa;">spaces are optional, only serve to split strings that should not match</td>
*# and nest them
</tr>
*# inside each other
<tr>
*#* or break lines<br>in lists.
<td style="border: 1px solid #aaa;">\`(:a,b:) and {:(x,y),(u,v):}\`</td>
*#; definition lists
<td style="border: 1px solid #aaa;">`(:a,b:) and {:(x,y),(u,v):}`</td>
*#: can be
<td style="border: 1px solid #aaa;">angle brackets and invisible brackets</td>
*#:; nested : too
</tr>
|<pre>
<tr>
* You can even do mixed lists
<td style="border: 1px solid #aaa;">\`(a,b]={x in RR : a < x <= b}\`</td>
*# and nest them
<td style="border: 1px solid #aaa;">`(a,b]={x in RR : a < x <= b}`</td>
*# inside each other
<td style="border: 1px solid #aaa;">grouping brackets don't have to match</td>
*#* or break lines<br>in lists.
</tr>
*#; definition lists
<tr>
*#: can be
<td style="border: 1px solid #aaa;">\`abc-123.45^-1.1\`</td>
*#:; nested : too
<td style="border: 1px solid #aaa;">`abc-123.45^-1.1`</td>
</pre>
<td style="border: 1px solid #aaa;">non-tokens are split into single characters,<br/>
|-
but decimal numbers are parsed with possible sign</td>
|
</tr>
: A colon (:) indents a line or paragraph.
<tr>
A newline starts a new paragraph. <br>
<td style="border: 1px solid #aaa;">\`hat(ab) bar(xy) ulA vec v dotx ddot y\`</td>
Often used for discussion on [[talk pages]].
<td style="border: 1px solid #aaa;">`hat(ab) bar(xy) ulA vec v dotx ddot y`</td>
: We use 1 colon to indent once.
<td style="border: 1px solid #aaa;">accents can be used on any expression (work well in IE)</td>
:: We use 2 colons to indent twice.
</tr>
::: 3 colons to indent 3 times, and so on.
<tr>
|<pre>
<td style="border: 1px solid #aaa;">\`bb{AB3}.bbb(AB].cc(AB).fr{AB}.tt[AB].sf(AB)\`</td>
: A colon (:) indents a line or paragraph.
<td style="border: 1px solid #aaa;">`bb{AB3}.bbb(AB].cc(AB).fr{AB}.tt[AB].sf(AB)`</td>
A newline starts a new paragraph. <br>
<td style="border: 1px solid #aaa;">font commands; can use any brackets around argument</td>
Often used for discussion on talk pages.
</tr>
: We use 1 colon to indent once.
<tr>
:: We use 2 colons to indent twice.
<td style="border: 1px solid #aaa;">\`stackrel"def"= or \stackrel{\Delta}{=}" "("or ":=)\`</td>
::: 3 colons to indent 3 times, and so on.
<td style="border: 1px solid #aaa;">`stackrel"def"= or \stackrel{\Delta}{=}" "("or ":=)`</td>
</pre>
<td style="border: 1px solid #aaa;">symbols can be stacked</td>
|-
</tr>
|
<tr>
You can make [[w:horizontal dividing line|horizontal dividing line]]s (----)
<td style="border: 1px solid #aaa;">\`{::}_(\ 92)^238U\`</td>
to separate text.
<td style="border: 1px solid #aaa;">`{::}_(\ 92)^238U`</td>
----
<td style="border: 1px solid #aaa;">prescripts simulated by subsuperscripts</td>
But you should usually use sections instead,
</tr>
so that they go in the table of contents.
</table>
|<pre>
You can make horizontal dividing lines (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
</pre>
|-
|
You can add footnotes to sentences using the ''ref'' tag -- this is especially good for citing a source.
 
:There are over six billion people in the world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [http://en.wikipedia.org/wiki/Wikipedia:Footnotes Wikipedia:Footnotes].
|
<pre><nowiki>
You can add footnotes to sentences using
the ''ref'' tag -- this is especially good
for citing a source.
 
:There are over six billion people in the
world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [http://en.wikipedia.org/wiki/Wikipedia:Footnotes
Wikipedia:Footnotes].
</nowiki></pre>
|}
 
<br />
<br />
 
== Section headings ==
 
''Headings'' organize your writing into
sections. The Wiki software can automatically
generate a table of contents from them.
 
=== Subsection ===
 
Using more equals signs creates a subsection.
 
==== A smaller subsection ====
 
Don't skip levels,
like from two to four equals signs.
 
Start with 2 equals signs not 1
because 1 creates H1 tags
which should be reserved for page title.
</pre>
|- id="lists"
|
* ''Unordered [[Help:List|list]]s'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
*Of course you can start again.
|<pre>
* ''Unordered lists'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
* Of course you can start again.
</pre>
|-
|
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
 
|<pre>
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
</pre>
|-
|
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;  
a newline can appear before the colon, but
using a space before the colon improves
parsing.
|<pre>
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
</pre>
|-
|
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
|<pre>
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
</pre>
|-
|
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on [[talk pages]].
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
|<pre>
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on talk pages.
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
</pre>
|-
|
You can make [[w:horizontal dividing line|horizontal dividing line]]s (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
|<pre>
You can make horizontal dividing lines (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
</pre>
|-
|
You can add footnotes to sentences using the ''ref'' tag -- this is especially good for citing a source.
 
:There are over six billion people in the world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [http://en.wikipedia.org/wiki/Wikipedia:Footnotes Wikipedia:Footnotes].
|
<pre><nowiki>
You can add footnotes to sentences using
the ''ref'' tag -- this is especially good
for citing a source.
 
:There are over six billion people in the
world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [http://en.wikipedia.org/wiki/Wikipedia:Footnotes
Wikipedia:Footnotes].
</nowiki></pre>
|}
 
<br />
<br />
 
== Section headings ==
 
''Headings'' organize your writing into
sections. The Wiki software can automatically
generate a table of contents from them.
 
=== Subsection ===
 
Using more equals signs creates a subsection.
 
==== A smaller subsection ====
 
Don't skip levels,
like from two to four equals signs.
 
Start with 2 equals signs not 1  
because 1 creates H1 tags
which should be reserved for page title.
</pre>
{|- id="lists"
|
* ''Unordered [[Help:List|list]]s'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
*Of course you can start again.
|<pre>
* ''Unordered lists'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
* Of course you can start again.
</pre>
|-
|
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
 
|<pre>
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
</pre>
|-
|
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;  
a newline can appear before the colon, but
using a space before the colon improves
parsing.
|<pre>
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
</pre>
|-
|
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
|<pre>
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
</pre>
|-
|
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on [[talk pages]].
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
|<pre>
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on talk pages.
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
</pre>
|-
|
You can make [[w:horizontal dividing line|horizontal dividing line]]s (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
|<pre>
You can make horizontal dividing lines (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
</pre>
|-
|
You can add footnotes to sentences using the ''ref'' tag -- this is especially good for citing a source.
 
:There are over six billion people in the world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [http://en.wikipedia.org/wiki/Wikipedia:Footnotes Wikipedia:Footnotes].
|
<pre><nowiki>
You can add footnotes to sentences using
the ''ref'' tag -- this is especially good
for citing a source.
 
:There are over six billion people in the
world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [http://en.wikipedia.org/wiki/Wikipedia:Footnotes
Wikipedia:Footnotes].
</nowiki></pre>
|}
 
<br />
<br />
 
== Section headings ==
 
''Headings'' organize your writing into
sections. The Wiki software can automatically
generate a table of contents from them.
 
=== Subsection ===
 
Using more equals signs creates a subsection.
 
==== A smaller subsection ====
 
Don't skip levels,
like from two to four equals signs.
 
Start with 2 equals signs not 1
because 1 creates H1 tags
which should be reserved for page title.
</pre>
|- id="lists"
|
* ''Unordered [[Help:List|list]]s'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
*Of course you can start again.
|<pre>
* ''Unordered lists'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
* Of course you can start again.
</pre>
|-
|
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
 
|<pre>
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
</pre>
|-
|
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
|<pre>
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
</pre>
|-
|
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
|<pre>
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
</pre>
|-
|
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on [[talk pages]].
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
|<pre>
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on talk pages.
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
</pre>
|-
|
You can make [[w:horizontal dividing line|horizontal dividing line]]s (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
|<pre>
You can make horizontal dividing lines (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
</pre>
|-
|
You can add footnotes to sentences using the ''ref'' tag -- this is especially good for citing a source.
 
:There are over six billion people in the world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [http://en.wikipedia.org/wiki/Wikipedia:Footnotes Wikipedia:Footnotes].
|
<pre><nowiki>
You can add footnotes to sentences using
the ''ref'' tag -- this is especially good
for citing a source.
 
:There are over six billion people in the
world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [http://en.wikipedia.org/wiki/Wikipedia:Footnotes
Wikipedia:Footnotes].
</nowiki></pre>
|}
 
<br />
<br />
 
== Section headings ==
 
''Headings'' organize your writing into
sections. The Wiki software can automatically
generate a table of contents from them.
 
=== Subsection ===
 
Using more equals signs creates a subsection.
 
==== A smaller subsection ====
 
Don't skip levels,
like from two to four equals signs.
 
Start with 2 equals signs not 1
because 1 creates H1 tags
which should be reserved for page title.
</pre>
|- id="lists"
|
* ''Unordered [[Help:List|list]]s'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
*Of course you can start again.
|<pre>
* ''Unordered lists'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
* Of course you can start again.
</pre>
|-
|
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
 
|<pre>
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
</pre>
|-
|
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
|<pre>
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
</pre>
|-
|
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
|<pre>
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
</pre>
|-
|
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on [[talk pages]].
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
|<pre>
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on talk pages.
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
</pre>
|-
|
You can make [[w:horizontal dividing line|horizontal dividing line]]s (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
|<pre>
You can make horizontal dividing lines (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
</pre>
|-
|
You can add footnotes to sentences using the ''ref'' tag -- this is especially good for citing a source.
 
:There are over six billion people in the world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [http://en.wikipedia.org/wiki/Wikipedia:Footnotes Wikipedia:Footnotes].
|
<pre><nowiki>
You can add footnotes to sentences using
the ''ref'' tag -- this is especially good
for citing a source.
 
:There are over six billion people in the
world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [http://en.wikipedia.org/wiki/Wikipedia:Footnotes Wikipedia:Footnotes].
</nowiki></pre>
|}
 
<br />
<br />
 
== Section headings ==
 
''Headings'' organize your writing into
sections. The Wiki software can automatically
generate a table of contents from them.
 
=== Subsection ===
 
Using more equals signs creates a subsection.
 
==== A smaller subsection ====
 
Don't skip levels,
like from two to four equals signs.
 
Start with 2 equals signs not 1
because 1 creates H1 tags
which should be reserved for page title.
</pre>
|- id="lists"
|
* ''Unordered [[Help:List|list]]s'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
*Of course you can start again.
|<pre>
* ''Unordered lists'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
* Of course you can start again.
</pre>
|-
|
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
 
|<pre>
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
</pre>
|-
|
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
|<pre>
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
</pre>
|-
|
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
|<pre>
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
</pre>
|-
|
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on [[talk pages]].
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
|<pre>
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on talk pages.
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
</pre>
|-
|
You can make [[w:horizontal dividing line|horizontal dividing line]]s (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
|<pre>
You can make horizontal dividing lines (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
</pre>
|-
|
You can add footnotes to sentences using the ''ref'' tag -- this is especially good for citing a source.
 
:There are over six billion people in the world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [[Wikipedia:Footnotes]] and [[Help:Footnotes]].
|
<pre><nowiki>
You can add footnotes to sentences using
the ''ref'' tag -- this is especially good
for citing a source.
 
:There are over six billion people in the
world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [http://en.wikipedia.org/wiki/Wikipedia:Footnotes Wikipedia:Footnotes].
</nowiki></pre>
|}
 
<br />
<br />
 
== Section headings ==
 
''Headings'' organize your writing into
sections. The Wiki software can automatically
generate a table of contents from them.
 
=== Subsection ===
 
Using more equals signs creates a subsection.
 
==== A smaller subsection ====
 
Don't skip levels,
like from two to four equals signs.
 
Start with 2 equals signs not 1
because 1 creates H1 tags
which should be reserved for page title.
</pre>
|- id="lists"
|
* ''Unordered [[Help:List|list]]s'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
*Of course you can start again.
|<pre>
* ''Unordered lists'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
* Of course you can start again.
</pre>
|-
|
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
 
|<pre>
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
</pre>
|-
|
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
|<pre>
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
</pre>
|-
|
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
|<pre>
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
</pre>
|-
|
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on [[talk pages]].
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
|<pre>
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on talk pages.
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
</pre>
|-
|
You can make [[w:horizontal dividing line|horizontal dividing line]]s (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
|<pre>
You can make horizontal dividing lines (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
</pre>
|-
|
You can add footnotes to sentences using the ''ref'' tag -- this is especially good for citing a source.
 
:There are over six billion people in the world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [[Wikipedia:Footnotes]] and [[Help:Footnotes]].
|
<pre><nowiki>
You can add footnotes to sentences using
the ''ref'' tag -- this is especially good
for citing a source.
 
:There are over six billion people in the
world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [[Wikipedia:Footnotes]]
and [[Help:Footnotes]].
</nowiki></pre>
|}
 
<br />
<br />
 
== Section headings ==
 
''Headings'' organize your writing into
sections. The Wiki software can automatically
generate a table of contents from them.
 
=== Subsection ===
 
Using more equals signs creates a subsection.
 
==== A smaller subsection ====
 
Don't skip levels,
like from two to four equals signs.
 
Start with 2 equals signs not 1
because 1 creates H1 tags
which should be reserved for page title.
</pre>
|- id="lists"
|
* ''Unordered [[Help:List|list]]s'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
*Of course you can start again.
|<pre>
* ''Unordered lists'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** A newline
* in a list 
marks the end of the list.
* Of course you can start again.
</pre>
|-
|
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
 
|<pre>
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.
</pre>
|-
|
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
|<pre>
Here's a ''definition list'':
; Word : Definition of the word
; A longer phrase needing definition
: Phrase defined
; A word : Which has a definition
: Also a second one
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
</pre>
|-
|
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
|<pre>
* You can even do mixed lists
*# and nest them
*# inside each other
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
</pre>
|-
|
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on [[talk pages]].
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
|<pre>
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on talk pages.
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.
</pre>
|-
|
You can make [[w:horizontal dividing line|horizontal dividing line]]s (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
|<pre>
You can make horizontal dividing lines (----)
to separate text.
----
But you should usually use sections instead,
so that they go in the table of contents.
</pre>
|-
|
You can add footnotes to sentences using the ''ref'' tag -- this is especially good for citing a source.
 
:There are over six billion people in the world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [[Wikipedia:Footnotes]] and [[Help:Footnotes]].
|
<pre><nowiki>
You can add footnotes to sentences using
the ''ref'' tag -- this is especially good
for citing a source.
 
:There are over six billion people in the
world.<ref>CIA World Factbook, 2006.</ref>
 
References: <references/>
 
For details, see [[Wikipedia:Footnotes]]
and [[Help:Footnotes]].
</nowiki></pre>
|}
 
== Links ==
 
You will often want to make clickable ''links'' to other pages.
 
{|width="100%"  border="1" cellpadding="2" cellspacing="0"
|-
!What it looks like
!What you type
|-
|
Here's a link to a page named [[Official position]].
You can even say [[Official position]]s
and the link will show up correctly.
|<pre>
Here's a link to a page named [[Official position]].
You can even say [[Official position]]s
and the link will show up correctly.
</pre>
|-
|
You can put formatting around a link.
Example: ''[[Wikipedia]]''.
|<pre>
You can put formatting around a link.
Example: ''[[Wikipedia]]''.
</pre>
|-
|
The ''first letter'' of articles is automatically
capitalized, so [[wikipedia]] goes to the same place
as [[Wikipedia]]. Capitalization matters after the
first letter.
|<pre>
The ''first letter'' of articles is automatically
capitalized, so [[wikipedia]] goes to the same place
as [[Wikipedia]]. Capitalization matters after the
first letter.
</pre>
|-
|
[[The weather in Moscow]] is a page that doesn't exist
yet. You could create it by clicking on the link.
|<pre>
[[The weather in Moscow]] is a page that doesn't exist
yet. You could create it by clicking on the link.
</pre>
|-
|
You can link to a page section by its title:
 
*[[List of cities by country#Morocco]].
 
If multiple sections have the same title, add
a number. [[#Example section 3]] goes to the
third section named "Example section".
|<pre>
You can link to a page section by its title:
 
*[[List of cities by country#Morocco]].
 
If multiple sections have the same title, add
a number. [[#Example section 3]] goes to the
third section named "Example section".
</pre>
|-
|
You can make a link point to a different place
with a [[Help:Piped link|piped link]]. Put the link
target first, then the pipe character "|", then
the link text.
 
*[[Help:Link|About Links]]
*[[List of cities by country#Morocco|
Cities in Morocco]]
 
Or you can use the "pipe trick" so that text in parentheses or text after a comma does not appear.
 
*[[Spinning (textiles)|Spinning]]
*[[Boston, Massachusetts|Boston]]
|<pre>
 
*[[Help:Link|About Links]]
*[[List of cities by country#Morocco|
Cities in Morocco]]
 
*[[Spinning (textiles)|]]
*[[Boston, Massachusetts|]]
</pre>
|-
|
You can make an external link just by typing a URL:
http://www.nupedia.com
 
You can give it a title:
[http://www.nupedia.com Nupedia]
 
Or leave the title blank:
[http://www.nupedia.com]
|
<pre>
You can make an external link just by typing a URL:
http://www.nupedia.com
 
You can give it a title:
[http://www.nupedia.com Nupedia]
 
Or leave the title blank:
[http://www.nupedia.com]
</pre>
|-
|
Linking to an e-mail address works the same way:
mailto:someone@domain.com or
[mailto:someone@domain.com someone]
|
<pre>
Linking to an e-mail address works the same way:
mailto:someone@domain.com or
[mailto:someone@domain.com someone]
</pre>
|-
|
You can [[Help:Redirect|redirect]] the user to another page.
|<pre>
#REDIRECT [[Official position]]
</pre>
|-
|
[[Help:Category|Category links]] do not show up in line
but instead at page bottom ''and cause the page to be
listed in the category.''
<nowiki>[[Category:English documentation]]</nowiki>
 
Add an extra colon to ''link'' to a category in line
without causing the page to be listed in the category:
<nowiki>[[:Category:English documentation]]</nowiki>
|<pre>
[[Help:Category|Category links]] do not show up in line
but instead at page bottom ''and cause the page to be
listed in the category.''
[[Category:English documentation]]
 
Add an extra colon to ''link'' to a category in line
without causing the page to be listed in the category:
[[:Category:English documentation]]
</pre>
|-
|
The Wiki reformats linked dates to match the reader's
date preferences. These three dates will show up the
same if you choose a format in your
[[Special:Preferences|Preferences]]:
* [[July 20]], [[1969]]
* [[20 July]] [[1969]]
* [[1969]]-[[07-20]]
|<pre>
The Wiki reformats linked dates to match the reader's
date preferences. These three dates will show up the
same if you choose a format in your
[[Special:Preferences|]]:
* [[July 20]], [[1969]]
* [[20 July]] [[1969]]
* [[1969]]-[[07-20]]
</pre>
|}
 
==Just show what I typed==
 
:''See also [[Help:Wiki_markup_examples#Text_formatting_.E2.80.94_controlling_how_it_looks|Text formatting examples]].
 
A few different kinds of formatting will tell the Wiki to display things as you typed them.
 
{| border="1" cellpadding="2"
!width="1000"|What it looks like
!width="500"|What you type
|-
|
<nowiki>
The nowiki tag ignores
[[Wiki]] ''markup''.
It reformats text by
removing
newlines    and multiple
spaces.
It still interprets special
characters: &rarr;
</nowiki>
|<pre>
&lt;nowiki&gt;
The nowiki tag ignores
[[Wiki]] ''markup''.
It reformats text by
removing
newlines    and multiple
spaces.
It still interprets special
characters: &amp;rarr;
&lt;/nowiki&gt;
</pre>
|-
|
<pre>
The pre tag ignores [[Wiki]]
''markup''.
It also doesn't    reformat
text.
It still interprets special
characters: &rarr;
</pre>
|<pre>
&lt;pre&gt;
The pre tag ignores [[Wiki]]
''markup''.
It also doesn't    reformat
text.
It still interprets special
characters: &amp;rarr;
&lt;/pre&gt;
</pre>
|-
|
[[Leading spaces]] are another way to preserve formatting.
 
Putting a space at the
beginning of each
line stops the text 
from being
reformatted.  It still
interprets [[Wiki]]
''markup'' and special
characters: &rarr;
|<pre>
Leading spaces are another way
to preserve formatting.
 
Putting a space at the
beginning of each
line stops the text 
from being
reformatted.  It still
interprets [[Wiki]]
''markup'' and special
characters: &amp;rarr;
</pre>
|}
 
==Images, tables, video, and sounds==
 
After uploading, just enter the filename, highlight it and press the "embedded image"-button of the edit_toolbar.
 
This will produce the syntax for uploading a file '''<nowiki>[[Image:filename.png]]</nowiki>'''
 
This is a very quick introduction. For more information, see:
* [[Help:Images and other uploaded files]] for how to upload files
* [[w:en:Wikipedia:Extended image syntax]] for how to arrange images on the page
* [[Help:Table]] for how to create a table
 
{| border="1" cellpadding="2"
!width="1000"|What it looks like
!width="500"|What you type
|-
|
A picture, including alternate text:
 
[[Image:Wiki.png|This Wiki's logo]]
 
You can put the image in a frame with a caption:
[[Image:Wiki.png|frame|This Wiki's logo]]
|<pre>
A picture, including alternate text:
 
[[Image:Wiki.png|This Wiki's logo]]
 
The image in a frame with a caption:
[[Image:Wiki.png|frame|This Wiki's logo]]
</pre>
|-
|
A link to Wikipedia's page for the image:
[[:Image:Wiki.png]]
 
Or a link directly to the image itself:
[[Media:Wiki.png]]
|<pre>
A link to Wikipedia's page for the image:
[[:Image:Wiki.png]]
 
Or a link directly to the image itself:
[[Media:Wiki.png]]
</pre>
|-
|
Use '''media:''' links to link
directly to sounds or videos:
[[media:Sg_mrob.ogg|A sound file]]
|<pre>
Use '''media:''' links to link
directly to sounds or videos:
[[media:Sg_mrob.ogg|A sound file]]
</pre>
|-
|
{| border="1" cellspacing="0" cellpadding="5" align="center"
! This
! is
|-
| a
| table
|-
|}
|<pre>
{| border="1" cellspacing="0"
cellpadding="5" align="center"
! This
! is
|-
| a
| table
|-
|}
 
</pre>
|}
<br><br><br>
 
== Mathematical formulas ==
The site has [http://en.wikipedia.org/wiki/Mathml MathML] support through [http://www1.chapman.edu/~jipsen/mathml/asciimath.html ASCIIMathML], a javascript based system that translates "ASCII" notation (the one often used in newsgroups and emails) placed in \` delimiters to MathML. La-TeX-style formulas also work. So registered users can use this notation in any page of the site for rendering mathematical formulas.
<br><br>
'''For Detailed Syntax see [[Help:Formula]].'''
<br><br>
{| border="1" cellpadding="2"
!width="1000"|What it looks like
!width="500"|What you type
|-
|
`x_(1,2)=(-b+-sqrt(b^2-4ac))/(2a)`
|<pre><nowiki>
`x_(1,2)=(-b+-sqrt(b^2-4ac))/(2a)`
</nowiki></pre>
|}


[[Category:Help]]
[[Category:Help]]

Revision as of 17:26, 12 October 2015

ASCIIMathML.js (ver 2.0.9): Syntax and List of Constants

You can use your favorite editor to write HTML pages that use this JavaScript program. If the page is viewed by a browser that does not support MathML or JavaScript, the ASCII formulas are still quite readable. Most users will not have to read the technicalities on this page. If you type

\`x^2\` or \`a_(mn)\` or \`a_{mn}\` or \`(x+1)/y\` or \`sqrtx\`

you pretty much get what you expect: `x^2` or `a_(mn)` or `a_{mn}` or `(x+1)/y` or `sqrtx`. The choice of grouping parenthesis is up to you (they don't have to match either). If the displayed expression can be parsed uniquely without them, they are omitted. Printing the table of constant symbols (below) may be helpful (but is not necessary if you know the LaTeX equivalents).

It is hoped that this simple input format for MathML will further encourage its use on the web. The remainder of this page gives a fairly detailed specification of the ASCII syntax. The expressions described here correspond to a wellspecified subset of Presentation MathML and behave in a predictable way.

The syntax is very permissive and does not generate syntax errors. This allows mathematically incorrect expressions to be displayed, which is important for teaching purposes. It also causes less frustration when previewing formulas.

The parser uses no operator precedence and only respects the grouping brackets, subscripts, superscript, fractions and (square) roots. This is done for reasons of efficiency and generality. The resulting MathML code can quite easily be processed further to ensure additional syntactic requirements of any particular application.

The grammar

Here is a definition of the grammar used to parse ASCIIMathML expressions. In the Backus-Naur form given below, the letter on the left of the ::= represents a category of symbols that could be one of the possible sequences of symbols listed on the right. The vertical bar | separates the alternatives.

c ::= [A-z] | numbers | greek letters | other constant symbols (see below)
u ::= 'sqrt' | 'text' | 'bb' |     other unary symbols for font commands
b ::= 'frac' | 'root' | 'stackrel' binary symbols
l ::= ( | [ | { | (: | {:          left brackets
r ::= ) | ] | } | :) | :}          right brackets
S ::= c | lEr | uS | bSS | "any"   simple expression
E ::= SE | S/S |S_S | S^S | S_S^S  expression (fraction, sub-, super-, subsuperscript)



The translation rules

Each terminal symbol is translated into a corresponding MathML node. The constants are mostly converted to their respective Unicode symbols. The other expressions are converted as follows:

l`S`r`to`<mrow>l`S`r</mrow>(note that any pair of brackets can be used to delimit subexpressions, they don't have to match)
sqrt `S``to`<msqrt>`S'`</msqrt>
text `S``to`<mtext>`S'`</mtext>
"any"`to`<mtext>any</mtext>
frac `S_1` `S_2``to`<mfrac>`S_1'` `S_2'`</mfrac>
root `S_1` `S_2``to`<mroot>`S_2'` `S_1'`</mroot>
stackrel `S_1` `S_2``to`<mover>`S_2'` `S_1'`</mover>
`S_1`/`S_2``to`<mfrac>`S_1'` `S_2'`</mfrac>
`S_1`_`S_2``to`<msub>`S_1` `S_2'`</msub>
`S_1`^`S_2``to`<msup>`S_1` `S_2'`</msup>
`S_1`_`S_2`^`S_3``to`<msubsup>`S_1` `S_2'` `S_3'`</msubsup> or <munderover>`S_1` `S_2'` `S_3'`</munderover> (in some cases)

In the rules above, the expression `S'` is the same as `S`, except that if `S` has an outer level of brackets, then `S'` is the expression inside these brackets.

Matrices:

A simple syntax for matrices is also recognized:
l(`S_(11)`,...,`S_(1n)`),(...),(`S_(m1)`,...,`S_(mn)`)r     or     l[`S_(11)`,...,`S_(1n)`],[...],[`S_(m1)`,...,`S_(mn)`]r.

Here l and r stand for any of the left and right brackets (just like in the grammar they do not have to match). Both of these expressions are translated to

<mrow>l<mtable><mtr><mtd>`S_(11)`</mtd>... <mtd>`S_(1n)`<mtd></mtr>... <mtr><mtd>`S_(m1)`</mtd>... <mtd>`S_(mn)`</mtd></mtr></mtable></mrow>.

For example {(S_(11),...,S_(1n)),(vdots,ddots,vdots),(S_(m1),...,S_(mn))]displays as `{(S_(11),...,S_(1n)),(vdots,ddots,vdots),(S_(m1),...,S_(mn))]`.

Note that each row must have the same number of expressions, and there should be at least two rows.

Tokenization:

The input formula is broken into tokens using a "longest matching initial substring search". Suppose the input formula has been processed from left to right up to a fixed position. The longest string from the list of constants (given below) that matches the initial part of the remainder of the formula is the next token. If there is no matching string, then the first character of the remainder is the next token. The symbol table at the top of the ASCIIMathML.js script specifies whether a symbol is a math operator (surrounded by a <mo> tag) or a math identifier (surrounded by a <mi> tag). For single character tokens, letters are treated as math identifiers, and non-alphanumeric characters are treated as math operators. For digits, see "Numbers" below.

Spaces are significant when they separate characters and thus prevent a certain string of characters from matching one of the constants. Multiple spaces and end-of-line characters are equivalent to a single space.

Complete list of constants

(Standard LaTeX names also work.)

Numbers: A string of digits, optionally preceded by a minus sign, and optionally followed by a decimal point (a period) and another string of digits, is parsed as a single token and converted to a MathML number, i.e., enclosed with the <mn> tag. If it is not desirable to have a preceding minus sign be part of the number, a space should be inserted. Thus tt>x-1 is converted to <mi>x</mi><mn>-1</mn>, whereas x - 1 is converted to <mi>x</mi><mo>-</mo><mn>1</mn>.

Greek letters

alpha`alpha`
beta`beta`
chi`chi`
delta`delta`
Delta`Delta`
epsilon`epsilon`
varepsilon`varepsilon`
eta`eta`
gamma`gamma`
Gamma`Gamma`
iota`iota`
kappa`kappa`
lambda`lambda`
Lambda`Lambda`
mu`mu`
nu`nu`
omega`omega`
Omega`Omega`
phi`phi`
varphi`varphi`
Phi`Phi`
pi`pi`
Pi`Pi`
psi`psi`
Psi`Psi`
rho`rho`
sigma`sigma`
Sigma`Sigma`
tau`tau`
theta`theta`
vartheta`vartheta`
Theta`Theta`
upsilon`upsilon`
xi`xi`
Xi`Xi`
zeta`zeta`




Symbols

Operation symbolsRelation symbols Logical symbolsMiscellaneous symbols Standard functionsGrouping brackets AccentsFont commands Arrows
TypeSee
+`+`
-`-`
*`*`
**`**`
//`//`
\\`\\ `
xx`xx`
-:`-:`
@`@`
o+`o+`
ox`ox`
o.`o.`
sum`sum`
prod`prod`
^^`^^`
^^^`^^^`
vv`vv`
vvv`vvv`
nn`nn`
nnn`nnn`
uu`uu`
uuu`uuu`
TypeSee
=`=`
!=`!=`
< `<`
>`>`
<=`<=`
>=`>=`
-<`-<`
>-`>-`
in`in`
!in`notin`
sub`sub`
sup`sup`
sube`sube`
supe`supe`
-=`-=`
~=`~=`
~~`~~`
prop`prop`
TypeSee
and`and`
or`or`
not`not`
=>`=>`
if`if`
iff`iff`
AA`AA`
EE`EE`
_|_`_|_`
TT`TT`
|--`|--`
|==`|==`
TypeSee
int`int`
oint`oint`
del`del`
grad`grad`
+-`+-`
O/`O/`
oo`oo`
aleph`aleph`
/_`/_`
:.`:.`
|...||`...`|
|cdots||`cdots`|
vdots`vdots`
ddots`ddots`
|\ ||`\ `|
|quad||`quad`|
diamond`diamond`
square`square`
|__`|__`
__|`__|`
|~`|~`
~|`~|`
CC`CC`
NN`NN`
QQ`QQ`
RR`RR`
ZZ`ZZ`
TypeSee
sin`sin`
cos`cos`
tan`tan`
csc`csc`
sec`sec`
cot`cot`
sinh`sinh`
cosh`cosh`
tanh`tanh`
log`log`
ln`ln`
det`det`
dim`dim`
lim`lim`
mod`mod`
gcd`gcd`
lcm`lcm`
min`min`
max`max`
TypeSee
(`(`
)`)`
[`[`
]`]`
{`{`
}`}`
(:`(:`
:)`:)`
{:`{:`
:}`{::}`
TypeSee
hat x`hat x`
bar x`bar x`
ul x`ul x`
vec x`vec x`
dot x`dot x`
ddot x`ddot x`
TypeSee
bb A`bb A`
bbb A`bbb A`
cc A`cc A`
tt A`tt A`
fr A`fr A`
sf A`sf A`
TypeSee
uarr`uarr`
darr`darr`
rarr`rarr`
->`->`
|->`|->`
larr`larr`
harr`harr`
rArr`rArr`
lArr`lArr`
hArr`hArr`



Examples

Type this See that Comment
\`x^2+y_1+z_12^34\` `x^2+y_1+z_12^34` subscripts as in TeX, but numbers are treated as a unit
\`sin^-1(x)\` `sin^-1(x)` function names are treated as constants
\`d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h\` `d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h` complex subscripts are bracketed, displayed under lim
\`\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\` `\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}` standard LaTeX notation is an alternative
\`f(x)=sum_(n=0)^oo(f^((n))(a))/(n!)(x-a)^n\` `f(x)=sum_(n=0)^oo(f^((n))(a))/(n!)(x-a)^n` f^((n))(a) must be bracketed, else the numerator is only `a`
\`f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(a)}{n!}(x-a)^n\` `f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(a)}{n!}(x-a)^n` standard LaTeX produces the same result
\`int_0^1f(x)dx\` `int_0^1f(x)dx` subscripts must come before superscripts
\`[[a,b],[c,d]]((n),(k))\` `[[a,b],[c,d]]((n),(k))` matrices and column vectors are simple to type
\`x/x={(1,if x!=0),(text{undefined},if x=0):}\` `x/x={(1,if x!=0),(text{undefined},if x=0):}` piecewise defined function are based on matrix notation
\`a//b\` `a//b` use // for inline fractions
\`(a/b)/(c/d)\` `(a/b)/(c/d)` with brackets, multiple fraction work as expected
\`a/b/c/d\` `a/b/c/d` without brackets the parser chooses this particular expression
\`((a*b))/c\` `((a*b))/c` only one level of brackets is removed; * gives standard product
\`sqrtsqrtroot3x\` `sqrtsqrtroot3x` spaces are optional, only serve to split strings that should not match
\`(:a,b:) and {:(x,y),(u,v):}\` `(:a,b:) and {:(x,y),(u,v):}` angle brackets and invisible brackets
\`(a,b]={x in RR : a < x <= b}\` `(a,b]={x in RR : a < x <= b}` grouping brackets don't have to match
\`abc-123.45^-1.1\` `abc-123.45^-1.1` non-tokens are split into single characters,
but decimal numbers are parsed with possible sign
\`hat(ab) bar(xy) ulA vec v dotx ddot y\` `hat(ab) bar(xy) ulA vec v dotx ddot y` accents can be used on any expression (work well in IE)
\`bb{AB3}.bbb(AB].cc(AB).fr{AB}.tt[AB].sf(AB)\` `bb{AB3}.bbb(AB].cc(AB).fr{AB}.tt[AB].sf(AB)` font commands; can use any brackets around argument
\`stackrel"def"= or \stackrel{\Delta}{=}" "("or ":=)\` `stackrel"def"= or \stackrel{\Delta}{=}" "("or ":=)` symbols can be stacked
\`{::}_(\ 92)^238U\` `{::}_(\ 92)^238U` prescripts simulated by subsuperscripts