Bo Peng wrote:

> On 7/10/07, Neal Becker
> <[EMAIL PROTECTED]> wrote:
>> What do you like for documenting an algorithm?
>>
>> I'm thinking of something like an itemize environment (displaying
>> structure via indentation), but without bullets.
> 
> verbatim or lyx-code environment, or preferably the newly introduced
> listings. You can have syntax highlighting, line number etc for your
> program listings.
> 
> Bo

Cool.

Looking at listings.dvi (the original latex package doc), I see in that
things like 'a <= b' were printed as 'a \le b'.  Does listings do this
automatically? (Doesn't seem be be doing that in my test)?  Or, maybe this
used mathescape?

Reply via email to