示例#1
0
        public void SetLatex(string latex)
        {
            Latex = latex;
            (_mathList, ErrorMessage) = MathLists.BuildResultFromString(latex);
            if (_mathList != null)
            {
                _CreateDisplayList();
            }
            InvalidateIntrinsicContentSize();

            SetNeedsLayout();
        }
示例#2
0
 public MathSource(string latex)
 {
     (MathList, ErrorMessage) = MathLists.BuildResultFromString(latex);
     LaTeX = latex;
 }