On Tue, 18 Aug 1998, Ramin Sepehr Rad wrote:

> I created a figure in xfig and saved it as a latex file and once I ran
> latex2html translator on it, I see a "1214.4cmrmn" just before every text
> object I placed in the figure.

After banging my head against the wall for hours, I discovered that this
problem goes away if I place the picture inside a figure environment.

I thought you might like to know. :)

Here is a test document:


\documentclass[letterpaper,11pt]{article}
 
\begin{document}
 
\begin{figure}
\setlength{\unitlength}{3947sp}%
%
\begingroup\makeatletter\ifx\SetFigFont\undefined%
\gdef\SetFigFont#1#2#3#4#5{%
  \reset@font\fontsize{#1}{#2pt}%
  \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
  \selectfont}%
\fi\endgroup%
\begin{picture}(3174,2574)(139,-1948)
\thinlines
\put(151,-1936){\framebox(975,2550){}}
\put(3301, 89){\vector(-1, 0){2100}}
\put(1351,164){\makebox(0,0)[lb]{\smash{\SetFigFont{12}{14.4}
{\familydefault}{\mddefault}{\updefault}This is a test.}}}
\end{picture}
\end{figure}
\end{document}


-ramin

Reply via email to