Sha256: 84887a283b4f4fc7cbc027fe5bf4cd98c219e0706894d52556c101d84edb4bba

Contents?: true

Size: 1011 Bytes

Versions: 10

Compression:

Stored size: 1011 Bytes

Contents

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

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

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

10 entries across 10 versions & 1 rubygems

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