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 '16 at 3:38
  • 1
    If you aren't using booktabs, use \hline instead of \toprule. – John Kormylo Jan 29 '16 at 3:44

You're looking for


However, I'd suggest



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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.