On 2010-02-20, Bernd Schubert wrote:
> Bernd Schubert wrote:

>> I'm presently coping lots of tex equations into lyx and usually this works
>> great, but this one drives me nuts:

>> \begin{align*}
...
>> \end{align*}

>> As with the other formulas I just copies it into the
>> "numbered formula field", but this time it add an additional backslash,
>> so the correspondig tex output is

>> \begin{equation}
>> \backslash begin \{align*}...

>> So it didn't recognize the equations and escaped all keywords with
>> backslashes, hence even in compiled output the formula is displayed
>> as text...

>> Any ideas?

You are copying an align* environment into an equation environment (LyX
display-math box). This cannot work.

> Hmm well, I got it, by only pasting everything between 
> \begin{align*}... \end{align*}, and then by manually making a multiline 
> alighned formula out of it. 

> Still would be better, if it would recognize the formula on its own or at 
> least if it would not escape everything and simply keep the tex code.

You can paste the whole thing as text, mark it and convert to a
math-box with Ctrl-m. In this case, LyX will recognize the equation
type and "do the right thing" if it is supported.

Günter

Reply via email to