1

I need your help in allowing an upper border for a table. many posts have suggested that this should be written:

\begin{tabular}{|c|c|c|}

I have done so but did not get an upper boundary, in my code I have done:

\begin{tabular}{|l||c|c|c|}

please advise.

Thanks in advance.

2
  • Consider dropping the use of vertical rules, as suggested in booktabs.
    – Werner
    Jan 29, 2016 at 3:38
  • 1
    If you aren't using booktabs, use \hline instead of \toprule. Jan 29, 2016 at 3:44

1 Answer 1

2

You're looking for

\begin{tabular}[.]{..}
  \hline

However, I'd suggest

\usepackage{booktabs}

\begin{tabular}[.]{..}
  \toprule

and use all of the associated \midrule and \bottomrule provided by booktabs.

You must log in to answer this question.

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