# colortbl's questions - English 1answer

174 colortbl questions.

### 6 Use siunitx to round numbers while using colortbl to color cells

1 answers, 33 views tables siunitx colortbl cellcolor
I typically use the siunitx package to round numbers in tables and use the \cellcolor command of the colortbl package to change the background colors of certain cells. However, as the following ...

### 2 rowcolor command from colortbl package leaves unwanted gaps in shading between columns

I would like to highlight the first two rows of my table with a custom shade of gray. For this, I thought of using the \rowcolor environment from the colortbl package. However, its usage seems to ...

### ColorBL rowcolor + columcolor

0 answers, 44 views tables colortbl
I want to realise this: But I just realise the column color, Do I need to use \cellcolor or there are some alternatives. \rowcolors{1}{green}{blue} \begin{tabular}{>{\columncolor[gray]{.8}}c|>...

### 5 problem with new array.sty, colortbl.sty, and tabu.sty

1 answers, 70 views tables spacing tabu colortbl
This is a follow up to new array.sty and colortbl.sty incompatibility? The problem is that with the current version of array.sty the \\[5mm] is ignored. The solution provided in the linked question ...

### 7 new array.sty and colortbl.sty incompatibility?

2 answers, 101 views tables spacing colortbl
I just upgraded my texlive distribution and can no longer insert space in table rows using \\[x pt] syntax when colortbl is loaded. It seems that recent changes to array.sty might be the problem as ...

### 3 Getting black of a cell in a table

3 answers, 113 views longtable arrays colortbl rowcolor
In the following code, I tried to create two rows for each cell in the first column. I want the rows be colored. However, the first rows of the colored cell get black. How can I solve this problem? \...

### 1 Issue with coloring multirow cells [duplicate]

3 answers, 25 views color multirow colortbl
I have a simple table like: \documentclass[varwidth]{standalone} \usepackage[table]{xcolor} \usepackage[english]{babel} \usepackage{multirow} \begin{document} \begin{center} \...

### 22 Matrix change row or column background

5 answers, 14.437 views color matrices backgrounds colortbl

### 1 how to obtain vertical and horizontal gray bars in a matrix? [duplicate]

1 answers, 69 views color matrices colortbl
I need your help to obtain the grey bars in this matrix:

### 1 \hhline with || separation in coloured table

2 answers, 53 views tables color colortbl hhline
I want to create a table like the following. Using booktabs is unfortunately not an option. I need to colour the table header and want to show on which columns the \multicolumns are used. Therefore I ...

### How to find colortbl.sty

0 answers, 539 views miktex colortbl
Can anyone help me find colortbl? I have updated MikTeX and TexStudio but I still get an error message. Thank you.

### 2 Coloring the *text* of the entire row in a table [duplicate]

1 answers, 60 views tables formatting color colortbl
I can use colortbl to color the background of a row by setting \rowcolor{Gray}. How can I set only the text to gray and keep the white background instead?

### Splitting a table cell between right and left alignment with colored rows

2 answers, 32 views tables colortbl glue
I'm trying to make a table that's essentially a feature matrix. Entries are grouped, and each group is a set of completions to a sentence. Because of space constraints, I'm trying to keep the start of ...

### 1 line problem when use color table

after I add color to table, it has some problem for dispalying, here is the sample code: \documentclass{article} \usepackage{xcolor,colortbl} \definecolor{Gray}{gray}{0.85} \begin{document} test a ...

### 1 Cancel \rowcolors for a specific cell

1 answers, 42 views tables color colortbl rowcolor
In some tables, the cell in the top-left corner is meant to be left empty. To do this in tables that use \rowcolors, I do \cellcolor{white}. However, I'm now using some old tables of this kind in a ...

### 38 Professional-looking tables with alternating row colors?

4 answers, 17.102 views tables typography booktabs colortbl
Both the Booktabs documentation and the Small Guide to Making Nice Tables provide some nice rules-of-thumb for making professional-looking tables (e.g., no double rules, no vertical rules, etc.) Q: ...

1 answers, 112 views pgfplots pgfplotstable colortbl
I have been trying for a long while now to put headers onto this: I want to change the column headers from 0 to 10 into $O_{x}=0.0$ to $O_{x}=1.0$ but I can't seem to figure out how to do it. I have ...

### How to make a command that colors the next 'n' rows of a table with some given background color, and then invokes some other command

0 answers, 47 views macros colortbl
I'd like to know if it's possible to make a LaTex command that does the following: The parameters to this command are 1) some integer (we'll call it n, for reference), 2) a color name, 3) the name of ...

### 3 Does something like \rowcolors exist for groups of rows?

1 answers, 143 views tables colortbl rowcolor
I need to find a package or else learn how to make a tex command definition that does something very similar to the \rowcolors command for tables, for creating a table with alternating background ...

### tabu rowcolor multicolumns

1 answers, 57 views multicol tabu colortbl
I try to put the background of the first line in color. I try like the commented line but I have a compiled errors. I try with \tabuphantomline. But I didn't succeeded. \documentclass[11pt]{report} \...

### 4 Coloring table row ruins \pm symbol

1 answers, 78 views tables amsmath colortbl
If I use \rowcolor the \pm symbol that I have in the row gets cropped, it seems. MWE: \documentclass{article} \usepackage{dcolumn} \usepackage{xcolor,colortbl} \definecolor{lightgray}{HTML}{EEEEEE} ...

### 3 How to create a coloured table usig multirow and rotated text?

If someone look for mine today's question, is all about a table. Despites the important tips that I received, I still don't know how to create my table. So I decided to show an image of what I exactly ...

### 1 How to set the vertical multirow alignment?

I have a coloured table with some multirows. I have observed that when I use multirow, sometimes, especially when the text has to make a linebreak, the table losses its vertical alignment. How can I ...

### 9 Colored tables and cline/hhline

2 answers, 9.296 views tables rules colortbl
How to write \clines (or \hhline) in colored tables so that the color of the cell does not hide the line? Here are two solutions but neither of them works fine. \documentclass[a4paper,11pt]{article} ...

### 1 How to control table page breaking using \longtabu, \multirow, colortbl and \hhline

0 answers, 53 views tables longtable colortbl cline hhline
I have a probably quite specific LaTeX problem using tables, due to the needed specification of the table, which are (mainly): I need support for multiple pages I need a lot of multicolumns I need ...

### 2 How to color column heads determined width makecell

2 answers, 1.261 views longtable colortbl makecell
In my answer to question How do I repeat the first table row on every page using longtable inside of tcolorbox? I suggest to (between others) to use makecell package to define head of table and ...

### 1 Color table cell, error

1 answers, 124 views tables colortbl
Here's the problem, in TeXShop or TeXnicle, the following code complies without fuss: \documentclass[10pt]{article} %\usepackage{colortbl} \usepackage{amsmath} \begin{document} \begin{center} \begin{...

### 1 How to expand table row color to fill a table width

1 answers, 106 views tables color colortbl ieeeconf
I have a table. I want to color some rows. The problem is that the color does not fill the whole row. The table looks like this: How to expand the row color so that it fills the whole row? the ...

### 1 Problem with horizontal line in table using \hhline

1 answers, 283 views tex4ht colortbl
The following example shows the problem in my table. There is a unwanted white rule in the left. How can i fix that? Thanks for help! \documentclass[dvipsnames,12pt]{article} \usepackage{xcolor,...

### 2 Removing spaces between colored rows [closed]

0 answers, 903 views tables color longtable colortbl
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: \documentclass[a4paper,...

### 19 Math inside tables and formatting

I'm trying to make a little summary of mathematic analysis, useful for my university, in LaTeX. I'm stuck in the problem of creating nice table, with alternate colouring containing equations with ...

### 2 remove thin white line in dark-colored cells

1 answers, 218 views tables multirow colortbl
I have seen a similar problem, but none of what I have found thus far helps me... I have a pretty complicated table (I have adapted from another source, so I cannot really change the structure), and I ...

### 5 Space between \hline\hline in longtable using package colortbl

1 answers, 1.114 views longtable colortbl
When I use a \usepackage{colortbl} a space between \hline\hline in \longtable dissapears. I haven't find any solution how to put the space back, so I hope you'll help me to find it. \begin{longtable}{...

### 6 colortbl and amsmath conflict

2 answers, 564 views amsmath incompatibility colortbl
I have a problem with colortbl and amsmath. Is someone here aware of a conflict between these two packages? \documentclass[10pt]{article} \usepackage{amsmath} %\usepackage{colortbl} \begin{document} ...

### 1 A black cell is showed where I try to create a colored cell

I'm trying to create a colored table with something like this code: \documentclass[a4paper,twoside]{book} \usepackage{amsmath} \usepackage{color} \usepackage{tabularx} \usepackage{colortbl} \...

### 5 Problem with \rowcolor and monochrome option

1 answers, 241 views tables color colortbl
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 ...

### 7 Define and use new colors for \rowcolor (Colortbl)

How can I use the maroon that I have defined, instead of the gray? Or (better) how can I use directly the maroon from: \usepackage[dvipsnames]{xcolor} \documentclass{scrbook} \usepackage{colortbl} ...

### 11 colortbl: \rowcolor in tables with \begin{tabular}{@{}ccc@{}}

2 answers, 3.924 views tables colortbl
I'm trying to make a table with the following code: \begin{tabular}{@{}ccc@{}} \hline \rowcolor[gray]{.9} a & b & c \\ \hline \end{tabular} Unfortunately the \rowcolor command seems ...

### 1 Alternating column AND row colors with tabu? [closed]

1 answers, 1.515 views tables color tabu colortbl
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 ...

### 9 LaTeX's datatool package together with siunitx

1 answers, 632 views tables siunitx datatool colortbl
I want to use the datatool package to read csv files and parse them to LaTeX tables. Furthermore I want to use siunitx to format the numbers from the csv file. Have a look at the following example: \...

### 5 delarray and colortbl issue

1 answers, 149 views incompatibility arrays colortbl
There seems to have a compatibility issue between the colortbl and delarray packages because when compiling the following code : \documentclass{article} \usepackage[T1]{fontenc} \usepackage[ansinew]{...

### 3 Problem with \doublerulesepcolor in colortbl

I would like a table where the background of the first line is gray and the background of the rest of the table is white. The problem is that the table has a double column line. I have tried \...

### 6 color a column red in a table

2 answers, 1.598 views tables color rules columns colortbl
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 ...

### 3 \cellcolor command from colortbl package not working

1 answers, 5.824 views tables color colortbl
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|} \...

### 5 Colored diagonal divided table cell

1 answers, 3.012 views tables tabularx colortbl diagbox
How can I fill a table cell with different colors? I have tried the diagbox package but it doesn't work as you can see. I am not so much interested in the diagonal line. I only want to separate the ...

### 9 xcolor and everycr-Problem

1 answers, 387 views tables color tex-core colortbl
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) ...