Graphics, Figures & Tablesolor a cell based on it's content (x)

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
JD404
Posts: 1
Joined: Fri Feb 26, 2016 8:00 pm

olor a cell based on it's content (x)

Post by JD404 »

how to color a cell based on it's content (x)
for example
the background should be
green : if 0<x<20
yellow : if 20<x<60
red : if 60<x<100

thank you

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply