]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_biginset.h
Make MathBigInset working
[features.git] / src / mathed / math_biginset.h
index f9547cc469e848e58f9ab8b32db861eac4580f09..abdf10407f84de973cc65d8fe3b501e29a639ba9 100644 (file)
 
 #include <string>
 
-/// Inset for \bigl & Co.
+/// Inset for \\bigl & Co.
 class MathBigInset : public MathDimInset {
 public:
        ///
        MathBigInset(std::string const & name, std::string const & delim);
        ///
+       std::string name() const;
+       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -29,6 +31,8 @@ public:
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream & os) const;
+       ///
+       static bool isBigInsetDelim(std::string const &);
 
 private:
        virtual std::auto_ptr<InsetBase> doClone() const;
@@ -37,9 +41,9 @@ private:
        ///
        double increase() const;
 
-       /// \bigl or what?
+       /// \\bigl or what?
        std::string const name_;
-       /// ( or [ or Vert...
+       /// ( or [ or \\Vert...
        std::string const delim_;
 };