Sha256: 9d0a7469ec0850dfb9f139767c95677e37fbbcf753b9fcb3c893bc817d236b88
Contents?: true
Size: 899 Bytes
Versions: 13
Compression:
Stored size: 899 Bytes
Contents
# frozen_string_literal: true require_relative "../table" module Plurimath module Math module Function class Table class Pmatrix < Table def initialize(value, open_paren = "(", close_paren = ")", options = {}) super end def to_latex(options:) "\\begin#{opening}#{latex_content(options: options)}\\end#{matrix_class}" end def to_unicodemath(options:) unicode_value = value.map { |val| val.to_unicodemath(options: options) }.join("@") "⒨(#{unicode_value})" end def to_mathml_without_math_tag(intent, **) matrix = super matrix["intent"] = intent_names[:parenthesized_matrix] if intent matrix end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems