I need to draw two Ferrer's diagrams with right arrow between them. I do it like so
\usepackage{youngtab}
$ \young(~,~,~,~~,~~,~~~) \longrightarrow \young(~,~,~,~,~~,~~,~~) $
But the arrow is drawn at the bottom of diagrams. How to center it vertically?
UPD: Preferably I need diagrams to stay aligned to the bottom, but the arrow must be centered. Also it should work for diagrams of any height without me having to correct a lot of code.



\usepackage[vcentermath]{youngtab}helps. This will however also change the alignment of the two young tableaus. – leandriis Aug 16 '20 at 15:04