mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Specify that we are in math mode. This avoids unnecessary \ensuremath
commands when using math in text mode (such as in $\text{$\phi$}$, where \phi would be enclosed in \ensuremath{} as it is inside \text{}). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26288 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ad91dd139c
commit
1c362c80b2
@ -1019,6 +1019,7 @@ docstring InsetMathHull::eolString(row_type row, bool emptyline, bool fragile) c
|
||||
|
||||
void InsetMathHull::write(WriteStream & os) const
|
||||
{
|
||||
ModeSpecifier specifier(os, MATH_MODE);
|
||||
header_write(os);
|
||||
InsetMathGrid::write(os);
|
||||
footer_write(os);
|
||||
|
Loading…
Reference in New Issue
Block a user