I'm trying to make all arrows in the following diagram look the same length.
In beamer, the code is as follows:
\documentclass[14pt]{beamer}
\usepackage{xypic}
\begin{document}
\begin{frame}{A visualization of $\mathcal{Q}_n$}
\begin{spacing}{1.5}
\begin{center}
\centerline{\xymatrix@R=1pc@C=0.1em{
& & & & \ar[dl](0,n)\ar[dr] & & & & &\\
& & & (0,n-1)\ar[dl]\ar[dr] & & \ar[dl](1,n)\ar[dr]& & & & &\\
& & \Ddots\ar[dr]\ar[dl] & & & & \ddots\ar[dr]\ar[dl] & & &\\
& (0,1)\ar[dr]\ar[dl] & & & \cdots & & & \ar[dl](n-1,n)\ar[dr] & &\\
(0,0) & &(1,1) & & \cdots & & & & (n,n)}}
\end{center}
\end{spacing}
\end{frame}
\end{document}
How can I edit this to make all arrows the same length?
\phantom{(0,0)}
in those empty nodes?\begin{document}
and some definition or package for\begin{spacing}
. If possible, give a very minimal example using thearticle
orstandalone
class. Like this, it is not clear if the problem depends on beamer or not. Thank you.