On Fri, Nov 20, 2009 at 11:23 AM, Matthijs Kooijman <matth...@stdin.nl> wrote:
> 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?

I don't know the answer.

But I remember that a similar question time ago
trigged to me to know more about \futurelet
and I consider it a real gain for my own personal macro.

Maybe can be the same for you.

-- 
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to