Sha256: d98ef3162bb42f15ddaee0e193cd93636799217f2f7663c5e844c7447fc539a7

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

Contents

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

        # output methods
        def to_latex
          "\\measuredrightangle"
        end

        def to_asciimath
          parsing_wrapper("angrtvb")
        end

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

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

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

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