Brackets with matrices look ugly!
For background, we start with an overview of the matrix command:

Markup

Result

matrix { a # b ## c # d }


Note

Rows are separated by two #â€™s and entries within each row are separated by one #.

The first problem people have with matrices is that brackets do not â€œscaleâ€ with the matrix:

Markup

Result

( matrix { a # b ## c # d } )


OOoMath provides â€œscalableâ€ brackets. That is, the brackets grow in size to match the size of their contents. Use the commands left( and right) to make scalable brackets.

Markup

Result

left( matrix { a # b ## c # d } right)


TIP

Use left[ and right] to obtain square brackets.
