Skip to content

Commit

Permalink
Update mathml.m2
Browse files Browse the repository at this point in the history
Updated the definition of Minus rather than the one of Divide
  • Loading branch information
Corrado-possieri authored and d-torrance committed Jan 23, 2025
1 parent 16422ed commit 10f2833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions M2/Macaulay2/m2/mathml.m2
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ mathML FunctionApplication := m -> (
else concatenate (bigParenthesize mfun, bigParenthesize margs)
)
mathML MatrixExpression := x -> concatenate( "<mrow><mo>(</mo>", mtableML x, "<mo>)</mo></mrow>", newline )
mathML Minus := v -> concatenate( "<mo>-</mo>", mathML v#0)
mathML Divide := x -> concatenate("<mfrac><mrow>", mathML x#0,"</mrow>", mathML x#1, "</mfrac>")
mathML Minus := v -> concatenate( "<mrow><mo>-</mo>", mathML v#0, "</mrow>")
mathML Divide := x -> concatenate("<mfrac>", mathML x#0, mathML x#1, "</mfrac>")
mathML OneExpression := x -> "<mn>1</mn>"
mathML ZeroExpression := x -> "<mn>0</mn>"
mathML Sum := v -> (
Expand Down

0 comments on commit 10f2833

Please sign in to comment.