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
637 stars 100 forks source link

Add support for \cancel and co. #402

Closed Orace closed 1 year ago

Orace commented 1 year ago

This commit address #349 and add support to:

Current output of \cancel{Q} \\ \xcancel{69} \\ \frac{a\bcancel{b}}{\bcancel{b}}:

cancel

Orace commented 1 year ago

@ForNeVeR, this is a draft work, I'm open to (and ask for) any advice on this.

Orace commented 1 year ago

\cancelto need an arrow, I don't know how to draw this, maybe something like what is done for the radical atom (sqrt, √), maybe we should work on this in another PR (I will be AFK for several weeks soon).

ForNeVeR commented 1 year ago

I think we'll leave \cancelto still open for grabs for now.