Needless to say, a basic table can be generated as:
\documentclass[a4paper]{article}
\begin{document}
\begin{tabular}{|l|l|l|}\hline
name1 & name2 & name3 \\
stree1 & stree2 & stree3 \\
address1 & address2 & address3 \\
post code 1 & postcode2 & postcode 3 \\
\hline
\end{tabular}
\end{document}
But, for my purpose, I need to change the table frequently (say, I need to remove name1 and include name4 for one case and so on.)
Is it possible to create the table columnwise, say:
\begin{magic}
\cola{name1; street1, address1, post code 1}
\colb{name2; street2, address2, post code 2}
\colc{name3; street3, address3, post code 3}
\end{magic}
to achieve the same output?
This is possibly same question as Create a table column by column with special border formatting But I can't find out whats going on there.


