<rendition>

<rendition> supplies information about the rendition or appearance of one or more elements in the source text. [2.3.4 The Tagging Declaration]
Moduleheader — 2 The TEI Header
Attributesatt.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change))
schemeidentifies the language used to describe the rendition.
Status Optional
Datatype

<rng:ref name="data.enumerated"/>
data.enumerated
Legal values are:
css
Cascading Stylesheet Language
xslfo
Extensible Stylesheet Language Formatting Objects
free
Informal free text description
other
A user-defined rendition description language
scopewhere CSS is used, provides a way of defining ‘pseudo-elements’, that is, styling rules applicable to specific sub-portions of an element.
Status Optional
Datatype

<rng:ref name="data.enumerated"/>
data.enumerated
Sample values include:
first-line
styling applies to the first line of the target element
first-letter
styling applies to the first letter of the target element
before
styling should be applied immediately before the content of the target element
after
styling should be applied immediately after the content of the target element
Used by
Contained by
header: tagsDecl
May contain
Declaration

<rng:element name="rendition">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:optional>
  <rng:attribute name="scheme">
   <rng:choice>
    <rng:value>css</rng:value>
    <rng:value>xslfo</rng:value>
    <rng:value>free</rng:value>
    <rng:value>other</rng:value>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="scope">
   <rng:ref name="data.enumerated"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.limitedContent"/>
</rng:element>
element rendition
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   attribute scheme { "css" | "xslfo" | "free" | "other" }?,
   attribute scope { data.enumerated }?,
   macro.limitedContent
}
Example
<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>
Note
The present release of these Guidelines does not specify the content of this element in any further detail. It may be used to hold a description of the default rendition to be associated with the specified element, expressed in running prose, or in some more formal language such as CSS.