Example: <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.

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="prender="#style1"> ... </tagUsage>
  <tagUsage gi="hirender="#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

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

2.3.4.1 Rendition

<rendition xml:id="quoteBeforescheme="cssscope="before">content:
'“';</rendition>
<rendition xml:id="quoteAfterscheme="cssscope="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="hioccurs="467render="#rend-it"/>
  <tagUsage gi="titleoccurs="45render="#rend-it"/>
 </namespace>
 <namespace name="http://docbook.org/ns/docbook">
  <tagUsage gi="paraoccurs="10"/>
 </namespace>
</tagsDecl>

<tagsDecl>

<tagsDecl>
 <rendition xml:id="fr_rend-it">restitué à l'affichage en caractères italiques</rendition>
 <namespace name="http://www.tei-c.org/ns/1.0">
  <tagUsage gi="hioccurs="467render="#fr_rend-it"/>
  <tagUsage gi="titleoccurs="45render="#fr_rend-it"/>
 </namespace>
 <namespace name="http://docbook.org/ns/docbook">
  <tagUsage gi="paraoccurs="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="hioccurs="467render="#zh-tw_rend-it"/>
  <tagUsage gi="titleoccurs="45render="#zh-tw_rend-it"/>
 </namespace>
 <namespace name="http://docbook.org/ns/docbook">
  <tagUsage gi="paraoccurs="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
     italicized in the copy text.</tagUsage>
  <tagUsage gi="foreignrender="#it">Used to mark non-English words in the copy text.</tagUsage>
<!-- ... -->
 </namespace>
</tagsDecl>

<tagUsage>

<tagsDecl>
 <rendition xml:id="fr_it">A noter l'emploi d'une variante penchée ou italique dans la fonte
   actuelle.</rendition>
 <namespace name="http://www.tei-c.org/ns/1.0">
  <tagUsage gi="abbr"> Les abréviations étant très courantes et de type
  <term>brevigraph</term> (voir le manuel TEI), l'attribut "type" a cette valeur par
     défaut. Dans les autres cas, ("Sénécial" abrégé par "Sénat") , l'attribut "type " a
     explicitement la valeur "contraction" et l'attribut "expan" contient la forme
     développée.</tagUsage>
  <tagUsage gi="lb">Chaque ligne est numérotée depuis le début du corps de la lettre (sauf
     le titre).</tagUsage>
  <tagUsage gi="lb">Chaque page est numérotée sous la forme d'un numéro de folio suivi de
     "recto" ou "verso". Dans certains cas, le foliotage réel n'est pas celui qui est
     indiqué sur le registre. Dans ce cas, les deux numérotations sont gardées.</tagUsage>
  <tagUsage gi="unclear">Mots difficiles à lire</tagUsage>
  <tagUsage gi="opener">Phrase(s) d'introduction de la lettre.</tagUsage>
  <tagUsage gi="signed">Signature du copiste.</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="foreignrender="#zh-tw_it">用來標示副本裡的非英文字。</tagUsage>
<!-- ... -->
 </namespace>
</tagsDecl>

<rendition>

<tagsDecl>
 <rendition xml:id="r-centerscheme="css">text-align: center;</rendition>
 <rendition xml:id="r-smallscheme="css">font-size: small;</rendition>
 <rendition xml:id="r-largescheme="css">font-size: large;</rendition>
 <rendition xml:id="initcapsscope="first-letterscheme="css">font-size: xx-large</rendition>
</tagsDecl>

<styleDefDecl>

<styleDefDecl scheme="cssschemeVersion="2.1"/>
<!-- ... -->
<tagsDecl>
 <rendition xml:id="boldface">font-weight: bold;</rendition>
 <rendition xml:id="italicstyle">font-style: italic;</rendition>
</tagsDecl>

1 The TEI Infrastructure


1.3.1.1.3 Rendition Indicators

<tagsDecl>
<!-- define italic style using CSS -->
 <rendition xml:id="ITscheme="css">font-style: italic</rendition>
<!-- define a serif font family -->
 <rendition xml:id="FontRomanscheme="css">font-family: serif</rendition>
<!-- set italic style as default for the emph and hi elements -->
 <namespace name="http://www.tei-c.org/ns/1.0">
  <tagUsage gi="emphrender="#IT"/>
  <tagUsage gi="hirender="#IT"/>
<!-- set the default font-family for the text element -->
  <tagUsage gi="textrender="#FontRoman"/>
 </namespace>
</tagsDecl>
<!-- ... -->
<text>
 <body>
  <div>
   <p rendition="#IT">
<!-- this paragraph uses the seriffed font, but is in italic-->
   </p>
   <p>
<!-- this paragraph uses the seriffed font, but is not in italic -->
   </p>
  </div>
 </body>
</text>

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="scscheme="css">font-variant: small-caps</rendition>
<rendition xml:id="noscheme="css">font-variant: normal</rendition>
<rendition xml:id="acscheme="css">text-align: center</rendition>

att.global

<head rendition="#ac #sc">
 <lb/>épître dédicatoire <lb/>à <lb/>Monsieur de Coucy <lb/>
</head>
<rendition xml:id="fr_scscheme="css">font-variant: uppercase</rendition>
<rendition xml:id="fr_acscheme="css">text-align: center</rendition>

3 Elements Available in All TEI Documents


3.3.2.2 Emphatic Words and Phrases

<l>Here Thou, great <name rendition="#italic">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="italicscheme="css">font-style: italic</rendition>

3.3.3 Quotation

Adolphe se tourna vers lui :
<said rendition="#dashBefore">Alors,
Albert, quoi de neuf ?</said>
<said rendition="#dashBefore">Pas grand-chose.</said>
<said rendition="#dashBefore">Il fait beau,</said>
dit Robert.

<!-- ... within the header -->
<rendition xml:id="dashBeforescope="before">content: '— '</rendition>
<!-- ... -->
<quotation marks="none"/>

3.3.3 Quotation

<said>Who-e debel
you?</said> — he at last said —
<said>you no speak-e,
damme, I kill-e.</said> And so saying,
the lighted tomahawk began flourishing
about me in the dark.

<!-- in the header -->
<tagsDecl>
 <rendition xml:id="prequotescheme="cssscope="before">content:"‘";</rendition>
 <rendition xml:id="postquotescheme="cssscope="after">content:"’";</rendition>
 <namespace name="http://www.tei-c.org/ns/1.0">
  <tagUsage gi="saidrender="#prequote #postquote"/>
 </namespace>
</tagsDecl>