17.3.3.28 rubyPr
17.3.3.28 rubyPr
This element specifies a set of properties which determine the behavior and appearance of a phonetic guide within the document.
[Example: Consider the following two runs, each containing a phonetic guide:
The properties for both of these phonetic guides are as follows:
<w:r>
<w:ruby>
<w:rubyPr>
<w:rubyAlign w:val="distributeSpace" />
<w:hps w:val="16" />
<w:hpsRaise w:val="20" />
<w:hpsBaseText w:val="22" />
<w:lid w:val="ja-JP" />
</w:rubyPr>
…
</w:ruby>
</w:r>
The phonetic guide properties specify that the guide text must be:
- Distributed across the top (using the rubyAlign element)
- 8 point font face (using the hps element)
- 10 points above the base text (using the hpaRaise element)
- Japanese (using the lid element)
As well, the phonetic guide properties specify that the base text must be:
- 11 point font face (using the hpsBaseText element)
end example]
[Note: The W3C XML Schema definition of this element’s content model (CT_RubyPr) is located in A.1. end note]
Last updated on