Sha256: cc5ba30a7078dcba6e3e88b4657e0bb96c4e7a886ff4d2c3517ceb22499ecf53

Contents?: true

Size: 941 Bytes

Versions: 2

Compression:

Stored size: 941 Bytes

Contents

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

        # output methods
        def to_latex
          "\\sphericalangleup"
        end

        def to_asciimath
          parsing_wrapper("sphericalangleup")
        end

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

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

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

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