<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 — 2 The TEI Header
In addition to global attributes In addition to global attributes
scheme identifies the language used to describe the rendition.
Status Optional
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
scope where CSS is used, provides a way of defining ‘pseudo-elements’, that is, styling rules applicable to specific sub-portions of an element.
Status Optional
Values are:
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
May contain
Declaration

<rng:element name="rendition">
 <rng:ref name="att.global.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:text/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.limitedContent"/>
</rng:element>
element rendition
{
   att.global.attributes,
   attribute scheme { "css" | "xslfo" | "free" | "other" }?,
   attribute scope { text }?,
   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.