Sha256: 88c89fc423e39a6fd4f86b7b82d58aac2eb7fb8fd9f2cc017f10245e49683082

Contents?: true

Size: 963 Bytes

Versions: 2

Compression:

Stored size: 963 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lcurvyangle"
        end

        def to_asciimath
          parsing_wrapper("lcurvyangle", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x29fc;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/lcurvyangle.rb
plurimath-0.8.13 lib/plurimath/math/symbols/lcurvyangle.rb