colortbl

Tables in color.

Loading

\usepackage{colortbl}

A module of its own, compiled into mLaTeX: the package's commands are defined over mLaTeX's primitives.

Commands

\arrayrulecolor, \cellcolor, \columncolor, \doublerulesepcolor, \rowcolor.

Example

A document that uses it, from mLaTeX's own tests, so it compiles as written, and below it what mLaTeX sets from it in your browser:

colortbl.tex
\documentclass{article}
\usepackage{colortbl}
\usepackage{xcolor}
\begin{document}
\begin{tabular}{>{\columncolor{yellow}}lc}
\rowcolor{gray!20} a & b \\
c & \cellcolor{red!30} d \\
\end{tabular}
\end{document}
OutputLoading mLaTeX in your browser
Loading mLaTeX

Limits

Rules stay black.