I wanted to "group" a figure and a table to get one figure.
It has been proposed to use floatrow for this, with the possibility to remove the subcaptions later on (subfloatrow of package floatrow does not work without subcaptions).
But it seems, that the figure inside the environment will be counted (global figure number), even though it's in a subfloatrow!
The attached example shows the same source code with tabularx in the beginning and tabular in the end. One can see that the numbering starts with 2 instead of 1!
\documentclass{article}
\usepackage{caption,subcaption,tabularx,floatrow}
% Table float box with bottom caption, box width adjusted to content
\newfloatcommand{capbtabbox}{table}[][\FBwidth]
\begin{document}
\setcounter{figure}{0}
\begin{figure}[t!]
\ffigbox{
\begin{subfloatrow}
\ffigbox{%
\rule{3cm}{3cm}%
}{%
\caption{A figure}%
}
\capbtabbox{%
\begin{tabularx}{4cm}{cc} \hline
Author & Title \\ \hline
Knuth & The \TeX book \\
Lamport & \LaTeX \\ \hline
\end{tabularx}
}{%
\caption{A table}%
}
\end{subfloatrow}
}{%
\caption{A figure and a table}%
}
\end{figure}
\end{document}
Has anybody an idea on how to prevent this? Is it a bug?

blindtext, and eliminating one of the twofigureenvironments. Incidentally, what is the purpose of combining a (sub)figure environment and a tabular environment in a singlefigureenvironment? Cross-references to the tabular portions of a figure might come out looking quite awkward. – Mico Nov 09 '12 at 16:45In fact, the table references the figure, so I'd like them to be nicely joint together. Using a kind of meta-enviromnet (name it "scheme", e.g.) would be more logical, but rather tedious to work out...
Referencing the table, saying: "see Figure 1.b)" looks fine to me!
– Guntram Nov 09 '12 at 17:51