Name

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

Synopsis

superscript ::= (text | phrase db._phrase | replaceable | Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*

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.

See Also

equation, informalequation, inlineequation, subscript

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>

Get DocBook 5: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.