Sha256: 09652788c1f549b66b7733af65bfd4d88cee0078cd7e4619be03565ff1537623

Contents?: true

Size: 963 Bytes

Versions: 2

Compression:

Stored size: 963 Bytes

Contents

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

        # output methods
        def to_latex
          "\\leftdbltail"
        end

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

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

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

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

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