[NTG-context] anaemic spacing around in-line typed text

Taco Hoekwater taco at elvenkind.com
Tue Mar 27 11:49:57 CEST 2007



Vyatcheslav Yatskovsky wrote:
> The following look ugly because of anaemic spacing before and after typed text.
> 
> \starttext
> The {\tt rand} function generates pseudo-random numbers.
> \stoptext
> 
> How to fix it?

If you want the spaces larger than normal interword spaces,
you could consider tagging your calls using a special macro
to do the typesetting.  Perhaps like this:

\def\function#1{ #1 }
\starttext
The \function{rand} function generates pseudo-random numbers.
\stoptext


More information about the ntg-context mailing list