CZ:How To: Difference between revisions
imported>David E. Volk |
imported>David E. Volk |
||
Line 62: | Line 62: | ||
This text, <nowiki>:<math>\dot{x}=\frac{dx(t)}{dt}\ .</math></nowiki> gives this equation<br> | This text, <nowiki>:<math>\dot{x}=\frac{dx(t)}{dt}\ .</math></nowiki> gives this equation<br> | ||
:<math>\dot{x}=\frac{dx(t)}{dt}\ .</math> | :<math>\dot{x}=\frac{dx(t)}{dt}\ .</math> | ||
=== How to make summation equations === | |||
This text<br> | |||
<nowiki> | |||
:<math> | |||
X = \sum_{J=1|}^{n} \ c_JV_J. | |||
</math> | |||
</nowiki> | |||
provides this equiation: <br> | |||
:<math> | |||
X = \sum_{J=1|}^{n} \ c_JV_J. | |||
</math> | |||
== How to make subscripts == | == How to make subscripts == |
Revision as of 08:41, 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
How to make 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 differential equations in dot notation
This text, :<math>\dot{x} = \sigma(y - x)\ ,</math> give this equation in dot notation
This text, :<math>\dot{x}=\frac{dx(t)}{dt}\ .</math> gives this equation
How to make summation equations
This text
:<math>
X = \sum_{J=1|}^{n} \ c_JV_J.
</math>
provides this equiation:
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.