Sha256: 45b7426bdc2f63d3cb5b8abbb3c580116ac7cf1a7990f2079b726b26cbc64577

Contents?: true

Size: 955 Bytes

Versions: 7

Compression:

Stored size: 955 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

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/angmsd.rb
plurimath-0.8.9 lib/plurimath/math/symbols/angmsd.rb
plurimath-0.8.8 lib/plurimath/math/symbols/angmsd.rb
plurimath-0.8.7 lib/plurimath/math/symbols/angmsd.rb
plurimath-0.8.6 lib/plurimath/math/symbols/angmsd.rb
plurimath-0.8.5 lib/plurimath/math/symbols/angmsd.rb
plurimath-0.8.4 lib/plurimath/math/symbols/angmsd.rb