Spire.Presentation 11.6.11 adds support for exporting formulas as MathML and LaTeX

Spire.Presentation 11.6.11 adds support for exporting formulas as MathML and LaTeX

2026-06-30 07:35:15

We’re pleased to announce the release of Spire.Presentation 11.6.11. This version adds support for exporting formulas as MathML and LaTeX code, making it easier to integrate mathematical expressions into web applications, academic documents, and other workflows. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New Feature - Added support for exporting formulas as MathML and LaTeX code.
IAutoShape shapeFormula = slide.Shapes.AppendShape(ShapeType.Rectangle, new RectangleF(40, currentTop, shapeWidth, formulaHeight));

// Insert LaTeX formula
TextParagraph formulaPara = shapeFormula.TextFrame.Paragraphs.AddParagraphFromLatexMathCode(latex);

// Export as MathML
string mathML = formulaPara.ExportMathML();

// Export as LaTeX
string LaTex = formulaPara.ExportLaTex();
Click the link below to download Spire.Presentation 11.6.11:
More information of Spire.Presentation new release or hotfix: