API Reference
Class
OfficeMathMarkup
MathML and LaTeX conversion for the shared mathematical expression tree.
Inheritance
- Object
- OfficeMathMarkup
Methods
FromLatex 2 overloads
public static OfficeMathExpression FromLatex(String latex) #Returns:
OfficeMathExpressionParses common LaTeX math constructs without requiring a TeX runtime.
Parameters
- latex System.String
public static OfficeMathExpression FromLatex(String latex, Int32 maximumDepth) #Returns:
OfficeMathExpressionParses common LaTeX math constructs with a hard nesting-depth limit.
Parameters
- latex System.String
- maximumDepth System.Int32
FromMathMl 2 overloads
public static OfficeMathExpression FromMathMl(String mathMl) #Returns:
OfficeMathExpressionParses presentation MathML into the shared expression tree.
Parameters
- mathMl System.String
public static OfficeMathExpression FromMathMl(String mathMl, Int32 maximumDepth) #Returns:
OfficeMathExpressionParses presentation MathML with a hard nesting-depth limit.
Parameters
- mathMl System.String
- maximumDepth System.Int32
public static String ToLatex(OfficeMathExpression expression) #Returns:
StringSerializes an expression as portable LaTeX math source.
Parameters
- expression OfficeIMO.Drawing.OfficeMathExpression
public static String ToMathMl(OfficeMathExpression expression, Boolean display = false) #Returns:
StringSerializes an expression as presentation MathML.
Parameters
- expression OfficeIMO.Drawing.OfficeMathExpression
- display System.Boolean = false
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Fields
public const Int32 DefaultMaximumParseDepth #Default maximum nested structure depth accepted by portable math parsers.
Value:
128