◇◆
<ruby> Ruby Wrapper
Usage/Remarks
What is Ruby
A Ruby textual annotation is an annotation, typically
short, applied to a letter, word, phrase, or name that appears in narrative text.
Ruby annotations
can indicate, for example, pronunciation advice, notes for translation, semantic annotations,
etc.
Ruby is used with Japanese, for example, in Furigana, which typically uses Hiragana
annotations on
Kanji base text. Ruby is also used in Chinese Pīnyīn (a phonetic system for transcribing
the
sound of Chinese characters into Latin script) as well as for some Korean names. In
display or
print, the characters of a Ruby annotation are frequently placed above the characters
they modify,
in parentheses after the characters they modify, or to the right of vertically set
text.
Models and Context
May be contained in
<addr-line>, <aff>, <alt-title>, <article-title>, <attrib>, <award-id>, <bold>, <chapter-title>, <chem-struct>, <code>, <collab>, <comment>, <compl>, <compound-kwd-part>, <compound-subject-part>, <copyright-statement>, <data-title>, <def-head>, <disp-formula>, <element-citation>, <ext-link>, <fixed-case>, <full>, <funding-source>, <gov>, <inline-code>, <inline-formula>, <inline-media>, <inline-supplementary-material>, <institution>, <intro>, <italic>, <kwd>, <label>, <license-p>, <main>, <meta-value>, <mixed-citation>, <monospace>, <named-content>, <nav-pointer>, <on-behalf-of>, <overline>, <p>, <part-title>, <preformat>, <price>, <publisher-loc>, <related-article>, <related-object>, <related-term>, <role>, <roman>, <sans-serif>, <sc>, <see>, <see-also>, <see-also-entry>, <see-entry>, <series>, <sig>, <sig-block>, <source>, <std>, <strike>, <styled-content>, <sub>, <subject>, <subtitle>, <sup>, <supplement>, <target>, <tbx:crossReference>, <tbx:definition>, <tbx:entailedTerm>, <tbx:example>, <tbx:externalCrossReference>, <tbx:note>, <tbx:pronunciation>, <tbx:see>, <tbx:source>, <tbx:term>, <tbx:usageNote>, <td>, <term>, <term-display-string>, <term-head>, <term-source>, <textual-form>, <th>, <title>, <trans-source>, <trans-subtitle>, <trans-title>, <underline>, <verse-line>, <xref>
Description
The following, in order:
Content Model
<!ELEMENT ruby %ruby-model; >
Expanded Content Model
(rb, rt)