pretty-printing C/C++ code

2001-04-11 Thread Emanuele Olivetti

Hi,
is there an easy way to pretty-print source code (C/C++ or other) using lyx (or
latex) ? I mean different font for keywords, comments, preprocessor commands,
etc.


Thanks in advance,

Emanuele



Re: pretty-printing C/C++ code

2001-04-11 Thread Herbert Voss



On Wed, 11 Apr 2001, Emanuele Olivetti wrote:

 Hi,
 is there an easy way to pretty-print source code (C/C++ or other) using lyx (or
 latex) ? I mean different font for keywords, comments, preprocessor commands,
 etc.

package listings

http://www.educat.hu-berlin.de/~voss/lyx/listings/listings.html

Herbert




pretty-printing C/C++ code

2001-04-11 Thread Emanuele Olivetti

Hi,
is there an easy way to pretty-print source code (C/C++ or other) using lyx (or
latex) ? I mean different font for keywords, comments, preprocessor commands,
etc.


Thanks in advance,

Emanuele



Re: pretty-printing C/C++ code

2001-04-11 Thread Herbert Voss



On Wed, 11 Apr 2001, Emanuele Olivetti wrote:

 Hi,
 is there an easy way to pretty-print source code (C/C++ or other) using lyx (or
 latex) ? I mean different font for keywords, comments, preprocessor commands,
 etc.

package listings

http://www.educat.hu-berlin.de/~voss/lyx/listings/listings.html

Herbert




pretty-printing C/C++ code

2001-04-11 Thread Emanuele Olivetti

Hi,
is there an easy way to pretty-print source code (C/C++ or other) using lyx (or
latex) ? I mean different font for keywords, comments, preprocessor commands,
etc.


Thanks in advance,

Emanuele



Re: pretty-printing C/C++ code

2001-04-11 Thread Herbert Voss



On Wed, 11 Apr 2001, Emanuele Olivetti wrote:

> Hi,
> is there an easy way to pretty-print source code (C/C++ or other) using lyx (or
> latex) ? I mean different font for keywords, comments, preprocessor commands,
> etc.

package listings

http://www.educat.hu-berlin.de/~voss/lyx/listings/listings.html

Herbert