lib/plurimath/math/function/table/multline.rb in plurimath-0.2.1 vs lib/plurimath/math/function/table/multline.rb in plurimath-0.2.2

- old
+ new

@@ -5,18 +5,18 @@ module Plurimath module Math module Function class Table class Multline < Table - def initialize(parameter_one, - parameter_two = "[", - parameter_three = "]") + def initialize(value, + open_paren = "[", + close_paren = "]", + options = {}) super end def to_latex - first_value = parameter_one&.map(&:to_latex)&.join("\\\\") - "\\begin{multline}#{first_value}\\end{multline}" + "\\begin#{opening}#{latex_content}\\end#{matrix_class}" end end end end end