Skip to content

<rt>

ruby text

contains a ruby text, an annotation closely associated with a passage of the main text.

Module coreCOHTGRB

Attributes

@targetsupplies a pointer to the base being glossed by this ruby text.
Status
Optional
Datatype
teidata.pointer
@frompoints to the starting point of the span of text being glossed by this ruby text.
Status
Optional
Datatype
teidata.pointer
@topoints to the ending point of the span of text being glossed.
Status
Optional
Datatype
teidata.pointer

Classes and content

May contain

dictionaries

gaiji

header

textcrit

textstructure

Character data

  • character data
Contained by

core

Note

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.

Example

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>