I wish to put two tikz diagrams in a same line so that they are aligned, centered on the quarters as below:
The only way I know for now is to put the tikz diagrams in a common equation and then add spaces by hand, for example:
\[
\begin{tikzcd}
\ast\times X\arrow[r,"{(1,1_X)}"]\arrow[dr,swap,"\cong"] & G\times X\arrow[d,"\alpha"]\\
&X
\end{tikzcd}
%
\qquad\qquad
%
\begin{tikzcd}
G\times G\times X\arrow[r,"{(m,1_X)}"]\arrow[d,swap,"{(1_G,\alpha )}"] & G\times
X\arrow[d,"\alpha"]\\
G\times X \arrow[r,"\alpha"]&X
\end{tikzcd}
\]
To adjust the spacing is really a waste of time, so I'd like to know whether there is any elegant way that aligns the diagram automatically.
Thanks in advance.
Best Answer
Is the following simple solution close to what you after?
(red lines shows text borders)
Addendum: It seems that OP looking for the following:
(red lines indicate text borders, vertical black lines show positions of image bisectors)