Sha256: b5e94e8112933408b73c5518bdbb406f6e732b5b13a1bde1cfcd7cc51600530f

Contents?: true

Size: 947 Bytes

Versions: 2

Compression:

Stored size: 947 Bytes

Contents

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

        # output methods
        def to_latex
          "\\varhexagonlrbonds"
        end

        def to_asciimath
          parsing_wrapper("varhexagonlrbonds")
        end

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

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

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

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