Sha256: 54162226fce2931cb19a231010f14a546a222bc8606d0b6ecac8853a9b156b49

Contents?: true

Size: 941 Bytes

Versions: 2

Compression:

Stored size: 941 Bytes

Contents

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

        # output methods
        def to_latex
          "\\APLrightarrowbox"
        end

        def to_asciimath
          parsing_wrapper("APLrightarrowbox")
        end

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

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

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

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