Sha256: 0db4131302e8961f5773e423d70111af18c32e0fcc10666c462eed17bf3aee51

Contents?: true

Size: 932 Bytes

Versions: 7

Compression:

Stored size: 932 Bytes

Contents

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

        # output methods
        def to_latex
          "\\APLdownarrowbox"
        end

        def to_asciimath
          parsing_wrapper("APLdownarrowbox")
        end

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

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

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

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