For a quiz or discussion. I am familiar with the general construction of a matrix, but I would like to include a vertical line or space for the sake of clarity, and I cannot find a way to do that.

For a quiz or discussion. I am familiar with the general construction of a matrix, but I would like to include a vertical line or space for the sake of clarity, and I cannot find a way to do that.

- 4 people found this helpful
This is really a LaTeX question more than a Canvas question. Search for latex augmented matrix and you'll get a lot more information than I have time to write right now.

The basic version is this:

Use the equation editor and switch to advanced mode.

`\left [`

\begin{array}{rr|r}

1 & 2 & 3 \\

4 & 5 & 6

\end{array}

\right ]This gives you

There are other environments like pmatrix, bmatrix, vmatrix that might be usable, but they center align.

btw, It seems that pasted latex often renders correctly after selecting "insert equation" even if it doesn't render properly in the equation editor (i.e. the preview provided in the advanced view). This was my experience with the matrix code provided in this answer. In fact, I found this question when I thought my latex code wouldn't work in Canvas, but it turns out that the canvas

*page**can*handle the latex code even though the equation*previewer*can't.- 1 person found this helpful
I've had temporary issues with the live preview in advanced mode not working, too. It seems sporadic and perhaps network congestion related. I just pasted the answer here into the browser and it came up right away, so it must be one of those times when it's not experiencing problems.

This is really a LaTeX question more than a Canvas question. Search for latex augmented matrix and you'll get a lot more information than I have time to write right now.

The basic version is this:

Use the equation editor and switch to advanced mode.

This gives you

There are other environments like pmatrix, bmatrix, vmatrix that might be usable, but they center align.