Re: Subfig e subtables

#46195
Up
0
Down
::

Ciao a tutti, qualche problemino: sto passando da subfigure a subfig, ma non mi tornano le caption!
Per esmpio:
`\begin{table}
\centering
\subfloat[Minimum]{ \label{tab:m}}
\begin{tabular}{p{8mm}|p{8mm}p{8mm}p{8mm}p{8mm}|p{8mm}}
$X_1,X_2$ & $x_{21}$ & $x_{22}$ & $x_{23}$ & $x_{24}$ \\
\hline
$x_{11}$ & 0 & 0 & 0.05 & 0.10 & 0.15 \\
$x_{12}$ & 0.40 & 0.10 & 0.05 & 0 & 0.55 \\
$x_{13}$ & 0.25 & 0 & 0 & 0 & 0.25 \\
$x_{14}$ & 0.05 & 0 & 0 & 0 & 0 \\
\hline
& 0.70 & 0.10 & 0.10 & 0.10 & \\
\end{tabular}
\quad
\subfloat[Maximum]{\label{tab:M}}
\begin{tabular}{p{8mm}|p{8mm}p{8mm}p{8mm}p{8mm}|p{8mm}}
$X_1,X_2$ & $x_{21}$ & $x_{22}$ & $x_{23}$ & $x_{24}$ \\
\hline
$x_{11}$ & 0.15 & 0 & 0 & 0 & 0.15 \\
$x_{12}$ & 0.55 & 0 & 0 & 0 & 0.55 \\
$x_{13}$ & 0 & 0.10 & 0.10 & 0.05 & 0.25 \\
$x_{14}$ & 0 & 0 & 0 & 0.05 & 0.05 \\
\hline
& 0.70 & 0.10 & 0.10 & 0.10 &
\end{tabular}
\caption{Example of computation of $F_m$ and $F_M$}
\label{tab:Table1}
\end{table}
`
Le didascalie mi vengono spezzate su più righe e sovrapposte!
Thanks

Forse usando la sintassi corretta riesci a farlo. 🙂
`\subfloat[Didascalia\label{…}]{%
\begin{tabular}{…}

\end{tabular}}`
La tabella va nell’argomento obbligatorio di \subfloat.

Ciao
Enrico

Go to top