]> git.lyx.org Git - lyx.git/blobdiff - src/FontEnums.h
Account for old versions of Pygments
[lyx.git] / src / FontEnums.h
index 9a198814e18cc4341a4dc025b95361be3a0aed2c..43d614d22bbbbec29f6aa581f23a02523a1c0ba6 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  * \author Angus Leeming
  * \author Dekel Tsur
@@ -47,6 +47,10 @@ enum FontFamily {
        ///
        EUFRAK_FAMILY,
        ///
+       RSFS_FAMILY,
+       ///
+       STMARY_FAMILY,
+       ///
        WASY_FAMILY,
        ///
        ESINT_FAMILY,
@@ -67,7 +71,9 @@ enum FontSeries {
        ///
        INHERIT_SERIES,
        ///
-       IGNORE_SERIES
+       IGNORE_SERIES,
+       ///
+       NUM_SERIES = INHERIT_SERIES
 };
 
 ///
@@ -83,7 +89,9 @@ enum FontShape {
        ///
        INHERIT_SHAPE,
        ///
-       IGNORE_SHAPE
+       IGNORE_SHAPE,
+       ///
+       NUM_SHAPE = INHERIT_SHAPE
 };
 
 ///
@@ -115,7 +123,9 @@ enum FontSize {
        ///
        FONT_SIZE_INHERIT,
        ///
-       FONT_SIZE_IGNORE
+       FONT_SIZE_IGNORE,
+       ///
+       NUM_SIZE = FONT_SIZE_INCREASE
 };
 
 /// Used for emph, underbar, noun and latex toggles
@@ -132,5 +142,21 @@ enum FontState {
        FONT_IGNORE
 };
 
+
+/// Math styles
+enum MathStyle {
+       ///
+       LM_ST_SCRIPTSCRIPT = 0,
+       ///
+       LM_ST_SCRIPT,
+       ///
+       LM_ST_TEXT,
+       ///
+       LM_ST_DISPLAY,
+       ///
+       NUM_STYLE = LM_ST_DISPLAY
+};
+
+
 } // namespace lyx
 #endif