]> git.lyx.org Git - lyx.git/commitdiff
Revert "Fix #11827"
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 31 Jul 2020 07:17:34 +0000 (09:17 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 31 Jul 2020 07:17:34 +0000 (09:17 +0200)
Not ready yet.

This reverts commit 3a544072a522845b192594dd2ab11fcb1fc80eeb.

src/mathed/InsetMathColor.cpp
status.23x

index 2d6eb2dc9de1771beb13c71cbf2e846adc82b236..d665734b5182893b7a0da3a58e609bc59c79df12 100644 (file)
@@ -100,7 +100,7 @@ void InsetMathColor::write(WriteStream & os) const
                // reset to default color inside another color inset
                os << "{\\normalcolor " << cell(0) << '}';
        else if (oldstyle_)
                // reset to default color inside another color inset
                os << "{\\normalcolor " << cell(0) << '}';
        else if (oldstyle_)
-               os << "\\begingroup\\color{" << color_ << '}' << cell(0) << "\\endgroup ";
+               os << "{\\color{" << color_ << '}' << cell(0) << '}';
        else
                os << "\\textcolor{" << color_ << "}{" << cell(0) << '}';
 }
        else
                os << "\\textcolor{" << color_ << "}{" << cell(0) << '}';
 }
index 354311af3efe0fa1888875467e965374e703109e..080634f74e865b89c5baf09c6685fc6ca1895717 100644 (file)
@@ -51,8 +51,6 @@ What's new
 
 - Fix output of titles in branches and other insets (follow-up to bug 11787).
 
 
 - Fix output of titles in branches and other insets (follow-up to bug 11787).
 
-- Fix spacing in math when using color (bug 11827).
-
 
 * USER INTERFACE
 
 
 * USER INTERFACE