Sha256: 85ec73f444a7bc6230c10f0d5a416f5f52a9b66fa01e847a3a55dca0c861f590

Contents?: true

Size: 869 Bytes

Versions: 2

Compression:

Stored size: 869 Bytes

Contents

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

        # output methods
        def to_latex
          "\\Join"
        end

        def to_asciimath
          parsing_wrapper("Join")
        end

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

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

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

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