[NTG-context] smallcaps

Meer, Hans van der H.vanderMeer at uva.nl
Wed Jun 29 11:26:24 CEST 2016


Thanks.

For those who are curious as to how I became confused about the uppercase-lowercase for smallcaps: look at session "803 Typography and Fonts" in Apple's WWDC2016 conference, just after 23 minutes and you will understand.

Hans van der Meer




On 29 Jun 2016, at 11:00, Wolfgang Schuster <schuster.wolfgang at gmail.com<mailto:schuster.wolfgang at gmail.com>> wrote:

dr. Hans van der Meer<mailto:havdmeer at ziggo.nl>

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context at ntg.nl<mailto:ntg-context at 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
___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160629/30a91104/attachment-0001.html>


More information about the ntg-context mailing list