-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I was just playing around with multirow maths and I have thought that the equation solving doesn't look that nice when all of the text is centered inside the <mtd> elements:
I wrote some CSS to make it look nicer:
Here is the CSS:
.equation-solving {
& mtd:first-child {
text-align: right;
}
& mtd {
text-align: left;
}
}Here is the MathML, if you want to try it (I didn't try this in an EPUB yet.):
<math display="block">
<mtable class="equation-solving">
<mtr>
<mtd>
<mi>x</mi>
<mo>–</mo>
<mn>5</mn>
</mtd>
<mtd>
<mo>=</mo>
</mtd>
<mtd>
<mn>7</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi>x</mi>
</mtd>
<mtd>
<mo>=</mo>
</mtd>
<mtd>
<mn>7</mn>
<mo>+</mo>
<mn>5</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi>x</mi>
</mtd>
<mtd>
<mo>=</mo>
</mtd>
<mtd>
<mn>12</mn>
</mtd>
</mtr>
</mtable>
</math>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels