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 |
Superscript
Synopsis
Mixed Content Model
Superscript ::= ((#PCDATA|Link|OLink|ULink|Emphasis|Replaceable|Symbol| InlineGraphic|InlineMediaObject|Anchor|Comment|Subscript| Superscript)+)Attributes
Tag Minimization
Both the start- and end-tags are required for this element.
Parameter Entities
%cptr.char.mix; %docinfo.char.mix; %ndxterm.char.mix; %other.char.class; %para.char.mix; %programlisting.content; %refinline.char.mix; %screen.content; %tbl.entry.mdl; %title.char.mix; %word.char.mix; Description
Superscript identifies text that is to be displayed as a superscript when rendered.
Processing expectations
Formatted inline. Superscripts are usually printed in a smaller font and shifted up with respect to the baseline.
Parents
These elements contain Superscript: Abbrev, Ackno, Acronym, Action, Application, ArtPageNums, Attribution, AuthorInitials, BiblioMisc, BridgeHead, Citation, CiteTitle, City, CollabName, Command, Comment, ComputerOutput, ConfDates, ConfNum, ConfSponsor, ConfTitle, ContractNum, ContractSponsor, Contrib, CorpAuthor, CorpName, Country, Database, Date, Edition, Email, Emphasis, entry, Fax, Filename, FirstName, FirstTerm, ForeignPhrase, FuncParams, FuncSynopsisInfo, Function, GlossSee, GlossSeeAlso, GlossTerm, Hardware, Holder, Honorific, Interface, InterfaceDefinition, InvPartNumber, ISBN, ISSN, IssueNum, JobTitle, KeyCap, Label, Lineage, LineAnnotation, Link, Literal, LiteralLayout, LoTentry, ManVolNum, Member, ModeSpec, MsgAud, OLink, Option, Optional, OrgDiv, OrgName, OtherAddr, OtherName, PageNums, Para, Parameter, Phone, Phrase, POB, Postcode, Primary, PrimaryIE, ProductName, ProductNumber, ProgramListing, Property, PubDate, PublisherName, PubsNumber, Quote, RefEntryTitle, RefMiscInfo, RefPurpose, ReleaseInfo, Replaceable, RevNumber, RevRemark, Screen, ScreenInfo, Secondary, SecondaryIE, See, SeeAlso, SeeAlsoIE, SeeIE, Seg, SegTitle, SeriesVolNums, ShortAffil, SimPara, State, Street, Subscript, Subtitle, Superscript, Surname, Synopsis, SystemItem, Term, Tertiary, TertiaryIE, Title, TitleAbbrev, ToCback, ToCentry, ToCfront, Trademark, ULink, UserInput, VolumeNum, WordAsWord, Year.
Children
The following elements occur in Superscript: Anchor, Comment, Emphasis, InlineGraphic, InlineMediaObject, Link, OLink, Replaceable, Subscript, Superscript, Symbol, ULink.
Examples
<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook V3.1//EN"> <para> The equation e<superscript>πi</superscript> + 1 = 0 ties together five of the most important mathematical constants. </para>The equation eπi + 1 = 0 ties together five of the most important mathematical constants.
For additional examples, see also InlineMediaObject.
Back to: DocBook: The Definitive Guide
© 2001, O'Reilly & Associates, Inc.