Sha256: f01cd96689505cd0a18006fb391a6241c32814459f2c480bf3abd2d267e37a13

Contents?: true

Size: 747 Bytes

Versions: 4

Compression:

Stored size: 747 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(intent)
          Utility.update_nodes(
            ox_element("m#{class_name}"),
            mathml_value(intent),
          )
        end

        def to_omml_without_math_tag(display_style)
          omml_value(display_style)
        end

        def to_unicodemath
          parameter_one&.to_unicodemath
        end

        def line_breaking(obj)
          custom_array_line_breaking(obj)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/function/longdiv.rb
plurimath-0.8.13 lib/plurimath/math/function/longdiv.rb
plurimath-0.8.12 lib/plurimath/math/function/longdiv.rb
plurimath-0.8.11 lib/plurimath/math/function/longdiv.rb