I am trying to include the number of a table in the table itself. Like this:
Code: Select all
\begin{table}
\begin{tabularx}{\textwidth}{lll}
\toprule
\multicolumn{3}{c}{\textbf{Tabelle \ref{tab1}}}\\
\multicolumn{3}{c}{\textbf{BlaBla}}\\
1 & 2 & 3\\
4 & 5 & 6\\
\bottomrule
\end{tabularx}
\end{table}
Code: Select all
\label{tab1}
Code: Select all
...
\end{tabularx}
\caption{BlaBla\label{tab:PlannedContrasts}}
\end{table}
How could I make the label work without also specifying a caption?
Thank you very much for your help.