Originally posted by **pomaton12** November 26, 2023
Hello, I would like to know if you can write these types of matrices, that is, place a vertical and horizontal line like in Latex, I have tried every possible way but I did not achieve my purpose. I am working in c# wpf WpfMath
`M =\left[
\begin{array}{c c c |c}
1 & 2 & 2 & 2\\
3 & 4 & 2 & 2\\ \hline
5 & 6 & 2 & 2\\
\end{array} \right] `
`M =\left[
\begin{array}{c c c :c}
1 & 2 & 2 & 2\\
3 & 4 & 2 & 2\\ \hdashline
5 & 6 & 2 & 2\\
\end{array} \right] `
![lagrida_latex_editor](https://github.com/ForNeVeR/xaml-math/assets/129473476/472ff87e-97a3-481c-9a83-f1165ff1dec0)
![image](https://github.com/ForNeVeR/xaml-math/assets/129473476/5ff4ecb9-9f6f-4567-bbc4-553ccef34627)
Discussed in https://github.com/ForNeVeR/xaml-math/discussions/476