Use mpadded for \raisebox MathML#876
Conversation
| const dy = group.value.dy.value.number + group.value.dy.value.unit; | ||
| node.setAttribute("voffset", dy); | ||
| return node; | ||
| }; |
There was a problem hiding this comment.
Can you add a snapshot test for this?
|
@ronkok see https://github.com/Khan/KaTeX/blob/master/test/mathml-spec.js for examples of snapshot tests. After you add a test mathml-spec.js that uses |
It turns out that the answer to that question is no, I can't. My attempt to |
I can send you a PR for the snapshot test. Can you post the console output of the failure from |
|
Output as requested:
|
|
@ronkok thanks. It looks like |
|
I think that's right. Go ahead and search for a |
|
One small step forward. |
|
@ronkok thanks for PR and for working through difficulties generating the snapshot. |
No description provided.