Sha256: 1c56bfa5883920e6f28e2d5772930f1a1a79270e028659762b2c329a84685a5c

Contents?: true

Size: 934 Bytes

Versions: 9

Compression:

Stored size: 934 Bytes

Contents

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

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

        def to_asciimath(**)
          parsing_wrapper("curlyvee", lang: :asciimath)
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mi") << "&#x22ce;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x22ce;"
        end

        def to_html(**)
          "&#x22ce;"
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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