-void mathed_string_dim(LyXFont const & font, docstring const & s, Dimension & dim);
-int mathed_string_width(LyXFont const &, docstring const & s);
+void mathed_string_dim(FontInfo const & font,
+ docstring const & s,
+ Dimension & dim);
+
+int mathed_string_width(FontInfo const &, docstring const & s);
+
+void mathedSymbolDim(MetricsBase & mb, Dimension & dim, latexkeys const * sym);
+
+void mathedSymbolDraw(PainterInfo & pi, int x, int y, latexkeys const * sym);
+
+void metricsStrRedBlack(MetricsInfo & mi, Dimension & dim, docstring const & s);