Sha256: 05aa73bb580658fe10b21534a64628f080735a3876795c808bf918fceaf70f67

Contents?: true

Size: 958 Bytes

Versions: 2

Compression:

Stored size: 958 Bytes

Contents

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

        # output methods
        def to_latex
          "\\measuredangle"
        end

        def to_asciimath
          parsing_wrapper("angmsd")
        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

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.12 lib/plurimath/math/symbols/angmsd.rb
plurimath-0.8.11 lib/plurimath/math/symbols/angmsd.rb