Sha256: 735021c3754f5ba837d211873ac3259d888268e8ac016035ea0e7dfb16d838c2

Contents?: true

Size: 987 Bytes

Versions: 2

Compression:

Stored size: 987 Bytes

Contents

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

        # output methods
        def to_latex
          "\\measangledrtose"
        end

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

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

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

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

        def to_html
          "&#x29ae;"
        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/measangledrtose.rb
plurimath-0.8.13 lib/plurimath/math/symbols/measangledrtose.rb