On 10/21/22 00:59, Leah Neukirchen via ntg-context wrote: > Hi, > > playing around with \definebodyfontenvironment with latest LMTX, > I found this possibly buggy behavior: > > \definebodyfontenvironment[12pt][small=6pt] % x=6pt works here > \setupbodyfont[12pt] > \starttext > normal {\tx tx} {\small small} > \stoptext > > With \definebodyfontenvironment[12pt][x=6pt] I can resize \tx fine, > but for \small it doesn't work.
Hi Leah, I don’t know whether it may be a bug, but this works: \definebodyfont[12pt] \definebodyfontenvironment[12pt][small=100pt, x=100pt] \setupbodyfont[12pt] \starttext normal {\tx tx} {\small small} \stoptext It might be that \small could be hardcoded by default. Sorry for changing sizes, but I wanted to know for sure it was working. Just in case it might help, Pablo ___________________________________________________________________________________ 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 ___________________________________________________________________________________