0

My symptoms are:

Strange stuff

As you can see the header text is too close to the topmost rule. How can I add some vertical space between that rule and the top line of header text?

My code:

\usepackage{boldline}
.
.
.
\begin{table}[!h]
\centering
\begin{tabular}{l|l|l|l}
\hlineB{4}
List size $N$ & Number of fingers $n$ & Finger configuration & $H_1$ \\
\hline
\hline
17 & 5 &  \texttt{[0, 1, 2, 3, 16]} & \cellcolor{blue!36} -0.176 \\
.
.
.
\hline
50 & 8 &  \texttt{[0, 1, 2, 3, 4, 5, 6, 49]} & -0.540 \\
\vdots & \vdots & \vdots & \vdots \\
\hlineB{4}
\end{tabular}
\end{table}

1 Answer 1

1

Like this?

enter image description here

For above table is used \setlength\extrarowheight{2pt} for increase rows heights for 2pt:

    \begin{table}[!h]
\setlength\extrarowheight{2pt}  % <----
\centering
\begin{tabular}{l|l|l|l}
    \hlineB{4}
List size $N$ & Number of fingers $n$ & Finger configuration & $H_1$ \\
    \hline
    \hline
17 & 5 &  \texttt{[0, 1, 2, 3, 16]} & \cellcolor{blue!36} -0.176 \\
    \hline
50 & 8 &  \texttt{[0, 1, 2, 3, 4, 5, 6, 49]} & -0.540 \\
\vdots & \vdots & \vdots & \vdots \\
    \hlineB{4}
\end{tabular}
    \end{table}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .