Sha256: 51a4ad0f914d32656e9e0ce85be856575d1c8e310035da130bb3c0f9070e032c

Contents?: true

Size: 883 Bytes

Versions: 7

Compression:

Stored size: 883 Bytes

Contents

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

        # output methods
        def to_latex
          "\\curlywedge"
        end

        def to_asciimath
          parsing_wrapper("curlywedge")
        end

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

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

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

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