Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 General guidelines  





2 Exceptions  



2.1  Phonetic transcriptions  





2.2  Titles  





2.3  Short descriptions  







3 Dates and numbers  





4 Music  





5 Unit symbols and abbreviations  





6 Science  



6.1  Chemistry  





6.2  Mathematics  







7 Notes  














Wikipedia:Manual of Style/Superscripts and subscripts







Add links
 









Project page
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< Wikipedia:Manual of Style
(Redirected from MOS:SUPERSCRIPT)

  • MOS:SUBSCRIPT
  • WP:SUPSCRIPT
  • WP:SUBSCRIPT
  • Asuperscriptorsubscript 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 Manual of Style aims to achieve consistency in the use and formatting of superscripts and subscripts in Wikipedia articles.

    General guidelines[edit]

    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
    1 + x2 + y3 (<sup>2</sup>) or
    1 + x2 + y3 ({{sup|2}})

    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[edit]

    Phonetic transcriptions[edit]

    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[edit]

    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.

    Short descriptions[edit]

    Per WP:SDFORMAT, {{short description}} cannot use HTML or wikitext formatting, leaving Unicode characters as the only option for superscripts and subscripts.

    Dates and numbers[edit]

    Music[edit]

    Unit symbols and abbreviations[edit]

    Science[edit]

    Chemistry[edit]

    Descriptions of:

    C2H5OH using {{chem2|C2H5OH}}
    3
    2
    He
    using {{Nuclide2|He|3}}

    Mathematics[edit]

    22 = 4 using 2{{sup|2}} = 4

    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:

      (correct—typeset from <math> x_\text{this one} = y_\text{that one} \,\!</math>),

    and

      (correct—typeset from <math>\sum_{i=1}^n{y_i^2}\!</math>),

    but not

      (incorrect—typeset from r = x_{predicted} - x_{observed}).

    Moreover, the TeX engine used on Wikipedia may format simple superscripts using <sup>...</sup> depending on user preferences. Thus, instead of the image , many users see x2. Formulae formatted without using TeX should use the same syntax to maintain the same appearance.

    Notes[edit]

    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.

    Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:Manual_of_Style/Superscripts_and_subscripts&oldid=1126929039"

    Category: 
    Wikipedia supplemental pages
     



    This page was last edited on 12 December 2022, at 00:31 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki