lib/plurimath/math/function/longdiv.rb in plurimath-0.6.0 vs lib/plurimath/math/function/longdiv.rb in plurimath-0.7.0
- old
+ new
@@ -4,11 +4,30 @@
module Plurimath
module Math
module Function
class Longdiv < UnaryFunction
+ def to_asciimath
+ asciimath_value
+ end
+
+ def to_latex
+ latex_value
+ end
+
+ def to_mathml_without_math_tag
+ Utility.update_nodes(
+ ox_element("m#{class_name}"),
+ mathml_value,
+ )
+ end
+
def to_omml_without_math_tag(display_style)
omml_value(display_style)
+ end
+
+ def line_breaking(obj)
+ custom_array_line_breaking(obj)
end
end
end
end
end