[Tex/LaTex] How to draw Young diagrams in LyX

diagramslyx

I would like to draw Young diagrams with LyX.

I found the LaTeX package yountab which allows me to draw such diagrams in LaTeX, but I have no idea how to install it on LyX.

How should I go about drawing Young diagrams using LyX?

Best Answer

I’m not familiar with Young tableaux and diagrams, but I think the package ytableau is better and more fully developed than youngtab.

In order to use it in LyX you need:

  1. Add \usepackage{ytableau} in the preamble (Document → Settings… → LaTeX Preamble (last one)).
  2. Wherever you want to add a Young tableau use ERT (LaTeX inside LyX, Ctrl+l shortcut) and add whatever code you want (ytableau documentation is available here).

Maybe there is a more LyXish way to do that. I don’t use LyX.

Example:

LyX screenshot

LyX output

I hope that helps you ☺