Sha256: e9f2e379f07cb8de9f072b9bf18c6f3c0e7343cc3c59319eebffa8fdeff9e4e2

Contents?: true

Size: 911 Bytes

Versions: 7

Compression:

Stored size: 911 Bytes

Contents

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

        # output methods
        def to_latex
          parsing_wrapper("funcapply")
        end

        def to_asciimath
          parsing_wrapper("funcapply")
        end

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

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

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

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