I'm using the Libre Office Equation Editor in the Word Processor.

I've typed in the following augmented matrix:

left[ alignr matrix{

1 # 1 # 0 # 0 ##

1 # - 1 # 0 # 0 ##

0 # 0 # -1 # 1 ##

0 # 0 # 1 # 2

}

right none

left rline matrix{

3 ##

1 ##

4 ##

5

}

right]

This produces the following:

Now what I'd like to do is place the lettersx y w zabove each column of the matrix.

Kind of like the following except I'd like to have them lined up with the first four columns of matrix. I don't even know how to do this in Latex.