Sha256: 27264430f78239e4ecf3ec3cffdaed605429dd274378c5ee2cb75cd24698e4e2

Contents?: true

Size: 1014 Bytes

Versions: 2

Compression:

Stored size: 1014 Bytes

Contents

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

        # output methods
        def to_latex
          "\\downharpoonleftbar"
        end

        def to_asciimath
          parsing_wrapper("LeftDownVectorBar")
        end

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

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

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

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