#include "FuncStatus.h"
#include "Cursor.h"
#include "FuncRequest.h"
+#include "LaTeXFeatures.h"
#include "frontends/Clipboard.h"
#include "frontends/Painter.h"
}
+void InsetMathGrid::validate(LaTeXFeatures & features) const
+{
+ if (features.runparams().math_flavor == OutputParams::MathAsHTML
+ && (nrows() > 1 || ncols() > 1)) {
+ // CSS taken from InsetMathCases
+ features.addCSSSnippet(
+ "table.mathtable{display: inline-block; text-align: center; border: none;"
+ "border-left: thin solid black; vertical-align: middle; padding-left: 0.5ex;}\n"
+ "table.mathtable td {text-align: left; border: none;}");
+ }
+}
+
+
void InsetMathGrid::write(WriteStream & os) const
{
write(os, 0, 0, nrows(), ncols());
///
void htmlize(HtmlStream &, std::string attrib) const;
///
+ void validate(LaTeXFeatures & features) const;
+ ///
//void octave(OctaveStream &) const;
protected:
- Add "dir='auto'" to body tag, which should help a lot with export of
RTL languages (bug 8279, partly).
+- Fix display of cases and matrices (bugs 8753, 8755).
+
* TEX2LYX