Sha256: 0517a308edaed369626557906de7b65e43205cbdd3a66ca2896a4187a75f568b
Contents?: true
Size: 921 Bytes
Versions: 10
Compression:
Stored size: 921 Bytes
Contents
module Plurimath module Math module Symbols class Chi < Symbol INPUT = { unicodemath: [["chi", "χ"], parsing_wrapper(["upchi"], lang: :unicode)], asciimath: [["chi", "χ"], parsing_wrapper(["upchi"], lang: :asciimath)], 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
10 entries across 10 versions & 1 rubygems