@sub
and @sup
: Inserting Subscripts and Superscripts ¶You can insert subscripts and superscripts with the @sub
and @sup
commands. For example:
here@sub{below}@sup{above}
produces:
herebelowabove
In Info and plain text, @sub{text}
is currently output
as ‘_{text}’ and @sup{text}
as
‘^{text}’, including the literal braces (to mark the
beginning and end of the “script” text to the reader).
When the output format (and display program) permit (printed output, HTML), the superscript is set above the subscript when both commands are given consecutively.
For subscripts and superscripts in mathematical expressions, it is better to use TeX’s ‘_’ and ‘^’ characters. See the next section.