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