Sha256: d4189298b2e284b8b5210fc76c8ecdb5d1437ad4ac1f47b48241a196af93c1a1

Contents?: true

Size: 1.08 KB

Versions: 10

Compression:

Stored size: 1.08 KB

Contents

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

        # output methods
        def to_latex(**)
          "\\leftrightharpoonupup"
        end

        def to_asciimath(**)
          parsing_wrapper("leftrightharpoonup", lang: :asciimath)
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mi") << "&#x294e;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x294e;"
        end

        def to_html(**)
          "&#x294e;"
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
plurimath-0.8.24 lib/plurimath/math/symbols/leftrightharpoonup.rb
plurimath-0.8.23 lib/plurimath/math/symbols/leftrightharpoonup.rb
plurimath-0.8.22 lib/plurimath/math/symbols/leftrightharpoonup.rb
plurimath-0.8.21 lib/plurimath/math/symbols/leftrightharpoonup.rb
plurimath-0.8.20 lib/plurimath/math/symbols/leftrightharpoonup.rb
plurimath-0.8.19 lib/plurimath/math/symbols/leftrightharpoonup.rb
plurimath-0.8.18 lib/plurimath/math/symbols/leftrightharpoonup.rb
plurimath-0.8.17 lib/plurimath/math/symbols/leftrightharpoonup.rb
plurimath-0.8.16 lib/plurimath/math/symbols/leftrightharpoonup.rb
plurimath-0.8.15 lib/plurimath/math/symbols/leftrightharpoonup.rb