Sha256: 68d9faf2054c0beb6598fb498c14ff1fbac467a4f28544072ce22d7dfb2736d6
Contents?: true
Size: 888 Bytes
Versions: 2
Compression:
Stored size: 888 Bytes
Contents
module Plurimath module Math module Symbols class Mu < Symbol INPUT = { unicodemath: [["mu", "μ"], parsing_wrapper(["upmu"], lang: :unicode)], asciimath: [["mu", "μ"], parsing_wrapper(["upmu"], lang: :asciimath)], 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.14 | lib/plurimath/math/symbols/mu.rb |
plurimath-0.8.13 | lib/plurimath/math/symbols/mu.rb |