Sha256: 3308c50848f1d33e0cb96a9d048e2117f48ff825d70bb752175c20bc2a77f063

Contents?: true

Size: 923 Bytes

Versions: 2

Compression:

Stored size: 923 Bytes

Contents

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

        # output methods
        def to_latex
          "\\botsemicircle"
        end

        def to_asciimath
          parsing_wrapper("botsemicircle")
        end

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

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

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

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