ToLatex

IMathParagraph.ToLatex método

Obtiene la ecuación matemática en formato LaTeX

public string ToLatex()

Ejemplos

Ejemplo:

[C#]
IAutoShape shape = slide.Shapes.AddMathShape(x, y, width, height);
IMathParagraph mathParagraph = (shape.TextFrame.Paragraphs[0].Portions[0] as MathPortion).MathParagraph;
mathParagraph.Add(new MathematicalText("a").Join("+").Join(new MathematicalText("b").Join("=").Join(new MathematicalText("c"))));
string mathLatex = mathParagraph.ToLatex();

Ver También