If you see this, something is wrong
First published on Monday, Oct 28, 2024 and last modified on Friday, Jul 18, 2025
With LaTeX2Web, figures and tables always appear where you put them. No more [htbp] or pagebreak to put your figures where you want them to be.
Figures and Tables are implemented. The loc parameter is ignored: the figure or table is placed in the flow of the document at the place where it occurs. Since double columns ore not implemented in LaTeX2Web, the starred forms of the environments are treated as if they were not starred.
caption numbering is implemented and the LaTeX captions are translated into their HTML equivalents. Cross references are implemented.
The subfigure command and environments are supported and are responsive, which means that the sub-figures layout will adapt to the size of the device.
As a generality, floating commands are not implemented since there is no page concept in LaTeX2Web.
LaTeX2Web does NOT support table related packages, including
to name a few. The very good reason for this is that most of these packages try to accomodate the limited available space in cells, or things in the same vein. This is not necessary because, natively, browsers wrap the text in the cells of HTML tables automatically. If you do want to create a new line within a cell, use the \newline command, although the result will be generally counter-productive.
LaTeX2Web implements the \cellcolor command of the colortbl package.
Using tables to create a image layout is not a good idea in LaTeX2Web. If you want to layout several figures, use the subfigure package, or simply use the following code if you do not want labels for your sub-figures.
\begin{figure}
\includegraphics{image1.png}
\includegraphics{image2.png}
\end{figure}\marginpar is supported; it only takes into account the mandatory parameter. The margin note is always at the right of the text, justified left. \reversemarginpar and \normalmarginpar are ignored.