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

  • From: a.kumar@xxxxxxxxxxxxxxxxx (Kumar Appaiah)
  • Date: Sat Dec 13 10:42:58 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

Other related posts: