Sha256: d4d8e01776203fabe0a207f1d2219e134f88cca63e58e673809c1d010650c8ea
Contents?: true
Size: 848 Bytes
Versions: 3
Compression:
Stored size: 848 Bytes
Contents
# frozen_string_literal: true require_relative "unary_function" module Plurimath module Math module Function class Substack < UnaryFunction FUNCTION = { name: "substack", first_value: "above", second_value: "below", }.freeze def to_asciimath "{:#{parameter_one.compact.map(&:to_asciimath).join(",")}:}" end def to_latex "\\#{class_name}{#{parameter_one&.compact&.map(&:to_latex)&.join(" \\\\ ")}}" end def to_mathml_without_math_tag Utility.update_nodes( Utility.ox_element("mtable"), mathml_value, ) end def to_omml_without_math_tag(display_style) Table.new(parameter_one).to_omml_without_math_tag(display_style) 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/substack.rb |
plurimath-0.7.1 | lib/plurimath/math/function/substack.rb |
plurimath-0.7.0 | lib/plurimath/math/function/substack.rb |