我有下表:
\begin{table}[t]
\centering
\begin{tabularx}{\linewidth}{l| |X}
\multicolumn{1}{c||}{\textit{\textbf{Causes}}} & \multicolumn{1}{c}{\textit{\textbf{Definitions}}} \tabularnewline \hline
x & A x \\ \hline
x & x \\ \hline
x & x \\ \hline
x & x \\ \hline
x & x\\ \hline
x & x \\ \hline
x & x \\ \hline
x & x \\
\end{tabularx}
\textbf{\caption{OAB - causes and definitions \cite{pristyn_care_team_4_2021,1997,1997_myo,2005,2001_MJ}}}
\label{table 1}
\end{table}
当我使用 \ref{table 1} 时,它将引用表格所在的部分,而不是表格本身。有人知道如何修复这个问题吗?
答案1
我认为你应该放进\textbf{}
去\caption{}
这样你就会有
\caption{\textbf{OAB - causes and definitions \cite{pristyn_care_team_4_2021,1997,1997_myo,2005,2001_MJ}}}