答案1
答案2
具有(2022-06-26{pNiceArray}
的nicematrix
≥ 6.10a)。
\documentclass[12pt]{article}
\usepackage{nicematrix,tikz}
\NiceMatrixOptions
{
custom-line =
{
letter = : , % <- for the vertical rules
command = hdashedline , % <- for the horizontal rules
tikz = dashed ,
total-width = \pgflinewidth % <- optional
}
}
\begin{document}
\[
\begin{pNiceArray}{ccc:c}
\Block{3-3}{d(f_0)_{x_0}}
& & & a_1 \\
& & & \Vdots \\
& & & a_1 \\
\hdashedline
0 & \Ldots & 0 & 1
\end{pNiceArray}
\]
\end{document}
您需要多次编译(因为 PGF/Tikz 节点)。