Sha256: 8adca038507d89b0b224bdcbb45ccbdcaaafb9cfdb61d85a05a96b4475cc4008

Contents?: true

Size: 923 Bytes

Versions: 2

Compression:

Stored size: 923 Bytes

Contents

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

        # output methods
        def to_latex
          "\\APLuparrowbox"
        end

        def to_asciimath
          parsing_wrapper("APLuparrowbox")
        end

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

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

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

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