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