Am 30.06.2011 um 18:21 schrieb John Culleton:

> Understood. I also found a chapter on fonts which I presume will go in a 
> manual yet to be written. In that chapter I found a \definefont command which 
> should allow me to emulate my previous use of the \font commmand. 
> In my work I frequently adjust font sizes by tiny increments to help fit text 
> better on a specific page etc. And customers sometimes want a specific 
> decorative font at a specific size. And the \font command is very direct. For 
> this reason in both LaTeX and Context I tend to revert to the primitive.

This is no reason why you have to use \definefont for each font you want to 
use, write a separate typeface for for each of them and switch to it, you can 
also select the size with this method. There are also many ways to influence 
how the lines are broken, see below for a few examples.

\definenarrower
  [adjustmargin]
  [  left=0.1mm,
   middle=0.1mm,
    right=0.1mm]

\definefontfeature[default][default][expansion=yes]

\setupbodyfont[palatino,10bp]

\starttext \showframe

\input zapf

\startadjustmargin[10*right]
\input zapf
\stopadjustmargin

\start \setuptolerance[verytolerant,stretch]
\input zapf
\stop

\start \kerncharacters[0.01]
\input zapf
\stop

\start \setupalign[hz]
\input zapf
\stop

\start \switchtobodyfont[9.8bp]
\input zapf
\stop

\stoptext

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to