CSC 341: Wiki syntax

From CSWiki

Jump to: navigation, search

CSC 341: Front Door


This is to serve as a general repository of syntax needed to edit the wiki. Some of it has come from the wiki page for the second class session. Feel free to add to it as you discover new things.

General Wiki Syntax

Placeholder caption
Bold type '''Bold type'''
Italic type ''Italic type''
monospace type <tt>monospace</tt> type
underlined type <u>underlined</u> type
struck-through text <strike>struck-through</strike> text
start
a new line
start <br> a blank line
link to CSC 341:Front Door link to [[CSC 341:Front Door]]
link to a page named differently link to [[CSC 341:Front Door|a page named differently]]
link to Web sites outside CSWiki link to [http://www.cs.grinnell.edu/~stone/courses/automata/ Web sites outside CSWiki]
'''[[verbatim text!]]''' <nowiki>'''[[verbatim text!]]''' </nowiki>
In-use warning:
Another user is currently editing this page. Please do not make changes at this time.
{{Inuse}}
In-use warning with duration:
Another user is currently editing this page, and it is estimated that the edit will take 5 minutes. Please do not make changes at this time.
{{Inuse | for = 5 minutes}}
In-use warning with description:
Another user is currently editing this page to correct grammar. Please do not make changes at this time.
{{Inuse | to = correct grammar}}
In-use warning with description and duration:
Another user is currently editing this page to add a new section on finite automata, and it is estimated that the edit will take 1 hour. Please do not make changes at this time.
{{Inuse | to = add a new section on finite automata | for = 1 hour}}
  • List item
*List item (must be placed at beginning of line)
  1. Ordered list item
#Ordered list item (must be placed at beginning of line)
horizontal line ----
Quoted text
" Quoted text"

On a new line, place a space before the text (no quotes).

A table
Cell 1 Cell 2
Cell A Cell B
{| border="2"

|+ A table

| Cell 1 || Cell 2

|-

| Cell A

| Cell B

|}

for more on tables, look here

LaTeX Syntax

** To be surrounded with <math> tags.
NOTE: A comprehensive list of LaTeX syntax can be found at Help:Displaying a formula.

x + y − 1 = z2 x + y - 1 = z^{2}
{\overline x} {\overline x}
1\div{(x+1)} 1\div{(x+1)}
\frac{1}{x+1} \frac{1}{x+1}
123\times{456} 123\times{456}
\lfloor x \rfloor \lfloor x \rfloor
x \cdot y x \cdot y
a \neq b a \neq b
n > m \geq k n > m \geq k
f \circ g = h^{-1} <math>f \circ g = h^{-1}</math>
q1 q_{1}
\in \in
F \subseteq Q F \subseteq Q
P \vee Q \wedge R P \vee Q \wedge R
P \oplus Q \wedge \lnot R P \oplus Q \wedge \lnot R
(A \cup B) \cap C (A \cup B) \cap C
\varepsilon \varepsilon
\{a,b,c,\ldots,z\} \{a,b,c,\ldots,z\}
\overline{a+b} \overline{a+b}
Σ \Sigma
δ \delta
φ \phi
γ \gamma
\mathcal{N} \mathcal{N}
\forall \forall
\exists \exists
\and, \or, \neg \and , \or , \neg
\empty \empty
A \le_{m} B A \le_{m} B
\to \to
\Leftrightarrow \Leftrightarrow
\bar{A} \bar{A}

CSC 341: Front Door

Personal tools