答案1
制作一个七列矩阵:
\documentclass{article}
\usepackage{amsmath}
\usepackage[all,cmtip]{xy}
\begin{document}
\[
\xymatrix@C-1pc{
& B' \ar[rr]^{t_i} && H \ar[rr]^i && B \ar[dr]^{\tilde{v}} \\
E'_{n+1} \ar[ur]^{t_{\tilde{w}}} \ar[rr]_{t_{j_n}} &&
E'_n \ar[rr]_{\bar{u}} && E_n \ar[rr]_{j_n} && E_{n+1}
}
\]
\end{document}
该指令@C-1pc
减少了列之间的空间。
缺少箭头:
\documentclass{article}
\usepackage{amsmath}
\usepackage[all,cmtip]{xy}
\begin{document}
\[
\xymatrix@C-1pc{
& B' \ar[rr]^{t_i} && H \ar[rr]^i \ar[dr]^v && B \ar[dr]^{\tilde{v}} \\
E'_{n+1} \ar[ur]^{t_{\tilde{w}}} \ar[rr]_{t_{j_n}} &&
E'_n \ar[rr]_{\bar{u}} \ar[ur]^{t_w} && E_n \ar[rr]_{j_n} && E_{n+1}
}
\]
\end{document}
和tikz-cd
:
\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz-cd}
\begin{document}
\[
\begin{tikzcd}[column sep=small]
& B' \arrow[rr,"t_i"] && H \arrow[rr,"i"] \arrow[dr,"v"] &&
B \arrow[dr,"\tilde{v}"] \\
E'_{n+1} \arrow[ur,"t_{\tilde{w}}"] \arrow[rr,"t_{j_n}"'] &&
E'_n \arrow[rr,"\bar{u}"'] \arrow[ur,"t_w"] && E_n \arrow[rr,"j_n"'] &&
E_{n+1}
\end{tikzcd}
\]
\end{document}
标签默认排版在箭头左侧(想想河流),但使用"<label>"'
(注意撇号)标签则排版在另一侧。或者,在标签前面加上关键字swap
。