You mean I don't need to insert a mbox and that inserting textrm
directly would be suffisant ?
--Nabil
Jean-Pierre.Chretien writes:
>
> >>From: Nabil Hathout <[EMAIL PROTECTED]>
> >>Date: Wed, 29 Sep 1999 17:20:58 +0200 (CEST)
> >>To: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
> >>Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], LyX Users
><[EMAIL PROTECTED]>
> >>Subject: Re: Bug? Reading math mode formulas
> >>
> >>I inserted a math display box, then "\mbox" then "{" (LyX inserted the closing
> >>"}"), then "\textrm" then "{" (automatic insertion of "}") then I
> >>typed some characters. I saved the file and spaces where inserted
> >>between \textrm and the accolade. This extra space makes LyX unable
> >>to read properly the formula.
>
> Use of \mbox in math mode, which is often used in plain LateX, should be
> IMHO avoided in LyX because mathed does not
> change from math to text mode and back as LaTeX does.
> In the given example, the roman text sould be typed in in the so called
> � math text mode �
> Using a \newcommand offers a workaround when \mbox is really needed, as
> it has been pointed out recently.
>
> Regards
>
> --
> Jean-Pierre
>
>
>