Sha256: a57a9d7e8dacd4d8d4caaec0da2458451945ccad18e2ccf0bd0c2e37841d11a6

Contents?: true

Size: 1011 Bytes

Versions: 7

Compression:

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

7 entries across 7 versions & 1 rubygems

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