
我有兩個表格,必須並排放置並跨越文章的兩列。為此,我編寫了以下程式碼:
\begin{table*}[!ht]
\parbox{.40\linewidth}{
\hfill{}
\caption{\label{table:accuracy} Accuracy of the Neural Networks}
\hfill{}
\begin{tabular}{@{}ccccccc@{}}
TABLE CONTENT HERE
\end{tabular}
}
\hfill{}
\parbox{.38\linewidth}{
\caption{Architecture of the Slim NN and parameters count\label{table:model}}
\hfill{}
\begin{tabular}{lcc}
TABLE CONTENT
\end{tabular}
\hfill{}
}
\end{table*}
但是,在編譯時,我出現了不良行為,即第一個表格的標題向左對齊(參見圖片),而我希望將其居中於表格的中心
我嘗試了這個社區提供的大多數解決方案,例如使用\centering
或\usepackage[justification=centering]{caption}
,但沒有