What I’m trying to do
Hey guys. I’m trying to render matrices for my math notes as I’m in Uni, and I’ve been having success on Obsidian. I’ve been using it for a while but recently I tried to put a new matrix into existing notes to extend on the topic (in this case Gaussian Elimination and trying to include examples so future me can actually understand what I was thinking and so it’s logical). Suddenly all of my matrices just stopped working and game me errors.
This has also messed with all of my existing Matrices (in other notes as well) so any and all of my notes on matrices is broken (when it comes to Latex, normal text still remains).
Things I have tried
So far this is my latex ‘code’ I guess.
$$
\begin{vmatrix}
1 & 14 & -8 & | &-3 \
0 & 1 & 3 & | & 6 \
0 & 0 & 1 & | & 2
\end{vmatrix}
$$
This is not rendering and is just giving me it printed with a yellow box over it. When I hover over the yellow text it reads “Misplaced &” and when I remove the actual number and just left with the begin and end it says “Missing \begin{vmatrix} or extra \end{vmatrix}”
I don’t know what wrong and simple math works.
I have also tried examples of other people matrices (copy & paste) that work for them, and they bring me the same problems.