mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
don't output ' ' after '$' unless needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2364 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
43d1fd2562
commit
739b051626
@ -236,7 +236,9 @@ void MathMatrixInset::header_write(std::ostream & os) const
|
|||||||
|
|
||||||
switch (getType()) {
|
switch (getType()) {
|
||||||
case LM_OT_SIMPLE:
|
case LM_OT_SIMPLE:
|
||||||
os << "$ ";
|
os << '$';
|
||||||
|
if (cell(0).empty())
|
||||||
|
os << ' ';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LM_OT_EQUATION:
|
case LM_OT_EQUATION:
|
||||||
@ -270,7 +272,7 @@ void MathMatrixInset::footer_write(std::ostream & os) const
|
|||||||
|
|
||||||
switch (getType()) {
|
switch (getType()) {
|
||||||
case LM_OT_SIMPLE:
|
case LM_OT_SIMPLE:
|
||||||
os << "$";
|
os << '$';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LM_OT_EQUATION:
|
case LM_OT_EQUATION:
|
||||||
|
Loading…
Reference in New Issue
Block a user