ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <acbowen@princeton.edu>
Subject: Re: some small questions
Date: Sat, 07 Jan 2006 10:30:52 -0500	[thread overview]
Message-ID: <02E59A3F-2A39-4304-B22E-FE9728EBC125@princeton.edu> (raw)
In-Reply-To: <Pine.LNX.4.58.0601071508390.12385@gaston.free.fr>


[-- Attachment #1.1: Type: text/plain, Size: 1723 bytes --]

Peter—

You must put
	\usetypescript[serif,sans,mono,mm][hanging][normal]
	\setupalign[hz,hanging]
before you define the font. In your example, these commands are  
coming after the default is identified. This means that if you want  
to get margin kerning and so forth with Latin Modern, you must  
actually re-specify Latin Modern.

In your preamble, try

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

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

\usetypescript [all] [latin-modern] [texnansi]
\setupbodyfont[reset]
\definebodyfont [10.5pt,9.5pt] [rm,ss,tt,mm] [default]
\setupbodyfont[lm,10.5pt]


This works for me. I hope it does for you too.

Cheers, Alan



On Jan 7, 2006, at 9:10 AM, Peter Münster wrote:

> On Sat, 7 Jan 2006, Alan Bowen wrote:
>
>> On your second question, I use
>> 	\usetypescript[serif,sans,mono,mm][hanging][normal]
>> 	\setupalign[hz,hanging]
>> and place this in the preamble before the particular fonts are
>> introduced/defined,
>
> Could you please send a minimal example?
> I tried
>
> \starttext
> \input tufte
> \stoptext
>
> and
>
> \usetypescript[serif,sans,mono,mm][hanging][normal]
> \setupalign[hz,hanging]
> \starttext
> \input tufte
> \stoptext
>
> But I see no difference...
> Cheers, Peter
>
> -- 
> http://pmrb.free.fr/contact/
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context


[-- Attachment #1.2: Type: text/html, Size: 6345 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-01-07 15:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-07 13:05 Peter Münster
2006-01-07 13:52 ` Alan Bowen
2006-01-07 14:10   ` Peter Münster
2006-01-07 15:30     ` Alan Bowen [this message]
2006-01-07 19:11       ` Peter Münster
2006-01-07 19:43         ` Peter Münster
     [not found] ` <6faad9f00601070531o5660fe3bgc378d090ae1dcaf7@mail.gmail.com>
2006-01-08  8:01   ` Peter Münster
2006-01-08  8:18     ` Peter Münster
2006-01-09 10:59       ` Mojca Miklavec
2006-01-14 17:29         ` Peter Münster

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=02E59A3F-2A39-4304-B22E-FE9728EBC125@princeton.edu \
    --to=acbowen@princeton.edu \
    --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).