[NTG-context] ruby for vertical layout

S Barmeier severinbarmeier at googlemail.com
Sun Mar 11 10:35:28 CET 2012


On 03/11/2012 02:58 PM, Wolfgang Schuster wrote:
> 
> Am 11.03.2012 um 10:18 schrieb S Barmeier:
> 
>>>>>> Is there something like ruby for vertical layout?
>>>>>
>>>>> For vertical typesetting you can also use ruby.
>>>>>
>>>>> Wolfgang
>>>>
>>>> OK, how do I use the vertical ruby in horizontal text?
>>>
>>> That’s not supported, you can only use horizontal ruby in horizontal text and vertical ruby in vertical text.
>>>
>>> Wolfgang
>>
>> I see. Attaching the ruby changes the line height, so I assume the
>> bounding box for the character+ruby compound is adjusted accordingly. In
>> that case, would it be possible to force using a vertical layout for
>> ruby? I guess if \ruby inherit the text orientation from the main text,
>> this will be less straight-forward…
> 
> Something like "inter-character“ (see http://www.w3.org/TR/css3-ruby/#ruby-position) positioning
> for text isn’t the problem but it’s yet not part of the ruby module.
> 
> Wolfgang

Is there anything I can do to make it part of the module, maybe? I guess
I would have to look at the Alignment & Positioning parts of the module...?

Severin


More information about the ntg-context mailing list