Sha256: 679682fd5bd56ac1a2c01779e9ae59dabd03a503103e6b7dccd4970d951a1e1f

Contents?: true

Size: 993 Bytes

Versions: 7

Compression:

Stored size: 993 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Leftupvectorbar < Symbol
        INPUT = {
          unicodemath: [["&#x2958;"], parsing_wrapper(["barupharpoonleft", "LeftUpVectorBar"])],
          asciimath: [["&#x2958;"], parsing_wrapper(["barupharpoonleft", "LeftUpVectorBar"])],
          mathml: ["&#x2958;"],
          latex: [["barupharpoonleft", "LeftUpVectorBar", "&#x2958;"]],
          omml: ["&#x2958;"],
          html: ["&#x2958;"],
        }.freeze

        # output methods
        def to_latex
          "\\barupharpoonleft"
        end

        def to_asciimath
          parsing_wrapper("LeftUpVectorBar")
        end

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

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

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

        def to_html
          "&#x2958;"
        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/leftupvectorbar.rb
plurimath-0.8.9 lib/plurimath/math/symbols/leftupvectorbar.rb
plurimath-0.8.8 lib/plurimath/math/symbols/leftupvectorbar.rb
plurimath-0.8.7 lib/plurimath/math/symbols/leftupvectorbar.rb
plurimath-0.8.6 lib/plurimath/math/symbols/leftupvectorbar.rb
plurimath-0.8.5 lib/plurimath/math/symbols/leftupvectorbar.rb
plurimath-0.8.4 lib/plurimath/math/symbols/leftupvectorbar.rb