Invalid numbering number - package signature Error: continued "figure" after the "table"

Hello, I am having a problem with numbering numbers using Latex, I get this error message:

Package Header Error: Continued "digits" after "table"

This is my code:

\begin{table}
\centering
\subfloat[Tabla1\label{tab:Tabla1}]{
\small
\begin{tabular}{ | c | c | c | c | c |}
\hline
\multicolumn{5}{|c|}{\textbf{Tabla 1}} \\ \hline
...
...
\end{tabular}
}
\qquad
\subfloat[Tabla2\label{tab:Tabla2}]{
\small
\begin{tabular}{ | c | c | c | c | c |}
\hline
\multicolumn{5}{|c|}{\textbf{Tabla 2}} \\ \hline
...
...
\end{tabular}
}
\caption{These are tables}
\label{tab:Tables}
\end{table}

\begin{figure}
\centering
\subfloat[][Figure 1]{\label{fig:fig1}\includegraphics[width = 14cm]{fig1}}
\qquad
\subfloat[][Figure 2]{\label{fig:fig2}\includegraphics[width = 14cm]{fig2}}
\end{figure}

\begin{figure}[t]  
\ContinuedFloat
\subfloat[][Figure 2]{\label{fig:fig3}\includegraphics[width = 14cm]{fig3}}
\caption{Those are figures}
\label{fig:Figures}
\end{figure}
\newpage

What I want to do is to have this configuration:

Table

Table

Picture 1

Figure 2

Figure 3

Since Figure 1 and Figure 2 are too large to fit vertically, I want Figure 3 to be one on another page, so I have \ ContinuedFloat.

Outwardly, it looks normal, but the problem is in the numbering, I get the number 5.2 for Digital, that is, the same number that I had before (the correct number should be 5.3).

However, if I try to refer to the numbers:

\ref{fig:fig1}, \ref{fig:fig2} y \ref{fig:fig2}

I get:

5.3a, 5.3b y 5.2c

, .

?

+3
1

\caption . "". , \caption.

+6

Source: https://habr.com/ru/post/1740691/


All Articles