Sha256: 82e8be20d01d458688586609f82f84452a66b1d563aaa51742c43a61c5b5589d

Contents?: true

Size: 1.02 KB

Versions: 10

Compression:

Stored size: 1.02 KB

Contents

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

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

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

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

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

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

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