Sha256: f888f75ccd08f623c3f22f8569016f091a5247853b32f2ff506418eebebfdbd6

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

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

        # output methods
        def to_latex
          "\\drbkarow"
        end

        def to_asciimath
          parsing_wrapper("drbkarow")
        end

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

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

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

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