# Can anyone help me to write codes for this in LaTeX?

I have written that

$t= \begin{Young}$1$&$3$&$7$\cr$4$&$5$\cr$2$&$6$\cr \end{Young}$


but it is not working!

• Welcome to TeX.SE!! What have you tried so far? Please update your question with an MWE so we can help you better. – manooooh Jan 11 at 16:10
• I have only written the codes for young tableaux.. – user454229 Jan 11 at 16:11
• @user454229 Anything you have tried will help us answer your question easier. – JouleV Jan 11 at 16:12
• please, provide complete small document beginning with \documentclass, with preamble needed to compile your code fragment and ended with \end{dcocement} – Zarko Jan 11 at 16:20
• But what will be the codes? – user454229 Jan 11 at 16:21

When reading the youngtab package document, I see this in the beginning (page 2)

Maybe you get trolled, because the youngtab package doesn't provide the Young environment!

I continue reading and simply find a solution:

\documentclass{article}
\usepackage[vcentermath]{youngtab}
\begin{document}
$t=\young(137,45,26).$
\end{document}


• @user454229 If any of the suggestion fulfill your requirement, then please accept that as the answer... – MadyYuvi Feb 11 at 5:59

Here is a solution using the ytableau package:

\documentclass{article}
\usepackage{ytableau}

\begin{document}
\ytableausetup{centertableaux}
$t= \begin{ytableau} 1 & 3 & 7 \\ 4 & 5 \\ 2 & 6 \end{ytableau}$
\end{document}