[LaTeX] Centreing a xymatrix in figure environment
I'm trying to center some xy-pic code but using \centering or center environments fails to do so. Anybody know why and how I can solve it?
Here the code I try to center: Code:
\begin{figure} |
I'm not familiar with the type of object you're centering, or if it has any special requirements. My knee-jerk suggestion would be to try doing an \hfill before and after your xypic, or whatever the heck that thing is. If you get to a point where you're ready to give up on an elegent solution, you can always force some space on the left using \hspace.
|
You can use \centerline{} if you wish. Thus, your code becomes
Code:
\begin{figure} mj |
Super.... centerline{} worked. Thanks!
Although strange that \centering and \begin{center} ... \end{center} didn't?!?!?!? |
All times are GMT -5. The time now is 12:20 AM. |