Greetings to all:

First, many thanks for a wonderful program which I use
daily. I rarely encounter any problems with it, but here is
a small one.

When entering a multi-line equation, and the beginning of
the second (or following) line begins with a "[" character,
LaTeX sometimes gets confused. For example

x(t) <tab> = <tab> 1
[x(t)+1] <tab> = <tab> 2

Check the postscript output and LaTeX log file to see that
garbage is produced. 

LaTeX is seeing the "\\" at the end of the first line, and
then the "[", and it thinks that an optional line-spacing
argument is being given to it: for example, "\\[4pt]" would
increase the line spacing by 4pt. 

A work-around inside of the current LyX is to type "{}"
before the "[" (in TeX mode, so it is invisible on the
output). A more elegant bug fix for LyX would be to output
"\\{}" at the end of every eqnarray line instead of "\\"

Best regards,

Gregory Plett

Reply via email to