Module:Sandbox/Artoria2e5/Ruby-zh/doc
Jump to navigation
Jump to search
| icon | This is a documentation subpage for Module:Sandbox/Artoria2e5/Ruby-zh. It may contain usage information, categories and other content that is not part of the original module page. |
| File:Ambox warning blue construction.svg | This module is rated as pre-alpha. It is incomplete and may or may not be in active development. Do not use it in article namespace pages. A module remains in pre-alpha until its developer, or another editor who adopts it if it is abandoned for some time, considers the basic structure complete. |
This is a module for Bopomofo Ruby and their mixed use with "normal" Ruby.
Rationale
[edit source]Normal Ruby characters go to either the top or the bottom of text, and follow the same horizontal, left-to-right direction that the text being annotated flows. Bopomofo, however, acts differently: it is traditional to put the bopomofo to the right of each character being phonetically labelled, laid out in a vertical direction.[1] As a result, it is non-trivial to lay out Bopomofo-annotated text.
This module roughly follows the methology established by Han.css in its DOM output.
Usage
[edit source]{{#invoke:Sandbox/Artoria2e5/Ruby-zh|function_name}}