lib/plurimath/math/symbols/ee.rb in plurimath-0.8.12 vs lib/plurimath/math/symbols/ee.rb in plurimath-0.8.13
- old
+ new
@@ -1,47 +1,40 @@
module Plurimath
module Math
module Symbols
class Ee < Symbol
INPUT = {
- unicodemath: [["ee", "ⅇ"], parsing_wrapper(["EE", "exi"])],
- asciimath: [["mathbb(e)", "ⅇ"], parsing_wrapper(["ee"])],
- mathml: ["ⅇ"],
- latex: [["\\mathbb{e}", "ⅇ"], parsing_wrapper(["ee"])],
- omml: ["ⅇ"],
- html: ["ⅇ"],
+ unicodemath: [["exists", "∃"], parsing_wrapper(["EE", "exi"], lang: :unicode)],
+ asciimath: [["exists", "EE", "∃"], parsing_wrapper(["exi"], lang: :asciimath)],
+ mathml: ["∃"],
+ latex: [["exists", "exi", "∃"], parsing_wrapper(["EE"], lang: :latex)],
+ omml: ["∃"],
+ html: ["∃"],
}.freeze
# output methods
def to_latex
- "\\mathbb{e}"
+ "\\exists"
end
def to_asciimath
- "mathbb(e)"
+ "exists"
end
def to_unicodemath
- Utility.html_entity_to_unicode("ⅇ")
+ Utility.html_entity_to_unicode("∃")
end
- def to_mathml_without_math_tag(intent)
- attributes = { intent: encoded } if intent
- ox_element("mi", attributes: attributes) << "ⅇ"
+ def to_mathml_without_math_tag(_)
+ ox_element("mi") << "∃"
end
def to_omml_without_math_tag(_)
- "ⅇ"
+ "∃"
end
def to_html
- "ⅇ"
- end
-
- private
-
- def encoded
- Utility.html_entity_to_unicode("ⅇ")
+ "∃"
end
end
end
end
end