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