I'd like to set the background colors for cells to indicate their relations. How can I do this in ConTeXt?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
Depends on which table macros you are using ( Each cell of a TABLE is a
The same syntax works for TABLEs. You can either pass the color the a specific cell manually,
\bTABLE[background=color]
\bTR
\bTD one \eTD
\bTD two \eTD
\bTD three \eTD
\eTR
\bTR
\bTD[backgroundcolor=red] one \eTD
\bTD two \eTD
\bTD three \eTD
\eTR
\eTABLE
or use setups to select the cell
\setupTABLE[1][2][background=color,backgroundcolor=red]
% col 1 row 2
\bTABLE
\bTR
\bTD one \eTD
\bTD two \eTD
\bTD three \eTD
\eTR
\bTR
\bTD one \eTD
\bTD two \eTD
\bTD three \eTD
\eTR
\eTABLE
|
|||||
|