[NTG-context] Margin Kerning Problem

Alan Bowen acbowen at princeton.edu
Sun Jul 23 17:39:59 CEST 2006


Colin—

Sorry: what I indicated would work for any font but  Latin/Computer  
Modern.

This works at my end.

\enableregime[mac]
\mainlanguage[en]

%%%%	  Margin Kerning and Font Expansion
\usetypescript[serif,sans,mono,mm][hanging][normal]
\setupalign[hz,hanging]
\setupfootnotes[align={hz,hanging}]

%%%%	  Default Encoding
\setupencoding[default=texnansi]

% install Latin Modern
% install margin kerning before the font is loaded: since Latin is
% loaded before font definitions, load it again

\starttypescript[serif][default][size]
   \definebodyfont[9.5pt,10.5pt][rm][default]
   \definebodyfont[9.5pt,10.5pt][mm][default]
\stoptypescript

On Jul 23, 2006, at 10:43 AM, Helin Gai wrote:

> Hi Alan,
>
> Thanks for the reply. But it doesn't seem to work either.
>
> Colin
>
> On Jul 23, 2006, at 10:40 PM, Alan Bowen wrote:
>
>> Colin—
>>
>> I think \setupalign has to come before \setupbodyfont is defined. Try
>>
>> \setupalign[hz,hanging]
>>
>> \usetypescript[cmr]
>>
>> \setupfontsynonym[cmr10][handling=hz]
>>
>> \setupfontsynonym[Serif][handling=hz]
>>
>> \setupbodyfont[cmr,10pt]
>>
>> Alan
>>
>>
>> On Jul 23, 2006, at 9:54 AM, Helin Gai wrote:
>>
>>> Hi,
>>>
>>> I used the following code to set up margin kerning:
>>>
>>> \setupfontsynonym[cmr10][handling=hz]
>>> \setupfontsynonym[Serif][handling=hz]
>>> \usetypescript[cmr]
>>> \setupbodyfont[cmr,10pt]
>>> \setupalign[hz,hanging]
>>>
>>> Can someone please tell me what is going wrong?
>>> Thanks!!
>>>
>>> Colin
>>> _______________________________________________
>>> ntg-context mailing list
>>> ntg-context at ntg.nl
>>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context at ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context



More information about the ntg-context mailing list