By Norman Walsh & Leonard Muellner
1st Edition October 1999
1-56592-580-7, Order Number: 5807
652 pages, $36.95 , Includes CD-ROM
|DocBook: The Definitive Guide|
InlineEquation ::= (Alt?, (Graphic+|InlineMediaObject+))
Both the start- and end-tags are required for this element.
InlineEquations are expressions (usually mathematical) that occur in the text flow.
InlineEquation should not contain Graphic. Instead, it should contain InlineGraphic. Within an InlineEquation, Graphic should be rendered inline.
In DocBook V5.0, InlineGraphic and Graphic will be discarded.
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.
The following elements occur in InlineEquation: Alt, Graphic, InlineMediaObject.
In some contexts, the following elements are allowed anywhere: BeginPage, IndexTerm.
Equation, InformalEquation, Subscript, Superscript
<!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
© 1999, O'Reilly & Associates, Inc.