amano.kenji via ntg-context schrieb am 15.08.2022 um 14:00:
Is there any documentation about \ruby?
You can see all available parameters in setup-en.pdf, the example below shows a few of them: %%%% begin example \setupinterlinespace[line=4ex] \setuptype[style=\ttx] \starttext \start xxxxxxxxx \ruby{aaa}{bbb} xxxxxxxxx \stop \start \setupruby[location=left] \type{\setupruby[location=left]}\quad xxxxxxxxx \ruby{aaa}{bbb} xxxxxxxxx \stop \start \setupruby[location=right] \type{\setupruby[location=right]}\quad xxxxxxxxx \ruby{aaa}{bbb} xxxxxxxxx \stop \start \setupruby[location=right,left={[},right={]}] \type{\setupruby[left={[},right={]}]}\quad xxxxxxxxx \ruby{aaa}{bbb} xxxxxxxxx \stop \start \setupruby[align=flushleft] \type{\setupruby[align=flushleft]}\quad xxxxxxxxx \ruby{aaaaaa}{bbb} xxxxxxxxx \stop \start \setupruby[align=flushright] \type{\setupruby[align=flushright]}\quad xxxxxxxxx \ruby{aaaaaa}{bbb} xxxxxxxxx \stop \start \setupruby[style=\itxx] \type{\setupruby[style=\itxx]}\quad xxxxxxxxx \ruby{aaa}{bbb} xxxxxxxxx \stop \start \setupruby[color=blue] \type{\setupruby[color=blue]}\quad xxxxxxxxx \ruby{aaa}{bbb} xxxxxxxxx \stop \start \setupruby[voffset=-1.2ex] \type{\setupruby[voffset=-1.2ex]}\quad xxxxxxxxx \ruby{aaa}{bbb} xxxxxxxxx \stop \stoptext %%%% end example
What about vertical text?
ConTeXt has a mechanism to produce vertical text but there is nothing yet which can be used out of the box to produce a complete document with vertical paragraphs. Wolfgang