Sha256: 2493c78bcae54d7750b42588d777b9e4ce95da95b3277407ccb2ccb4939b5108

Contents?: true

Size: 910 Bytes

Versions: 2

Compression:

Stored size: 910 Bytes

Contents

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

        # output methods
        def to_latex
          "\\llangle"
        end

        def to_asciimath
          parsing_wrapper("lblot")
        end

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

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

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

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