Sha256: ded8a8528986164ced807f311ca46a158c0033e7b396c64ccc7983c2c35fdcc6

Contents?: true

Size: 923 Bytes

Versions: 2

Compression:

Stored size: 923 Bytes

Contents

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

        # output methods
        def to_latex
          "\\leftouterjoin"
        end

        def to_asciimath
          parsing_wrapper("leftouterjoin")
        end

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

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

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

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