lib/plurimath/math/symbol.rb in plurimath-0.3.9 vs lib/plurimath/math/symbol.rb in plurimath-0.4.1

- old
+ new

@@ -56,15 +56,15 @@ def to_html value end - def to_omml_without_math_tag + def to_omml_without_math_tag(_display_style) value end - def insert_t_tag + def insert_t_tag(_display_style) r_tag = Utility.ox_element("r", namespace: "m") r_tag << (Utility.ox_element("t", namespace: "m") << value) [r_tag] end @@ -76,9 +76,13 @@ if ["&#x22c0;", "&#x22c1;", "&#x22c2;", "&#x22c3;", "&#x22c3;", "&#x2211;", "&#x220f;"].include?(value) return "undOvr" end "subSup" + end + + def font_style_t_tag(_display_style) + Utility.ox_element("t", namespace: "m") << value end def nary_attr_value value end