I want to make this,
without having to do the entire thing in TikZ. I tried this (pst-node), which sort of worked, but then I had to use the Basic Builder and I want to avoid that.
Also I tried to make the arrows with TikZ, but I wasn't able to shift the tikzpicture into the equation environment.
\documentclass[12pt,norsk, fleqn]{article}
\usepackage{amssymb, amsmath}
\begin{document}
\begin{equation*}
\begin{matrix}
x_1&y_1&z_1&x_1&y_1&z_1\\
x_2&y_2&z_2&x_2&y_2&z_2
\end{matrix}
\end{equation*}
\end{document}
Any ideas?
Best Answer
The question reads “without having to do the entire thing in TikZ”, so here is a solution that keeps the original
matrix
:Explanation: The command
\rn
puts its second argument in atikz
node. The optionremember picture
makes these nodes available even after the mini tikzpicture, i.e., after the equation. Later, another tikzpicture draws the arrows. The optionoverlay
ensures that it takes no space and can draw on top of the matrix above.It looks like before, but with the desired arrows: