Sha256: 0fcc6f0f31b82bd6b2d6efde72e00d2953ae30642a71b5b86426a9d9dc869b08

Contents?: true

Size: 884 Bytes

Versions: 7

Compression:

Stored size: 884 Bytes

Contents

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

        # output methods
        def to_latex
          "\\dbkarow"
        end

        def to_asciimath
          parsing_wrapper("dbkarow")
        end

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

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

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

        def to_html
          "&#x290f;"
        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/dbkarow.rb
plurimath-0.8.9 lib/plurimath/math/symbols/dbkarow.rb
plurimath-0.8.8 lib/plurimath/math/symbols/dbkarow.rb
plurimath-0.8.7 lib/plurimath/math/symbols/dbkarow.rb
plurimath-0.8.6 lib/plurimath/math/symbols/dbkarow.rb
plurimath-0.8.5 lib/plurimath/math/symbols/dbkarow.rb
plurimath-0.8.4 lib/plurimath/math/symbols/dbkarow.rb