Sha256: 4809a17f94ce79eb311f30bdb3a1c145dc213c37ebc0e2149bae658e9474a8df

Contents?: true

Size: 975 Bytes

Versions: 2

Compression:

Stored size: 975 Bytes

Contents

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

        # output methods
        def to_latex
          "\\APLboxupcaret"
        end

        def to_asciimath
          parsing_wrapper("APLboxupcaret", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x2353;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/aplboxupcaret.rb
plurimath-0.8.13 lib/plurimath/math/symbols/aplboxupcaret.rb