Sha256: 4f23f99609f5f4c124400c7a6e21b61daed87d69fbfc94846dab927ff351cba7

Contents?: true

Size: 881 Bytes

Versions: 2

Compression:

Stored size: 881 Bytes

Contents

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

        # output methods
        def to_latex
          "\\bigbot"
        end

        def to_asciimath
          parsing_wrapper("bigbot")
        end

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

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

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

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