Sha256: 7e499e431838cc10341ee3110df32676f93bac2f3f97f65f7a801f6c4b14e5f6

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

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

        # output methods
        def to_latex
          "\\Wedge"
        end

        def to_asciimath
          parsing_wrapper("Wedge")
        end

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

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

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

        def to_html
          "&#x2a53;"
        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/upcase_wedge.rb
plurimath-0.8.11 lib/plurimath/math/symbols/upcase_wedge.rb