Update for itex2MML 1.3.13
Implements \mathrlap{}, \mathllap{}, and \mathclap{}. Deprecates the use of \rlap{} (use \mathrlap{}, instead: the latter works in math-mode in the LaTeX export, whereas TeX's \rlap{} did not).
This commit is contained in:
parent
41274d64d0
commit
d89769fe81
3 changed files with 19 additions and 2 deletions
|
@ -212,6 +212,13 @@ END_THM
|
|||
|
||||
def test_have_latest_itex2mml
|
||||
|
||||
assert_markup_parsed_as(
|
||||
%{<p>equation <math class='maruku-mathml' displa} +
|
||||
%{y='inline' xmlns='http://www.w3.org/1998/Math/} +
|
||||
%{MathML'><mi>A</mi><mpadded lspace='-100%width'} +
|
||||
%{ width='0'><mi>B</mi></mpadded></math></p>},
|
||||
"equation $A \\mathllap{B}$")
|
||||
|
||||
assert_markup_parsed_as(
|
||||
%{<p>equation <math class='maruku-mathml' displa} +
|
||||
%{y='inline' xmlns='http://www.w3.org/1998/Math/} +
|
||||
|
@ -247,8 +254,8 @@ END_THM
|
|||
|
||||
assert_markup_parsed_as(
|
||||
%{<p>\\rlap: <math class='maruku-mathml' display='} +
|
||||
%{inline' xmlns='http://www.w3.org/1998/Math/MathML'><mpadded} +
|
||||
%{ width='0'><mn>123</mn></mpadded></math></p>},
|
||||
%{inline' xmlns='http://www.w3.org/1998/Math/MathML'>} +
|
||||
%{<mn>123</mn></math></p>},
|
||||
'\rlap: $\rlap{123}$')
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue