Einfügen als externes Bild

\newif\iffinal% introduce a switch for draft vs. final document%\finaltrue % use this to compile the final document% [more preamble that in my case also uses \iffinal for other stuff]\pgfrealjobname{proposal}% <-- NOTE: this needs to be the real document's basename% (else you'll only get an empty output file)\iffinal\newcommand{\inputTikZ}[1]{%\input{#1.tikz}%}\else\newcommand{\inputTikZ}[1]{%\beginpgfgraphicnamed{#1-external}%\input{#1.tikz}%\endpgfgraphicnamed%}\fi

Bild einfügen das in figs/picture.tikz gespeichert ist:

\begin{figure}[t]
\centering% like \input{...}, but adds caching via PGF's externalization feature:\inputTikZ{figs/picture}\caption{\label{fig:isoosi-model}ISO/OSI stack with the network model and the PCM scope.}\end{figure}