Sha256: 0afa6e68acc6375279a90504ed74ef93d29b2f0b2eeb45a4465da422cad46525

Contents?: true

Size: 987 Bytes

Versions: 2

Compression:

Stored size: 987 Bytes

Contents

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

        # output methods
        def to_latex
          "\\measanglerdtose"
        end

        def to_asciimath
          parsing_wrapper("measanglerdtose", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x29aa;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/measanglerdtose.rb
plurimath-0.8.13 lib/plurimath/math/symbols/measanglerdtose.rb