From: Steffen Wolfrum <context@st.estfiles.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Taco Hoekwater <taco@elvenkind.com>
Subject: hz MkIV
Date: Fri, 3 Oct 2008 13:46:06 +0200 [thread overview]
Message-ID: <DAE8FC69-BFCF-4EA4-9CA4-72D060533618@st.estfiles.de> (raw)
Hi,
in MkIV hz is bound to the found (thus the speed increase).
Now, how do I assign different degrees of hz to different areas?
Say, moderate hz in the normal text and more drastic in controlled
situation, like this:
% main text:
\setupbodyfont[postscript,10pt]
\setupalign[block,hanging,hz]
% and in controlled situation:
\setupwhatever[align=hzXXL,style=...]
This doesn't work:
fonts.expansions.classes['NormalQuality'] = {
stretch = 1, shrink = 1, step = .5, vector = 'default', factor = 1
}
fonts.expansions.classes['DrasticQuality'] = {
stretch = 2, shrink = 2, step = .5, vector = 'default', factor = 1
}
\definefontfeature[hz][default]
[protrusion=pure,expansion=sstquality,mode=node,script=latn]
\definefontfeature[hzXXL][default]
[protrusion=pure,expansion=sstquality,mode=node,script=latn]
\usetypescript[postscript]
\definetypeface[postscript][rm][serif][times][default][features=hz]%
<- what to do with hzXXL ???
Steffen
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2008-10-03 11:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-03 11:46 Steffen Wolfrum [this message]
2008-10-03 11:53 ` Hans Hagen
2008-10-03 22:25 ` Hans Hagen
2008-10-05 20:23 ` Steffen Wolfrum
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=DAE8FC69-BFCF-4EA4-9CA4-72D060533618@st.estfiles.de \
--to=context@st.estfiles.de \
--cc=ntg-context@ntg.nl \
--cc=taco@elvenkind.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).