[l2h] set different color for verbatim environment

Fabian Braennstroem f.braennstroem at gmx.de
Wed Jan 12 13:06:15 CET 2005


Hi Igor,

* Igor schrieb am 12 Jan 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.

Thanks, but unfortunately it does not work. Even the the
'latex' and 'pdflatex' translation don't produce any colors
for the verbatim background!? Do I need to have any extra
package for that; I couldn't find any?

Greetings!
-- 
Fabian Braennstroem
Duesseldorf/Berlin



More information about the latex2html mailing list