public void ChangeFont(FontType fontType)
 {
     equationRoot.ChangeFont(fontType);
     InvalidateVisual();
 }