Sha256: cf1707140d859effaa65a58c81b3968bb4fdbcba9fa39ee9421998e59416d8d8

Contents?: true

Size: 1005 Bytes

Versions: 2

Compression:

Stored size: 1005 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Rightupteevector < Symbol
        INPUT = {
          unicodemath: [["&#x295c;"], parsing_wrapper(["upharpoonrightbar", "RightUpTeeVector"])],
          asciimath: [["&#x295c;"], parsing_wrapper(["upharpoonrightbar", "RightUpTeeVector"])],
          mathml: ["&#x295c;"],
          latex: [["upharpoonrightbar", "RightUpTeeVector", "&#x295c;"]],
          omml: ["&#x295c;"],
          html: ["&#x295c;"],
        }.freeze

        # output methods
        def to_latex
          "\\upharpoonrightbar"
        end

        def to_asciimath
          parsing_wrapper("RightUpTeeVector")
        end

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

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

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

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