Sha256: 1b2d494829b605080bb68b3a75d17587497156359fe0234373e2dbff2c4c3e83

Contents?: true

Size: 896 Bytes

Versions: 7

Compression:

Stored size: 896 Bytes

Contents

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

        # output methods
        def to_latex
          "\\Lparengtr"
        end

        def to_asciimath
          parsing_wrapper("Lparengtr")
        end

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

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

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

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