I have problem with creating formula with different alignments. I want to create some kind of 'permutation dependings diagram'. Code witch I created so far:
\begin{align*}
&(1, 2, 3, 4, 5, 6) \\
&(2, 5, 1, 6, 4, 3) \xleftrightarrow{\text{s}} (3, 1, 6, 5, 2, 4)\\
\updownarrow{\text{o}}
\end{align*}
Output:
I want to have permutations in two vertical lines - all "(...)" have to be in two vertical lines. Second thing is that I don't know how can I make vertical arrow in the middle of permutations - in the middle of text: "(2, 5, 1, 6, 4, 3)" and second one "(3, 1, 6, 5, 2, 4)"
There is any simple way to prepare diagram like this on handwritten picture?