我怎样才能让这个表格位于页面中央?

我怎样才能让这个表格位于页面中央?

我有一张桌子,我想让它完全居中。我试过使用,\centering但没有成功。

我的代码是

\begin{table}
    \begin{tabular}{|p{5cm}|p{1.4cm}|p{5cm}|p{1cm}|p{3.5cm}|}
        \hline
         More/Less(IV) of& Leads to & More/Less of (DV) & Due to & Reason\\
         \hline
         An increase in worldwide internet coverage & results in & an increase of video games with online functionality  & Due to & an increasing number of customers with internet \\
         \hline
    \end{tabular}
\end{table}

最后看起来像这样

答案1

\noindent\makebox[\textwidth]{%
  ... your tabular code ...%
}

相关内容