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.

  • 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
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.

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.