Sha256: 168880cf755816149bee7942f37ec24df2f031d7288a35f4163ad4d7f96b9480

Contents?: true

Size: 986 Bytes

Versions: 16

Compression:

Stored size: 986 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Land < Symbol
        INPUT = {
          unicodemath: [["wedge", "&#x2227;"], parsing_wrapper(["^^", "land"], lang: :unicode)],
          asciimath: [["wedge", "^^", "&#x2227;"], parsing_wrapper(["land"], lang: :asciimath)],
          mathml: ["&#x2227;"],
          latex: [["wedge", "land", "&#x2227;"], parsing_wrapper(["^^"], lang: :latex)],
          omml: ["&#x2227;"],
          html: ["&#x2227;"],
        }.freeze

        # output methods
        def to_latex(**)
          "\\land"
        end

        def to_asciimath(**)
          "^^"
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mo") << "&#x2227;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x2227;"
        end

        def to_html(**)
          "&#x2227;"
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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