* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "InsetMathBig.h"
+
#include "MathSupport.h"
#include "MathStream.h"
-#include "MathStream.h"
+#include "MetricsInfo.h"
#include "frontends/FontMetrics.h"
+#include "support/docstream.h"
#include "support/lstrings.h"
dim.wid = 6;
dim.asc = int(h + f * h);
dim.des = int(f * h);
- // Cache the inset dimension.
- setDimCache(mi, dim);
}
void InsetMathBig::write(WriteStream & os) const
{
+ MathEnsurer ensurer(os);
os << '\\' << name_ << delim_;
if (delim_[0] == '\\')
os.pendingSpace(true);