[OS X TeX] Re: [MacTeX] Newer textcomp.sty?

Adrian Heathcote adrian.heathcote at philosophy.usyd.edu.au
Fri May 21 21:52:58 EDT 2004


>
>
>> What's the preferred way to include C++ code in my text. Right now I 
>> am
>> using verbatim, but I'd prefer something more elegant. -Ron
>>
>
> Try the listings package. It knows about syntax highlighting, etc.

And to make it pertinent to the thread, the listings package is 
described in The LaTeX Companion second edition.

Adrian Heathcote

-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list