\documentclass{standalone}
\begin{document}
Just a test
\end{document}
