Sha256: ec49ef762959b475a852c304f191c60b741d0b731be10a68c64d634afc5f3418

Contents?: true

Size: 975 Bytes

Versions: 2

Compression:

Stored size: 975 Bytes

Contents

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

        # output methods
        def to_latex
          "\\fullouterjoin"
        end

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

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

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

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

        def to_html
          "&#x27d7;"
        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/fullouterjoin.rb
plurimath-0.8.13 lib/plurimath/math/symbols/fullouterjoin.rb