Sha256: 8254ba68dcdd01aa03847b0a0baa2c0b941f8f305e50f4f79d9a58bbfe1cd523

Contents?: true

Size: 946 Bytes

Versions: 10

Compression:

Stored size: 946 Bytes

Contents

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

        # output methods
        def to_latex(**)
          "\\curlywedge"
        end

        def to_asciimath(**)
          parsing_wrapper("curlywedge", lang: :asciimath)
        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

10 entries across 10 versions & 1 rubygems

Version Path
plurimath-0.8.24 lib/plurimath/math/symbols/curlywedge.rb
plurimath-0.8.23 lib/plurimath/math/symbols/curlywedge.rb
plurimath-0.8.22 lib/plurimath/math/symbols/curlywedge.rb
plurimath-0.8.21 lib/plurimath/math/symbols/curlywedge.rb
plurimath-0.8.20 lib/plurimath/math/symbols/curlywedge.rb
plurimath-0.8.19 lib/plurimath/math/symbols/curlywedge.rb
plurimath-0.8.18 lib/plurimath/math/symbols/curlywedge.rb
plurimath-0.8.17 lib/plurimath/math/symbols/curlywedge.rb
plurimath-0.8.16 lib/plurimath/math/symbols/curlywedge.rb
plurimath-0.8.15 lib/plurimath/math/symbols/curlywedge.rb