[OS X TeX] Centering a diagram drawn with xypic

Alan Munn amunn at msu.edu
Sat Apr 4 15:07:24 EDT 2009


At 1:52 PM -0400 4/4/09, Nathan Paxton wrote:
>	Hi all,
>
>	This is a pretty simple question. I have a diagram with 
>xypic, and I want to center it in the page. Right now, it's 
>insisting on being on the left. How can I make it center? I've tried 
>\begin{center}/ \end{center} around the:
>
>\xymatrix{
>*\txt{Some Words}  \ar[r]\ar@{-->}[dr]_-{?} & B\ar[d] \\
>	&  C
>	}
>
>But that doesn't seem to be working.

Try putting the matrix in a minipage and putting the minipage within 
the center environment.

Alan

-- 
Alan Munn						amunn at msu.edu
Department of Linguistics
and Germanic, Slavic, Asian and African Languages		Tel. 
	517-355-7491
Michigan State University, East Lansing MI 48824 USA	Fax	517-432-2736



More information about the MacOSX-TeX mailing list