Sha256: 460a904b9146ccb5ae8e8153acda4a22230a9bd7a8df318ec0306ff6a15fc5f2
Contents?: true
Size: 851 Bytes
Versions: 7
Compression:
Stored size: 851 Bytes
Contents
module Plurimath module Math module Symbols class Mu < Symbol INPUT = { unicodemath: [["mu", "μ"], parsing_wrapper(["upmu"])], asciimath: [["mu", "μ"], parsing_wrapper(["upmu"])], mathml: ["μ"], latex: [["upmu", "mu", "μ"]], omml: ["μ"], html: ["μ"], }.freeze # output methods def to_latex "\\mu" end def to_asciimath "mu" end def to_unicodemath Utility.html_entity_to_unicode("μ") end def to_mathml_without_math_tag ox_element("mi") << "μ" end def to_omml_without_math_tag(_) "μ" end def to_html "μ" end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems