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

2007-04-02 Thread Wolfgang Schuster
2007/4/1, Vyatcheslav Yatskovsky [EMAIL PROTECTED]: Hello Wolfgang, Thanks. \def\comm{\thinspace\groupedcommand\tt\thinspace} works quite well. From a newbie standpoint, I wonder why replacing \thinspace with \hspace[medium] fails? It did not fail, you forget only the braces.

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

2007-04-01 Thread Vyatcheslav Yatskovsky
Hello Taco, Thanks, I came up with the following \def\comm#1{{\tt#1}\,} \starttext The \comm{rand} function generates pseudo-random numbers. \stoptext I quite satisfied with it, but maybe there is better way to typeset programming keywords? Best regards, Vyatcheslav Yatskovsky The

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

2007-04-01 Thread Wolfgang Schuster
On Sun, 1 Apr 2007 15:40:50 +0300 Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello Taco, Thanks, I came up with the following \def\comm#1{{\tt#1}\,} \starttext The \comm{rand} function generates pseudo-random numbers. \stoptext I quite satisfied with it, but maybe there is

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

2007-04-01 Thread Vyatcheslav Yatskovsky
Hello Wolfgang, Thanks. \def\comm{\thinspace\groupedcommand\tt\thinspace} works quite well. From a newbie standpoint, I wonder why replacing \thinspace with \hspace[medium] fails? (I had another version \def\comm#1{\hspace[medium]{\tt#1}\hspace[medium]} it worked.) Vystcheslav On Sun,

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

2007-03-27 Thread Taco Hoekwater
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

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

2007-03-26 Thread Vyatcheslav Yatskovsky
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? Best, Vyatcheslav___ ntg-context mailing list ntg-context@ntg.nl