4
votes
2answers
78 views

Colorbox not working with longtable

I have some tables that I want to entirely color in light grey, but the same command lines that work for the tabular environment (see second table example) do not work for the longtable environment ...
0
votes
0answers
14 views

How to combine bigdelim and alternate row coloring inside a longtable in LyX? [duplicate]

It seems that it's quite a conflict to use some big (multirow) delimiter (bigdelim) and applying alternate row coloring inside a longtable at the same time (using LyX). The following example ...
2
votes
1answer
53 views

How to color a single cell in a longtable [duplicate]

We are using XeLaTeX and the longtable package to visualize information, one of those reports must have a colored cell. A single cell, not the entire row. An example output is here: Is there a way ...
4
votes
1answer
143 views

longtable vertical column separators

I have a quite complex longtable design and I would like to add white column separators. I can add black separators using | but the placement of the lines does not seem ideal either. ...
5
votes
1answer
122 views

Fit coloured longtable to pagewidth

There is a similar question and solution posted here. However, I can't use this solution as I have a coloured table, and the given solution causes white gaps between each column. Is there a way to ...
5
votes
0answers
115 views

Color switches are problematic with footnotes, longtable and hyperref

When using the color package in its switch form (\color cf. \textcolor), things can get confused using certain packages, with footnotes, and with section headings. The section headings issue was ...
6
votes
1answer
209 views

Strange vertical space before the caption of a longtable with KOMA-Script classes when xcolor is loaded

When using one of the main KOMA-Script classes — scrartcl, scrreprt, scrbook but not scrlttr2 —, the vertical position of the caption in a longtable environment changes when one loads or unloads the ...
3
votes
1answer
1k views

Alternate Row colors in longtable

I am using the method proposed by Nikos Alexandris in "How to apply alternate row coloring in a longtable in LyX?" works to a limited extent but the shaded rows does not fill the whole width of page. ...
2
votes
1answer
519 views

Long table in landscape mode with alternating row colors does not work with \multicolumn

I am trying to put together a longtable in landscape mode over several pages using the longtable package. The idea is simple. I want alternating row colors in the main body of the table. However, ...
5
votes
1answer
2k views

How to apply alternate row coloring in a longtable in LyX?

In attempting to apply an alternate table row coloring (using xcolor) in a longtable, one confronts, sooner or later, problems in compiling a PDF. In xcolor's documentation it is clearly stated, ...
2
votes
0answers
430 views

Removing spaces between colored rows [closed]

I have a small tex document below, and I have tried various methods to remove the white spaces between rows, but haven't had any luck yet. Thanks! Here's the document: ...
4
votes
1answer
5k views

Cell shading without removing lines

I was wondering if there is any way to shade some cells in table without removing lines. I starged with this command \cellcolor[gray]{0.9} however upper line of the cell disapeard. Is there any ...