Sha256: e32cb9e46035114b6719e3216a453d8e10d629bdf621832a4842919b85965679

Contents?: true

Size: 1014 Bytes

Versions: 2

Compression:

Stored size: 1014 Bytes

Contents

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

        # output methods
        def to_latex
          "\\bardownharpoonleft"
        end

        def to_asciimath
          parsing_wrapper("LeftDownTeeVector")
        end

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

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

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

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