CZ:How To: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David E. Volk
(How to make stuff)
 
imported>David E. Volk
Line 33: Line 33:
<br>
<br>


=== How to make superscritps/How to make subscripts ===
=== 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.
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 <nowiki>X<sub>2</sub></nowiki> yields X<sub>2</sub>.
Or, you can type the code yourself, thus <nowiki>X<sub>2</sub></nowiki> yields X<sub>2</sub>.
=== 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 <nowiki>X<sup>2</sup></nowiki> yields X<sup>2</sup>.

Revision as of 09:19, 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 &rarr;

is made from this <math>\leftarrow</math> or <math>\larr</math> or &larr;

is made from this <math>\leftrightarrow</math> or <math>\harr</math> or &harr;

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 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.