# Standalone preamble for TikZ graphics

Hello,

currently, the graphics build by TikZ are surrounded by an article document (class) like this:

\documentclass{article}

\usepackage{tikz}

\usepackage{aeguill}

\begin{document}

\begin{tikzpicture}

...

\end{tikzpicture}

\end{document}

Instead of using article, I recommend to use the standalone document class

\documentclass{standalone}

https://tex.stackexchange.com/questions/32127/standalone-tikz-pictures

Benefit: The size of the final PDF (generated by LaTeX) fits the graphic exactly. In particular, that is important for graphics which are bigger than the default paper size!