Am 17.11.2013 um 11:04 schrieb honyk <j.tosov...@email.cz>:

> Dear All,
> 
> in my document I combine both regular and bold small caps. As there is no
> predefined alternative for bold small caps variant, moreover, combining bold
> style and small caps has no effect, I've had to override an unused one:
> 
> \definefontsynonym[SerifCaps][file:pala.ttf][features=small-caps]
> \definefontsynonym[SerifBoldSlanted][file:palab.ttf][features=small-caps] %
> bold caps
> 
> Now I can switch styles using \sc and \bs.
> 
> It would be nice to have a dedicated alternative for this. Or am I missing
> something?

When you use a opentype font you can enable the small caps feature with the 
\feature
command, there is no need for an additional font synonym.

\setupbodyfont[pagella]

\starttext

Text {\feature[+][f:smallcaps]Text} {\bf Text {\feature[+][f:smallcaps]Text}}

Text \smallcaps{Text} \bold{Text \smallcaps{Text}}

\stoptext

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
___________________________________________________________________________________

Reply via email to