I have too large diagram and I want to resize the box width, but I keep on having a compilation error missing } inserted }
\documentclass{article}
\usepackage{amsmath}
\usepackage{xcolor}
\usepackage[all,cmtip,color]{xy}
\nc{\conv}[1][]{\mathop{\circ}\limits_{#1}}
\nc{\muhom}{\mu hom}
\begin{document}
$$
\resizebox{width}{!}{
&&\xymatrix{
(\muhom(F_{1},F_{2})\conv\muhom(G_{1},G_{2}))\circ\muhom(H_{1},H_{2})\ar[d]_-{\sim}\ar[r]&\muhom(F_{1}\conv G_{1},F_{2}\conv G_{2})\circ\muhom(H_{1},H_{2})\ar[r]&\muhom((F_{1}\conv G_{1})\conv H_{1},(F_{2}\conv G_{2})\conv H_{2})\ar[d]^-{\sim}\\
\muhom(F_{1},F_{2})\conv(\muhom(G_{1},G_{2})\circ\muhom(H_{1},H_{2}))\ar[r]&\muhom(F_{1},F_{2})\circ\muhom(G_{1}\conv H_{1},G_{2}\conv H_{2})\ar[r]&\muhom(F_{1}\conv (G_{1}\conv H_{1}),F_{2}\conv (G_{2}\conv H_{2}))\\
}
}
\end{document}
Someone has an idea? Or is it possible to deal with large diagram in order to fit their width in the document?
\nc
? I guess\newcommand
, but it really should work right away, to reproduce your error.&&
also.\mu_{\hom(F_{1},F_{2})}
, right? Or should be\mu\hom(F_{1},F_{2})
?