Sha256: c65ef04bb3ad320816508adbd1005ce9bf3701ae8dfef909a3f5375ea84afb9f

Contents?: true

Size: 999 Bytes

Versions: 2

Compression:

Stored size: 999 Bytes

Contents

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

        # output methods
        def to_latex
          "\\measuredangleleft"
        end

        def to_asciimath
          parsing_wrapper("measuredangleleft", lang: :asciimath)
        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.14 lib/plurimath/math/symbols/measuredangleleft.rb
plurimath-0.8.13 lib/plurimath/math/symbols/measuredangleleft.rb