Sha256: 80ab9313781264e4ba9356fc076b8564ed5db969441e75bc465f56520bb78598

Contents?: true

Size: 871 Bytes

Versions: 7

Compression:

Stored size: 871 Bytes

Contents

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

        # output methods
        def to_latex
          "\\curlyvee"
        end

        def to_asciimath
          parsing_wrapper("curlyvee")
        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

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/curlyvee.rb
plurimath-0.8.9 lib/plurimath/math/symbols/curlyvee.rb
plurimath-0.8.8 lib/plurimath/math/symbols/curlyvee.rb
plurimath-0.8.7 lib/plurimath/math/symbols/curlyvee.rb
plurimath-0.8.6 lib/plurimath/math/symbols/curlyvee.rb
plurimath-0.8.5 lib/plurimath/math/symbols/curlyvee.rb
plurimath-0.8.4 lib/plurimath/math/symbols/curlyvee.rb