Sha256: 16497ea5507f179d4a2d82c2393141a992bc82b11b355c9e72a9d584b8cb749d

Contents?: true

Size: 969 Bytes

Versions: 10

Compression:

Stored size: 969 Bytes

Contents

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

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

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

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

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

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

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