Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeMathMarkup

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers static

MathML and LaTeX conversion for the shared mathematical expression tree.

Inheritance

  • Object
  • OfficeMathMarkup

Methods

FromLatex 2 overloads
public static OfficeMathExpression FromLatex(String latex) #
Returns: OfficeMathExpression

Parses common LaTeX math constructs without requiring a TeX runtime.

Parameters

latex System.String requiredposition: 0
public static OfficeMathExpression FromLatex(String latex, Int32 maximumDepth) #
Returns: OfficeMathExpression

Parses common LaTeX math constructs with a hard nesting-depth limit.

Parameters

latex System.String requiredposition: 0
maximumDepth System.Int32 requiredposition: 1
FromMathMl 2 overloads
public static OfficeMathExpression FromMathMl(String mathMl) #
Returns: OfficeMathExpression

Parses presentation MathML into the shared expression tree.

Parameters

mathMl System.String requiredposition: 0
public static OfficeMathExpression FromMathMl(String mathMl, Int32 maximumDepth) #
Returns: OfficeMathExpression

Parses presentation MathML with a hard nesting-depth limit.

Parameters

mathMl System.String requiredposition: 0
maximumDepth System.Int32 requiredposition: 1
public static String ToLatex(OfficeMathExpression expression) #
Returns: String

Serializes an expression as portable LaTeX math source.

Parameters

expression OfficeIMO.Drawing.OfficeMathExpression requiredposition: 0
public static String ToMathMl(OfficeMathExpression expression, Boolean display = false) #
Returns: String

Serializes an expression as presentation MathML.

Parameters

expression OfficeIMO.Drawing.OfficeMathExpression requiredposition: 0
display System.Boolean = false optionalposition: 1

Fields

public const Int32 DefaultMaximumParseDepth #

Default maximum nested structure depth accepted by portable math parsers.

Value: 128