]> git.lyx.org Git - lyx.git/blobdiff - src/MetricsInfo.h
Improve the list of equations
[lyx.git] / src / MetricsInfo.h
index b350747b4bd1a684a2c3479f1d3b86553f7c5b50..7534a8e7ca005cfb7c3f2a03777f3bb47996a9aa 100644 (file)
@@ -20,6 +20,8 @@
 #include "support/strfwd.h"
 #include "support/Changer.h"
 
+#include "insets/Inset.h"
+
 
 #include <string>
 
@@ -28,7 +30,6 @@ namespace lyx {
 
 namespace frontend { class Painter; }
 class BufferView;
-class Inset;
 class MacroContext;
 
 
@@ -54,6 +55,8 @@ public:
 
        /// Temporarily change a full font.
        Changer changeFontSet(std::string const & font);
+       /// Temporarily change the font to math if needed.
+       Changer changeEnsureMath(Inset::mode_type mode = Inset::MATH_MODE);
        // Temporarily change to the style suitable for use in fractions
        Changer changeFrac();
        // Temporarily change to the style suitable for use in arrays