An Embedded Image Example


The effect of the LATEX commands below can be seen in the thumbnail sketch of Figure 2. A 5pt border has also been added around the thumbnail, using \htmlborder command; this gives a pseudo-3D effect in some browsers.
\begin{figure}
    \htmlimage{thumbnail=0.5}
    \htmlborder{5}
    \centering \includegraphics[width=5in]{psfiles/figure.ps}
    \latex{\addtocounter{footnote}{-1}}
    \caption{A sample figure showing part of a page generated by
       \latextohtml{} containing a customised navigation panel 
       (from the \htmladdnormallink
        {CSEP project\latex{\protect\footnotemark}}
        {http://csep1.phy.ornl.gov/csep.html}).}\label{fig:example}
\end{figure}
\latex{\footnotetext{http://csep1.phy.ornl.gov/csep.html}}

Figure 2: A sample figure showing part of a page generated by LATEX2HTML containing a customised navigation panel (from the CSEP project).
\begin{figure}
\centering\includegraphics [width=5in]{psfiles/figure.ps} %
\end{figure}

The \htmlimage command is also often useful to cancel-out the effect of the configuration variable $FIGURE_SCALE_FACTOR. For example to avoid resizing a color screen snap despite the value of $FIGURE_SCALE_FACTOR it is possible to use \htmlimage{scale=0}.


Ross Moore
1999-03-26