git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17652 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-03-30 19:28:03 +00:00
parent 69caf3bfb7
commit d523af4b05

View File

@ -215,6 +215,8 @@ void InsetMathSymbol::octave(OctaveStream & os) const
void InsetMathSymbol::write(WriteStream & os) const
{
os << '\\' << name();
if (name().size() == 1 && name()[0] < '0') // $,#, etc
return;
os.pendingSpace(true);
}