Sha256: 747d8aae94091bf6dfafdbedaf851adee2fb65212c8716c32def5346a9fcf0b7

Contents?: true

Size: 911 Bytes

Versions: 2

Compression:

Stored size: 911 Bytes

Contents

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

        # output methods
        def to_latex
          "\\wideangleup"
        end

        def to_asciimath
          parsing_wrapper("wideangleup")
        end

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

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

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

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