Sha256: 03550e999d334c68a43336ffac64e440bfa6044dbcb1bbb60aa80ec4a3f7c2fa

Contents?: true

Size: 878 Bytes

Versions: 7

Compression:

Stored size: 878 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lgroup"
        end

        def to_asciimath
          parsing_wrapper("lgroup")
        end

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

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

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

        def to_html
          "&#x27ee;"
        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/lgroup.rb
plurimath-0.8.9 lib/plurimath/math/symbols/lgroup.rb
plurimath-0.8.8 lib/plurimath/math/symbols/lgroup.rb
plurimath-0.8.7 lib/plurimath/math/symbols/lgroup.rb
plurimath-0.8.6 lib/plurimath/math/symbols/lgroup.rb
plurimath-0.8.5 lib/plurimath/math/symbols/lgroup.rb
plurimath-0.8.4 lib/plurimath/math/symbols/lgroup.rb