[l2h] set different color for verbatim environment

Igor Pechtchanski pechtcha at cs.nyu.edu
Wed Jan 12 20:38:57 CET 2005


On Tue, 11 Jan 2005, Fabian Braennstroem wrote:

> Hi,
>
> I have a lot of verbatim text in my latex-document and use
> 'latex2html' to produce html-files. That works fine :-)
>
> Is there a way to tell 'latex2html' that the verbatim text
> should have a light gray background in the html-file?
>
> And, I just saw that it is possible to make some settings in
> the '.latex2html'-file. Can I find any examples for that?
>
> Best Greetings!

Try simply using

\begin[background-color=lightgray]{verbatim}
...
\end{verbatim}

and giving the "-html_version=4.0" option to latex2html.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha at cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT



More information about the latex2html mailing list