mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +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:
|
||||
- AMSArray
|
||||
- Array
|
||||
- BoldSymbol: Should be easy.
|
||||
- Box
|
||||
- Cases
|
||||
- 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
|
||||
{
|
||||
switch (kind_) {
|
||||
|
@ -17,7 +17,6 @@
|
||||
|
||||
namespace lyx {
|
||||
|
||||
|
||||
/// Inset for AMSTeX's \boldsymbol
|
||||
class InsetMathBoldSymbol : public InsetMathNest {
|
||||
public:
|
||||
@ -43,6 +42,8 @@ public:
|
||||
///
|
||||
void write(WriteStream & os) const;
|
||||
///
|
||||
void mathmlize(MathStream &) const;
|
||||
///
|
||||
void infoize(odocstream & os) const;
|
||||
///
|
||||
InsetCode lyxCode() const { return MATH_BOLDSYMBOL_CODE; }
|
||||
|
Loading…
Reference in New Issue
Block a user