Sha256: f80b35fddab430187669921efaa4efb81d12d5eb4c048c90144d168bc5aca525

Contents?: true

Size: 863 Bytes

Versions: 2

Compression:

Stored size: 863 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lgE"
        end

        def to_asciimath
          parsing_wrapper("lgE")
        end

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

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

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

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