mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
MathML for InsetMathBoldSymbol.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32693 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0d73ffc2fb
commit
9ab24e95b9
@ -54,7 +54,6 @@ Math
|
|||||||
isues, and not all the insets work. Here are the ones I know still need work:
|
isues, and not all the insets work. Here are the ones I know still need work:
|
||||||
- AMSArray
|
- AMSArray
|
||||||
- Array
|
- Array
|
||||||
- BoldSymbol: Should be easy.
|
|
||||||
- Box
|
- Box
|
||||||
- Cases
|
- Cases
|
||||||
- Diff: Code exists, but I do not know if it is right.
|
- Diff: Code exists, but I do not know if it is right.
|
||||||
|
@ -106,6 +106,12 @@ void InsetMathBoldSymbol::write(WriteStream & os) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void InsetMathBoldSymbol::mathmlize(MathStream & os) const
|
||||||
|
{
|
||||||
|
os << "<mstyle mathvariant='bold'>" << cell(0) << "</mstyle>";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void InsetMathBoldSymbol::infoize(odocstream & os) const
|
void InsetMathBoldSymbol::infoize(odocstream & os) const
|
||||||
{
|
{
|
||||||
switch (kind_) {
|
switch (kind_) {
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
|
|
||||||
|
|
||||||
/// Inset for AMSTeX's \boldsymbol
|
/// Inset for AMSTeX's \boldsymbol
|
||||||
class InsetMathBoldSymbol : public InsetMathNest {
|
class InsetMathBoldSymbol : public InsetMathNest {
|
||||||
public:
|
public:
|
||||||
@ -43,6 +42,8 @@ public:
|
|||||||
///
|
///
|
||||||
void write(WriteStream & os) const;
|
void write(WriteStream & os) const;
|
||||||
///
|
///
|
||||||
|
void mathmlize(MathStream &) const;
|
||||||
|
///
|
||||||
void infoize(odocstream & os) const;
|
void infoize(odocstream & os) const;
|
||||||
///
|
///
|
||||||
InsetCode lyxCode() const { return MATH_BOLDSYMBOL_CODE; }
|
InsetCode lyxCode() const { return MATH_BOLDSYMBOL_CODE; }
|
||||||
|
Loading…
Reference in New Issue
Block a user