CZ:How To: Difference between revisions
imported>David E. Volk No edit summary |
imported>David E. Volk |
||
Line 34: | Line 34: | ||
== How to make math equations (italic variables) == | == How to make math equations (italic variables) == | ||
===Simple algebraic equations=== | |||
This text<br> | This text<br> | ||
Line 42: | Line 45: | ||
:<math>\left(p + \frac{n^2 a}{V^2}\right)\left(V-nb\right) = nRT</math> | :<math>\left(p + \frac{n^2 a}{V^2}\right)\left(V-nb\right) = nRT</math> | ||
=== Integral equations === | |||
<nowiki>:<math>F(t) = \int_0^t f(x) \, dx.</math></nowiki> gives this equation:<br> | |||
:<math>F(t) = \int_0^t f(x) \, dx.</math> | |||
and this text, <nowiki>:<math>\int_a^b f(x) \, dx = F(b) - F(a).</math></nowiki>, gives this equation:<br> | |||
:<math>\int_a^b f(x) \, dx = F(b) - F(a).</math> | |||
== How to make subscripts == | == How to make subscripts == |
Revision as of 08:30, 12 March 2008
This 'CZ:How To page illustrates the wiki code needed to perform certain tasks and also lists many useful articles.
How to make arrows
Some arrows can be inserted by clicking on the appropriate arrow located on the bottom of edit pages. They can also be typed as shown by the examples below. Note that the math begin (<math>) and math end (</math>) tags do not need to immediately surround the arrow functions, they only need to be at the beginning and end of equations.
is made from <math>\rightarrow</math> or <math>\rarr</math> or →
is made from this <math>\leftarrow</math> or <math>\larr</math> or ←
is made from this <math>\leftrightarrow</math> or <math>\harr</math> or ↔
is made from <math>\stackrel{\textstyle \leftarrow}{\rightarrow} </math>
is made from this <math>\uparrow</math>
is made from this <math>\downarrow</math>
How to make chemical equations
Note that buttons for superscripts and subscripts are located immediately above and below the edit text box when editing a page. To subscript something, just hi-light the text and click the subscript button.
This text
: 4NaPO<sub>3</sub> + 2SiO<sub>2</sub> + 10C → 2Na<sub>2</sub>SiO<sub>3</sub> + 10CO + P<sub>4</sub>
OR THIS TEXT
:<math> 4 \mathrm{NaPO}_3 + 2 \mathrm{SiO}_2 + 10\mathrm{C} \rarr 2 \mathrm{Na}_2\mathrm{SiO}_3 + 10\mathrm{CO} + \mathrm{P}_4 </math>
provides the following equation (note that colons indent the equation)
- 4NaPO3 + 2SiO2 + 10C → 2Na2SiO3 + 10CO + P4
How to make math equations (italic variables)
Simple algebraic equations
This text
:<math>\left(p + \frac{n^2 a}{V^2}\right)\left(V-nb\right) = nRT</math>
provides this mathematic formula
Integral equations
:<math>F(t) = \int_0^t f(x) \, dx.</math> gives this equation:
and this text, :<math>\int_a^b f(x) \, dx = F(b) - F(a).</math>, gives this equation:
How to make subscripts
Note that buttons for superscripts and subscripts are located immediately above and below the edit text box when editing a page. To subscript something, just hi-light the text and click the subscript button.
Or, you can type the code yourself, thus X<sub>2</sub> yields X2.
How to make superscripts
Note that buttons for superscripts and subscripts are located immediately above and below the edit text box when editing a page. To subscript something, just hi-light the text and click the subscript button.
Or, you can type the code yourself, thus X<sup>2</sup> yields X2.