Ilya V. Schurov
Ilya V. Schurov

Reputation: 8077

Round brackets for latex(Matrix(…))

By default, latex(Matrix([[1, 2], [3, 4]]) gives a matrix surrounded by square brackets. How can I use round brackets instead?

Upvotes: 0

Views: 871

Answers (1)

Ilya V. Schurov
Ilya V. Schurov

Reputation: 8077

You can use

latex(Matrix([[1, 2], [3, 4]]), mat_delim='(', mat_str='matrix')

Upvotes: 3

Related Questions