\documentclass{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  I use this system to annotate SVG with latex symbols.
%  After genenerating the SVG, use inkscape to convert to EPS:
% $ inkscape -E plot1.eps plot1.svg
%  Be prepared to see some font substitutions in the EPS file!
%  Use this to add latex math to EPS graphics:
% $ latex one.tex
% $ dvips one
% $ ps2eps -l -f one.ps
%  Optionally, then use an editor to delete the 7th line in one.eps,
%  the line beginning with %%DocumentPaperSizes. Postscript viewers will then
%  correctly display a tight bounding box. 
% $ convert -density 160x160  one.eps one.png
% $ epstopdf one.eps  
%  Note that one.pdf and one.png can be included in pdflatex documents, using
%  \includegraphics{one}
%  but beware pdflatex will look for one.png and then one.pdf.
%  So either delete one.png or explictly include the pdf: 
%  \includegraphics{one.pdf}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
\usepackage{graphicx}
% put your frequently used annotation commands here:
\newcommand{\uvec}[1]{\widehat{\mbox{\bf #1}}}
\newcommand{\pd}[2]{\frac{\partial#1}{\partial#2}}
\pagestyle{empty}
\begin{document}
\include{fourpictures} %name of .tex snippet (without .tex extension)
\end{document}
