I created a table in LaTeX, however, I can not put a space after the first row. As you can see the bar of X mean overlaps the \hline
. I tried \\[1pt]
after \hline
, but it produced much more space than I expected. The code I wrote is shown below.
\begin{center}
\begin{tabular}{l@{\hskip 0.3in}c@{\hskip 0.2in} c@{\hskip 0.2in} c@{\hskip 0.2in} c@{\hskip 0.3in} l}
\hline
& $\delta$ & $\varepsilon$ & $\eta$ & $w$ & $c_{i}~(i=1,...,k)$\\
\hline
$\overline{y}_{RW(st)}=\overline{y}_{st} \dfrac{\overline{X}}{w\overline{x}_{st}+(1-w)\overline{X}}$ & -1 & -1 & -1 & & $(-w)^{i}$\\[10pt]
$\overline{y}_{Gu(st)}=\overline{y}_{st}\left[w\dfrac{\overline{X}}{\overline{x}_{st}}+(1-w)\left(\dfrac{\overline{X}}{\overline{x}_{st}}\right)^{2}\right]$ & -1 & -1 & 1 & & $(-1)^{i}[i(1-w)+1]$\\
....
\hline
\end{tabular}
\end{center}
Best Answer
IMHO the most convenient way is to use the
booktabs
package to add extra white space around the horizontal lines which are called according to their position\toprule
,\midrule
and\bottomrule
.