Is there a way I can save all my
tabular formatted tables in a separate a file and call them wherever they are needed. This post discusses it for single table but I need for multiple.
There is nothing special about tables, it's possible to have a file (say
mytables.sty) in which each table is defined to be a command say
\mytableB etc (just surround the normal table markup by
Then you can use
\mytableB in any document that needs
But if there are a lot of tables in the file you impose the time cost of reading the file, and the memory cost of storing all the definitions, and obscure the document by hiding the table content, so it isn't clearly a win.