1 Apr
2007
1 Apr
'07
3:22 p.m.
On Sun, 1 Apr 2007 15:40:50 +0300
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
There is a better way to define such a command in ConTeXt. \def\comm {\groupedcommand\tt\thinspace} \starttext The \comm{rand} function generates pseudo-random numbers. The {\comm rand} function generates pseudo-random numbers. \stoptext Wolfgang