Sha256: 0c66b8fd136dfab3622fe4322a70bcebff6f9fde7a6f7b93fc844fd4bf0f95cb

Contents?: true

Size: 1.06 KB

Versions: 9

Compression:

Stored size: 1.06 KB

Contents

module Plurimath
  module Math
    module Symbols
      class Bij < Symbol
        INPUT = {
          unicodemath: [["&#x2916;"], parsing_wrapper(["twoheadrightarrowtail", ">->>", "bij"], lang: :unicode)],
          asciimath: [["twoheadrightarrowtail", ">->>", "&#x2916;"], parsing_wrapper(["bij"], lang: :asciimath)],
          mathml: ["&#x2916;"],
          latex: [["twoheadrightarrowtail", "bij", "&#x2916;"], parsing_wrapper([">->>"], lang: :latex)],
          omml: ["&#x2916;"],
          html: ["&#x2916;"],
        }.freeze

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

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

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

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

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

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