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


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


please advise.

Thanks in advance.

  • 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


You're looking for


However, I'd suggest



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 .