algorithm document?

2007-07-10 Thread Neal Becker
What do you like for documenting an algorithm? I'm thinking of something like an itemize environment (displaying structure via indentation), but without bullets.

Re: algorithm document?

2007-07-10 Thread Bo Peng
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

Re: algorithm document?

2007-07-10 Thread Neal Becker
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

Re: algorithm document?

2007-07-10 Thread Bo Peng
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? This is an advanced feature of listings called

Re: algorithm document?

2007-07-10 Thread Paul A. Rubin
Neal Becker 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. I'm writing from limited experience, but for expressing an algorithm (rather than actual computer code) I

Re: algorithm document?

2007-07-10 Thread Bo Peng
Docs (including examples) are at http://www.ctan.org/tex-archive/macros/latex/contrib/algorithmicx/ if you're curious. Bo's suggestions resonate with me for code listings, but for mathematical statements of algorithms, I prefer algorithmicx. I have not used listings to write pseudocode, but I

algorithm document?

2007-07-10 Thread Neal Becker
What do you like for documenting an algorithm? I'm thinking of something like an itemize environment (displaying structure via indentation), but without bullets.

Re: algorithm document?

2007-07-10 Thread Bo Peng
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

Re: algorithm document?

2007-07-10 Thread Neal Becker
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

Re: algorithm document?

2007-07-10 Thread Bo Peng
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? This is an advanced feature of listings called

Re: algorithm document?

2007-07-10 Thread Paul A. Rubin
Neal Becker 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. I'm writing from limited experience, but for expressing an algorithm (rather than actual computer code) I

Re: algorithm document?

2007-07-10 Thread Bo Peng
Docs (including examples) are at http://www.ctan.org/tex-archive/macros/latex/contrib/algorithmicx/ if you're curious. Bo's suggestions resonate with me for code listings, but for mathematical statements of algorithms, I prefer algorithmicx. I have not used listings to write pseudocode, but I

algorithm document?

2007-07-10 Thread Neal Becker
What do you like for documenting an algorithm? I'm thinking of something like an itemize environment (displaying structure via indentation), but without bullets.

Re: algorithm document?

2007-07-10 Thread Bo Peng
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.

Re: algorithm document?

2007-07-10 Thread Neal Becker
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

Re: algorithm document?

2007-07-10 Thread Bo Peng
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? This is an advanced feature of listings called

Re: algorithm document?

2007-07-10 Thread Paul A. Rubin
Neal Becker 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. I'm writing from limited experience, but for expressing an algorithm (rather than actual computer code) I

Re: algorithm document?

2007-07-10 Thread Bo Peng
Docs (including examples) are at http://www.ctan.org/tex-archive/macros/latex/contrib/algorithmicx/ if you're curious. Bo's suggestions resonate with me for code listings, but for mathematical statements of algorithms, I prefer algorithmicx. I have not used listings to write pseudocode, but I