Table Background color

This is already a reference that is solved by others,

 

 

Here I made a quick gif to help people to get it quickly.imageedit_9_8881492193

 

Steps:

1.Document–settings–Latex Preamble: \usepackage{colortbl}

2.Insert the table

3.Insert Latex codes, or use keyboard shortcut cmd+L

4.Type the background color that you want, for example,

\rowcolor{}(name of color)

In Latex, only

red, green, yellow, blue, cyan, magenta, black and white are the choices or pure color names.

will make the color of the entire row.

5. Or, define the color by yourself:

\definecolor{colorname}{colormodel}{colorvalues}

Video_table_cell

 


ref: 1.color_ref_1

 

Published by

Yijiao Liu

Applied Economist, Ph.D. candidate at Economics Department, Stony Brook

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s