Sha256: b35ef0ced1bac7d873f076ac93b4f33a4a6d3afead6493545f61fb1c8ae2bef5

Contents?: true

Size: 908 Bytes

Versions: 7

Compression:

Stored size: 908 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lgwhtcircle"
        end

        def to_asciimath
          parsing_wrapper("lgwhtcircle")
        end

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

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

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

        def to_html
          "&#x25ef;"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/lgwhtcircle.rb
plurimath-0.8.9 lib/plurimath/math/symbols/lgwhtcircle.rb
plurimath-0.8.8 lib/plurimath/math/symbols/lgwhtcircle.rb
plurimath-0.8.7 lib/plurimath/math/symbols/lgwhtcircle.rb
plurimath-0.8.6 lib/plurimath/math/symbols/lgwhtcircle.rb
plurimath-0.8.5 lib/plurimath/math/symbols/lgwhtcircle.rb
plurimath-0.8.4 lib/plurimath/math/symbols/lgwhtcircle.rb