Re: Very confused About the error "Misplaced alignment tab character"

2011-08-16 Thread Richard Heck
On 08/16/2011 03:58 PM, sabahmed wrote: > I am facing the same problem. I am not following IEEE format but i have to > deal with same type of equation > \left\{\begin{matrix} > true &...& embed\\ > false &...&skip \\ > \end{matrix}\right. > i get 2 errors > 1)$ missing > 2) & misplaced alignment t

Re: Very confused About the error "Misplaced alignment tab character"

2011-08-16 Thread sabahmed
ge in context: http://lyx.475766.n2.nabble.com/Very-confused-About-the-error-Misplaced-alignment-tab-character-tp480642p6692644.html Sent from the LyX - Users mailing list archive at Nabble.com.

Re: Very confused About the error "Misplaced alignment tab character"

2008-05-13 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > woodvorg wrote: >> Can't seem to find anything like that in the layout file. > > But you have > Input amsdefs.inc > in there which itself has > Provides amsmath 1 > > This is because the ams classes, for which amsdefs.inc is writ

Re: Very confused About the error "Misplaced alignment tab character"

2008-05-12 Thread Jürgen Spitzmüller
woodvorg wrote: > Can't seem to find anything like that in the layout file. But you have Input amsdefs.inc in there which itself has Provides amsmath 1 This is because the ams classes, for which amsdefs.inc is written, load amsmath by themselves, and therefore LyX must no

Re: Very confused About the error "Misplaced alignment tab character"

2008-05-12 Thread woodvorg
Can't seem to find anything like that in the layout file. The layout was originally based on amsbook class, I modified it slightly to work with report class, perhaps that could have something to do with it. http://www.nabble.com/file/p17187814/unswthesis.layout unswthesis.layout -- View this m

Re: Very confused About the error "Misplaced alignment tab character"

2008-05-12 Thread Jürgen Spitzmüller
woodvorg wrote: > Thanks for the quick reply! In the process of making an example file... I > discovered that if I manually add \usepackage{amsmath} to the latex > preamble, it works. So for some reason my layout is ignoring the "use AMS > math" options. This is strange. Do you have a modified *.l

Re: Very confused About the error "Misplaced alignment tab character"

2008-05-12 Thread woodvorg
Jürgen Spitzmüller-2 wrote: > > Could you provide an example file? If I insert your example cases > construct > into the IEEEtran template, I get the error you describe (which actually > shouldn't happen). However, if I switch on "use AMS math automatically" in > Document->Settings->Math-Opti

Re: Very confused About the error "Misplaced alignment tab character"

2008-05-12 Thread Jürgen Spitzmüller
woodvorg wrote: > Hi, I already had "Use AMS math package" checked, yet I still get the > error. I'm using a layout which is based on report document class. Any > ideas? Could you provide an example file? If I insert your example cases construct into the IEEEtran template, I get the error you des

Re: Very confused About the error "Misplaced alignment tab character"

2008-05-12 Thread woodvorg
Paul A. Rubin wrote: > Using the IEEETran template, you need to go to Document -> Settings... > -> Math Options and check either "Use AMS math package" or "Use AMS math > package automatically". Hi, I already had "Use AMS math package" checked, yet I still get the error. I'm using a layout whic

Re: Very confused About the error "Misplaced alignment tab character"

2008-04-27 Thread Whitman
Paul A. Rubin wrote: > > Whitman wrote: >> I just begun to use lyx for days and when i was trying to input a math >> equation like this(base on the IEEtrans template), >> >> --- >> >> $f(x)=\begin{cases} >> 1 & x>0\\ >> 0 & x<0\end{cases}$ >> >> ---

Re: Very confused About the error "Misplaced alignment tab character"

2008-04-26 Thread Paul A. Rubin
Whitman wrote: I just begun to use lyx for days and when i was trying to input a math equation like this(base on the IEEtrans template), --- $f(x)=\begin{cases} 1 & x>0\\ 0 & x<0\end{cases}$ it suppos

Very confused About the error "Misplaced alignment tab character"

2008-04-26 Thread Whitman
I just begun to use lyx for days and when i was trying to input a math equation like this(base on the IEEtrans template), --- $f(x)=\begin{cases} 1 & x>0\\ 0 & x<0\end{cases}$ it supposed to looked lik