I am trying to put two feynman diagrams side by side, but they get displayed below eachother. I am using feynmf and subfloat. This normally works for pictures.
\begin{figure}[ht!]
\centering
\subfloat{
\begin{fmfgraph*}(40, 25)
\fmfstraight
\fmfbottom{wm,i2,z2}
\fmftop{wp,i1,z1}
\fmf{dashes}{wp,i1,z1}
\fmf{dashes}{z2,i2,wm}
\fmf{dashes,caption=$W^{+}$}{i1,i2}
% \fmf{dashes,caption=$Z^0$}{i2,z1}
% \fmf{dashes,caption=$Z^0$}{i2,z2}
\fmfv{lab=$Z^0$}{z1}
\fmfv{lab=$Z^0$}{z2}
\fmfv{lab=$W^+$}{wp}
\fmfv{lab=$W^-$}{wm}
\end{fmfgraph*}
}
\subfloat{
\begin{fmfgraph*}(40, 25)
\fmfstraight
\fmfbottom{wm,i2,z2}
\fmftop{wp,i1,z1}
\fmf{dashes}{wp,i1,z1}
\fmf{dashes}{z2,i2,wm}
\fmf{dashes,caption=$W^{+}$}{i1,i2}
% \fmf{dashes,caption=$Z^0$}{i2,z1}
% \fmf{dashes,caption=$Z^0$}{i2,z2}
\fmfv{lab=$Z^0$}{z1}
\fmfv{lab=$Z^0$}{z2}
\fmfv{lab=$W^+$}{wp}
\fmfv{lab=$W^-$}{wm}
\end{fmfgraph*}
}
\caption{Exchange of W boson}
\end{figure}

\subfloats – egreg Jan 25 '12 at 17:34fmfgraph*. For example, which packages should they include.... – Jan 25 '12 at 17:50