mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix #11827
Keep spacing of math intact.
(cherry picked from commit b521d36bfb
)
This commit is contained in:
parent
79998fdc62
commit
3a544072a5
@ -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_)
|
||||
os << "{\\color{" << color_ << '}' << cell(0) << '}';
|
||||
os << "\\begingroup\\color{" << color_ << '}' << cell(0) << "\\endgroup ";
|
||||
else
|
||||
os << "\\textcolor{" << color_ << "}{" << cell(0) << '}';
|
||||
}
|
||||
|
@ -51,6 +51,8 @@ What's new
|
||||
|
||||
- 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user