In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column.
| What it looks like | What you type | ||
|---|---|---|---|
|
Headings look like this: Book Titleby Author NameSection NameSubsectionSub-subsection
|
Headings look like this: = Book Title = === by Author Name === == Section Name == === Subsection === ==== Sub-subsection ==== |
||
|
A single newline generally has no effect on the layout. Some folks like to put each sentence on a separate line. But an empty line starts a new paragraph.
|
A single newline generally has no effect on the layout.<> Some folks like to start each new sentence on a separate line. But an empty line starts a new paragraph. | ||
|
You can break lines
|
You can break lines<br/> without starting a new paragraph. |
||
|
Mark the end of each sentence so that we know where to insert extra whitespace between sentences. It also allows the search routine to display matching sentences instead of just matching paragraphs.
|
Mark the end of each sentence so that we know where to insert extra whitespace between sentences.<> It also allows the search routine to display matching sentences instead of just matching paragraphs. |
||
marks the end of a list item.
|
* It's easy to create a list: ** Start every line with a star. *** More stars means deeper levels. **** A newline in a list marks the end of a list item. * An empty line starts a new list. |
||
|
# Numbered lists are also good<> ## very organized<> ## easy to follow<> ### easier still<> |
||
|
* You can even create mixed lists<> *# and nest them<> *#* like this<> |
||
|
; Definition list : list of definitions ; item 2 : the second item's definition ; last item : the last item's definition |
||
A manual newline starts a new paragraph.
|
: A colon indents a line or paragraph. ::: Multiple colons indents more deeply. ::: A second line at the same level. A manual newline starts a new paragraph. |
||
|
When there is a need for separating a block of text
|
When there is a need for separating a block of text <blockquote> The '''blockquote''' command will indent both margins when needed instead of the left margin only as the colon does. </blockquote> |
||
|
Centered text.
|
<center>Centered text.</center> |
||
|
A horizontal dividing line: this is above it and this is below it. |
A horizontal dividing line: this is above it ---- and this is below it. |
| What it looks like | What you type | ||
|---|---|---|---|
|
Emphasize, strongly, very strongly.
|
''Emphasize'', '''strongly''', '''''very strongly'''''. |
||
|
A typewriter font for monospace text or for computer code:
|
A typewriter font for <tt>monospace text</tt> or for computer code: <code>int main()</code> |
||
|
You can use small text for captions. |
You can use <small>small text</small> for captions. |
||
|
You can You can also mark |
You can <s>strike out deleted material</s> and <u>underline new material</u>. You can also mark <del>deleted material</del> and <ins>inserted material</ins> using logical markup rather than visual markup. |
||
|
Diacritical marks:
|
À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü ß à á â ã ä å æ ç è é ê ë ì í î ï ñ ò ó ô œ õ ö ø ù ú û ü ÿ |
||
|
Punctuation: |
¿ ¡ § ¶ † ‡ • – — ‹ › « » ‘ ’ “ ” |
||
|
Commercial symbols: |
™ © ® ¢ € ¥ £ ¤ |
||
|
Subscripts: Superscripts: ε0 = 8.85 × 10−12 C² / J m. 1 hectare = 1 E4 m²
|
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub> or<br/> x₀ x₁ x₂ x₃ x₄<br/> x₅ x₆ x₇ x₈ x₉ x<sup>1</sup> x<sup>2</sup> x<sup>3</sup> or<br/> x⁰ x¹ x² x³ x⁴<br/> x⁵ x⁶ x⁷ x⁸ x⁹ ε<sub>0</sub> = 8.85 × 10<sup>−12</sup> C² / J m. 1 hectare = 1 E4 m² |
||
|
Greek characters: |
α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω Γ Δ Θ Λ Ξ Π Σ Φ Ψ Ω |
||
|
Mathematical characters: |
∫ ∑ ∏ √ − ± ∞ ≈ ∝ ≡ ≠ ≤ ≥ × · ÷ ∂ ′ ″ ∇ ‰ ° ∴ ℵ ø ∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇ ¬ ∧ ∨ ∃ ∀ ⇒ ⇔ → ↔ |
||
|
Spacing in simple math formulas:
|
Obviously, ''x''² ≥ 0 is true. |
| What it looks like | What you type | ||
|---|---|---|---|
|
Link to an external website. You can abbreviate that if the URL and the link text are the same: slashdot.org. Link to section two of the current book or section zero of book one. Linking to a named target appends a hash+name idiom (taken from HTML) to the above forms. For example, this link goes to an "overview" target.
|
Link to [[http://slashdot.org/ an external website]].<> You can abbreviate that if the URL and the link text are the same: [[slashdot.org]]. Link to [[2 section two of the current book]] or [[1,0 section zero of book one]]. Linking to a named target appends a hash+name idiom (taken from HTML) to the above forms.<> For example, [[2,2#overview this link]] goes to an "overview" target. |
| What it looks like | What you type |
|---|---|
| A picture:
|
A picture: [[Image:button.png]] The same picture, but with an id specified and its width & height supplied: [[Image:button.png id=targetname width=23 height=22]] |
| Start a table | {| params |
|---|---|
| Specify a caption | |+ caption |
| Start a new row | |- params |
| Add header columns | ! header 1! params | header 2! header 3 !! params | header 4 !! header 5 |
| Add data columns | | data 1| params | data 2| data 3 || data 4 || params | data 5 |
| End a table | |} |
Some sample tables:
| What it looks like | What you type | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {| border=1
| 1 || 2
|-
| 3 || 4
|-
| colspan=2 | five
|} | ||||||||||
|
{| border=1
! Timezone (USA) !! Abbreviation
|-
| align=center | EST
| Eastern Standard Time
|-
| align=center | CST
| Central Standard Time
|-
| align=center | MST
| Mountain Standard Time
|-
| align=center | PST
| Pacific Standard Time
|} | ||||||||||