Sha256: 1f8e1288d6bcad0f0a031ba5d64ed8de425935bb73c1efceb4cd24641da154a6

Contents?: true

Size: 1011 Bytes

Versions: 9

Compression:

Stored size: 1011 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

9 entries across 9 versions & 1 rubygems

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