3

I need to draw two Ferrer's diagrams with right arrow between them. I do it like so

\usepackage{youngtab}
$ \young(~,~,~,~~,~~,~~~) \longrightarrow \young(~,~,~,~,~~,~~,~~) $

Arrow between two Ferrer's diagrams

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.

Tony I.
  • 133

2 Answers2

3

This is one of the many possibilities using a matrix between the Young tableaux. If you want put the horizontal arrow above, you can add & \\.

enter image description here

\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amssymb}

\usepackage{youngtab}

\begin{document}

$ \young(~,~,~,,,~~~) \begin{matrix} \longrightarrow & \& \& \& \ & \ & \end{matrix}\young(~,~,~,~,,,~~) $ \end{document}

Bernard
  • 271,350
Sebastiano
  • 54,118
3

The youngtab package offers the vcentermath package option in order to vertically center insisde of math mode.

Adding this option to the package results in the following output:

enter image description here

\documentclass{article}
\usepackage[vcentermath]{youngtab}
\begin{document}
\[\young(~,~,~,~~,~~,~~~) \longrightarrow \young(~,~,~,~,~~,~~,~~) \]
\end{document}
leandriis
  • 62,593