\usepackage{xspace}

See:
https://tex.stackexchange.com/questions/180686/acceptable-use-cases-for-xspace-when-will-it-fail
for a discussion.

On Wed, Apr 20, 2016 at 10:25 AM, <bugs@gnu.support> wrote:

> Hello,
>
> There is long standing bug in LyX that I managed to handle on my
> side. That is when I insert TeX code with Control-L and anything
> thereafter, even though there is a space, is not spaced.
>
> It looks something like:
> \mycommand = One two three
>
> And I insert into the LyX document:
>
> [\mycommand] four five
>
> and the result is:
>
> one two threefour five
>
> To cope with it, I have put space with Control-Space. But I should not
> because there is always space after it.
>
> By the way, the trac bug system did not accept my email address, that is
> obvious mistake in programming of trac.
>
> Jean Louis
>

Reply via email to