Sha256: da57037e698c6fe04a62117c5ba335efdaa3e1721bb7e979e51db18cfce95f52

Contents?: true

Size: 965 Bytes

Versions: 2

Compression:

Stored size: 965 Bytes

Contents

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

        # output methods
        def to_latex
          "\\leftrightarrowcircle"
        end

        def to_asciimath
          parsing_wrapper("leftrightarrowcircle")
        end

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

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

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

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