DocBook: The Definitive GuideBy Norman Walsh & Leonard Muellner1st Edition October 1999 1-56592-580-7, Order Number: 5807 652 pages, $36.95 , Includes CD-ROM |
InlineEquation
Synopsis
Content Model
InlineEquation ::= (Alt?, (Graphic+|InlineMediaObject+))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.
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.
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.
Back to: DocBook: The Definitive Guide
© 2001, O'Reilly & Associates, Inc.