From: Alan BRASLAU <alan.braslau@cea.fr>
To: Wolfgang Schuster <schuster.wolfgang@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: font switches: bold, slanted, etc.
Date: Sat, 13 Feb 2016 08:55:02 -0700 [thread overview]
Message-ID: <20160213085502.1421bb9f@cea.fr> (raw)
In-Reply-To: <56BF09D8.7000007@gmail.com>
On Sat, 13 Feb 2016 11:47:52 +0100
Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
> > Alan BRASLAU <mailto:alan.braslau@cea.fr>
> > 13. Februar 2016 um 11:30
> >
> > I wonder, though, is there anything similar to boldsmallcapitals?
> > Does this even exist in any fonts?
> It depends on the font, with Latin Modern this isn’t possible because
> it uses
> a separate font for smallcaps but with TeX Gyre you can do this:
>
> \setupbodyfont[pagella]
>
> \starttext
>
> Text {\feature[+][smallcaps]Text} {\bf Text
> \feature[+][smallcaps]Text}
>
> Text {\feature[+][smallcaps]Text \bf Text}
>
> \stoptext
Thank you.
This is nice, as TeX Gyre is a very good base for most use (unless one
specifically needs/wants a different font). So I wonder if \smallcaps
could be easily made to use this \feature automagically if it exists in
the font? Maybe it does this already:
\setupbodyfont[pagella]
\starttext
Text {\bf Text \feature[+][smallcaps]Text}
Text {\bf Text \smallcaps Text}
\stoptext
Alan
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2016-02-13 15:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-12 23:23 Alan BRASLAU
2016-02-13 1:14 ` Pablo Rodriguez
2016-02-13 10:02 ` Alan BRASLAU
2016-02-13 10:20 ` Pablo Rodriguez
2016-02-13 9:53 ` Wolfgang Schuster
2016-02-13 10:30 ` Alan BRASLAU
2016-02-13 10:47 ` Wolfgang Schuster
2016-02-13 15:55 ` Alan BRASLAU [this message]
2016-02-13 17:11 ` Wolfgang Schuster
2016-02-13 11:42 ` Hans Hagen
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=20160213085502.1421bb9f@cea.fr \
--to=alan.braslau@cea.fr \
--cc=ntg-context@ntg.nl \
--cc=schuster.wolfgang@gmail.com \
/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).