Sha256: 8ba23892ab9fc9c3f31c07c96313028d66a2be4b85270db4a4869e4290117403
Contents?: true
Size: 829 Bytes
Versions: 4
Compression:
Stored size: 829 Bytes
Contents
module Plurimath module Math module Symbols class Prime < Symbol INPUT = { unicodemath: ["′", "prime", "'"], asciimath: ["′", "prime", "'"], mathml: ["′"], latex: ["′", "prime", "'"], omml: ["′"], html: ["′"], }.freeze # output methods def to_latex "\\prime" end def to_asciimath "prime" end def to_unicodemath Utility.html_entity_to_unicode("′") end def to_mathml_without_math_tag(_) ox_element("mo") << "′" end def to_omml_without_math_tag(_) "′" end def to_html "′" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems