在有段落列的表格中設定間距

在有段落列的表格中設定間距

當一行因為段落列而有多行時,我很難設定表格中的間距。我已經減少了行之間的距離,但這是關於一行內的間距。

\documentclass{scrartcl}
\usepackage{tabularx}
\usepackage{booktabs}
\begin{document}


\begin{table}[htbp]\centering
\renewcommand{\arraystretch}{0.5}
\caption{Summary Statistics: Continuous Variables   \label{sumstat}}
{ 
\begin{tabular}{l p{7cm} c c c c  }
\cline{1-2}
\toprule
 &         &          \multicolumn{2}{c}{Within}&  \multicolumn{2}{c}{Between}\\  \cline{3-4} \cline{5-6} \noalign{\smallskip}
Variable    &  Description   &          Mean&  SD&          Mean&  SD\\
\midrule
\multicolumn{6}{l}{\textit{Dependent Variables}} \\
TreatWin       & 1 if household installed new windows in the last year and subsequently, 0 otherwise   &       x&                 x &  x&                 x\\
envir       &       concerned about the environmental protection, categorical from 0 (not at all) to 2 (very)&       x&                 x &  x&                 x\\
\bottomrule

\end{tabular}
}
\end{table}
\end{document}    

桌子

感謝您的幫忙!

最好的,法比安

相關內容