CSC 341: Wiki syntax
From CSWiki
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.
[edit]
General Wiki Syntax
| Bold type | '''Bold type''' | ||||
| Italic type | ''Italic type'' | ||||
| monospace type | <tt>monospace</tt> type | ||||
| underlined type | <u>underlined</u> type | ||||
| <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 (must be placed at beginning of line) | ||||
| #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). | ||||
| {| border="2"
|+ A table | Cell 1 || Cell 2 |- | Cell A | Cell B |} for more on tables, look here |
[edit]
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} |
| 1\div{(x+1)} |
| \frac{1}{x+1} |
| 123\times{456} |
| \lfloor x \rfloor |
| x \cdot y |
| a \neq b |
| n > m \geq k |
| <math>f \circ g = h^{-1}</math> |
| q1 | q_{1} |
| \in |
| F \subseteq Q |
| P \vee Q \wedge R |
| P \oplus Q \wedge \lnot R |
| (A \cup B) \cap C |
| \varepsilon |
| \{a,b,c,\ldots,z\} |
| \overline{a+b} |
| Σ | \Sigma |
| δ | \delta |
| φ | \phi |
| γ | \gamma |
| \mathcal{N} |
| \forall |
| \exists |
, , | \and , \or , \neg |
| \empty |
| A \le_{m} B |
| \to |
| \Leftrightarrow |
| \bar{A} |
,
,

