Wikipedia:Manual of Style/Superscripts and subscripts: Difference between revisions
Content deleted Content added
GoldRomean (talk | contribs) guideline |
→Mathematics: rm archaic use of spacing LaTeX codes from examples, now long deprecated |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 1:
{{confused|MOS:ORDINAL}}
{{MoS guideline
{{Style}}
A [[subscript and superscript|'''superscript''' or '''subscript''']] is text that is positioned slightly above or below the normal line of type. Superscripts and subscripts are often rendered in a smaller font size than the adjacent normal text. 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.
Line 40 ⟶ 42:
* In '''[[figured bass]]''', superscript and subscript may be combined by using math markup or by using the {{tlx|su}} template: <code><nowiki><math>C_6^4</math></nowiki></code> = <math>C_6^4</math>, <code><nowiki>''C''{{su|b=6|p=4}}</nowiki></code> = ''C''{{su|b=6|p=4}}; (see also [[Wikipedia:TeX markup]] or [[m:Help:Formula]]).
*For [[diminished chord]]s and half-diminished chords:
*For chord qualities and inversions: <code><nowiki>vii{{music|dim}}</nowiki></code>, <code><nowiki>I{{sub|6}}</nowiki></code>. This looks like: {{xt|vii{{music|dim}}}}, {{xt|I{{sub|6}}}}.
Line 65 ⟶ 67:
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:
: <math> x_\text{this one} = y_\text{that one}
and
: <math>\sum_{i=1}^n { {y_i}^2 }
but not
: <math>r = x_{predicted} - x_{observed}</math>   (''incorrect''—typeset from <code><nowiki>r = x_{predicted} - x_{observed}</nowiki></code>).
Line 77 ⟶ 79:
== See also ==
* This guideline was implemented per
[[Category:Wikipedia Manual of Style (formatting)|Superscripts and subscripts]]
|