Sha256: d4b8eb83340adac0c82296f55ceae70dd6dd3b68957d96c0d9e6e05b8564ae0b
Contents?: true
Size: 860 Bytes
Versions: 7
Compression:
Stored size: 860 Bytes
Contents
module Plurimath module Math module Symbols class Chi < Symbol INPUT = { unicodemath: [["chi", "χ"], parsing_wrapper(["upchi"])], asciimath: [["chi", "χ"], parsing_wrapper(["upchi"])], mathml: ["χ"], latex: [["upchi", "chi", "χ"]], omml: ["χ"], html: ["χ"], }.freeze # output methods def to_latex "\\chi" end def to_asciimath "chi" 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