Sha256: 534b9279e0e5f22fd9b63fdf004e545a7d893a36ba1382560d4fe3f6ec05ff5d

Contents?: true

Size: 1014 Bytes

Versions: 2

Compression:

Stored size: 1014 Bytes

Contents

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

        # output methods
        def to_latex
          "\\leftharpoondownbar"
        end

        def to_asciimath
          parsing_wrapper("DownLeftTeeVector")
        end

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

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

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

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