Sha256: 6119a7675a28e939f9ae03f51187e57563f347b5eaedeeca387c38b06356632a

Contents?: true

Size: 932 Bytes

Versions: 14

Compression:

Stored size: 932 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Aa < Symbol
        INPUT = {
          unicodemath: [["forall", "&#x2200;"], parsing_wrapper(["AA"], lang: :unicode)],
          asciimath: [["forall", "AA", "&#x2200;"]],
          mathml: ["&#x2200;"],
          latex: [["forall", "&#x2200;"], parsing_wrapper(["AA"], lang: :latex)],
          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

14 entries across 14 versions & 1 rubygems

Version Path
plurimath-0.9.0 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.27 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.26 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.25 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.24 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.23 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.22 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.21 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.20 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.19 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.18 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.17 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.16 lib/plurimath/math/symbols/aa.rb
plurimath-0.8.15 lib/plurimath/math/symbols/aa.rb