Wikipedia:Manual of Style/Superscripts and subscripts: Difference between revisions
Content deleted Content added
was this written by Adolf Hitler or a troll person? |
Reverted 1 edit by 2A01:119F:21E:4D00:E108:9D1F:427F:31C4 (talk): Disruptive edit. (TW) |
||
Line 3:
A '''[[subscript and superscript|Superscript]]''' or a '''[[subscript and superscript|Subscript]]''' is text that is positioned slightly above or below the normal line of type and is sometimes rendered in a smaller font. This part of the [[Wikipedia:Manual of Style|Manual of Style]] aims to achieve consistency in the use and formatting of superscripts and subscripts in Wikipedia articles.
: {{!xt|wⁱx²z⁽ⁿ⁺⁶⁾}} (Unicode superscripts) to
: {{xt|w<sup>i</sup>x<sup>2</sup>z<sup>(n + 6)</sup>}} (<code><nowiki>w<sup>i</sup>x<sup>2</sup>z<sup>(n + 6)</sup></nowiki></code>) or
Line 16:
==Dates and numbers==
{{main|Wikipedia:Manual of Style (dates and numbers)}}
* The '''ordinal suffix''' (e.g., ''th'') is not superscripted ({{xt|23rd}} and {{xt|496th}}, not {{!xt|
* '''Centuries and millennia''' are written using ordinal numbers, without superscripts and without Roman numerals: {{xt|the second millennium}}, {{xt|the 19th century}}, {{xt|a 19th-century book}} (see also [[Wikipedia:Manual of Style#Numbers as figures or words]]).
* '''Non-[[radix|base]]-10 notations''' in non-computer-related articles use subscript notation. For example: {{xt|
==Music==
{{main|Wikipedia:Manual of Style (music)}}
* In '''[[figured bass]]''', superscript and subscript may be
*A '''superscript circle''', or '''degree sign''', which indicates a diminished chord, that may not display correctly for everyone, "°", can be produced by typing <code>&deg;</code>, <code>&#176</code>, or by keying {{key press|[[Alt key|Alt]]|0}}{{key press|1}}{{key press|7}}{{key press|6}} (Windows PCs). A superscript lower case "{{sup|o}}" (<code><nowiki>{{sup|o}}</nowiki></code>) may
*For '''inversions''' and the '''degree sign''' superscript and subscript may be done thus: <code><nowiki>vii{{sup|o}}</nowiki></code>, <code><nowiki>I{{sub|6}}</nowiki></code>. This looks like: {{xt|vii{{sup|o}}}}, {{xt|I{{sub|6}}}}.
==Unit symbols and abbreviations ==
{{main|Wikipedia:Manual of Style (dates and numbers)#Unit names and symbols}}
* '''Squared and cubic metric-symbols''' are always expressed with a superscript exponent ({{xt|5{{nbsp}}km
==Science==
Line 36:
Descriptions of:
*'''[[Chemical compound]]s'''
:{{xt|
*'''[[Isotopes]]'''
:{{xt|{{Nuclide2|He|3}}}} using <code>{{tlx|Nuclide2|He|3}}</code>
Line 45:
* '''[[Exponentiation]]''' is indicated using a superscript:
:{{xt|2
Special care is needed with subscripted labels to distinguish the purpose of the subscript (as this is a common error): variables and constants in subscripts should be italic, while textual labels should be in normal text font (Roman, upright). For example:
Line 55:
: <math>r = x_{predicted} - x_{observed}</math>   (''incorrect''—typeset from <code><nowiki>r = x_{predicted} - x_{observed}</nowiki></code>).
Moreover, the TeX engine used on Wikipedia may format simple superscripts using {{tag|sup}} depending on user preferences. Thus, instead of the image <math>x^2\,</math>, many users see ''x''
|