Sha256: b768a58d3a8159ea501222ff41d9d7770e7609cf58348a4653960b92855468e8

Contents?: true

Size: 890 Bytes

Versions: 7

Compression:

Stored size: 890 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

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/drbkarow.rb
plurimath-0.8.9 lib/plurimath/math/symbols/drbkarow.rb
plurimath-0.8.8 lib/plurimath/math/symbols/drbkarow.rb
plurimath-0.8.7 lib/plurimath/math/symbols/drbkarow.rb
plurimath-0.8.6 lib/plurimath/math/symbols/drbkarow.rb
plurimath-0.8.5 lib/plurimath/math/symbols/drbkarow.rb
plurimath-0.8.4 lib/plurimath/math/symbols/drbkarow.rb