Sha256: 30832175c200007d07d4b46eae4fcde5a1f6eb2f96460a7e23f587d5eb169ec1

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

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

        # output methods
        def to_latex
          "\\leftharpoondownbar"
        end

        def to_asciimath
          parsing_wrapper("DownLeftTeeVector", lang: :asciimath)
        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.14 lib/plurimath/math/symbols/downleftteevector.rb
plurimath-0.8.13 lib/plurimath/math/symbols/downleftteevector.rb