Sha256: 235ad6e9096ca29d66efc0650e130791e39ef8c807e07474c47c1006b1a83f8d

Contents?: true

Size: 981 Bytes

Versions: 2

Compression:

Stored size: 981 Bytes

Contents

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

        # output methods
        def to_latex
          "\\bigslopedwedge"
        end

        def to_asciimath
          parsing_wrapper("bigslopedwedge", lang: :asciimath)
        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.14 lib/plurimath/math/symbols/bigslopedwedge.rb
plurimath-0.8.13 lib/plurimath/math/symbols/bigslopedwedge.rb