Sha256: 40ed7983275ac0703c9a901f8b824ce92f7c071a28ae0b1c30e9425bf207b17b

Contents?: true

Size: 890 Bytes

Versions: 7

Compression:

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

7 entries across 7 versions & 1 rubygems

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