[NTG-context] horizontal space in CJK document

Li Yanrui (李延瑞) liyanrui.m2 at gmail.com
Wed Feb 22 09:40:11 CET 2023


Sylvain Hubert via ntg-context <ntg-context at ntg.nl> 于2023年2月21日周二 03:43写道:
>
> Dear list,
>
> Does anyone know how to insert a horizontal space in a CJK document with \setscript[hanzi]?
>
> \setscript[hanzi]
> \definefontfamily[mainface][rm][notoserifcjkhk][]
> \setupbodyfont[mainface]
> \starttext
> 口口\hspace[big]口口   % with \setscript[hanzi], the \hspace is ignored
>
> \dorecurse{100}{口}  % without \setscript[hanzi], the line is not properly wrapped
> \stoptext
>
> Many thanks,
> Sylvain

测\kern 1em 试。

-- 
Best regards,

Li Yanrui


More information about the ntg-context mailing list