Sha256: 1c1795db71e9d456b6a3ea4c5ade4823b628213c8d4836e6eefc6be54d8bc9b5

Contents?: true

Size: 875 Bytes

Versions: 7

Compression:

Stored size: 875 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Aa < Symbol
        INPUT = {
          unicodemath: [["forall", "&#x2200;"], parsing_wrapper(["AA"])],
          asciimath: [["forall", "AA", "&#x2200;"]],
          mathml: ["&#x2200;"],
          latex: [["forall", "&#x2200;"], parsing_wrapper(["AA"])],
          omml: ["&#x2200;"],
          html: ["&#x2200;"],
        }.freeze

        # output methods
        def to_latex
          "\\forall"
        end

        def to_asciimath
          "forall"
        end

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

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

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

        def to_html
          "&#x2200;"
        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/aa.rb
plurimath-0.8.9 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.8 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.7 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.6 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.5 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.4 lib/plurimath/math/symbols/aa.rb