<rendition>

<rendition> 提供關於一個或多個元素預定呈現方式的資訊。 2.3.4 The Tagging Declaration
組件 header — 2 The TEI Header
除全域屬性以外
scheme identifies the language used to describe the rendition.
狀態 非必備的
合法的值是:
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.
狀態 非必備的
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
屬於
可包含
宣告

<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
}
例子
<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>