Tengo esta pieza este MWE:
\documentclass[11pt]{article}
\usepackage{amsmath}
\begin{document}
My equation
\begin{equation*}
\setlength{\unitlength}{1cm}
\fbox{\begin{picture}(17,5)(-1.5,0)
\thicklines
\put(3.2,3){$x_5$}
\put(3.2,1){$x_6$}
\put(4,3){\line(1,-1){1}}
\put(4,1){\line(1,1){1}}
\put(5,2){\circle*{0.15}}
\put(5,2){\line(1,0){2}}
\put(5.9,1.5){$x_9$}
\put(7,2){\circle*{0.15}}
\put(7,2){\line(1,1){1}}
\put(7.6,2.2){$x_8$}
\put(8,3){\line(2,1){1}}
\put(8,3){\line(2,-1){1}}
\put(8,3){\circle*{0.15}}
\put(9.3,3.5){$x_9$}
\put(9.3,2.3){$x_7$}
\put(7,2){\line(2,-1){2}}
\put(9.3,0.9){$x_7$}
\end{picture}}
\end{equation*}
\end{document}
Eso produce este diseño (la línea roja vertical proviene del visor xdvi):
Mi pregunta es: ¿cómo puedo recortar la figura (eliminar el espacio adicional a su alrededor)?
Respuesta1
El tamaño de la imagen se especifica en las opciones del entorno, tu 17 estaba sobredimensionado
\documentclass[11pt]{article}
\usepackage{amsmath}
\begin{document}
My equation
\begin{equation*}
\setlength{\unitlength}{1cm}
\fbox{\begin{picture}(7,3.5)(3,0.5)
\thicklines
\put(3.2,3){$x_5$}
\put(3.2,1){$x_6$}
\put(4,3){\line(1,-1){1}}
\put(4,1){\line(1,1){1}}
\put(5,2){\circle*{0.15}}
\put(5,2){\line(1,0){2}}
\put(5.9,1.5){$x_9$}
\put(7,2){\circle*{0.15}}
\put(7,2){\line(1,1){1}}
\put(7.6,2.2){$x_8$}
\put(8,3){\line(2,1){1}}
\put(8,3){\line(2,-1){1}}
\put(8,3){\circle*{0.15}}
\put(9.3,3.5){$x_9$}
\put(9.3,2.3){$x_7$}
\put(7,2){\line(2,-1){2}}
\put(9.3,0.9){$x_7$}
\end{picture}}
\end{equation*}
\end{document}