commit e3ab552ccb55f976d5395a346e0035f863cd30fa
Author: Guillaume Munch <[email protected]>
Date: Fri Apr 8 20:24:12 2016 +0200
Correct col spacing in Cases environment
diff --git a/src/mathed/InsetMathCases.cpp b/src/mathed/InsetMathCases.cpp
index 1b5df8d..88012aa 100644
--- a/src/mathed/InsetMathCases.cpp
+++ b/src/mathed/InsetMathCases.cpp
@@ -185,4 +185,10 @@ void InsetMathCases::validate(LaTeXFeatures & features)
const
}
+int InsetMathCases::displayColSpace(col_type) const
+{
+ return 20;
+}
+
+
} // namespace lyx
diff --git a/src/mathed/InsetMathCases.h b/src/mathed/InsetMathCases.h
index f753f12..7820922 100644
--- a/src/mathed/InsetMathCases.h
+++ b/src/mathed/InsetMathCases.h
@@ -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;
};