[Xy-pic] centering problem

Caglar Girit girit@MIT.EDU
Wed, 25 Dec 2002 22:52:09 -0500


hello. i hope my problem is simple. i can't figure out how to center
xymatrices. the center environment doesn't seem to help. for example the
following does not come out centered. this is latex. thanks!

\begin{figure}[h]
\begin{center}
\begin{xy}
\UseComputerModernTips
\xymatrix @-1pc {
& & *+++[o][F-]{u} \ar@(ul,ur)[]^{0} \ar[rd]^1 \\
\ar[r] & *+++[o][F-]{s} \ar[ru]^1 \ar[rd]^0 & & *+++[o][F=]{f} \ar[ll]_{0,1} \\
& & *+++[o][F-]{d} \ar@(dl,dr)[]_{1} \ar[ru]^0 }
\end{xy}
\end{center}
\caption{Simple finite automaton}
\label{fig:dfa}
\end{figure}



-- 
cog