Ruby alignment
With -ah-ruby-align, you can specify the ruby alignment. Also you can specify the ruby alignment against its base character with -ah-ruby-position, spacing between ruby and its base character with -ah-ruby-offset, and whether to permit the use of a small kana as ruby for its base character with -ah-ruby-small-kana.

-ah-ruby-align (to specify ruby alignment)

Example of aligning ruby with ‘start’ (left-aligned), ‘center’ (centering) and ‘end’ (right-aligned) of its base character:
-ah-ruby-align: start;
地 ち
-ah-ruby-align: center;
地 ち
-ah-ruby-align: end;
地 ち
Example of aligning ruby with distribute-space (a white space is given before and after ruby) and with distribute-letter (no white space is given before and after ruby):
ruby-align: distribute-space;

紫陽花 あじさい
ruby-align: distribute-letter;

紫陽花 あじさい

-ah-ruby-position (to specify the ruby alignment against its base character)

Example of aligning a ruby with ‘before’ (on the before side of its base character) and ‘after’ (on the after side of its base character):
-ah-ruby-position: before; (Initial)
紫陽花 あじさい
-ah-ruby-position: after; (Initial)
紫陽花 あじさい

-ah-ruby-offset (to specify spacing between ruby and a parent character)

Example of specifying spacing between ruby and a parent character with number (a value multiplied with font size of ruby), length (specified length) and percentage (a value multiplied with font size):
-ah-ruby -ah-ruby-offset: 0pt; (Initial)
紫陽花 あじさい
-ah-ruby -ah-ruby-offset: 5pt;
紫陽花 あじさい

-ah-ruby-small-kana (to specify to permit the use of a small kana as ruby)

Example of specifying ‘auto’ (small letters are permitted) and ‘convert’ (small letters are converted to regular-sized letters):
-ah-ruby-small-kana: auto; (Initial)
一寸 ちょっと
-ah-ruby-small-kana: convert;
一寸 ちょっと