如何在 XYmatrix 中用平行箭头绘制三维图表?

如何在 XYmatrix 中用平行箭头绘制三维图表?

我正在尝试修复我在 XYmatrix 中编写的下图。 在此处输入图片描述 我想把它做成一个立方体或者至少是一个平行四边形,但我不知道如何处理对象名称的不同长度。这是我的代码:

\xymatrix{
& Ker(\pi_\phi\flat(\pi_\phi\flat\pi_\psi)) \ar@{ >->}[rr] \ar[dl]_-{\overline{k_{(\cdots),(\cdots)\flat(\cdots)}}\ \ \ \ \ \ } \ar'[d]^{\overline{\mu_{(\cdots)}^{(\cdots)}}}[dd]
& & ((X,\phi)\rtimes A)\flat(((X,\phi)\rtimes A)\flat ((Y,\psi)\rtimes B)) \ar[dd]^-{\mu_{(\cdots)}^{(\cdots)}} \ar[dl]_-{k_{(\cdots),(\cdots)\flat(\cdots)}\ }
\\
Ker(\pi_\phi+(\pi_\phi\flat\pi_\psi)) \ar@{ >->}[rr] \ar[dd]_-{\overline{\binom{i_{(X,\phi)\rtimes A}}{k_{(\cdots),(\cdots)}}}}
& & ((X,\phi)\rtimes A)+(((X,\phi)\rtimes A)\flat ((Y,\psi)\rtimes B)) \ar[dd]^<<<<<<<<{\binom{i_{(X,\phi)\rtimes A}}{k_{(\cdots),(\cdots)}}}
\\
& Ker(\pi_\phi\flat\pi_\psi) \ar@{ >->}'[r][rr] \ar[dl]_-{\overline{k_{(\cdots),(\cdots)}}\ \ \ \ }
& & ((X,\phi)\rtimes A)\flat((Y,\psi)\rtimes B) \ar@{ >->}[dl]^-{k_{(\cdots),(\cdots)}}
\\
Ker(\pi_\phi+\pi_\psi) \ar@{ >->}[rr] & & ((X,\phi)\rtimes A)+((Y,\psi)\rtimes B)
}

任何帮助,将不胜感激!

答案1

我建议切换到tikz-cd

\documentclass{article}
\usepackage[a4paper,landscape]{geometry}
\usepackage{amsmath,amssymb}
\usepackage{tikz-cd}

\newcommand{\bflat}{\mathbin{\flat}}
\DeclareMathOperator{\Ker}{Ker}

\begin{document}

\begin{tikzcd}[column sep={12em,between origins},row sep=4em]
&
\Ker(\pi_\phi\bflat(\pi_\phi\bflat\pi_\psi))
  \arrow[rr,rightarrowtail]
  \arrow[dl,swap,"\overline{k_{(\cdots),(\cdots)\bflat(\cdots)}}"]
  \arrow[dd,swap,"\overline{\mu_{(\cdots)}^{(\cdots)}}" near start]
&&
((X,\phi)\rtimes A)\bflat(((X,\phi)\rtimes A)\bflat ((Y,\psi)\rtimes B))
  \arrow[dd,"\mu_{(\cdots)}^{(\cdots)}"]
  \arrow[dl,swap,"k_{(\cdots),(\cdots)\bflat(\cdots)}"]
\\
\Ker(\pi_\phi+(\pi_\phi\bflat\pi_\psi))
  \arrow[rr,rightarrowtail,crossing over]
  \arrow[dd,swap,"\overline{\binom{i_{(X,\phi)\rtimes A}}{k_{(\cdots),(\cdots)}}}"]
&&
((X,\phi)\rtimes A)+(((X,\phi)\rtimes A)\bflat ((Y,\psi)\rtimes B))
\\
&
\Ker(\pi_\phi\bflat\pi_\psi)
  \arrow[rr,rightarrowtail]
  \arrow[dl,swap,"\overline{k_{(\cdots),(\cdots)}}"]
&&
((X,\phi)\rtimes A)\bflat((Y,\psi)\rtimes B)
  \arrow[dl,rightarrowtail,"k_{(\cdots),(\cdots)}"]
\\
\Ker(\pi_\phi+\pi_\psi)
  \arrow[rr,rightarrowtail]
&&
((X,\phi)\rtimes A)+((Y,\psi)\rtimes B)
  \arrow[uu,leftarrow,crossing over,swap,"\binom{i_{(X,\phi)\rtimes A}}{k_{(\cdots),(\cdots)}}" near end]
\end{tikzcd}

\end{document}

在此处输入图片描述

相关内容