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