2. Type it in like this:
Text1
Menu insert->Tex-Code
%
right arrow
ctrl+enter
Text2

On the screen you get
Text1ERT%
Text2

Basically, you have a forced linebreak that is commented out so latex
don't see it. LyX still display it, because LyX don't try to understand what
you put inside an ERT box. In this case, a comment character
that invalidates the rest of that line.  And the rest of the line
is the linebreak character. :-)

Helge Hafting


Excellent trick! That's what I needed.

Tusen takk Helge! :-)


Cheers,
Nicolás

Reply via email to