Help:Editing: Difference between revisions

From Web
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 106: Line 106:
  a space at the  
  a space at the  
  beginning of the line
  beginning of the line
|-
| [[TEX/Favorites|Tex Formatting]]
| \sum_{x=firstIndex}^{lastIndex}something
| <amsmath>\sum_{x=firstIndex}^{lastIndex}something</amsmath>
|}
|}



Revision as of 11:35, 20 October 2009

See Help:Contents for an overview of all pages.

You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two single quotes like ''this''

Paragraphs

Mediawiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a newline with the HTML tag <br />.

HTML

Some HTML-Tags are allowed in MediaWiki, for example <code>, <div>, <span> and <font>.

Tools clipart.png Tip for wiki admins: If you trust your users you can allow full HTML by setting $wgRawHtml = true; in LocalSettings.php. Switch off HTML completely with $wgUserHtml = false;

Recapitulative table

Description You type You get
applies anywhere
Italic text ''italic'' italic
Bold text '''bold''' bold
Bold and italic '''''bold & italic''''' bold & italic
Escape wiki markup <nowiki>no ''markup''</nowiki> no ''markup''
only at the beginning of the line
Headings of

different sizes

==level 1==
===level 2===
====level 3====
=====level 4=====

Level 1

Level 2

Level 3

Level 4
Horizontal rule

----


Bullet list

* one
* two
* three
** three and one-third
** three and two-thirds

  • one
  • two
  • three
    • three and one-third
    • three and two-thirds
Numbered list

# one
# two
# three
## three point one
## three point two

  1. one
  2. two
  3. three
    1. three point one
    2. three point two
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2
Preformatted text

  preformatted text is done with
  a space at the
  beginning of the line

preformatted text is done with
a space at the 
beginning of the line
Tex Formatting \sum_{x=firstIndex}^{lastIndex}something <amsmath>\sum_{x=firstIndex}^{lastIndex}something</amsmath>

see also