Wiki formatting
From GOSIA
(→Latex math) |
|||
Line 1: | Line 1: | ||
+ | Consult the [http://meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software. | ||
+ | |||
==Level headings== | ==Level headings== | ||
Level headings are surrounded by one or more '<tt>=</tt>' symbols. Each level has one more '<tt>=</tt>' than the higher level. | Level headings are surrounded by one or more '<tt>=</tt>' symbols. Each level has one more '<tt>=</tt>' than the higher level. | ||
- | + | The 2nd-to-top level heading is the highest level that should be used in a page and is entered like this: | |
- | + | ||
- | + | ||
<pre> | <pre> | ||
==Level headings== | ==Level headings== | ||
</pre> | </pre> | ||
+ | |||
+ | ==Emphasis (italics, bold, etc.)== | ||
+ | |||
+ | Refer to the MediaWiki [http://www.mediawiki.org/wiki/Help:Formatting formatting page] for help with text formatting. | ||
==Code snippets== | ==Code snippets== | ||
Line 36: | Line 40: | ||
</pre> | </pre> | ||
- | Each formula is rendered into a | + | Each formula is rendered either as HTML for simple formulas that can be typed into a single line |
<math>\Delta I = ^-2</math> | <math>\Delta I = ^-2</math> | ||
<math>\xi=1.4</math> | <math>\xi=1.4</math> | ||
+ | |||
+ | or into a PNG image for complex formulas, e.g. involving fractions. | ||
+ | |||
+ | Formatting of complex equations has been fixed (August 2011). The wiki will now render nearly any proper Latex formula. Examples: | ||
+ | |||
+ | <pre> | ||
+ | <math> | ||
+ | \langle I_f\|E2\| I_i\rangle=\biggl[-\beta_f\langle I_f K=5\|+\alpha_f\langle I_f K=6\|\biggr]\widehat{E2} | ||
+ | \biggl[\alpha_i\|I_i K=5\rangle+\beta_i\|I_i K=6\rangle\biggr]= | ||
+ | </math> | ||
+ | <math> | ||
+ | -\alpha_i\beta_f\langle I_f K=5\| E2\| I_i K=5\rangle+\alpha_f\beta_i\langle I_f K=6\| E2\| I_i K=6\rangle | ||
+ | </math> | ||
+ | <math> | ||
+ | -\beta_i\beta_f\langle I_f K=5\| E2\| I_i K=6\rangle+\alpha_i\alpha_f\langle I_f K=6\| E2\| I_i K=5\rangle | ||
+ | </math> | ||
+ | </pre> | ||
+ | |||
+ | <math> | ||
+ | \langle I_f\|E2\| I_i\rangle=\biggl[-\beta_f\langle I_f K=5\|+\alpha_f\langle I_f K=6\|\biggr]\widehat{E2} | ||
+ | \biggl[\alpha_i\|I_i K=5\rangle+\beta_i\|I_i K=6\rangle\biggr]= | ||
+ | </math> | ||
+ | <math> | ||
+ | -\alpha_i\beta_f\langle I_f K=5\| E2\| I_i K=5\rangle+\alpha_f\beta_i\langle I_f K=6\| E2\| I_i K=6\rangle | ||
+ | </math> | ||
+ | <math> | ||
+ | -\beta_i\beta_f\langle I_f K=5\| E2\| I_i K=6\rangle+\alpha_i\alpha_f\langle I_f K=6\| E2\| I_i K=5\rangle | ||
+ | </math> | ||
+ | |||
+ | <pre> | ||
+ | <math> | ||
+ | f(x)=\frac{\int_a^b e^{-x^2} dx}{\frac{x}{x+\frac{1}{x+2}}} | ||
+ | </math> | ||
+ | </pre> | ||
+ | |||
+ | <math> | ||
+ | f(x)=\frac{\int_a^b e^{-x^2} dx}{\frac{x}{x+\frac{1}{x+2}}} | ||
+ | </math> | ||
+ | |||
+ | ==Footnoting== | ||
+ | |||
+ | Enter text to be included in footnotes as in the following example: | ||
+ | |||
+ | <pre> | ||
+ | The semiclassical Coulomb excitation theory is appropriate | ||
+ | for multi-step heavy-ion excitations.<ref>The applicability | ||
+ | of first and second order perturbation theories is limited | ||
+ | to light-ion induced Coulomb excitation.</ref> | ||
+ | </pre> | ||
+ | |||
+ | which produces the text: | ||
+ | |||
+ | The semiclassical Coulomb excitation theory is appropriate for multi-step heavy-ion excitations.<ref>The applicability of first and second order perturbation theories is limited to light-ion induced Coulomb excitation.</ref> | ||
+ | |||
+ | and the footnote at the end of this page. | ||
+ | |||
+ | Every page which has one or more footnotes must have the tag | ||
+ | <pre> | ||
+ | <references/> | ||
+ | </pre> | ||
+ | to tell MediaWiki where to put the footnotes. This should be in the last section of the page, titled <nowiki>"Notes"</nowiki>. | ||
+ | |||
+ | ==Notes== | ||
+ | |||
+ | <references/> |