ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: smallcaps
Date: Wed, 29 Jun 2016 11:00:19 +0200	[thread overview]
Message-ID: <57738E23.9080908@gmail.com> (raw)
In-Reply-To: <77161DD2-3975-4170-A7AF-1E10E1C265F7@ziggo.nl>


[-- Attachment #1.1: Type: text/plain, Size: 1242 bytes --]

> dr. Hans van der Meer <mailto:havdmeer@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

[-- Attachment #1.2: Type: text/html, Size: 2325 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2016-06-29  9:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29  8:05 smallcaps dr. Hans van der Meer
2016-06-29  8:29 ` smallcaps Mikael P. Sundqvist
2016-06-29  9:00 ` Wolfgang Schuster [this message]
2016-06-29  9:26   ` smallcaps Meer, Hans van der
2016-06-29 11:09     ` smallcaps Wolfgang Schuster
2016-06-29 10:39 ` smallcaps dr. Hans van der Meer
2016-06-29 10:55   ` smallcaps Wolfgang Schuster
2016-06-29 11:00 ` smallcaps Alan Bowen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57738E23.9080908@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).