### ----------------------------------------------------
### -- PDF::ISO_32000_2
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: resources/ISO_32000_2/misc/Table_369-Ruby_and_Warichu_structure_types.json
### ----------------------------------------------------
{
  "table": {
    "caption": "Table 369 — Ruby and Warichu structure types",
    "head": [
      "Structure Type",
      "Category",
      "Description"
    ],
    "rows": [
      [
        "Ruby",
        "Inline",
        "Structure element that wraps around an entire ruby assembly.\nIt contains one RB element followed by either an RT element or a three-element sequence consisting of RP, RT, and RP.\nRuby structure elements and their content elements does not break across multiple lines."
      ],
      [
        "RB",
        "Inline",
        "(Ruby base text) The full-size text to which the ruby annotation is applied. RB may contain text, other inline elements, or a mixture of both.\nIt may have the RubyAlign attribute."
      ],
      [
        "RT",
        "Inline",
        "(Ruby annotation text) The smaller-size text that is placed adjacent to the ruby base text. It may contain text, other inline elements, or a mixture of both. It may have the RubyAlign and RubyPosition attributes."
      ],
      [
        "RP",
        "Inline",
        "(Ruby punctuation) Punctuation surrounding the ruby annotation text. It is used only when a ruby annotation cannot be properly formatted in a ruby style and instead is formatted as a normal comment, or when it is formatted as a warichu. It contains text (usually a single LEFT PARENTHESIS or RIGHT PARENTHESIS or similar bracketing character)."
      ],
      [
        "Warichu",
        "Inline",
        "(Warichu) The wrapper around the entire warichu assembly. It contains a three-element sequence consisting of WP, WT, and WP. Warichu structure elements (and their child structure elements) may wrap across multiple lines, according to the warichu breaking rules described in the Japanese Industrial Standard (JIS) X 4051-2004."
      ],
      [
        "WT",
        "Inline",
        "(Warichu text) The smaller-size text of a warichu comment that is formatted into two lines and placed between surrounding WP elements."
      ],
      [
        "WP",
        "Inline",
        "(Warichu punctuation) The punctuation that surrounds the content in the WT structure element. It typically contains text (usually a single LEFT PARENTHESIS or RIGHT PARENTHESIS or similar bracketing character). According to JIS X 4051-2004, the parentheses surrounding a warichu may be converted to a SPACE (nominally 1/4 EM in width) at the discretion of the formatter."
      ]
    ]
  }
}


