ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Microtype & ConTeXt question
@ 2005-03-13 16:19 Gerben Wierda
  2005-03-15  1:04 ` Adam Lindsay
  0 siblings, 1 reply; 2+ messages in thread
From: Gerben Wierda @ 2005-03-13 16:19 UTC (permalink / raw)


http://mail.rna.nl/~gerben/microtype.tiff contains an image of a margin 
of a piece of text I just have typeset with ConTeXt.

I was wondering about two things:

1. How does one set up the use of margi kerning in ConTeXt given that 
my ConTeXt (without me having selected it myself) uses Latin Modern?

I have tried adding

\usetypescript [serif,sans,mono] [hanging]  [thanh]

to my environment file.

2. If you look at the image (link above) you see that there is no 
margin kerning there. Also I was wondering if margin kerning would make 
not only the . protrude but also the slanted f protrude negatively.

G

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Microtype & ConTeXt question
  2005-03-13 16:19 Microtype & ConTeXt question Gerben Wierda
@ 2005-03-15  1:04 ` Adam Lindsay
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Lindsay @ 2005-03-15  1:04 UTC (permalink / raw)


Gerben Wierda said this at Sun, 13 Mar 2005 17:19:08 +0100:

>
>1. How does one set up the use of margi kerning in ConTeXt given that 
>my ConTeXt (without me having selected it myself) uses Latin Modern?

I only know a little bit about microtype (hanging/handling) in ConTeXt.
This is the code that I start from:

\usetypescript[serif]     [hanging] [normal] %see type-exa
\usetypescript[postscript][texnansi]
\setupalign   [hanging]
\setupbodyfont[postscript]

\setuplayout[width=5in]
\showframe
\starttext
\input tufte
\it\input tufte
\stoptext


(The reason why it's easier to do an example with Times rather than Latin
Modern is because the handling handler needs to insert the hanging code,
which is a little bit more involved with the pre-loaded, default font.)

>Also I was wondering if margin kerning would make 
>not only the . protrude but also the slanted f protrude negatively.

I'm not sure how the italic protrusion code works, but I think it is
capable of handling your 'f's in the way you want.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-15  1:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-13 16:19 Microtype & ConTeXt question Gerben Wierda
2005-03-15  1:04 ` Adam Lindsay

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).