I have the following algorithm
\documentclass[12pt,english]{article}
\usepackage{nicematrix}
\NiceMatrixOptions{renew-dots}
\NiceMatrixOptions{renew-matrix}
\begin{document}
$$
\begin{bNiceMatrix}
\ve_{1,1} & \cdots &\ve_{1,k}&\ve_{1,k+1} &\cdots & \ve_{1,n} \\
& \Ddots& \vdots & \vdots & \Ddots & \vdots \\
& & \ve_{k,k} &\ve_{k,k+1} &\cdots& \ve_{k,n} \\
\hline
& & & \ve_{k+1,k+1} & \cdots & \ve_{k+1,n} \\
\Block{2-3}<\huge>{0}
& & && \Ddots & \vdots \\
& & & & & \ve_{n,n} \\
\end{bNiceMatrix}
$$
\end{document}
I have two issues, which I have highlighted below :
The first thing I want is to have that vertical line to achieve a look of having a block partioned matrix.
The second issue I have is the overlapping of the dots in the highlighted area, is it possible to fix this?
Honestly, dealing with block matrices even with powerful packages such as nicematrix are exhaustive I wish there was some online software that could create block matrices easily and generate a code.
Best Answer
Use
\CodeAfter
to draw the dotted diagonal and the vertical line.