Sha256: 3e14828ae1ab274963abf4eac869071308ba45c8e1fae139ed4ab448808025f1

Contents?: true

Size: 966 Bytes

Versions: 2

Compression:

Stored size: 966 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Ee < Symbol
        INPUT = {
          unicodemath: [["exists", "&#x2203;"], parsing_wrapper(["EE", "exi"], lang: :unicode)],
          asciimath: [["exists", "EE", "&#x2203;"], parsing_wrapper(["exi"], lang: :asciimath)],
          mathml: ["&#x2203;"],
          latex: [["exists", "exi", "&#x2203;"], parsing_wrapper(["EE"], lang: :latex)],
          omml: ["&#x2203;"],
          html: ["&#x2203;"],
        }.freeze

        # output methods
        def to_latex
          "\\exists"
        end

        def to_asciimath
          "exists"
        end

        def to_unicodemath
          Utility.html_entity_to_unicode("&#x2203;")
        end

        def to_mathml_without_math_tag(_)
          ox_element("mi") << "&#x2203;"
        end

        def to_omml_without_math_tag(_)
          "&#x2203;"
        end

        def to_html
          "&#x2203;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/ee.rb
plurimath-0.8.13 lib/plurimath/math/symbols/ee.rb