Sha256: 91e6ed5196d01df8585149190ca449de4bb5f0fe2f56c431c04d43e3e8f4f664

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\bigslopedvee"
        end

        def to_asciimath
          parsing_wrapper("bigslopedvee")
        end

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

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

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

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