1 2 3 4 5 6 7
\documentclass[varwidth=true,border=5mm]{standalone} \usepackage{blindtext} %% \usepackage{geometry} \begin{document} \blindtext \blinddocument \end{document}