From: Christian <metan0r@gmx.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Typescript troubles with semibold font.
Date: Wed, 9 Feb 2011 12:38:25 +0100 [thread overview]
Message-ID: <201102091238.25972.metan0r@gmx.de> (raw)
In-Reply-To: <4D5275F4.7010208@elvenkind.com>
Thank you very much Taco and Florian.
After a quick test it seems to work. Now I have something to fiddle around
with.
Cheers
Christian
Am Mittwoch, 9. Februar 2011, um 12:09:40 schrieb Taco Hoekwater:
> On 02/09/11 11:35, Christian wrote:
> > Hi all,
> >
> > my goal is to use Minion Pro as text face and Myriad Pro as sans serif in
> > headings etc. I use TeXlive, ConTeXt 2009.11.26 16:28, MKiV.
>
> Based on ideas from the forthcoming book "context mkiv -- Fonts":
>
> % note: I have deleted all lines except the relevant ones for defining
> % the semi bold alternatives
>
> \definefontalternative [sb]
> \definefontalternative [si]
>
> \definebodyfont [default] [ss]
> [sb=SansSemiBold sa 1,
> si=SansSemiBoldItalic sa 1]
>
> \starttypescript [sans] [myriadpro]
> \definefontsynonym [MyriadPro-SemiBold] [name:myriadprosemibold]
> \definefontsynonym [MyriadPro-SemiBoldIt][name:myriadprosemiboldit]
> \stoptypescript
>
> \starttypescript [sans] [myriadpro]
> \definefontsynonym [SansSemiBold] [MyriadPro-SemiBold]
> [features=default]
> \definefontsynonym [SansSemiBoldItalic] [MyriadPro-SemiBoldIt]
> [features=default]
> \stoptypescript
>
> \starttypescript [myriadpro]
> \definetypeface [myriadpro] [ss] [sans] [myriadpro] [default]
> \stoptypescript
>
> \usetypescript[myriadpro]
>
> \starttext
>
> \switchtobodyfont[myriadpro,ss]
>
> \sb Hello
> \si Italic
>
> \stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2011-02-09 11:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-09 10:35 Christian
2011-02-09 11:09 ` Taco Hoekwater
2011-02-09 11:38 ` Christian [this message]
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=201102091238.25972.metan0r@gmx.de \
--to=metan0r@gmx.de \
--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).