On 29 Jun 2016, at 11:00, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
Smallcaps changes only the layout of lowercase letters but some fonts let you also change uppercase letters.I do not understand the behaviour of the \sc macro. I thought smallcaps would turn out to be smaller than capitals. But I see no difference between them except a subtle difference in letterspacing. Am I doing something wrong here?
Hans van der Meer
Minimal example and output:
\setuppapersize[A5][A5]
\starttext
\setupbodyfont[lmodern]
lmodern: uppercase <ABC-{\sc ABC}> smallcaps\blank
\setupbodyfont[cambria]
cambria: uppercase <ABC-{\sc ABC}> smallcaps\blank
\LuaTeX-version=0.\the\luatexversion\crlf
\ConTeXt-version=\contextversion\crlf
\stoptext
In the example below you can see how you can change uppercase and lowercase letter with the smcp and c2sc features.
\definefontfeature[f:smcp][smcp=yes]
\definefontfeature[f:c2sc][c2sc=yes]
\setupbodyfont[pagella]
\starttext
An easy and breezy Sunday morning.
{\feature[+][f:smcp]An easy and breezy Sunday morning.}
{\feature[+][f:c2sc]An easy and breezy Sunday morning.}
{\feature[+][f:c2sc,f:smcp]An easy and breezy Sunday morning.}
\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
___________________________________________________________________________________