How to typeset augmented matrices?

Does anyone know how to typset augmented matrices for row reduction? I can’t seem to figure out how to get it such that there is a vertical line separating the last column. Do you have to use a grid? Appreciate any help in advance.

There’s an example over in the docs Matrix Function – Typst Documentation

Click the View Example thing under augment.

3 Likes