Esempio: <rendition>

These search results reproduce every example of the use of <rendition> in the Guidelines, including all localised and translated versions. In some cases, the examples have been drawn from discussion of other elements in the Guidelines and illustrating the use of <rendition> is not the main focus of the passage in question. In other cases, examples may be direct translations of each other, and hence identical from the perspective of their encoding.

1 The TEI Infrastructure


1.3.1.1.3 Rendition Indicators


<!-- define italic style using CSS --><rendition xml:id="IT" scheme="css">font-style: italic</rendition>
<!-- set italic style as default for the emph and hi elements -->
<tagUsage gi="emph" render="#IT"/>
<tagUsage gi="hi" render="#IT"/>
<!-- indicate that a specific p element is also in italic style -->
<p rendition="#IT"/>

att.global

<head rendition="#ac #sc">
 <lb/>To The <lb/>Duchesse <lb/>of <lb/>Newcastle, <lb/>On Her
<lb/>
 <hi rendition="#no">New Blazing-World</hi>.
</head>
<!-- elsewhere... -->
<rendition xml:id="sc" scheme="css">font-variant: small-caps</rendition>
<rendition xml:id="no" scheme="css">font-variant: normal</rendition>
<rendition xml:id="ac" scheme="css">text-align: center</rendition>

2 The TEI Header


2.3.4.1 Rendition

<tagsDecl>
 <rendition xml:id="style1">
   ... description of one default rendition here ...
 </rendition>
 <rendition xml:id="style2">
   ... description of another default rendition here ...
 </rendition>
 <namespace name="http://www.tei-c.org/ns/1.0">
  <tagUsage gi="p" render="#style1"> ... </tagUsage>
  <tagUsage gi="hi" render="#style2"> ... </tagUsage>
 </namespace>
</tagsDecl>
<!-- elsewhere in the document -->
<p>This paragraph,mostly rendered in style1, contains a few words
<hi>rendered in style2</hi>
</p>
<p rendition="#style2">This paragraph is all rendered in style2</p>
<p>This is back to style1</p>

2.3.4.1 Rendition

<tagsDecl>
 <rendition xml:id="center" scheme="css">text-align: center;</rendition>
 <rendition xml:id="small" scheme="css">font-size: small;</rendition>
 <rendition xml:id="large" scheme="css">font-size: large;</rendition>
 <rendition xml:id="x-large" scheme="css">font-size: x-large;</rendition>
 <rendition xml:id="xx-large" scheme="css">font-size: xx-large</rendition>
 <rendition xml:id="expanded" scheme="css">letter-spacing: +3pt;</rendition>
 <rendition xml:id="x-space" scheme="css">line-height: 150%;</rendition>
 <rendition xml:id="xx-space" scheme="css">line-height: 200%;</rendition>
 <rendition xml:id="red" scheme="css">color: red;</rendition>
</tagsDecl>

2.3.4.1 Rendition

<rendition xml:id="quoteBefore" scheme="css" scope="before">content:
'“';</rendition>
<rendition xml:id="quoteAfter" scheme="css" scope="after">content:
'”';</rendition>

<tagsDecl>

<tagsDecl>
 <rendition xml:id="rend-it">to be rendered in italic font</rendition>
 <namespace name="http://www.tei-c.org/ns/1.0">
  <tagUsage gi="hi" occurs="467" render="#rend-it"/>
  <tagUsage gi="title" occurs="45" render="#rend-it"/>
 </namespace>
 <namespace name="http://docbook.org/ns/docbook">
  <tagUsage gi="para" occurs="10"/>
 </namespace>
</tagsDecl>

<tagsDecl>

<tagsDecl>
 <rendition xml:id="zh-tw_rend-it">用於斜體字</rendition>
 <namespace name="http://www.tei-c.org/ns/1.0">
  <tagUsage gi="hi" occurs="467" render="#zh-tw_rend-it"/>
  <tagUsage gi="title" occurs="45" render="#zh-tw_rend-it"/>
 </namespace>
 <namespace name="http://docbook.org/ns/docbook">
  <tagUsage gi="para" occurs="10"/>
 </namespace>
</tagsDecl>

<tagUsage>

<tagsDecl>
 <rendition xml:id="it">Render using a slant or italic variant on the current font</rendition>
<!-- ... -->
 <namespace name="http://www.tei-c.org/ns/1.0">
  <tagUsage
    gi="hi"
    occurs="28"
    withId="2"
    render="#it">
Used to mark English words
     italicised in the copy text.</tagUsage>
  <tagUsage gi="foreign" render="#it">Used to mark non-English words in the copy text.</tagUsage>
<!-- ... -->
 </namespace>
</tagsDecl>

<tagUsage>

<tagsDecl>
 <rendition xml:id="zh-tw_it">將斜體用於通用的字型</rendition>
<!-- ... -->
 <namespace name="http://www.tei-c.org/ns/1.0">
  <tagUsage
    gi="hi"
    occurs="28"
    withId="2"
    render="#zh-tw_it">
用來標示副本裡的斜體英文字。</tagUsage>
  <tagUsage gi="foreign" render="#zh-tw_it">用來標示副本裡的非英文字。</tagUsage>
<!-- ... -->
 </namespace>
</tagsDecl>

<rendition>

<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>

3 Elements Available in All TEI Documents


3.3.2.2 Emphatic Words and Phrases

<l>Here Thou, great <name rend="italics">Anna</name>!
whom three Realms obey,</l>
<l>Doth sometimes Counsel take —
and sometimes <emph rendition="#italic">Tea</emph>.</l>
<!-- in the header ... -->
<rendition xml:id="italic" scheme="css">text-style:italic</rendition>