From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93701 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: font switches: bold, slanted, etc. Date: Sat, 13 Feb 2016 11:47:52 +0100 Message-ID: <56BF09D8.7000007@gmail.com> References: <20160212162306.42e612a9@cea.fr> <56BEFD12.5040700@gmail.com> <20160213033051.1b90b50b@cea.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1704137361993958516==" X-Trace: ger.gmane.org 1455360524 27652 80.91.229.3 (13 Feb 2016 10:48:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Feb 2016 10:48:44 +0000 (UTC) Cc: mailing list for ConTeXt users To: Alan BRASLAU Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 13 11:48:33 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aUXke-0004Zk-RF for gctc-ntg-context-518@m.gmane.org; Sat, 13 Feb 2016 11:48:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D6A15686A; Sat, 13 Feb 2016 11:48:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wT7A6IWMlhHB; Sat, 13 Feb 2016 11:48:11 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id D585A68D9; Sat, 13 Feb 2016 11:48:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A5DB46865 for ; Sat, 13 Feb 2016 11:48:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D7mTJpjqXM9V for ; Sat, 13 Feb 2016 11:48:10 +0100 (CET) Original-Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3147F66C6 for ; Sat, 13 Feb 2016 11:48:00 +0100 (CET) Original-Received: by mail-wm0-f48.google.com with SMTP id c200so52439287wme.0 for ; Sat, 13 Feb 2016 02:48:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=PJOAZ6CvtKL9oyttrf5xgnm4QkgNttuOh9m13by4xG4=; b=ICDczI1qX3rYzBkN8AwRC4lGFPtjZkLxC/9b7ZNAZCKNko2QrejndDEjnskcz7F4St QMQ20lzUZ9ZUSGkJqO0QLoQqDBDDu/pwvHcwdDxmAdlMXJ8bEFzm8jmWG2VTNDQpWkXY vSaWtaMm4larqhi5LRndGbXavyz9mmzR9ed2BJqacd6QsIGLymJx5hwJqgouRYbPxJdR NTSC3nKIN2EqcAc09SooJ3g0hjcIQD1evuULRpTe/81JgkE7Wq6l1uudhpK/dCodqoCn Nmr2SOnwDlB8qqS1VbErDQnxh3FRwS4yCPVl6eUtJCd8n10o+KVtmBGX+vJ+EOK9lXmm +HxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=PJOAZ6CvtKL9oyttrf5xgnm4QkgNttuOh9m13by4xG4=; b=Xg/FFuEwj0OU8d7dJQUAVl4UX6zjmvexnnZxaRjFBYSSJNwJAAzW5EwliCVqrq5XLI FHUilYKr6f/ENCER7EWEkjcpxnHw5rQJS+MBSYoB6WLzXLTVS5ms0guWgkXRIBo3eZT8 m0NncUEpkaKUi8NXYBkM53ytZBrWwm1VlrPKQvhdBvuKMC31lWQYKVhd/ECOFlP+Ik8x l/nM3bvtXcq+VtC7FD5hTqKyt/2np4AopHg1IRR04Kpd5y0XqvImte+keAAlFaafOv5U Hgqi9Si/1HPcPXMq3nDiABmnI7KvipxTy0a/L2cpjVQrYv+vF3znnrxMeAuo/O/iGCEm 90hw== X-Gm-Message-State: AG10YORqqx98w1LsRnZeaGws6z+HrHHLw/seN1gYhbGMBY6Rjkv7cOzFk2ba+tUaV/iuhw== X-Received: by 10.28.128.138 with SMTP id b132mr2722609wmd.26.1455360479895; Sat, 13 Feb 2016 02:47:59 -0800 (PST) Original-Received: from keima.localdomain (x2f2ed47.dyn.telefonica.de. [2.242.237.71]) by smtp.gmail.com with ESMTPSA id lc3sm15960049wjb.7.2016.02.13.02.47.56 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 13 Feb 2016 02:47:59 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <20160213033051.1b90b50b@cea.fr> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:93701 Archived-At: This is a multi-part message in MIME format. --===============1704137361993958516== Content-Type: multipart/alternative; boundary="------------080604040908050208080800" This is a multi-part message in MIME format. --------------080604040908050208080800 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Alan BRASLAU > 13. Februar 2016 um 11:30 > On Sat, 13 Feb 2016 10:53:22 +0100 > Wolfgang Schuster 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=E2=80=99t possible bec= ause it=20 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=E2=80=99re 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 --------------080604040908050208080800 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
13= .=20 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 switc=
hes 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=E2=80=99t possible bec= ause 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=E2=80=99re 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
--------------080604040908050208080800-- --===============1704137361993958516== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1704137361993958516==--