lib/plurimath/math/symbols/modtwosum.rb in plurimath-0.8.12 vs lib/plurimath/math/symbols/modtwosum.rb in plurimath-0.8.13
- old
+ new
@@ -1,12 +1,12 @@
module Plurimath
module Math
module Symbols
class Modtwosum < Symbol
INPUT = {
- unicodemath: [["⨊"], parsing_wrapper(["modtwosum"])],
- asciimath: [["⨊"], parsing_wrapper(["modtwosum"])],
+ unicodemath: [["⨊"], parsing_wrapper(["modtwosum"], lang: :unicode)],
+ asciimath: [["⨊"], parsing_wrapper(["modtwosum"], lang: :asciimath)],
mathml: ["⨊"],
latex: [["modtwosum", "⨊"]],
omml: ["⨊"],
html: ["⨊"],
}.freeze
@@ -15,10 +15,10 @@
def to_latex
"\\modtwosum"
end
def to_asciimath
- parsing_wrapper("modtwosum")
+ parsing_wrapper("modtwosum", lang: :asciimath)
end
def to_unicodemath
Utility.html_entity_to_unicode("⨊")
end