Sha256: ad427e1859870893df831a8ab78bb62a4d7a8f340356f652018f4fd0687d45f4

Contents?: true

Size: 1023 Bytes

Versions: 2

Compression:

Stored size: 1023 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Rightdownteevector < Symbol
        INPUT = {
          unicodemath: [["&#x295d;"], parsing_wrapper(["bardownharpoonright", "RightDownTeeVector"])],
          asciimath: [["&#x295d;"], parsing_wrapper(["bardownharpoonright", "RightDownTeeVector"])],
          mathml: ["&#x295d;"],
          latex: [["bardownharpoonright", "RightDownTeeVector", "&#x295d;"]],
          omml: ["&#x295d;"],
          html: ["&#x295d;"],
        }.freeze

        # output methods
        def to_latex
          "\\bardownharpoonright"
        end

        def to_asciimath
          parsing_wrapper("RightDownTeeVector")
        end

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

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

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

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