[l2h] \tt inside math makes unnecessary image

Jean-Pierre Chrétien jeanpierre.chretien at free.fr
Fri Feb 19 11:55:26 CET 2010


Vadim Engelson a écrit :
> A math with typewriter font inside ({\tt xyz}),
> generates an unnecessary image that looks bad:
> 
> $abc+ {\tt xyz} +fgh$
> 
> But math with \tt  outside just places the text directly as HTML:
> 
> $abc+${\tt xyz}$+fgh$
> 
> I use
> 
> latex2html ttmath.tex -nomath -html_version 4.0,math
> 
> Is there any method or patch to latex2html to avoid generating
> unnecesary image in the first case above ?

Try

$abc+\mathtt{xyz}+fgh$

{\tt blah blah blah} has been deprecated for a while, I guess.

BTW, I just used Lyx to generate the above code :-)

-- 
Jean-Pierre


More information about the latex2html mailing list