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!


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

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.