From 1840b5992c9d8b3546812f29cfb742cce05ff947 Mon Sep 17 00:00:00 2001 From: Guillaume Munch Date: Fri, 8 Apr 2016 20:24:12 +0200 Subject: [PATCH] Correct col spacing in Cases environment --- src/mathed/InsetMathCases.cpp | 6 ++++++ src/mathed/InsetMathCases.h | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/mathed/InsetMathCases.cpp b/src/mathed/InsetMathCases.cpp index 1b5df8dc9f..88012aa247 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 f753f12166..7820922f07 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; };