Sha256: 4122c044c4f196f8d8d2f355e52a3d2648078589afb392ccf060d16073aa9fb0

Contents?: true

Size: 929 Bytes

Versions: 2

Compression:

Stored size: 929 Bytes

Contents

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

        # output methods
        def to_latex
          "\\bigslopedwedge"
        end

        def to_asciimath
          parsing_wrapper("bigslopedwedge")
        end

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

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

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

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