Sha256: 833aa3d22e02fbeccf44e2a768e20fe23452da534f7ee5a6d75c75a3a139b8c5

Contents?: true

Size: 1 KB

Versions: 9

Compression:

Stored size: 1 KB

Contents

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

        # output methods
        def to_latex(**)
          "\\backepsilon"
        end

        def to_asciimath(**)
          parsing_wrapper("backepsilon", lang: :asciimath)
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mi") << "&#x3f6;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x3f6;"
        end

        def to_html(**)
          "&#x3f6;"
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
plurimath-0.8.23 lib/plurimath/math/symbols/backepsilon.rb
plurimath-0.8.22 lib/plurimath/math/symbols/backepsilon.rb
plurimath-0.8.21 lib/plurimath/math/symbols/backepsilon.rb
plurimath-0.8.20 lib/plurimath/math/symbols/backepsilon.rb
plurimath-0.8.19 lib/plurimath/math/symbols/backepsilon.rb
plurimath-0.8.18 lib/plurimath/math/symbols/backepsilon.rb
plurimath-0.8.17 lib/plurimath/math/symbols/backepsilon.rb
plurimath-0.8.16 lib/plurimath/math/symbols/backepsilon.rb
plurimath-0.8.15 lib/plurimath/math/symbols/backepsilon.rb