[texhax] Conditionally Formatting Tabular Cells

Mike B. mb78aa at yahoo.com
Mon Jul 12 04:42:13 CEST 2010


Dear All,

Is it possible to format groups of tabular cells?.
I have a tabular with several rows and columns and I wish to modify the formatting (for example, to \tt) for groups of cells (not an entire row or column).  There may several such groups inside the tabular so entering the formatting command for each cell manually seems tedious.

So basically I am looking for a way to conditionally format tabular cells, so a meta-code is something like
if rows==1:2 and column==1:3 \tt 
if rows==5:7 and column==6:7 \tt 

to change two groups of cells to \tt.

Thanks,
Mike.





More information about the texhax mailing list