subscript
subscript — A subscript (as in H₂O, the molecular formula for water).
Synopsis
subscript ::=
- Zero or more of:
- text
phrase
(db._phrase)replaceable
- Graphic inlines
- Ubiquitous inlines
Attributes
Description
A 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.
Parents
These elements contain subscript
: abbrev
, acronym
, attribution
, authorinitials
, bibliomisc
, bibliomixed
, bibliomset
, caption
(db.html.caption), citetitle
, command
, computeroutput
, edition
, email
, emphasis
, entry
, filename
, firstname
, givenname
, holder
, honorific
, issuenum
, lineage
, lineannotation
, link
, literal
, literallayout
, option
, orgname
, othername
, para
, personname
, phrase
(db._phrase), phrase
(db.phrase), programlisting
, publishername
, quote
, releaseinfo
, replaceable
, revnumber
, revremark
, subscript
, subtitle
, superscript
, surname
, systemitem
, td
, term
, th
, title
, titleabbrev
, trademark
, userinput
, volumenum
, year
.
Children
The following elements occur in subscript
: text, inlinemediaobject
, phrase
(db._phrase), replaceable
, subscript
, superscript
.
See Also
Related elements: superscript
.
Examples
1 |<article xmlns='http://docbook.org/ns/docbook'>
|<title>Example subscript</title>
||
<para>Thirsty? Have some H<subscript>2</subscript>O.
5 |</para>
||
</article>
Thirsty? Have some H2O.