Sha256: 0fccc640f865987cec3131f784930a96ff63bfff7626d3e9c081824e2c6ad686

Contents?: true

Size: 862 Bytes

Versions: 2

Compression:

Stored size: 862 Bytes

Contents

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

        # output methods
        def to_latex
          "\\Vvdash"
        end

        def to_asciimath
          parsing_wrapper("Vvdash")
        end

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

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

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

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