Sha256: 292fd07e5719306b1e4ea91bd4aa2d5ecb1613fafe76cd7871e0d631f5b9715f

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

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

        # output methods
        def to_latex
          "\\APLleftarrowbox"
        end

        def to_asciimath
          parsing_wrapper("APLleftarrowbox")
        end

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

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

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

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