Skip to content

m-x-d/dwml_cs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dwml_cs - MSOffice OMML to LaTeX conversion library.

A C# port of dwml library by xiilei (https://github.com/xiilei/dwml).

Example input:

equation

Example output:

2\pi\int_{a}^{b}{y\sqrt{1+(f^{\prime}(x))^{2}}}\ dx

Usage:

using mxd.Dwml;

var xmldoc = new XmlDocument();
xmldoc.Load("example.xml");

// DocumentElement is expected to be a m:oMath node.
var latex_str = MLConverter.Convert(xmldoc.DocumentElement);
Console.WriteLine($"LaTex: '{latex_str}'");

About

OMML to LaTeX conversion library.

Topics

Resources

License

Stars

Watchers

Forks