Sha256: 88cb032a2ef24a78544dc52b2a17550b47594aa985474ac581a2def232c8d34a

Contents?: true

Size: 910 Bytes

Versions: 2

Compression:

Stored size: 910 Bytes

Contents

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

        # output methods
        def to_latex
          "\\leftthreetimes"
        end

        def to_asciimath
          parsing_wrapper("leftthreetimes")
        end

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

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

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

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