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.

I'm probably doing something simple wrong, but I'm having the following problem. I've got a table with two columns, on the left there are multirows with coloured cells, on the right there are normal cells which are each coloured individually. Hopefully this is clear in the following pictures:

lyx table

pdf table

As you can see, the cells on the right in the generated table do not have the correct borders, even though they seem to be fine in LyX.

Does anybody know what might be causing this? Any help would be greatly appreciated.

share|improve this question
add comment

1 Answer

Without seeing the tex markup generated it is hard to be sure but especially if it prints OK but just looks bad on screen then it is most likely just an artifact of your pdf viewer. TeX positions the lines from hline and the rules for the coloured backgrounds very exactly but the viewer has to snap them to pixel boundaries and if this can cause the background to obscure a thin rule. Try increasing \arrayrulewidth to reduce the effect.

share|improve this answer
add comment

Your Answer

 
discard

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.