Skip to main content

RubyAlign

Description

Controls how ruby text (primarily in East Asian typography) is aligned relative to its base text.

Owner

Layout

Inheritable

Yes

Default Value

Distribute

Values

Value Type:
name
  • StartThe content shall be aligned on the start edge in the inline-progression direction
  • CenterThe content shall be centred in the inline-progression direction.
  • EndThe content shall be aligned on the end edge in the inline-progression direction.
  • JustifyThe content shall be expanded to fill the available width in the inline-progression direction
  • DistributeThe content shall be expanded to fill the available width in the inline-progression direction. However, space shall also be inserted at the start edge and end edge of the text. The spacing shall be distributed using a 1:2:1 (start:infix:end) ratio. It shall be changed to a 0:1:1 ratio if the ruby appears at the start of a text line or to a 1:1:0 ratio if the ruby appears at the end of the text line.

Related Tags