]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathParser.h
Assure correct spacing of colored items in mathed
[lyx.git] / src / mathed / MathParser.h
index c92a8cfb883463525aea84e1e4b79695d09eefd5..20403de5fb66fa11ed1683eef07889d7fd3d8f34 100644 (file)
@@ -30,6 +30,8 @@ class Lexer;
 ///
 class latexkeys {
 public:
+       ///
+       latexkeys() : hidden(false) {}
        ///
        char const * MathMLtype() const;
        /// name of the macro or primitive
@@ -50,12 +52,20 @@ public:
         * on screen.
         */
        docstring draw;
+       /// the same thing, but as an alternative in display mode
+       // Useful for \sum operator, for example
+       docstring dsp_draw;
        /// operator/..., fontname e
        docstring extra;
+       /// how is this called as HTML entity in MathML?
+       docstring htmlname;
        /// how is this called as XML entity in MathML?
        docstring xmlname;
        /// required LaTeXFeatures
-       std::string requires;
+       std::string required;
+       /// Should this macro be hidden from autocompletion (since it requires
+       /// user preamble code)?
+       bool hidden;
 };