[Ilugc] re: how to display c, c++, php, html in latex

Kumar Appaiah a.kumar at alumni.iitm.ac.in
Sat Dec 13 10:42:42 IST 2008


On Fri, Dec 12, 2008 at 11:40:53PM -0500, Ravi Jaya wrote:
> Recently i started  with latex, I got struck when i need to display the
> source code as a part of the article.  For example, if i need to display the
> following set of html tags in the latex article.
> <html>
> <body>
> foo...
> </body>
> </html>

\begin{verbatim} ... \end{verbatim}

Also read about listings.sty (Google latex listings).

HTH.

Kumar
-- 
Kumar Appaiah


More information about the ilugc mailing list