Hi there, I was trying to setup an equation in lyx with cases but seems to
have a problem


Basically I wanted to use plain text on the right-hand side so I hit Ctrl+M
on the right-hand side to get back into plain text mode (I think this is
how you normally do it?). If I copy and paste the math expression from lyx
directly into this email it looks like the latex gets copied, so it looks
like this




M_{i,j}=\begin{cases}
E_{i,j} & \text{if blah}\end{cases}


If I try to compile this into pdf I get the error "Misplaced alignment tab
character &" with description

E_{i,j} &

\text{if blah}\end{cases}

I can't figure out why you would want to use a tab mark

here. If you just want an ampersand, the remedy is

simple: Just type `I\&' now. But if some right brace

up above has ended a previous alignment prematurely,

you're probably due for more error messages, and you

might try typing `S' now just to see what is salvageable.



Thanks


-Colin

Reply via email to