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 into it.No, there's nothing like this at the moment. But the attached will do.
Thanks, 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." with the detail
" \theoremstyle {plain} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined."for the file withdef.lyx, in which I used LyX's Definition Layout for including a Definition.
-- Philip
nodef.lyx
Description: application/lyx
withdef.lyx
Description: application/lyx