Sha256: fe0b661d0acf8b5d3ce82178a0391e3111e9f5db416127f22d01afb492f04953

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

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

        # output methods
        def to_latex
          "\\measanglerutone"
        end

        def to_asciimath
          parsing_wrapper("measanglerutone")
        end

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

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

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

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