Sha256: 0a4cd065288e5261c05e977f18fda3be49d4020013ed4cd8bab46b0c50d9cea5
Contents?: true
Size: 1.29 KB
Versions: 2
Compression:
Stored size: 1.29 KB
Contents
module Plurimath module Math module Symbols class Paren class Langle < Paren INPUT = { unicodemath: [["〈", "⟨", "bra"], parsing_wrapper(["langle", "(:", "<<"])], asciimath: [["langle", "(:", "<<", "〈"], parsing_wrapper(["⟨", "bra"])], mathml: ["〈", "⟨"], latex: [["\\langle", "〈"], parsing_wrapper(["(:", "<<", "⟨", "bra"])], omml: ["〈", "⟨"], html: ["〈", "⟨"], }.freeze # output methods def to_latex "\\langle" end def to_asciimath "<<" end def to_unicodemath Utility.html_entity_to_unicode("⟨") end def to_mathml_without_math_tag(_) ox_element("mi") << paren_value end def to_omml_without_math_tag(_) "⟨" end def to_html paren_value end def open? true end def close? false end def closing Rangle end def paren_value "〈" end 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/paren/langle.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/paren/langle.rb |