Sha256: baabda3f05627280c6309fb6b8f67cf25144f870b78f0c3952ba80fec6bec817

Contents?: true

Size: 971 Bytes

Versions: 2

Compression:

Stored size: 971 Bytes

Contents

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

        # output methods
        def to_latex
          "\\closedvarcupsmashprod"
        end

        def to_asciimath
          parsing_wrapper("closedvarcupsmashprod")
        end

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

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

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

        def to_html
          "&#x2a50;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.12 lib/plurimath/math/symbols/closedvarcupsmashprod.rb
plurimath-0.8.11 lib/plurimath/math/symbols/closedvarcupsmashprod.rb