Next: @math
and @displaymath
: Formatting Mathematics, Previous: Inserting Quotation Marks, Up: Special Insertions [Contents][Index]
@sub
and @sup
: Inserting Subscripts and SuperscriptsYou 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 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 (TeX, 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.