Display equations in a WPF application

Total Post:412


 2573  View(s)
Rate this:

I know this is a duplicate, but all other similar questions I have found are quite old and most accepted answers are outdated or dead links.

I would like to display equations in WPF in a good looking way, if possible without going through generating images. For example having a simple control that I add to my WPF app that would let me add the equation through MathML or Tex formatting.

Since with Windows 7 Microsoft integrated a very nice equation drawing capability (Math Input Panel) and also has several tools that can display nice looking equations (Word and MS Mathematics), I'm very surprised that there is no way to easily display an equation in WPF.

Is there any way to leverage one of those tool for the display?

I'm not trying to edit it, or let the user modify it, but simply display an equation.

Actually, for now, even subscripting or superscripting would be quite useful. I've tried using the Typography.Variants property, but it works only if I choose the font "Palatino Linotype".

  1. Re: Display equations in a WPF application

    Hi Pravesh,

     It shows how to use MimeTex to take a Tex formatted equation, generate a gif and display it. The example is in winforms but if you can generate the equation it is easy to display in wpf.

      Modified On Sep-21-2013 08:02:20 AM


Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.