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