Sha256: 4a5bab782bbd8a696d4b3805dd87d5b632d5b3c5605f0b79011098d25dc813db

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lbracklltick"
        end

        def to_asciimath
          parsing_wrapper("lbracklltick")
        end

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

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

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

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