we've quite often have to write tables in our CI layout (colors, borders, fonts, etc). At the moment we use the standard tabular environment with lots of extra instructions (in the environment parameters as well as individual cells).
I'd like to code my own environment, which handles everything on its own, so I can simply type it like that:
\begin{myTable}{lll}
head a & head b & head c \\
data a1 & data b1 & datac1 \\
data a2 & data b2 & datac2 \\
...
\edd{myTable}
And this will automatically produce my CI-formatted table (eg. including horizontal line under head, specific colors for head and body cells, etc, etc).
Could anyone please enlighten me on how do that ?
thx.

pgfplotstablepackage could very well be what you're looking for- my answer to this question gives a little demonstration, and there's the excellent manual to study too :) – cmhughes Aug 15 '13 at 16:24