On Mon, Apr 09, 2001 at 07:07:58PM +0200, Juan Ramon Rico wrote:
> I read the doc about package {algorithm} but if I work in lyx don't
> recognize commands like \STATE, \COMMENT, \IF, etc.
         
> There is another package called {algoritmic}, Do I need it to work in
> Lyx?

To use the \STATE, \IF etc. commands, you need to put \usepackage{algorithmic}
in the preamble.

Another option (as mentioned by Herbert) is to use the layout file in
http://www.educat.hu-berlin.de/~voss/lyx/algorithm/algo-0.3.tar.gz

Reply via email to