Search the Catalog
DocBook: The Definitive Guide

DocBook: The Definitive Guide

By Norman Walsh & Leonard Muellner
1st Edition October 1999
1-56592-580-7, Order Number: 5807
652 pages, $36.95 , Includes CD-ROM

Superscript

Name

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|Comment|Subscript|
  Superscript)+)

Attributes

Common attributes

Tag Minimization

Both the start- and end-tags are required for this element.

Parameter Entities

%cptr.char.mix;%docinfo.char.mix;%ndxterm.char.mix;
%other.char.class;%para.char.mix;%programlisting.content;
%refinline.char.mix;%screen.content;%tbl.entry.mdl;
%title.char.mix;%word.char.mix;

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.

Children

The following elements occur in Superscript: Anchor, Comment, Emphasis, InlineGraphic, InlineMediaObject, Link, OLink, Replaceable, Subscript, Superscript, Symbol, ULink.

See Also

Equation, InformalEquation, InlineEquation, Subscript

Examples

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<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.

Back to: DocBook: The Definitive Guide


oreilly.com Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies | Privacy Policy

© 2001, O'Reilly & Associates, Inc.