Sha256: 97623e6cb68b3d639b56ef75ae15b6357c6d904d4fee0575f013ea55b140655a

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

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

        # output methods
        def to_latex
          "\\measangleurtone"
        end

        def to_asciimath
          parsing_wrapper("measangleurtone")
        end

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

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

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

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