eliduenisch / latexTable

This MATLAB function converts matrices, cells or tables from MATLAB to LaTeX table code.
http://www.mathworks.com/matlabcentral/fileexchange/44274-latextable
62 stars 23 forks source link

Use standalone class instead of article for full LaTeX document #6

Open erikhuizinga opened 8 years ago

erikhuizinga commented 8 years ago

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.

See also: Usage of the standalone class

eliduenisch commented 8 years ago

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.