Sha256: 53fbf19e68e753e51835eaeb5cb3cc3111b18b3b70eb081e4058b76624b083a9

Contents?: true

Size: 947 Bytes

Versions: 2

Compression:

Stored size: 947 Bytes

Contents

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

        # output methods
        def to_latex
          "\\measuredangleleft"
        end

        def to_asciimath
          parsing_wrapper("measuredangleleft")
        end

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

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

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

        def to_html
          "&#x299b;"
        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/measuredangleleft.rb
plurimath-0.8.11 lib/plurimath/math/symbols/measuredangleleft.rb