Alan BRASLAU <mailto:alan.bras...@cea.fr>
13. Februar 2016 um 11:30
On Sat, 13 Feb 2016 10:53:22 +0100
Wolfgang Schuster<schuster.wolfg...@gmail.com> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________