Sha256: 39b41f1b77f6f657a1d0e7c0bdd25b10365500b7c8ce1cf622b1f542109f7c84

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\bigwhitestar"
        end

        def to_asciimath
          parsing_wrapper("bigwhitestar")
        end

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

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

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

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