WPF-Math is a .NET library for rendering mathematical formulae using the LaTeX typsetting style, for the WPF framework.
The simplest way of using WPF-Math is to render a static formula in a XAML file as follows.
<Window ... xmlns:controls="clr-namespace:WpfMath.Controls;assembly=WpfMath">
<controls:FormulaControl Formula="\left(x^2 + 2 \cdot x + 2\right) = 0" />
</Window>
For a more detailed sample, check out the example project. It shows the usage of data binding and some advanced concepts.
The library was originally ported from the JMathTex project, copyright 2004-2007 Universiteit Gent. The port was originally named WPF-TeX and was written and maintained by Alex Regueiro. It was later available as WPF-Math on Launchpad, but was unmaintained from 2011 until it was revived in its current form.
The project code is licensed under the terms of MIT license. The original resourses from JMathTeX (DefaultTexFont.xml
, GlueSettings.xml
, PredefinedTexFormulas.xml
, TexFormulaSettings.xml
, TexSymbols.xml
) are taken from the GPLv2-distributed JMathTeX, but JMathTeX authors have granted permission to redistribute these resourses under the MIT license.
The fonts cmex10.ttf
, cmmi10.ttf
, cmr10.ttf
, and cmsy10.ttf
and cmtt10.ttf
are under the Knuth License.