# [NTG-context] How to not gobble space after a command

Hi all,

I'm working with a few custom macros to simplify typing a bit, like:

\def\VHDL{\small{VHDL}}

However, when I use this macro in text, like \VHDL this, it gobbles the space
after it. I've seen some references that say to solve this by writing \VHDL{}
instead, but that is of course very unpretty. I've tried to put all kinds of
stuff ({}, \mbox{}, \obeyedspace, etc.) inside the \VHDL macro, but it seems
the space is already gone there, so that didn't work. (Note that just putting
a space inside the macro won't work, for cases where I use \VHDL, like this)

It seems that latex has an xspace package that does some guesswork about
whether a space is required, but it looks mightily scary. Does ConTeXt provide
for any way to solve this problem in a nice way? Or is this just so
fundamental in TeX that there is no real solution?

Gr.

Matthijs


signature.asc
Description: Digital signature

___________________________________________________________________________________