Sha256: bed1acf9bc7663f4b80b9020f1eae50540b9a102989f5fde0415ac5c88e5db13
Contents?: true
Size: 877 Bytes
Versions: 2
Compression:
Stored size: 877 Bytes
Contents
module Plurimath module Math module Symbols class Tcmu < Symbol INPUT = { unicodemath: [["µ"], parsing_wrapper(["Micro", "tcmu"])], asciimath: [["µ"], parsing_wrapper(["Micro", "tcmu"])], mathml: ["µ"], latex: [["Micro", "tcmu", "µ"]], omml: ["µ"], html: ["µ"], }.freeze # output methods def to_latex "\\Micro" end def to_asciimath parsing_wrapper("tcmu") 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/tcmu.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/tcmu.rb |