dr. Hans van der Meer
29. Juni 2016 um 10:05
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
Smallcaps changes only the layout of lowercase letters but some fonts let you also change uppercase letters.

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