I need to make many images wich uses the same preamble. To make those images, I use the document class standalone. My aim would be to create a file preamble.tex and to include it in the other files, like this :
%preamble.tex
\usepackage[frenchb]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{tikz,pgf}
%drawing tools
and
%image.tex
\documentclass{standalone}
\include{preamble}
\begin{document}
\begin{tikzpicture}
%draw my picture
\end{tikzpicture}
\end{document}
But it doesn't seem to work for me.
\inputrather than\include, by the way. – cfr Oct 21 '14 at 16:04\inputrather than\include. – cfr Oct 21 '14 at 16:09