Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

im trying to create a table with a vertical line at the left and at the right, EXCEPT the top row shouldn't have the vetical lines. something like:

  A  B  C
| a  b  c |
| a  b  c |
| a  b  c |
| a  b  c |
| a  b  c |

I have this code:



& \multicolumn{2}{c}{P} & \multicolumn{2}{c}{E} & \multicolumn{2}{c}{D} \\

pond &10&&8&,9&6&,2\\

euro &11&,3&10&&7&,0\\

dollar&16&,2& 14&,3&10&\\


How to fix it so that it doesnt add a vertical line to the top row? thx in advance!

share|improve this question

1 Answer 1

up vote 4 down vote accepted

use \multicolumn{1}{c}{} for the first cell instead of leaving it empty

share|improve this answer
Woo :D thanks a lot !! –  Drareeg Jan 4 '11 at 13:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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