Skip to content

.NET library for rendering mathematical formulae using the LaTeX typsetting style, for the WPF framework

License

Notifications You must be signed in to change notification settings

illiteratePhD/wpf-math

 
 

Repository files navigation

WPF-Math Build status NuGet

WPF-Math is a .NET library for rendering mathematical formulae using the LaTeX typsetting style, for the WPF framework.

Getting Started

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.

Screenshot of example project

History

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.

License Notes

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.

About

.NET library for rendering mathematical formulae using the LaTeX typsetting style, for the WPF framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 96.6%
  • F# 3.2%
  • PowerShell 0.2%