Re: Is there an AMS report class for LyX?

2008-03-24 Thread rgheck
Geevarghese Philip wrote: This is fixed now. See the layout file attached. The fix was to add: Preamble \usepackage{amsthm} EndPreamble to the layout file. Yes, sorry. That's elsewhere in the ams class files. Put that in the theorem environment and

Re: Is there an AMS report class for LyX?

2008-03-23 Thread Geevarghese Philip
This is fixed now. See the layout file attached. The fix was to add: Preamble \usepackage{amsthm} EndPreamble to the layout file. Yes, sorry. That's elsewhere in the ams class files. Put that in the theorem environment and it will be picked up elsew

Re: Is there an AMS report class for LyX?

2008-03-23 Thread Geevarghese Philip
rgheck wrote: This results in an output file where the theorems etc have the section numbers in their numbering. Eg: Theorem 1.2.1 . I would like to have the theorems etc numbered sequentially,eg:- Theorem 5. I tried replacing "Input amsmaths.inc" with "Input amsmaths-seq.inc", but that res

Re: Is there an AMS report class for LyX?

2008-03-23 Thread rgheck
Geevarghese Philip wrote: Geevarghese Philip wrote: but there is something wrong with the layout: LyX has no problem processing (using Ctrl-D) the attached file nodef.lyx , in which a Definition is included using tex code. But it gives the error "Undefined control sequence." This is fixed n

Re: Is there an AMS report class for LyX?

2008-03-23 Thread Geevarghese Philip
Geevarghese Philip wrote: but there is something wrong with the layout: LyX has no problem processing (using Ctrl-D) the attached file nodef.lyx , in which a Definition is included using tex code. But it gives the error "Undefined control sequence." This is fixed now. See the layout file att

Re: Is there an AMS report class for LyX?

2008-03-23 Thread Geevarghese Philip
rgheck wrote: Geevarghese Philip wrote: Hi, Is there a report class available for LyX that is an analogue of the article(ams) class that is present in LyX? I am writing a report and couldn't find a LyX report class with the AMS environments (Algorithm, Theorem, Lemma, Corollary, ...) built

Re: Is there an AMS report class for LyX?

2008-03-23 Thread rgheck
Geevarghese Philip wrote: Hi, Is there a report class available for LyX that is an analogue of the article(ams) class that is present in LyX? I am writing a report and couldn't find a LyX report class with the AMS environments (Algorithm, Theorem, Lemma, Corollary, ...) built into it. No

Is there an AMS report class for LyX?

2008-03-23 Thread Geevarghese Philip
Hi, Is there a report class available for LyX that is an analogue of the article(ams) class that is present in LyX? I am writing a report and couldn't find a LyX report class with the AMS environments (Algorithm, Theorem, Lemma, Corollary, ...) built into it. Thanks, Philip