Questions tagged [rowcolor]

The tag has no usage guidance.

4
votes
2answers
920 views

Row colour gaps in tabularx with \aboverulesep and \{}

\documentclass[]{article} \usepackage[table,dvipsnames]{xcolor} \usepackage{multicol,booktabs,tabularx} % Table settings \renewcommand{\aboverulesep}{1pt} \renewcommand{\belowrulesep}{1pt} \begin{...
7
votes
2answers
6k views

\rowcolor for a \multirow

The \multirow text is covered by the background color. Does someone know why and can fix it? \begin{table}[h] \caption{caption} \label{tab} \centering \begin{tabular}{cccccc} ...
9
votes
1answer
932 views

Why is the start row of \rowcolors ignored in tabularx?

Seems like \rowcolors when used for a {tabluarx} doesn’t work properly: The specific number of the first row to be colored is ignored. This si not the case for a normal {tabluar}. In both tables the ...
2
votes
3answers
1k views

How to setup a longtable with booktabs and a colored (head) row

I'd like to make a longtable with the first (head) row colored in grey. Since booktabs inserts white space below the \toprule and above the \midrule, i need to insert a colored rule: \newcommand*{\...
1
vote
2answers
113 views

Solution for disappearing table/cell borders with \rowcolor in the PDF viewer depending on zoom?

We are currently trying to convert some documents (with our corporate design) from InDesign to LaTeX. These documents are supposed to be available on the Homepage as PDF and also print out nicely. The ...
6
votes
3answers
660 views

Table xcolor @{,} \rowcolor broken text

i am using a formatted table like this: \documentclass[a4paper,10pt]{report} \usepackage[table]{xcolor} \begin{document} \begin{tabular}{|c|r@{,}l|c|c|c|c|} \hline $B_N$ ...
1
vote
1answer
447 views

makegapedcells disables rowcolor

I have following table \documentclass[a4paper, 11pt, parskip]{scrreprt} \usepackage{graphicx} \usepackage{colortbl} \usepackage{xcolor} \usepackage{multirow} \usepackage{makecell}%To keep spacing of ...
5
votes
1answer
290 views

Does something like \rowcolors exist for groups of rows?

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 ...
4
votes
2answers
2k views

Misplaced noalign after rowcolor in multicolumn

I want to use row coloring with \multicolumn. The MWE below works, but if I change to the commented, colored line, I receive a "misplaced \noalign". What do I wrong? \documentclass{article} \...
2
votes
2answers
84 views

Clear rowcolor at midrule

I'm trying to make my tables look nicer by default. What I'm looking to do is fill every row between a toprule and a midrow. The next row after a toprow can be easily filled by appending \rowcolor{...
1
vote
2answers
638 views

Adjust table widths, spacing and color

I have a question regarding tables in Latex. I tried to find a solution now for two hours, but couldn't fix all my problems in one code. So I found single solutions for everything, but couldn't bring ...
1
vote
1answer
451 views

Table with multirow and rowcolors

For a template I'm creating at the moment I need a table with alternating rowcolors in the first two columns and one multirow (third column) containing an image. This multirow should not react to the ...
1
vote
1answer
116 views

Colored row in beamer

I want to display the following table with some animation. Like when i transitioning from one row to the next, I want the row color to change so that a hovering effect is created. Only the ...
0
votes
3answers
119 views

If condition without any package?

I create a table by rows like this: \row{1}{Sunday,Su,05.09.2015}{N}{08:00,17:00,12:00,13:00}{8.0,1}{Airplane Hangar} How can I prove, if the first parameter is 0 or 1, an if it's 1 then set a ...