2 Apr
2007
2 Apr
'07
8:17 a.m.
2007/4/1, 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?
It did not fail, you forget only the braces. \def\comm {\groupedcommand{\hspace[medium]\tt}{\hspace[medium]}} To get more control over the spacing define your own \hspace: \definehspace[commspace][medium] \def\comm {\groupedcommand{\hspace[commspace]\tt}{\hspace[commspace]}} Wolfgang
(I had another version
\def\comm#1{\hspace[medium]{\tt#1}\hspace[medium]}
it worked.)
Vystcheslav