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