The submission guidelines for a conference depict following Word table:
So far, I got:
with following code:
\usepackage{tabularx,booktabs}
\usepackage{array}
\begin{document}
\begin{table}[ht]
\renewcommand{\arraystretch}{1.25}
\centering
\label{tab:lme-mean}
\begin{tabular}{|l|l|l|}
\hline
\multicolumn{3}{|c|}{\textbf{Table 1. A Sample Table}} \\
\hline
& Treatment 1 & Treatment 2 \\
\hline
Setting A & 125 & 95 \\
\hline
Setting B & 85 & 102 \\
\hline
Setting C & 98 & 85 \\
\hline
\end{tabular}
\caption{Test table with caption}
\end{table}
\end{document}
Question: How can I add more top and bottom space (i.e. adjust the padding) for the first row in my table? Also, increasing the width of the table a bit would be a plus.
\vrule depth 2ex height 4ex width 0pt
after\textbf{Table 1. A Sample Table}
– user94293 Apr 5 '18 at 12:24p{.2\textwidth}
instead ofl
for the column-type to get fixed-length, larger columns. – user94293 Apr 5 '18 at 12:26