Sha256: 0b8ff70b1a1c78f34a8572f2ee558d329b967f6537ee4100513f502955c3736a

Contents?: true

Size: 651 Bytes

Versions: 3

Compression:

Stored size: 651 Bytes

Contents

# frozen_string_literal: true

require_relative "unary_function"

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
plurimath-0.7.2 lib/plurimath/math/function/longdiv.rb
plurimath-0.7.1 lib/plurimath/math/function/longdiv.rb
plurimath-0.7.0 lib/plurimath/math/function/longdiv.rb