Sha256: dfa52269b8bb21136e1f1af63b0147324671ba7d1211fbea862b678050114b7d

Contents?: true

Size: 923 Bytes

Versions: 2

Compression:

Stored size: 923 Bytes

Contents

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

        # output methods
        def to_latex
          "\\wideangledown"
        end

        def to_asciimath
          parsing_wrapper("wideangledown")
        end

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

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

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

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