I have the following code:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
&\begin{bmatrix}
a'_{1,1} & a'_{1,2}\\
a'_{2,1} & a'_{2,2}
\end{bmatrix} &&=
\begin{bmatrix}
\cos{\alpha} & \sin{\alpha} \\
-\sin{\alpha} & \cos{\alpha} \\
\end{bmatrix}
&&\cdot
&&\begin{bmatrix}
a_{1,1} & a_{1,2}\\
a_{2,1} & a_{2,2}
\end{bmatrix}
&&\cdot
&&\begin{bmatrix}
\cos{\alpha} & -\sin{\alpha} \\
\sin{\alpha} & \cos{\alpha} \\
\end{bmatrix}
\\
&\textbf{A}' &&= \textbf{R}^T &&\cdot && \textbf{A} &&\cdot &&\textbf{R}
\end{align}
\end{document}
It aligns indeed all the arguments like this:
But I want to have all the arguments centered between the separation as follows and without the equation numbering:
\underset
in order to get some letters/words underneath the matrices but it doesn't quite give the desired result. And for the equal sign it won't even stay in the same line as the letters~
until the desired space is reached - or simply using\hspace{}
. But that has to be adjusted every time the equation changes...gather
from the code