\documentclass[]{standalone}
\input{tikzpreamble.tex}
\begin{document}
\begin{tikzpicture}
% insert tikz
\end{tikzpicture}
\end{document}