20 Nov
2009
20 Nov
'09
10:31 a.m.
luigi scarso wrote:
On Fri, Nov 20, 2009 at 11:23 AM, Matthijs Kooijman
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)
\autoinsertnextspace is the context version of \xspace (could be mkii only)