colortbl's questions - English 1answer

174 colortbl questions.

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 ...

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 ...

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|>...

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 ...

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 ...

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? \...

I have a simple table like: \documentclass[varwidth]{standalone} \usepackage[table]{xcolor} \usepackage[english]{babel} \usepackage{multirow} \begin{document} \begin{center} \...

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} \newcommand\y{\...

I need your help to obtain the grey bars in this matrix:

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 ...

Can anyone help me find colortbl? I have updated MikTeX and TexStudio but I still get an error message. Thank you.

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?

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 ...

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 ...

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 ...

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: ...

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 ...

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 ...

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 ...

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} \...

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} ...

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 ...

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 ...

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} ...

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 ...

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 ...

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{...

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 ...

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,...

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,...

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 ...

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 ...

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}{...

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} ...

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} \...

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 ...

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} ...

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 ...

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 ...

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: \...

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]{...

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 \...

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 ...

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|} \...

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 ...

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) ...

My OS is Windows 10. While trying to install colortbl got the error message: Windows API error 87: The parameter is incorrect. Dat a: path="C:\ProgramData\MiKTeX\2.9\miktex/data/le\...

Related tags

Hot questions

Language

Popular Tags