Instead of using the article document class on this line, you could use the following LaTeX code: \documentclass[crop=true]{standalone}.
The standalone document class with the crop option set to true will create nicely cropped documents that can be easily used elsewhere. I think the purpose of latexTable when making an entire LaTeX document is not to create an A4 document, because this possibly contains a lot of whitespace. Cropping the documents is a great solution to this problem.
Hi, sorry for the late comment on this and thank you for your feedback. It is a good point and I will think about it for another day or two and come up with a proposal.
Instead of using the
article
document class on this line, you could use the following LaTeX code:\documentclass[crop=true]{standalone}
.The
standalone
document class with thecrop
option set totrue
will create nicely cropped documents that can be easily used elsewhere. I think the purpose oflatexTable
when making an entire LaTeX document is not to create an A4 document, because this possibly contains a lot of whitespace. Cropping the documents is a great solution to this problem.See also: Usage of the standalone class