我想\searrow
在侧数组中写入,但长度太小,我无法将其加长。如何增加它的长度?
代码如下:
\[\begin{array}{cccccc}
\phi^{-1}(D) & R & \!\!\!\!\xrightarrow{\hspace*{0.1cm}\phi/R\hspace*{0.1cm}} & \!\!\!\!D & \cong R/I\\
{\begin{tabular} b\\ \downarrow \\b\end{tabular}} & \Bigg\downarrow{i_2} & \searrow & \Bigg\downarrow{i_1}& {\begin{tabular} \alpha\\ \downarrow \\\alpha\end{tabular}}\\
& T & \!\!\!\!\xrightarrow{\hspace*{0.3cm}\phi\hspace*{0.3cm}} & \!\!\!\!T/I &
\end{array}\]
答案1
为此,我推荐 tikzcd。
\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz-cd}
\begin{document}
% \[\begin{array}{cccccc}
% \phi^{-1}(D) & R & \!\!\!\!\xrightarrow{\hspace*{0.1cm}\phi/R\hspace*{0.1cm}} & \!\!\!\!D & \cong R/I\\
% {\begin{array}{c} b\\ \downarrow \\b\end{array}} & \Bigg\downarrow{i_2} &
% \searrow & \Bigg\downarrow{i_1}& {\begin{array}{c} \alpha\\ \downarrow
% \\\alpha\end{array}}\\
% & T & \!\!\!\!\xrightarrow{\hspace*{0.3cm}\phi\hspace*{0.3cm}} & \!\!\!\!T/I &
% \end{array}\]
\[\begin{tikzcd}[row sep=2pt,column sep={7mm,between origins}]
\phi^{-1}(D) & R\arrow[dddd,"i_1"] \arrow[ddddrrr] \arrow[rrr,"\phi/R"] & & & D\arrow[dddd,"i_2"] & \cong R/I\\
a\arrow[dd] & & & & & b\arrow[dd]\\
& & & & & \\[4mm]
a & & & & & b\\
& T \arrow[rrr,"\phi"]& & & T/I & \\
\end{tikzcd}\]
\end{document}
(您还可以找到代码的注释版本,该版本不再引发错误,因为我将列说明符添加到了表格中,然后将其转换为数组。)