Sha256: 7eda218ea2ed4c4d6690b13ff162032db4b3acddd0463a28b7f71d81b0dfc303

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

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

        # output methods
        def to_latex
          "\\measangledltosw"
        end

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