<rendition>
<rendition> (rendition) supplies information about the rendition or appearance of one or more
elements in the source text. [2.3.4. The Tagging Declaration]
Module | header | ||||||||||||||||||||
Attributes | Attributes att.global (xml:id, n, xml:lang) (lim.att.global.fragmentable (part)) (att.global.rendition (rendition)) (att.global.source (source)) att.styleDef (scheme, schemeVersion)
|
||||||||||||||||||||
Contained by |
header: tagsDecl
|
||||||||||||||||||||
May contain |
core: abbr bibl biblStruct choice cit date desc emph foreign gloss hi label list listBibl mentioned name num ptr q quote ref rs term time title
figures: table
header: idno
namesdates: addName affiliation forename genName geo listObject listOrg listPerson listPlace location nameLink objectName orgName persName placeName roleName settlement surname
transcr: subst
character data
|
||||||||||||||||||||
Examples |
<tagsDecl> <rendition xml:id="r-center" scheme="css">text-align: center;</rendition> <rendition xml:id="r-small" scheme="css">font-size: small;</rendition> <rendition xml:id="r-large" scheme="css">font-size: large;</rendition> <rendition xml:id="initcaps" scope="first-letter" scheme="css">font-size: xx-large</rendition> </tagsDecl> |
||||||||||||||||||||
Source | Github
<elementSpec module="header" ident="rendition"> <gloss>rendition</gloss> <desc>supplies information about the rendition or appearance of one or more elements in the source text.</desc> <classes> <memberOf key="att.global"/> <memberOf key="att.styleDef"/> </classes> <content> <macroRef key="macro.limitedContent"/> </content> <attList> <attDef ident="scope"> <desc>where CSS is used, provides a way of defining <soCalled>pseudo-elements</soCalled>, that is, styling rules applicable to specific sub-portions of an element.</desc> <datatype> <dataRef key="teidata.enumerated"/> </datatype> <valList type="open"> <valItem ident="first-line"> <desc>styling applies to the first line of the target element</desc> </valItem> <valItem ident="first-letter"> <desc>styling applies to the first letter of the target element</desc> </valItem> <valItem ident="before"> <desc>styling should be applied immediately before the content of the target element</desc> </valItem> <valItem ident="after"> <desc>styling should be applied immediately after the content of the target element</desc> </valItem> </valList> </attDef> <attDef ident="selector"> <desc> contains a selector or series of selectors specifying the elements to which the contained style description applies, expressed in the language specified in the <att>scheme</att> attribute. </desc> <datatype maxOccurs="1"> <dataRef key="teidata.text"/> </datatype> </attDef> </attList> </elementSpec> |