Alan BRASLAU mailto:alan.braslau@cea.fr 13. Februar 2016 um 11:30 On Sat, 13 Feb 2016 10:53:22 +0100 Wolfgang Schuster
wrote: There are a few font switches which change the style dependant on the current style
Thanks for this table; I wikified it (under Font Switches, of course). It mysteriously introduces \typeface, \swapface and \boldface.
I wonder, though, is there anything similar to boldsmallcapitals? Does this even exist in any fonts? It depends on the font, with Latin Modern this isn’t possible because it uses a separate font for smallcaps but with TeX Gyre you can do this:
\setupbodyfont[pagella] \starttext Text {\feature[+][smallcaps]Text} {\bf Text \feature[+][smallcaps]Text} Text {\feature[+][smallcaps]Text \bf Text} \stoptext
but I guess you’re looking for something like this (similar to the LaTeX font system):
I wouldn't dream of something similar to LaTeX... The font switches aren't that bad but as I have shown there is no need to have different commands for \XXX{....} and {\XXX ...}.
Wolfgang