\documentclass[varwidth,margin=2mm]{standalone} \usepackage{amsmath,tikz,booktabs} \begin{document} %INSERT% \end{document}