Sha256: 2ae07081f067c0d6b9d136255e595ba0e72f84ce3a01cd987aa9398021e78630

Contents?: true

Size: 1011 Bytes

Versions: 10

Compression:

Stored size: 1011 Bytes

Contents

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

        # output methods
        def to_latex(**)
          "\\measangleurtone"
        end

        def to_asciimath(**)
          parsing_wrapper("measangleurtone", lang: :asciimath)
        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

10 entries across 10 versions & 1 rubygems

Version Path
plurimath-0.8.24 lib/plurimath/math/symbols/measangleurtone.rb
plurimath-0.8.23 lib/plurimath/math/symbols/measangleurtone.rb
plurimath-0.8.22 lib/plurimath/math/symbols/measangleurtone.rb
plurimath-0.8.21 lib/plurimath/math/symbols/measangleurtone.rb
plurimath-0.8.20 lib/plurimath/math/symbols/measangleurtone.rb
plurimath-0.8.19 lib/plurimath/math/symbols/measangleurtone.rb
plurimath-0.8.18 lib/plurimath/math/symbols/measangleurtone.rb
plurimath-0.8.17 lib/plurimath/math/symbols/measangleurtone.rb
plurimath-0.8.16 lib/plurimath/math/symbols/measangleurtone.rb
plurimath-0.8.15 lib/plurimath/math/symbols/measangleurtone.rb