Re: [NTG-context] horizontal space in CJK document
Sylvain Hubert via ntg-context 于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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] horizontal space in CJK document
Thanks, but I guess the space width would be fixed. I just found a hack: 口口\hspace[big]\hbox{}口口 does the trick. On Tue, 21 Feb 2023 at 06:46, fv leung via ntg-context wrote: > Maybe the ideographic space U+3000 works. > > 在 2023年2月21日週二 03:42,Sylvain Hubert via ntg-context > 寫道: > >> 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 >> >> ___ >> If your question is of interest to others as well, please add an entry to >> the Wiki! >> >> maillist : ntg-context@ntg.nl / >> https://www.ntg.nl/mailman/listinfo/ntg-context >> webpage : https://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : https://contextgarden.net >> >> ___ >> > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] horizontal space in CJK document
Maybe the ideographic space U+3000 works. 在 2023年2月21日週二 03:42,Sylvain Hubert via ntg-context 寫道: > 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 > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] horizontal space in CJK document
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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___