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

Subscript

Name

Subscript -- A subscript (as in H2O, the molecular formula for water)

Synopsis

Mixed Content Model

Subscript ::=
((#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

Subscript identifies text that is to be displayed as a subscript when rendered.

Processing expectations

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

Children

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

See Also

Equation, InformalEquation, InlineEquation, Superscript

Examples

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<para>
Thirsty?  Have some H<subscript>2</subscript>O.
</para>

Thirsty? Have some H2O.

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.