Sha256: cb0416ec475d438556e8a244780a5347ab308891d012a75a1cc3cc801108630f

Contents?: true

Size: 999 Bytes

Versions: 2

Compression:

Stored size: 999 Bytes

Contents

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

        # output methods
        def to_latex
          "\\bsimilarleftarrow"
        end

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

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

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

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

        def to_html
          "&#x2b41;"
        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/bsimilarleftarrow.rb
plurimath-0.8.13 lib/plurimath/math/symbols/bsimilarleftarrow.rb