Sha256: f55b4b1d877e07c2337e668693a77cbb49afe581cc1a37d9adc0201aefe63570

Contents?: true

Size: 1020 Bytes

Versions: 9

Compression:

Stored size: 1020 Bytes

Contents

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

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

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

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

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

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

        def to_html(**)
          "&#x22b0;"
        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/lmoust.rb
plurimath-0.8.22 lib/plurimath/math/symbols/lmoust.rb
plurimath-0.8.21 lib/plurimath/math/symbols/lmoust.rb
plurimath-0.8.20 lib/plurimath/math/symbols/lmoust.rb
plurimath-0.8.19 lib/plurimath/math/symbols/lmoust.rb
plurimath-0.8.18 lib/plurimath/math/symbols/lmoust.rb
plurimath-0.8.17 lib/plurimath/math/symbols/lmoust.rb
plurimath-0.8.16 lib/plurimath/math/symbols/lmoust.rb
plurimath-0.8.15 lib/plurimath/math/symbols/lmoust.rb