InlineEquation

Name

InlineEquation -- A mathematical equation or expression occurring inline

Synopsis

Content Model

InlineEquation ::=
(Alt?,
 (Graphic+|InlineMediaObject+))

Attributes

Common attributes

Tag Minimization

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

Parameter Entities

%inlineobj.char.class;%para.char.mix;%programlisting.content;
%screen.content;%tbl.entry.mdl;%title.char.mix;

Description

InlineEquations are expressions (usually mathematical) that occur in the text flow.

Processing expectations

Formatted inline.

InlineEquation should not contain Graphic. Instead, it should contain InlineGraphic. Within an InlineEquation, Graphic should be rendered inline.

(5.0) Future Changes

In DocBook V5.0, InlineGraphic and Graphic will be discarded.

Parents

These elements contain InlineEquation: Application, Attribution, BiblioMisc, BridgeHead, Citation, CiteTitle, Comment, Emphasis, entry, ForeignPhrase, GlossSee, GlossSeeAlso, GlossTerm, LineAnnotation, Link, LiteralLayout, LoTentry, Member, MsgAud, OLink, Para, Phrase, ProductName, ProgramListing, Quote, RefEntryTitle, Screen, ScreenInfo, Seg, SegTitle, SimPara, Subtitle, Synopsis, Term, Title, TitleAbbrev, ToCback, ToCentry, ToCfront, ULink.

Children

The following elements occur in InlineEquation: Alt, Graphic, InlineMediaObject.

In some contexts, the following elements are allowed anywhere: BeginPage, IndexTerm.

See Also

Equation, InformalEquation, Subscript, Superscript

Examples

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<para>
Einstein's theory of relativity includes one of the most
widely recognized formulas in the world:
<inlineequation>
  <alt>e=mc^2</alt>
  <graphic fileref="figures/emc2"></graphic>
</inlineequation>
</para>

Einstein's theory of relativity includes one of the most widely recognized formulas in the world:

For additional examples, see also InlineMediaObject.

Copyright © 1999 O'Reilly & Associates, Inc. All rights reserved.