% tightpage.tex % Patrick Simianer
% YYYY-MM-DD \documentclass{article} \usepackage[graphics,tightpage,active]{preview} \usepackage{tikz} \PreviewEnvironment{X} \newlength{\imagewidth} \newlength{\imagescale} \begin{document} \begin{X} %input \end{X} \end{document}