]> git.lyx.org Git - features.git/commitdiff
Correct col spacing in Cases environment
authorGuillaume Munch <gm@lyx.org>
Fri, 8 Apr 2016 18:24:12 +0000 (20:24 +0200)
committerRichard Heck <rgheck@lyx.org>
Sat, 28 May 2016 21:42:31 +0000 (17:42 -0400)
src/mathed/InsetMathCases.cpp
src/mathed/InsetMathCases.h

index 1b5df8dc9f1dbb68041a5f60984fdda8d05a5bb9..88012aa247f1d36929509b45a06172e85d4215fd 100644 (file)
@@ -185,4 +185,10 @@ void InsetMathCases::validate(LaTeXFeatures & features) const
 }
 
 
+int InsetMathCases::displayColSpace(col_type) const
+{
+       return 20;
+}
+
+
 } // namespace lyx
index f753f12166646e0a63c6eb40e02a0bddee47c837..7820922f07fd95bc45b023a158389cff8ada6f68 100644 (file)
@@ -52,6 +52,8 @@ public:
        void validate(LaTeXFeatures & features) const;
        ///
        InsetCode lyxCode() const { return MATH_CASES_CODE; }
+       ///
+       int displayColSpace(col_type) const;
 private:
        virtual Inset * clone() const;
 };