Sha256: 78fcbca359d5ec912d3cbace6211930dd5bb96bfbb236dddbc41bfc854f5f991
Contents?: true
Size: 854 Bytes
Versions: 2
Compression:
Stored size: 854 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.8.12 | lib/plurimath/math/symbols/mu.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/mu.rb |