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.

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]{figure.ps}
%
\end{figure}

\begin{figure}[hbt]
    \htmlborder{5}
    \centering \includegraphics[width=5in]{figure.ps}
    \latex{\addtocounter{footnote}{-1}}%
    \caption{A sample figure showing part of a page
      generated by \protect\latextohtml{} containing
      a customised navigation panel
      (from the \htmladdnormallink{CSEP project%
        \protect\latex{\protect\footnotemark}}%
      {http://csep1.phy.ornl.gov/csep.html}).}
    \label{fig:example}
    \htmlimage{thumbnail=0.5,extrascale=3,
      notransparent,align=right}
\end{figure}
\latex{\footnotetext{%
\protect\latex{http://csep1.phy.ornl.gov/csep.html}}}%

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}.