方法一:
用 \begin{center}
和\end(center}
来将表格整体居中,但它的居中只是居中了\begin{table} —— \end{table|
如果\begin{table} —— \end{table|
里面嵌套了,那么表格还是不会居中。
方法二:
要使得表格居中,则需要在\begin{table}
后面附加\centering
,才能使得表格整体居中。
例子:
\begin{
table}[]
\centering
\begin{
tabular}{
@{
}|c|c|@{
}}
\toprule
min\_region & max\_region \\ \midrule
0.2 & 0.37 \\ \midrule
10 & 35 \\ \midrule
2.35 & 2.7 \\ \midrule
600 & 1000 \\ \midrule
410 & 435 \\ \bottomrule
\end{
tabular}
\end{
table}
表格居中!