ToLatex

MathParagraph.ToLatex-Methode

Gibt mathematische Gleichung im LaTeX-Format zurück

public string ToLatex()

Beispiele

Beispiel:

[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();

Siehe auch