From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: Alan BRASLAU <alan.braslau@cea.fr>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: font switches: bold, slanted, etc.
Date: Sat, 13 Feb 2016 11:47:52 +0100 [thread overview]
Message-ID: <56BF09D8.7000007@gmail.com> (raw)
In-Reply-To: <20160213033051.1b90b50b@cea.fr>
[-- Attachment #1.1: Type: text/plain, Size: 1140 bytes --]
> Alan BRASLAU <mailto:alan.braslau@cea.fr>
> 13. Februar 2016 um 11:30
> On Sat, 13 Feb 2016 10:53:22 +0100
> Wolfgang Schuster<schuster.wolfgang@gmail.com> wrote:
>
>> There are a few font switches which change the style dependant on the
>> current style
>
> Thanks for this table; I wikified it (under Font Switches, of course).
> It mysteriously introduces \typeface, \swapface and \boldface.
>
> 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
>> but I guess you’re looking for something like this (similar to the
>> LaTeX font system):
>
> I wouldn't dream of something similar to LaTeX...
The font switches aren't that bad but as I have shown there is no need
to have different commands for \XXX{....} and {\XXX ...}.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2644 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
___________________________________________________________________________________
next prev parent reply other threads:[~2016-02-13 10:47 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 [this message]
2016-02-13 15:55 ` Alan BRASLAU
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=56BF09D8.7000007@gmail.com \
--to=schuster.wolfgang@gmail.com \
--cc=alan.braslau@cea.fr \
--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).