is subtable part of a package?

Bob Tennent rdtennent at gmail.com
Sat Mar 25 12:57:00 CET 2023


> The "subfigure" package is deprecated.

Indeed.  Unfortunately the documentation for subcaption doesn't really
explain the subtable environment.  But an example like the one referenced
at stackexchange does in fact work:

\documentclass{article}
\usepackage{subcaption}
\begin{document}
\begin{table}
\centering
\caption{big table caption}
   \begin{subtable}{.5\textwidth}
   \centering
   This
   \caption{sub table caption}
   \end{subtable}%
   \begin{subtable}{.5\textwidth}
   \centering
   That
   \caption{subtable caption}
   \end{subtable}
   And the other
\end{table}
\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20230325/2add426a/attachment.html>


More information about the texhax mailing list.