关于此代码
\documentclass{article}
\usepackage{amsmath}
\usepackage{stix}
\newcommand{\Tonde}[1]{\left(#1\right)}
\begin{document}
\[\Tonde{\begin{array}{c|c|c|c}\textrm{Id}_{i-1}&0_{\mathbb{K}^{i-1}}&O_{i-1}&\overline{b_{h \in[1,i-1]}}\vspace{1mm}\\\cline{1-3}0^T_{\mathbb{K}^{i-1}}&0&0^T_{\mathbb{K}^{n-i+1}}&\overline{b_i}\ne0\vspace{1mm}\\\cline{1-3}O_{n-i+1}&0_{\mathbb{K}^{n-i+1}}&\textrm{Id}_{n-i+1}&\overline{b_{k\in[i+1;n]}}\end{array}}\]
\end{document}
我希望这个数组的垂直线是连续的。我该怎么做?非常感谢
答案1
这个怎么样?
\documentclass{article}
\usepackage{amsmath}
\usepackage{stix}
\newcommand{\Tonde}[1]{\left(#1\right)}
\begin{document}
\[
\Tonde{
\begin{array}{c|c|c|c}
\textrm{Id}_{i-1}&
0_{\mathbb{K}^{i-1}}&
O_{i-1}&
\overline{b_{h \in[1,i-1]}}
\\[1mm] % <--
\cline{1-3}0^T_{\mathbb{K}^{i-1}}&
0&
0^T_{\mathbb{K}^{n-i+1}}&
\overline{b_i}\ne0
\bigcup
\\[1mm] % <--
\cline{1-3}O_{n-i+1}&
0_{\mathbb{K}^{n-i+1}}&
\textrm{Id}_{n-i+1}&
\overline{b_{k\in[i+1;n]}}
\end{array}
}
\]
\end{document}