subscript

subscript — A subscript (as in H₂O, the molecular formula for water).

Synopsis

subscript ::=

Attributes

Common attributes and common linking attributes.

No additional 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.

Attributes

Common attributes and common linking attributes.

any attribute

Any attribute in any other explicit namespace

Parents

These elements contain subscript: abbrev, accel, acronym, address, application, arg, artpagenums, attribution, authorinitials, bibliocoverage, biblioentry, biblioid, bibliomisc, bibliomixed, bibliomset, bibliorelation, biblioset, bibliosource, bridgehead, buildtarget, caption (db.html.caption), citation, citebiblioid, citetitle, city, classname, classsynopsisinfo, code, command, computeroutput, confdates, confnum, confsponsor, conftitle, constant, contractnum, contractsponsor, contrib, country, database, description, edition, email, emphasis (db._emphasis), emphasis (db.emphasis), entry, enumidentifier, enumitemdescription, enumname, enumvalue, envar, errorcode, errorname, errortext, errortype, exceptionname, fax, filename, firstname, firstterm (db._firstterm), firstterm (db.firstterm), foreignphrase (db._foreignphrase), foreignphrase (db.foreignphrase), funcdef, funcparams, funcsynopsisinfo, function, givenname, glosssee, glossseealso, glossterm (db._glossterm), glossterm (db.glossterm), guibutton, guiicon, guilabel, guimenu, guimenuitem, guisubmenu, hardware, holder, honorific, initializer, interfacename, issuenum, jobtitle, keycap, keycode, keysym, label, lineage, lineannotation, link, literal, literallayout, macroname, manvolnum, markup, mathphrase, member, meta (db.meta.content), methodname, modifier, mousebutton, msgaud, msglevel, msgorig, olink, option, optional, orgdiv, orgname, otheraddr, othername, package, pagenums, para, paramdef, parameter, personname, phone, phrase (db._phrase), phrase (db.phrase), pob, postcode, primary, primaryie, productname, productnumber, programlisting, prompt, property, publishername, quote (db._quote), quote (db.quote), refdescriptor, refentrytitle, refmiscinfo, refname, refpurpose, releaseinfo, remark, replaceable, returnvalue, revnumber, revremark, screen, secondary, secondaryie, see, seealso, seealsoie, seeie, seg, segtitle, seriesvolnums, shortaffil, simpara, specializedtemplate, state, street, subscript, subtitle, superscript, surname, symbol, synopsis, synopsisinfo, systemitem, tag, td, template, templatename, term, termdef, tertiary, tertiaryie, th, title, titleabbrev, tocentry, token, trademark, type, typedefname, unionname, uri, userinput, varname, volumenum, wordasword, year.

Children

The following elements occur in subscript: text, abbrev, acronym, alt, anchor, annotation, biblioref, coref, date, emphasis (db._emphasis), firstterm (db._firstterm), footnote, footnoteref, foreignphrase (db._foreignphrase), glossterm (db._glossterm), indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), inlinemediaobject, link, olink, phrase (db._phrase), quote (db._quote), remark, replaceable, subscript, superscript, trademark, wordasword, xref.

See Also

Related elements: equation, informalequation, inlineequation, 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.