Aud*_*erg 4 latex tex overleaf
我正在尝试使用背页创建一个乳胶桌。我怎样才能让这个表格显示在一页上?随附的图片显示了我的桌子当前的样子。
\documentclass{article}
\usepackage{booktabs}
\usepackage{dcolumn}
\begin{document}
\begin{table}[ht]
\caption{Summary Statistics and Sell in May Effect}
\centering
\begin{tabular}{c c c c c c c c c c}
\hline\hline
& & & & & & & t-Values of & t-Values of January\\ [0.5ex]
& & & & & & & Adjusted Sell & Dummy with\\
& & & & & & t-Values of Sell in & in May & Adjusted Sell\\
& & & Mean & & & May Dummy & Dummy with & in May Dummy\\
Country & Period & Observations & Return & Deviation & Alpha1 & (No January
Effect) & January Effect & in May Dummy\\
\hline
1 & 50 & 837 & 970 \\
2 & 47 & 877 & 230 \\
3 & 31 & 25 & 415 \\
4 & 35 & 144 & 2356 \\
5 & 45 & 300 & 556 \\ [1ex]
\hline
\end{tabular}
\label{table:nonlin} % is used to refer this table in the text
\end{table}
\end{document}
Run Code Online (Sandbox Code Playgroud)

您可以使用类似tabularx或新的软件包tabularray,它允许表格自动调整线宽。
然而,你有太多的专栏,结果看起来会很糟糕。因此,在下面的示例中,我还更改了页面几何形状以获得更多空间。
\documentclass{article}
\usepackage{tabularray}
\usepackage[hmargin=1cm]{geometry}
\begin{document}
\begin{table}[ht]
\caption{Summary Statistics and Sell in May Effect}
\begin{tblr}{
@{}ccccccX[c,valign=b]X[c,valign=b]X[c,valign=b]@{}
}
\hline
\hline
Country &
Period &
Observations &
Mean Return &
Deviation &
Alpha1 &
t-Values of Sell in May Dummy (No January Effect) &
t-Values of Adjusted Sell in May Dummy with January Effect &
t-Values of January Dummy with Adjusted Sell in May Dummy\\
\hline
1 & 50 & 837 & 970 \\
2 & 47 & 877 & 230 \\
3 & 31 & 25 & 415 \\
4 & 35 & 144 & 2356 \\
5 & 45 & 300 & 556\\
\hline
\end{tblr}
\label{table:nonlin} % is used to refer this table in the text
\end{table}
\end{document}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
25306 次 |
| 最近记录: |