Sha256: 39c2ef3df9a35ff1bf0bcd1f552878b9532e16a1719a5240ac2105bd586e1b54

Contents?: true

Size: 933 Bytes

Versions: 2

Compression:

Stored size: 933 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nVDash"
        end

        def to_asciimath
          parsing_wrapper("nVDash", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x22af;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/nvdash.rb
plurimath-0.8.13 lib/plurimath/math/symbols/nvdash.rb