请问怎么把表格变得宽一点,比标题长,美观一点,谢谢

2020-03-09 23:26发布

\begin{table}[htbp] \centering \caption{Test results of normal distribution of each indicato...

\begin{table}[htbp]
    \centering
    \caption{Test results of normal distribution of each indicator data}
    \begin{tabular}{ccc}
        \toprule
        star rating& review headline & review body\\
        \midrule
        1.0000 &0.0000&0.0000\\
        0&1.0000&0\\
        0.0000&0&1.0000\\
        \bottomrule
    \end{tabular}
\end{table}
2条回答
```tex \documentclass{article} \usepackage[a4paper]{geometry} \usepackage{booktabs,tabularx} \begin{document} \begin{table}[htbp] \centering \caption{Test results of normal distribution of each indicator data} \begin{tabularx}{0.9\linewidth}{*{3}{X}} \toprule star rating& review headline & review body\\ \midrule 1.0000 &0.0000&0.0000\\ 0&1.0000&0\\ 0.0000&0&1.0000\\ \bottomrule \end{tabularx} \end{table} \end{document} ```

一周热门 更多>