<rt>

<rt> (ruby text) contains a ruby text, an annotation closely associated with a passage of the main text. [3.4.2 Ruby Annotations]
모듈 core — Elements Available in All TEI Documents
속성 att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type, @subtype) att.placement (@place) att.transcriptional (@status, @cause, @seq) (att.editLike (@evidence, @instant)) (att.written (@hand))
target⚓︎ supplies a pointer to the base being glossed by this ruby text.
상태 수의적
자료 유형 teidata.pointer
Schematron Enforce that either target or both from and to (or none) are used, but not target in combination with either from or to.

<sch:report test="../@from | ../@to">When target= is
present, neither from= nor to= should be.</sch:report>
from⚓︎ points to the starting point of the span of text being glossed by this ruby text.
상태 수의적
자료 유형 teidata.pointer
Schematron Enforce the presence of to iff there is a from.

<sch:assert test="../@to">When from= is present, the to=
attribute of <sch:name/> is required.</sch:assert>
to⚓︎ points to the ending point of the span of text being glossed.
상태 수의적
자료 유형 teidata.pointer
Schematron Enforce the presence of from iff there is a to.

<sch:assert test="../@from">When to= is present, the from=
attribute of <sch:name/> is required.</sch:assert>
에 의해 포함된
core: ruby
포함할 수 있다
주석

Where the place attribute is not provided on the rt element, the default assumption is that the ruby gloss is above where the text is horizontal, and to the right of the text where it is vertical.

The word 大統領 daitōryō (president) is glossed character by character in hiragana to provide a pronunciation guide.

<p style="writing-mode: vertical-rl"
 xml:lang="ja">

<!--...-->
 <ruby>
  <rb></rb>
  <rt place="right">だい</rt>
 </ruby>
 <ruby>
  <rb></rb>
  <rt place="right">とう</rt>
 </ruby>
 <ruby>
  <rb></rb>
  <rt place="right">りょう</rt>
 </ruby>
<!--...-->
</p>
Content model
<content>
 <macroRef key="macro.phraseSeq"/>
</content>
선언
<rng:element name="rt">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.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:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <rng:ref name="att.placement.attributes"/>
 <rng:ref name="att.transcriptional.attributes"/>
 <rng:ref name="att.editLike.attributes"/>
 <rng:ref name="att.written.attributes"/>
 <rng:optional>
  <rng:attribute name="target">
   <rng:ref name="teidata.pointer"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="from">
   <rng:ref name="teidata.pointer"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="to">
   <rng:ref name="teidata.pointer"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.phraseSeq"/>
</rng:element>
element rt
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.typed.attributes,
   att.placement.attributes,
   att.transcriptional.attributes,
   att.editLike.attributes,
   att.written.attributes,
   attribute target { teidata.pointer }?,
   attribute from { teidata.pointer }?,
   attribute to { teidata.pointer }?,
   macro.phraseSeq
}