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