1
vote
1answer
51 views

Creating a Color Key?

How can I create a colour key in LaTeX to show what the colours of this table mean?
2
votes
1answer
52 views

Displaying the horizontal and vertical lines of a table after coloring rows

How can I re-show each line in the following table after coloring the row? \documentclass[english,a4paper,12pt]{report} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage[latin9]{inputenc} ...
2
votes
1answer
85 views

Combining \rowcolor and \cmidrule [duplicate]

I want to shade the heading of my table. It all worked fine until I started using \cmidrule. This is my output: Is there a way to shade the white space between the first and second row? The code ...
1
vote
1answer
230 views

\cellcolor command from colortbl package not working

I've been trying to colour single cells but it's not working. Here's a MWE: \documentclass{memoir} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \begin{document} \begin{tabular}{|l|c|} ...
6
votes
2answers
171 views

color a column red in a table

When I try to color a column red, it seems that white lines begin to emerge. Additionally the \hline changes width depending on how you zoom into the document in pdf format. It look as if the color ...
0
votes
0answers
179 views

Very thin white line in colortbl with multirow

I would like to get rid of this thin white line in table using colortbl. \documentclass{report} \usepackage{colortbl} \usepackage{hhline} \usepackage{multirow} \begin{document} \begin{center} ...
3
votes
1answer
196 views

How to get horizontal black line when coloring cells?

I have the following table with an arrow showing the missing black horizontal black line: Here is the relevant code, I am wondering how do I get a black horizontal line where there is one missing? ...
6
votes
1answer
432 views

Disappearance of the table title/caption, when using colortbl

I'm formatting a manuscript according to the PNAS style, as prescribed in http://www.pnas.org/site/authors/LaTex.xhtml When I color my table using the package colortbl, the title/caption disappears ...
1
vote
1answer
376 views

Alternating column AND row colors with tabu? [closed]

There is a very convenient way to have alternating row colors in tabu using \taburowcolors{ .. }. But is there a way to do the same thing with columns plus alternating row colors ? What I want ...
4
votes
2answers
197 views

How can I avoid the gap between \cellcolor-colored cells created by \tabucline?

I'm trying to partially separate rows from one another using \tabucline. The line encompasses column 3-6. Since the line's width is neither part of the upper, nor the lower row, there is going to be ...
1
vote
1answer
186 views

revtex4-1 and colortbl doesn't fill cells

The MWE below shows that the \cellcolor command doesn't properly fill a table cell in revtex4-1 where it would do so in a simple article. Can anyone help me get fills that extend to the boundaries of ...
5
votes
1answer
117 views

Problem with \rowcolor and monochrome option

I have a document that I wish to distribute both in color and monochrome. It contains tables and makes use of colored rows. Problem is, when I use the monochrome option for the xcolor package the ...
19
votes
1answer
357 views

Strange disappearing colored rules in beamer

I have received a booktabs bug report of \cmidrules that disappear when coloured rules are used inside beamer (together with colortbl). The problem can be illustrated with the following simple code ...
3
votes
1answer
400 views

White space between columns using \rowcolor{somecolor}

I have been using \rowcolor{color} command and I have noticed that there is always some white space between one cell and the next one in the row. Here is my code: ...
13
votes
2answers
807 views

coloring entire row of tabular*

I would like to have the first row of all my tables colored with a certain color (below yellow) but somehow below thing is not working as expected This: \documentclass[a4paper, 12pt]{report} ...
7
votes
1answer
178 views

xcolor and everycr-Problem

I'm trying to insert some \noalign-code in every row of a tabular by using colortbl and \everycr or \CT@everycr. In most cases it works fine, but not if there is a \rowcolors-command (from xcolor) ...
0
votes
0answers
34 views

Open source workflow to represent a number in a table cell by its background color [duplicate]

Possible Duplicate: Parametrize shading in table through TikZ Drawing heatmaps using TikZ I know this isn't strictly speaking a LaTeX question, so please move this somewhere else if you ...
8
votes
2answers
2k views

Matrix change row or column background

I have a matrix shown below. I would like to have the whole row green rather than only the cells ... how can I do that? \begin{equation}\label{eq:appendrow} \newcommand\x{\times} ...
3
votes
1answer
229 views

Problem coloring an entire table due to \raisebox

I'm trying to make an ENTIRE table gray (see picture but I can't get it to work with \raisebox. Here's my code: \documentclass[a4paper,11pt]{article} \usepackage{color,amsmath,amsfonts,amssymb} ...
2
votes
1answer
487 views

Altering cell colour hides cell border in LyX

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 ...
2
votes
1answer
473 views

Problem with colortbl and supertable, color width of the row with leading “@{}”

I have a problem with colortbl \rowcolor that insists on making the color width of the rows longer than the actual row width. Snippet of the code: \documentclass[a5paper, 10pt, twoside]{article} ...
1
vote
0answers
401 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: ...
3
votes
2answers
308 views

Centering text in tables problems with colortabs

I am trying to produce a basic color table as shown below \documentclass{article} \usepackage{booktabs} \usepackage[dvipsnames*,svgnames]{xcolor} \usepackage{colortbl} \usepackage{array} ...
8
votes
1answer
660 views

Alpha channel in colortbl

I'm using the colortbl package to color table cells. I've combined this w/ the xcolor package to define my own colors. However, it appears that xcolor does not support transparency. I saw the ...