pub type RenderMathFn = dyn Fn(&mut Ui, &str, bool);
Takes egui::Ui, the math text to be rendered and whether it is inline
egui::Ui