Consider a simple table in the document:
\begin{tabular}{ l c r }
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9 \\
\end{tabular}
How we can define this table within the documentclass as users only put the values of each cell. I mean how to set variables in the documentclass, as we have, for example, for sections:
\section*{Section Header}
Section body
How to define the table as users can fill the variable in the documents as something like:
\table{header1,header2,header3}
row1: cell1, cell2, cell3
...
tikzthe end user does not mess with a long list of codes; just put what he has. I think this is the main purpose ofdocumentsclasses in general (to keep users from mess of codes). – Googlebot Apr 17 '12 at 08:03tablularenvironment is part of the standard LaTeX kernel. As such, any LaTeX user should be okay withtablular. All you will do with your idea is break things! – Joseph Wright Apr 17 '12 at 08:07tabularis mixed with less known packages for better design. In any case, there is no downside (if there's no advantage) for pulling the table codes intodocumentsclassto keep the main document tidy. – Googlebot Apr 17 '12 at 08:10