I am very new to LaTeX so please bear with me if my question is rudimentary. I searched through other questions and while this question has been answered the solutions provided did not work for me, the solutions specifically at What's the best way make an "augmented" coefficient matrix?
did not work in iBook Author. This question is how to make an augmented matrix in iBook Author which has minimal support for LaTeX. I am working in iBook Author and am trying to add an augmented matrix. I can get the matrix to display but not the horizontal line. The use of "array" has not worked for me as it is not supported by iBook Author. In iBook Author, there is no need to enter \documentclass, \begin{document}, etc. which is why it is not included in my example.
This is what I use to get the matrix but I need it to be an augmented matrix with a continuous vertical line separating the 4th digit in each row:
\begin{bmatrix}
4 & 8 & -12 & 4 \\
3 & 5 & 6 & 7 \\
2 & 5 & 3 & 8 \\
\end{bmatrix}
I have tried using "array" as well as "ccc|c" and nothing has worked. Any help provided would be greatly appreciated. Thank you.
Please see the screen cap below from the text file, created using Word for reference to what I am trying to achieve.


\begin{array}{@{}ccc|c@{}}, to do the same asbmatrix– egreg Mar 02 '16 at 22:37bmatrixis not supported, but OP posted a code fragment using it… hoping MathML is supported enough, I will add the MathML rendering of the abovearray, getting it straight out of Math SE. – MickG Mar 03 '16 at 07:29columnlinesis really not supported by iBook Author. But you can fake the desired output with twomtables. – Benjamin Mar 03 '16 at 09:32