Sha256: 095727911e29ece6c1b7f33c7d70affcf44b28c0fcb68f0547ef2f6bf8790175

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

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

        # output methods
        def to_latex
          "\\measanglerdtose"
        end

        def to_asciimath
          parsing_wrapper("measanglerdtose")
        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.12 lib/plurimath/math/symbols/measanglerdtose.rb
plurimath-0.8.11 lib/plurimath/math/symbols/measanglerdtose.rb