From: "Peter Münster" <pmlists@free.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Hanging and Protrusion with Typescript
Date: Tue, 09 Apr 2013 23:54:25 +0200 [thread overview]
Message-ID: <878v4r4bfy.fsf@micropit.couberia.selfip.net> (raw)
In-Reply-To: <650B69B5-F0E5-48AA-8684-A8CCC9090E83@gmail.com> (Wolfgang Schuster's message of "Tue, 9 Apr 2013 23:20:44 +0200")
On Tue, Apr 09 2013, Wolfgang Schuster wrote:
> \starttypescript [serif] [nimbus]
> \definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]
> \definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]
> \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
> \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
> \stoptypescript
>
> \definefontfeature[default][default][protrusion=quality,expansion=quality]
>
> \definetypeface [nimbus] [rm] [serif] [nimbus] [features=default]
>
> \setupbodyfont[nimbus,rm,12pt]
>
> \setupalign[hz,hanging]
>
> \starttext
> \input tufte
> \stoptext
Or with the marvelous simplefonts module:
\usemodule[simplefonts]
\setmainfont[AGaramondPro][boldfont=AGaramondPro-Bold,
italicfont=AGaramondPro-Italic, bolditalicfont=AGaramondPro-BoldItalic,
protrusion=quality, expansion=quality]
\setupalign[hz, hanging]
\starttext
\input tufte
\stoptext
;)
--
Peter
___________________________________________________________________________________
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:[~2013-04-09 21:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-09 13:10 "H. Özoguz"
2013-04-09 19:21 ` Hans Hagen
2013-04-09 19:45 ` "H. Özoguz"
2013-04-09 21:20 ` Wolfgang Schuster
2013-04-09 21:54 ` Peter Münster [this message]
[not found] <mailman.329.1365547442.2084.ntg-context@ntg.nl>
2013-04-10 8:00 ` "H. Özoguz"
2013-04-10 8:06 ` Wolfgang Schuster
2013-04-10 8:07 ` "H. Özoguz"
2013-04-10 8:13 ` Wolfgang Schuster
[not found] <mailman.336.1365582553.2084.ntg-context@ntg.nl>
2013-04-10 8:46 ` "H. Özoguz"
2013-04-10 9:26 ` Wolfgang Schuster
[not found] <mailman.338.1365586023.2084.ntg-context@ntg.nl>
2013-04-10 9:56 ` "H. Özoguz"
2013-04-10 10:09 ` Wolfgang Schuster
2013-04-10 10:59 "H. Özoguz"
2013-04-10 21:00 ` Wolfgang Schuster
2013-04-10 21:35 ` 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=878v4r4bfy.fsf@micropit.couberia.selfip.net \
--to=pmlists@free.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).