CZ:How To: Difference between revisions
imported>David E. Volk |
imported>David E. Volk |
||
Line 54: | Line 54: | ||
:<math>\int_a^b f(x) \, dx = F(b) - F(a).</math> | :<math>\int_a^b f(x) \, dx = F(b) - F(a).</math> | ||
=== | === How to make differential equations in dot notation === | ||
This text, <nowiki>:<math>\dot{x} = \sigma(y - x)\ ,</math></nowiki> give this equation in dot notation | This text, <nowiki>:<math>\dot{x} = \sigma(y - x)\ ,</math></nowiki> give this equation in dot notation |
Revision as of 08:36, 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 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.