Sha256: 7710f240be6bcd095c358fa3e86c439fcbfd82254765c2a5c1ee1b025a9875a2
Contents?: true
Size: 927 Bytes
Versions: 2
Compression:
Stored size: 927 Bytes
Contents
# frozen_string_literal: true require_relative "unary_function" module Plurimath module Math module Function class Ddot < UnaryFunction def to_mathml_without_math_tag second_value = Utility.ox_element("mo") << ".." Utility.update_nodes( Utility.ox_element("mover", attributes: { accent: "true" }), mathml_value << second_value, ) end def to_omml_without_math_tag acc_tag = Utility.ox_element("acc", namespace: "m") acc_pr_tag = Utility.ox_element("accPr", namespace: "m") acc_pr_tag << (Utility.ox_element("chr", namespace: "m", attributes: { "m:val": ".." })) Utility.update_nodes( acc_tag, [ acc_pr_tag, omml_parameter(parameter_one, tag_name: "e"), ], ) [acc_tag] end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.3.9 | lib/plurimath/math/function/ddot.rb |
plurimath-0.3.8 | lib/plurimath/math/function/ddot.rb |