### ----------------------------------------------------
### -- PDF::ISO_32000
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: resources/ISO_32000/misc/Table_339-Standard_structure_types_for_Ruby_and_Warichu_elements.json
### ----------------------------------------------------
{
  "table": {
    "caption": "Table 339 – Standard structure types for Ruby and Warichu elements (PDF 1.5)",
    "head": [
      "Structure Type",
      "Description"
    ],
    "rows": [
      [
        "Ruby",
        "(Ruby) The wrapper around the entire ruby assembly. It contains one RB element followed by either an RT element or a three-element group consisting of RP, RT, and RP. Ruby elements and their content elements does not break across multiple lines."
      ],
      [
        "RB",
        "(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. It may have the RubyAlign attribute."
      ],
      [
        "RT",
        "(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",
        "(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 or RIGHT PARENTHESIS or similar bracketing character)."
      ],
      [
        "Warichu",
        "(Warichu) The wrapper around the entire warichu assembly. It may contain a three- element group consisting of WP, WT, and WP. Warichu elements (and their content elements) may wrap across multiple lines, according to the warichu breaking rules described in the Japanese Industrial Standard (JIS) X 4051-1995."
      ],
      [
        "WT",
        "(Warichu text) The smaller-size text of a warichu comment that is formatted into two lines and placed between surrounding WP elements."
      ],
      [
        "WP",
        "(Warichu punctuation) The punctuation that surrounds the WT text. It contains text (usually a single LEFT or RIGHT PARENTHESIS or similar bracketing character). According to JIS X 4051-1995, the parentheses surrounding a warichu may be converted to a SPACE (nominally 1/4 EM in width) at the discretion of the formatter."
      ]
    ]
  }
}


