Sha256: 84b048f93a753cc4b7ae1fc06a8146d53b19a040563d7012fbd7329ec8970831

Contents?: true

Size: 932 Bytes

Versions: 7

Compression:

Stored size: 932 Bytes

Contents

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

        # output methods
        def to_latex
          "\\measangledrtose"
        end

        def to_asciimath
          parsing_wrapper("measangledrtose")
        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

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/measangledrtose.rb
plurimath-0.8.9 lib/plurimath/math/symbols/measangledrtose.rb
plurimath-0.8.8 lib/plurimath/math/symbols/measangledrtose.rb
plurimath-0.8.7 lib/plurimath/math/symbols/measangledrtose.rb
plurimath-0.8.6 lib/plurimath/math/symbols/measangledrtose.rb
plurimath-0.8.5 lib/plurimath/math/symbols/measangledrtose.rb
plurimath-0.8.4 lib/plurimath/math/symbols/measangledrtose.rb