Skip to main content
Version: DocBook V4.5

superscript

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

Synopsis

Mixed Content Model

superscript ::=
(#PCDATA|link|olink|ulink|emphasis|replaceable|symbol|
inlinegraphic|inlinemediaobject|anchor|remark|subscript|
superscript)*

Attributes

Common attributes

Description

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.

Parents

These elements contain superscript: abbrev, ackno, acronym, action, application, artpagenums, attribution, authorinitials, bibliocoverage, biblioid, bibliomisc, bibliorelation, bibliosource, bridgehead, citation, citebiblioid, citetitle, city, classsynopsisinfo, code, collabname, command, computeroutput, confdates, confnum, confsponsor, conftitle, contractnum, contractsponsor, contrib, corpauthor, corpcredit, corpname, country, database, date, edition, email, emphasis, entry, fax, filename, firstname, firstterm, foreignphrase, funcparams, funcsynopsisinfo, function, glosssee, glossseealso, glossterm, guibutton, guiicon, guilabel, guimenu, guimenuitem, guisubmenu, hardware, holder, honorific, interfacename, invpartnumber, isbn, issn, issuenum, jobtitle, keycap, label, lineage, lineannotation, link, literal, literallayout, lotentry, manvolnum, mathphrase, member, modespec, msgaud, olink, option, optional, orgdiv, orgname, otheraddr, othername, pagenums, para, parameter, phone, phrase, pob, postcode, primary, primaryie, productname, productnumber, programlisting, property, pubdate, publishername, pubsnumber, quote, refentrytitle, refmiscinfo, refpurpose, releaseinfo, remark, replaceable, revnumber, revremark, screen, screeninfo, secondary, secondaryie, see, seealso, seealsoie, seeie, seg, segtitle, seriesvolnums, shortaffil, simpara, state, street, subscript, subtitle, superscript, surname, synopsis, systemitem, td, term, termdef, tertiary, tertiaryie, th, title, titleabbrev, tocback, tocentry, tocfront, trademark, ulink, userinput, volumenum, wordasword, year.

Children

The following elements occur in superscript: anchor, emphasis, inlinegraphic, inlinemediaobject, link, olink, remark, replaceable, subscript, superscript, symbol, ulink.

Examples

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<para>
The equation e<superscript>&pi;i</superscript> + 1 = 0 ties together
five of the most important mathematical constants.
</para>

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

For additional examples, see also inlinemediaobject.