Hello. I would like to implement the Ferrer's graphs in the Wikipedia article above into LaTex. I have tried using arrays with \bullet but I can't seem to get more than two in a row to look decent. Also, how would I color one bullet red?

Could someone provide me an example of how to do the first Ferrer's graph so I can better understand the LaTex code? Thank you!

  • Welcome to TeX.SX! Your question leaves all the effort to our community, even typing the essentials of a TeX document such as \documentclass{}...\begin{document} etc. As it is, most of our users will be very reluctant to touch your question, and you are left to the mercy of our procrastination team who are very few in number and very picky about selecting questions. You can improve your question by adding a minimal working example (MWE) that shows your current efforts and will help us help you! – ebosi Apr 6 '16 at 13:43

Maybe this? Here I introduce \ferrer[<red dots at end>]{<total dots>}, which are to be placed, in math mode, inside a \ferrerstack{} (with \cr delimiters).

I have made it centered about the math axis, but one could make it baseline aligned by eliminating the \vcenter{\hbox{}}:

  \whiledo{\thefcount < #2}{%
    \ifnum\thefcount >\numexpr#2-#1\relax%
\mathcal{X} \leadsto \ferrerstack{%

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.