Sha256: b7215894c9c09cff4d3218b1ee240c7c0f893221c8c783dfc76da46703983996

Contents?: true

Size: 915 Bytes

Versions: 7

Compression:

Stored size: 915 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Ee < Symbol
        INPUT = {
          unicodemath: [["exists", "&#x2203;"], parsing_wrapper(["EE", "exi"])],
          asciimath: [["exists", "EE", "&#x2203;"], parsing_wrapper(["exi"])],
          mathml: ["&#x2203;"],
          latex: [["exists", "exi", "&#x2203;"], parsing_wrapper(["EE"])],
          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

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/ee.rb
plurimath-0.8.9 lib/plurimath/math/symbols/ee.rb
plurimath-0.8.8 lib/plurimath/math/symbols/ee.rb
plurimath-0.8.7 lib/plurimath/math/symbols/ee.rb
plurimath-0.8.6 lib/plurimath/math/symbols/ee.rb
plurimath-0.8.5 lib/plurimath/math/symbols/ee.rb
plurimath-0.8.4 lib/plurimath/math/symbols/ee.rb