DocBook Publishers: The Definitive Guide  (Version 1.2.1 for DocBook 5.1)

superscript

superscript — A superscript (as in x², the mathematical notation for x multiplied by itself).

Synopsis

superscript ::= [-]

Description

A superscript identifies text that is to be displayed as a superscript when rendered.

Processing expectations

Formatted inline. Superscripts are usually printed in a smaller font and shifted up with respect to the baseline.

Children

The following elements occur in superscript: text, abbrev, acronym, alt, anchor, biblioref, coref, date, emphasis (db._emphasis), firstterm (db._firstterm), footnote, footnoteref, foreignphrase (db._foreignphrase), glossterm (db._glossterm), indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), inlinemediaobject, link, olink, phrase (db._phrase), quote (db._quote), remark, subscript, superscript, trademark, wordasword, xref.

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example superscript</title>

<para>The equation e<superscript>πi</superscript> + 1 = 0 ties together
five of the most important mathematical constants.
</para>

</article>

The equation eπi + 1 = 0 ties together five of the most important mathematical constants.