Sha256: 20ad26befbef8e3904949ad91d8438f4047d711704b6fcfd83c3050ea8d17b5f

Contents?: true

Size: 911 Bytes

Versions: 2

Compression:

Stored size: 911 Bytes

Contents

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

        # output methods
        def to_latex
          "\\leftdbltail"
        end

        def to_asciimath
          parsing_wrapper("leftdbltail")
        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.12 lib/plurimath/math/symbols/leftdbltail.rb
plurimath-0.8.11 lib/plurimath/math/symbols/leftdbltail.rb