mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
MathML for Stackrel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32720 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f29db33e69
commit
791d28bf0b
@ -57,7 +57,6 @@ Math
|
||||
- Box: There is a general issue here with text mode nesting. See the FIXME attached
|
||||
to the SetMode class.
|
||||
- Lefteqn
|
||||
- Overset: Use <mover>.
|
||||
- Par?
|
||||
- Phantom: There is some support for this in MathML....
|
||||
- Ref: Needs to be deferred.
|
||||
@ -66,12 +65,10 @@ Math
|
||||
- Space: Needs checking.
|
||||
- SpecialChar: Needs checking.
|
||||
- Split
|
||||
- Stackrel: Use <mover>, probably.
|
||||
- Substack: This is a stack of however many cells, all in a smaller style.
|
||||
Probably do something with <mover>, again.
|
||||
- Tabular: This is more or less a text-like table in math. Probably output it
|
||||
as a table, but set the font.
|
||||
- Underset: Use <munder>.
|
||||
- XArrow: Contents above and below an arrow. Use...?
|
||||
- XYMatrix: Not sure how this differs from ordinary ones.
|
||||
|
||||
|
@ -69,4 +69,9 @@ void InsetMathStackrel::normalize(NormalStream & os) const
|
||||
}
|
||||
|
||||
|
||||
void InsetMathStackrel::mathmlize(MathStream & ms) const
|
||||
{
|
||||
ms << "<mover accent='false'>" << cell(1) << cell(0) << "</mover>";
|
||||
}
|
||||
|
||||
} // namespace lyx
|
||||
|
@ -31,12 +31,13 @@ public:
|
||||
void metrics(MetricsInfo & mi, Dimension & dim) const;
|
||||
///
|
||||
void draw(PainterInfo & pi, int x, int y) const;
|
||||
|
||||
///
|
||||
void write(WriteStream & os) const;
|
||||
///
|
||||
void normalize(NormalStream &) const;
|
||||
///
|
||||
void mathmlize(MathStream &) const;
|
||||
///
|
||||
InsetCode lyxCode() const { return MATH_STACKREL_CODE; }
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user