Sha256: 6bcb5b8bbc29a71d43441b59f052eb8de28044b8d8c1cc3c0d8df7b4b2d17cc9

Contents?: true

Size: 941 Bytes

Versions: 2

Compression:

Stored size: 941 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nVrightarrowtail"
        end

        def to_asciimath
          parsing_wrapper("finj")
        end

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

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

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

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