xaml-math icon indicating copy to clipboard operation
xaml-math copied to clipboard

Multiple integrals

Open gsomix opened this issue 8 years ago • 5 comments
trafficstars

We need to implement multiple integrals commands.

https://www.sharelatex.com/learn/Integrals,_sums_and_limits#/Multiple_integrals

gsomix avatar Feb 26 '17 06:02 gsomix

I think a way to do that would be to modify the defaultTexFont and it's dependencies. The current fonts when I checked, don't have some character glyphs, but Asana math, and a few other fonts do. I developed a little tool for previewing the glyphs in a character. Try to get the Asana math font and put 8650 and 8800 at the start and end Textbox so and update, to see the characters.

B3zaleel avatar Jul 10 '18 18:07 B3zaleel

@B3zaleel Thanks again for ideas and contributions. You seem very keen to take this project forward, which I'm grateful for. Unfortunately I (the original author of this project) have very little time to maintain this project these days, and rarely use .NET. @ForNeVeR is the current maintainer, but he seems rather preoccupied too. Let's see if he shows up over the next week or so, but I encourage you to maintain your own branch for now, and make comments/PRs here.

alexreg avatar Jul 10 '18 23:07 alexreg

@B3zaleel thanks for your ideas. I fear it won't be as easy as just replacing the font we're using with Asana Math (although it's a good suggestion on its own: I'd like to eventually support user-supplied fonts as well).

For WPF-Math to properly process the font, we need to extract some metrics data (check DefaultTexFont.xml), and for now we're not sure how to get some of the metrics from the font file in an automated way :(

ForNeVeR avatar Jul 12 '18 18:07 ForNeVeR

I managed to get a separate version to work with Asana Math but the main problem is with the big operators and radicals. The current algorithm favors big operators with more depth than height. The memory usage is massive as well.

B3zaleel avatar Sep 05 '18 09:09 B3zaleel

Check the font metrics in the "Data" directory of PR #156's patch. The file is "AsanaMath....wmpkg", it can open with 7zip and currently has over 2000 symbols.

B3zaleel avatar Oct 15 '18 07:10 B3zaleel