On 1/16/06, Herbert Voss <[EMAIL PROTECTED]> wrote:
> LyX isn't made for TeX code, this is the reason why you
> shouldn't mix ERT and LyX text. Write the
> \fbox{\makebox[\widthof{Exercise 23}][l]{Exercise 1}}
> _only_ in ERT. At least you need a %
>
> \fbox{\makebox[\widthof{Exercise 23}][l]{%
> Exercise 1 }}
>
> but then LyX inserts a newline between % and Exercise, which has
> the meaning of a space. A ctrl-space may help. However, as I
> said, make it all in ERT.

Thanks, Herbert. It works now with the whole command inside ERT.

Paul

Reply via email to