Sha256: 9db9ca8fb78ef6dd400a2e83e406335e0d4a66258280ee923944e505b99e9588

Contents?: true

Size: 987 Bytes

Versions: 2

Compression:

Stored size: 987 Bytes

Contents

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

        # output methods
        def to_latex
          "\\measangledltosw"
        end

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

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

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

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

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