ForNeVeR / xaml-math

A collection of .NET libraries for rendering mathematical formulae using the LaTeX typesetting style, for the WPF and Avalonia XAML-based frameworks
MIT License
634 stars 100 forks source link

Support for lines between columns and rows in matrices #477

Open ForNeVeR opened 8 months ago

ForNeVeR commented 8 months ago

Discussed in https://github.com/ForNeVeR/xaml-math/discussions/476

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)