User:Programmatically/sandbox

/Linear Algebra Textbooks /Gamow Peak The Gamow peak is an important concept in stellar nucleosynthesis.

2 H2O (l) + CO2 (g) → 2 O2 (g) + CH4 (g)

General guidelines

Subscripts and superscripts should be wrapped in <sub> and <sup> HTML tags, respectively, with no other formatting info, with some exceptions (see below). The {{sup}} and {{sub}} templates are useful shortcuts to the HTML markup. Do not use the Unicode subscripts and superscripts ² and ³, or XML/HTML character entity references (&sup2; etc.). Rather, write <sup>2</sup> and <sup>3</sup> to produce the superscripts 2 and 3. The superscripted 2 and 3 are easier to read, especially on small displays, and ensure that exponents are properly aligned. Compare:

wⁱx²z⁽ⁿ⁺⁶⁾ (Unicode superscripts) to
wix2z(n + 6) (w<sup>i</sup>x<sup>2</sup>z<sup>(n + 6)</sup>) or
wix2z(n + 6) (w{{sup|i}}x{{sup|2}}z{{sup|(n + 6)}})


1 + x² + y³ (&sup2;) to
x&sup332;
1 + x2 + y3 (<sup>2</sup>) or
1 + x2 + y3 ({{sup|2}})

x332

These guidelines also apply in citations and template parameters; templates are responsible for cleaning up markup if needed for external consumption, e.g. for COinS.

Exceptions

Phonetic transcriptions

Phonetic transcriptions in the International Phonetic Alphabet and Uralic Phonetic Alphabet (which are most often inside {{IPA}}, {{IPA link}}, {{UPA}}, and related templates) should use Unicode subscripts and superscripts. This follows the recommendation of the International Phonetic Association[1] and is done by the tools, help pages, and articles referenced in Wikipedia:Manual of Style/Pronunciation. Tone should usually be marked with diacritics or IPA tone symbols, according to Wikipedia:Manual of Style/Pronunciation#Tone. Use {{Needs IPA}} for any non-compliant articles.

Titles

Another exception where Unicode superscripts and subscripts are used is in the title of articles, though this is only rarely necessary. See Wikipedia:Manual of Style/Titles § Typographic effects.

Dates and numbers

  • The ordinal suffix (e.g., th) is not superscripted (23rd and 496th, not 23rd and 496th).
  • Centuries and millennia are written using ordinal numbers, without superscripts and without Roman numerals: the second millennium, the 19th century, a 19th-century book (see also Wikipedia:Manual of Style#Numbers as figures or words).
  • Non-base-10 notations in non-computer-related articles use subscript notation. For example: 1379, 2416, 2A912, A87D16 (use {{sub|radix}} or <sub>radix</sub>).

Music

  • In figured bass, superscript and subscript may be combined by using math markup or by using the {{su}} template: <math>C_6^4</math> = , ''C''{{su|b=6|p=4}} = C4
    6
    ; (see also Wikipedia:TeX markup or m:Help:Formula).
  • A superscript circle, or degree sign, which indicates a diminished chord, that may not display correctly for everyone, "°", can be produced by copying and pasting, typing &deg;, or by keying Alt+0176 (Windows PCs). A superscript lower case "o" ({{sup|o}}) may be used instead. The slashed o, "ø", which may not display correctly for all readers, is produced by superscripting the character produced by typing &oslash;, or by keying Alt+0248 (Windows PCs). Diminished chords can also be indicated with {{music|dim}} and {{music|dimslash}}.
  • For inversions and the degree sign superscript and subscript may be done thus: vii{{sup|o}}, I{{sub|6}}. This looks like: viio, I6.

Unit symbols and abbreviations

  • Squared and cubic metric-symbols are always expressed with a superscript exponent (5 km2, 2 cm3); squared imperial and US unit abbreviations may be rendered with sq, and cubic with cu (15 sq mi, 3 cu ft).

A template is available to render consistently. The above example is coded with the template syntax {{sup|2}} rather than <sup>2</sup> or the special Unicode superscript digit '²'.

Science

Chemistry

Descriptions of:

C2H5OH using C{{sub|2}}H{{sub|5}}OH
3
2
He
using {{Nuclide2|He|3}}

List of Superscript Examples

  1. e2.71828182
  2. base m0
  3. deca m1
  4. hecto m2
  5. kilo m3
  6. mega m6
  7. giga m9
  8. tera m12
  9. peta m15
  10. exa m18
  11. zetta m21
  12. yotta m24

  1. ^ Esling, John (1999). "Appendix 2: Computer coding of IPA symbols". In International Phonetic Association (ed.). Handbook of the International Phonetic Association: A Guide to the Use of the International Phonetic Alphabet. Cambridge University Press. pp. 161–185. ISBN 0-521-63751-1.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.