public void SetLatex(string latex) { Latex = latex; (_mathList, ErrorMessage) = MathLists.BuildResultFromString(latex); if (_mathList != null) { _CreateDisplayList(); } InvalidateIntrinsicContentSize(); SetNeedsLayout(); }
public MathSource(string latex) { (MathList, ErrorMessage) = MathLists.BuildResultFromString(latex); LaTeX = latex; }