Sha256: 89607a815c2125427780e890a4b11001520ff125b1a1d2f6d7a24f48b6511b6f

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

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

        # output methods
        def to_latex
          "\\hksearow"
        end

        def to_asciimath
          parsing_wrapper("hksearow")
        end

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

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

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

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