Template:Subsup/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{dochead}}{{wikipedia}}
{{dochead}}{{wikipedia}}
=== Usage ===
=== Usage ===
Pass in, as unnamed parameters, the expression followed by the subscript and then the superscript.
Pass in, as unnamed parameters, the expression followed by the subscript and then the superscript. If you only need a superscript or only a subscript, just use <code>&lt;sup&gt;</code> or <code>&lt;sub&gt;</code> tags.


For example:
For example:

Revision as of 04:04, 8 January 2025

English Wikipedia has an article on:

Usage

Pass in, as unnamed parameters, the expression followed by the subscript and then the superscript. If you only need a superscript or only a subscript, just use <sup> or <sub> tags.

For example:

{{subsup|x|2|3}}

gives

x 3
2