| 1 |
% ---------------------------------------------------------------------- |
| 2 |
% aTableau - Andrew Mathas (C) 2022-2025 |
| 3 |
% Modified: 08:08 Friday, 10 October 2025 |
| 4 |
% ---------------------------------------------------------------------- |
| 5 |
\documentclass{amsart} |
| 6 |
\usepackage[svgnames,table]{xcolor} |
| 7 |
\usepackage{atableau} |
| 8 |
|
| 9 |
\usepackage{bbding} |
| 10 |
\usepackage{bm} |
| 11 |
\usepackage{booktabs} |
| 12 |
\usepackage{cite} |
| 13 |
\usepackage{cprotect} |
| 14 |
\usepackage{longtable} |
| 15 |
\usepackage{manfnt} |
| 16 |
\usepackage{mathtools} |
| 17 |
\usepackage{MnSymbol} |
| 18 |
\usepackage{siunitx} |
| 19 |
\usepackage{xltabular} |
| 20 |
\usepackage{xspace} |
| 21 |
|
| 22 |
% ---------------------------------------------------------------------- |
| 23 |
\usepackage{array} |
| 24 |
\newcolumntype{L}{>{\sffamily\color{MidnightBlue}\textbackslash}l} |
| 25 |
\newcolumntype{O}{>{\sffamily\color{aTableauInner}}l} |
| 26 |
|
| 27 |
% --------------------------------------------------------------------------- |
| 28 |
\usepackage{enumitem} |
| 29 |
\setlist{itemsep=2mm, parsep=2mm} |
| 30 |
\newlist{options}{description}{1} |
| 31 |
% remove the colon from the description label by redefining \makelabel |
| 32 |
\setlist[options]{ |
| 33 |
before=\let\makelabel\optionlabel, |
| 34 |
labelwidth=\textwidth, |
| 35 |
nosep, |
| 36 |
} |
| 37 |
|
| 38 |
% --------------------------------------------------------------------------- |
| 39 |
% the index |
| 40 |
\usepackage{imakeidx} |
| 41 |
\indexsetup{level=\section*, toclevel=section, noclearpage} |
| 42 |
\makeindex[columns=3] |
| 43 |
\renewcommand*{\seename}{see} |
| 44 |
|
| 45 |
% ---------------------------------------------------------------------- |
| 46 |
\usepackage[a4paper,hmargin=24mm, vmargin=18mm, footskip=10mm]{geometry} |
| 47 |
\synctex=1 |
| 48 |
\hfuzz=5pt |
| 49 |
\parindent=0pt |
| 50 |
\parskip=4mm |
| 51 |
|
| 52 |
\makeatletter |
| 53 |
\def\@evenhead{\hfill\aTableau\hfill} |
| 54 |
\let\@oddhead\@evenhead |
| 55 |
\def\@oddfoot {\color{aTableauMain} Version \aTableau@version~(\aTableau@release)\hfill\thepage} |
| 56 |
\def\@evenfoot{\color{aTableauMain} \thepage\hfill Version \aTableau@version~(\aTableau@release)} |
| 57 |
|
| 58 |
% streamline font warnings following David Carlisle https://tex.stackexchange.com/a/663843/234252 |
| 59 |
\let\old@font@info\@font@info |
| 60 |
\def\@font@info#1{% |
| 61 |
\expandafter\ifx\csname\detokenize{#1}\endcsname\relax |
| 62 |
\old@font@info{#1}% |
| 63 |
\fi |
| 64 |
\expandafter\xdef\csname\detokenize{#1}\endcsname{}% |
| 65 |
} |
| 66 |
|
| 67 |
\makeatother |
| 68 |
|
| 69 |
|
| 70 |
% ---------------------------------------------------------------------- |
| 71 |
\newcommand\aTableauColour[1]{% |
| 72 |
\,\tikz[baseline={([yshift=0.5mm]current bounding box.south)}]\node[minimum width=3ex, minimum height=2ex,fill=aTableau#1]{};\,% |
| 73 |
} |
| 74 |
|
| 75 |
|
| 76 |
% ---------------------------------------------------------------------- |
| 77 |
\ExplSyntaxOn |
| 78 |
|
| 79 |
% ---------------------------------------------------------------------- |
| 80 |
% In the table summarising the keys, \Yes and \No are used to show where |
| 81 |
% the keys applies to tableaux or abacuses( or both), with \Yes adding a |
| 82 |
% hyperlink when it does. |
| 83 |
|
| 84 |
\newcommand\No{\textcolor{red}{\XSolidBrush}} |
| 85 |
\NewDocumentCommand\Yes{o d()} |
| 86 |
{ |
| 87 |
\IfNoValueTF{#1} |
| 88 |
{ |
| 89 |
\IfNoValueTF{#2} |
| 90 |
{ \hyperref[\g_lastlink_tl]{\textcolor{ForestGreen}{\CheckmarkBold}} } |
| 91 |
{ \hyperref[Key:#2]{\textcolor{ForestGreen}{\CheckmarkBold}} } |
| 92 |
} |
| 93 |
{ |
| 94 |
\hyperref[\g_lastlink_tl-\str_lowercase:f{#1}]{\textcolor{ForestGreen}{\CheckmarkBold}} |
| 95 |
} |
| 96 |
} |
| 97 |
|
| 98 |
% \optionlabel applies \option to the csv in #1 except in the case |
| 99 |
% when #1 starts with a * when the rest of #1 is printed |
| 100 |
\NewDocumentCommand\optionlabel{ m } |
| 101 |
{ |
| 102 |
\str_if_eq:eeTF { \str_head:n {#1} } {*} |
| 103 |
{ |
| 104 |
\tl_set:Nx \l_tmpb_tl { \tl_tail:n {#1} } |
| 105 |
\tl_put_left:Nn \l_tmpb_tl {\sffamily\color{aTableauInner}} |
| 106 |
} |
| 107 |
{ |
| 108 |
\tl_clear:N \l_tmpa_tl |
| 109 |
\tl_clear:N \l_tmpb_tl |
| 110 |
\clist_map_inline:nn {#1} |
| 111 |
{ |
| 112 |
\tl_put_right:Ne \l_tmpb_tl { \l_tmpa_tl \exp_not:N\option{##1}} |
| 113 |
\tl_set:Nn \l_tmpa_tl {,~} |
| 114 |
} |
| 115 |
} |
| 116 |
\l_tmpb_tl\hss |
| 117 |
} |
| 118 |
|
| 119 |
% Add hyperlinks for (new displayed) options |
| 120 |
\tl_new:N \g_lastlink_tl |
| 121 |
\prop_new:N \l__aTableau_options_prop |
| 122 |
\NewDocumentCommand\AddKeyLink{m} |
| 123 |
{ |
| 124 |
\tl_gset:Nx \g_lastlink_tl {Key:\str_lowercase:f{#1}} |
| 125 |
\prop_if_in:NVF \l__aTableau_options_prop \g_lastlink_tl |
| 126 |
{ |
| 127 |
\phantomsection\exp_args:Nf\label{Key:\str_lowercase:f{#1}}% add a label for references |
| 128 |
\prop_put:NVn \l__aTableau_options_prop \g_lastlink_tl {} |
| 129 |
} |
| 130 |
} |
| 131 |
|
| 132 |
% Add an index entry for a key. The *-form underlines the page number, |
| 133 |
% indicating that it is the definition of the key, and records this in |
| 134 |
% \l__aTableau_index_prop. When the * is not present, we check to make |
| 135 |
% sure that an underlined entry has not already been added for this |
| 136 |
% page. |
| 137 |
\prop_new:N \l__aTableau_index_prop |
| 138 |
\NewDocumentCommand\AddIndexEntry{ sm } |
| 139 |
{ |
| 140 |
\tl_set:No \l_tmpc_tl {#2-\thepage} |
| 141 |
\IfBooleanTF{#1} |
| 142 |
{ |
| 143 |
\prop_put:NVn \l__aTableau_index_prop \l_tmpc_tl {} |
| 144 |
\index{#2|underline} |
| 145 |
} |
| 146 |
{ \prop_if_in:NVF \l__aTableau_index_prop \l_tmpc_tl { \index{#2} } } |
| 147 |
} |
| 148 |
|
| 149 |
% \option*[default value]{option name}[accepted values]<hyperlink context>(link name) |
| 150 |
% The \option command is slightly overloaded, both in terms of arguments |
| 151 |
% (there are five) and in terms of use. |
| 152 |
% 1. If #2 is given then \option gives the syntax for the using this key: |
| 153 |
% - #1=* determines whether a \newline or \bigskip is inserted. The |
| 154 |
% *-version is used when a block of keys are listed together |
| 155 |
% - #2 gives the default options |
| 156 |
% - #3 is the key name and optionally may take the form key=value |
| 157 |
% to describe the allowed values. If the value is given then it is |
| 158 |
% printed in orange after the key inside \langle...\rangle. This is |
| 159 |
% intended for "generic values like 'value' or 'style'. |
| 160 |
% The key component of #2 is used to add a hyperlink to the current |
| 161 |
% location, which takes the form Key:<key>-<context>, where the |
| 162 |
% <context> is added only if #5 is supplied |
| 163 |
% - any accepted values in #3 are printed in the right-hand margin |
| 164 |
% 2. When #2 is omitted, this an inline citation of the key. A |
| 165 |
% hyperlink is added |
| 166 |
|
| 167 |
% The *-version does not do a \bigskip before the option. A hyperlink is |
| 168 |
% added for new displayed options. If #2 is blank then the *-version |
| 169 |
% puts (no) before the option key. If #5 is given then it is added to |
| 170 |
% to the hyperlink. |
| 171 |
\NewDocumentCommand\option{ somo d<> d()} |
| 172 |
{% |
| 173 |
\seq_set_split:Nnn \l_tmpa_seq {=} {#3}% |
| 174 |
\seq_pop_left:NN \l_tmpa_seq \l_tmpa_tl% |
| 175 |
\seq_if_empty:NTF \l_tmpa_seq |
| 176 |
{ \tl_clear:N \l_tmpb_tl } |
| 177 |
{ \tl_set:No \l_tmpb_tl { \seq_use:Nn \l_tmpa_seq {=} } } |
| 178 |
\IfNoValueTF{#2} |
| 179 |
{% |
| 180 |
\IfNoValueTF{#6} |
| 181 |
{ |
| 182 |
\tl_gset:Nx \g_lastlink_tl {Key:\str_lowercase:f{\l_tmpa_tl}} |
| 183 |
\IfNoValueF{#5} { \tl_gput_right:No \g_lastlink_tl {\str_lowercase:f{-#5}} } |
| 184 |
} |
| 185 |
{ \tl_gset:Ne \g_lastlink_tl {Key:#6} } |
| 186 |
\hyperref[\g_lastlink_tl]{\textsf{\color{aTableauInner}\IfBooleanT{#1}{(no)~}\l_tmpa_tl}} |
| 187 |
\AddIndexEntry{\l_tmpa_tl}% |
| 188 |
\tl_if_empty:NF \l_tmpb_tl { \textsf{\,$=$}\textsf{\textcolor{orange}{\l_tmpb_tl}} } |
| 189 |
} |
| 190 |
{% |
| 191 |
% encourage page breaks *before* the option, rather than after it |
| 192 |
\IfBooleanTF{#1}{\newline}{\bigskip\pagebreak[0]}% |
| 193 |
% adjust #3 if it contains a *, when we add = <value> |
| 194 |
% add a label for references |
| 195 |
\IfNoValueTF{#5} { \AddKeyLink{\l_tmpa_tl} }{ \AddKeyLink{\l_tmpa_tl-#5} } |
| 196 |
\noindent\textsf |
| 197 |
{ |
| 198 |
\textcolor{aTableauInner}{\l_tmpa_tl} |
| 199 |
\tl_if_empty:NF \l_tmpb_tl { \textcolor{orange}{$\,=\langle$\l_tmpb_tl$\rangle$} } |
| 200 |
} |
| 201 |
\tl_if_blank:nF {#2} |
| 202 |
{ ~ \tl_if_eq:nnTF{#2} {-} {(default)} {(default:~\textcolor{DarkRed}{#2})} }% |
| 203 |
\hfill% |
| 204 |
\IfNoValueF{#4}{\textcolor{Grey}{[accepts:~#4]}}% |
| 205 |
\AddIndexEntry*{\l_tmpa_tl}% |
| 206 |
\nopagebreak[4]% |
| 207 |
}% |
| 208 |
} |
| 209 |
|
| 210 |
% index command ignoring the backslash and capitalisation |
| 211 |
\cs_new_protected:Npn \__addto_index:nn #1#2 { \index{#2@\textbackslash #1} } |
| 212 |
\cs_generate_variant:Nn \__addto_index:nn {nV} |
| 213 |
\NewDocumentCommand\indexcmd{m} |
| 214 |
{ |
| 215 |
\tl_set:Nx \l_tmpa_tl { \str_lower_case:n {#1} } |
| 216 |
\__addto_index:nV {#1} \l_tmpa_tl |
| 217 |
} |
| 218 |
|
| 219 |
% --------------------------------------------------------------------------- |
| 220 |
|
| 221 |
% heading lines in tabular environments |
| 222 |
\newcommand\heading[1]{\textcolor{MidnightBlue}{\textsf{\large#1}}} |
| 223 |
|
| 224 |
% set alternating row colours in tabular environments |
| 225 |
\rowcolors{1}{}{LightSkyBlue!10} |
| 226 |
|
| 227 |
% displaying a colour theme |
| 228 |
\NewDocumentCommand\ColourTheme{ m } |
| 229 |
{ |
| 230 |
\begin{samepage} |
| 231 |
\option{colour~theme=#1} |
| 232 |
\aTabset{colour~theme=#1, align=top} |
| 233 |
\index{colour~theme!#1} |
| 234 |
\rowcolors{2}{}{LightSkyBlue!10} |
| 235 |
\par |
| 236 |
\begin{tabular}[t]{lll} |
| 237 |
\toprule |
| 238 |
\heading{Colour} & \heading{Name} & \heading{HTML}\\ |
| 239 |
\midrule |
| 240 |
\aTableauColour{Main} & aTableauMain & \prop_item:Nn \l__aTableau_colour_theme_prop {#1_Main} \\ |
| 241 |
\aTableauColour{Inner} & aTableauInner & \prop_item:Nn \l__aTableau_colour_theme_prop {#1_Inner}\\ |
| 242 |
\aTableauColour{Star} & aTableauStar & \prop_item:Nn \l__aTableau_colour_theme_prop {#1_Star}\\ |
| 243 |
\aTableauColour{Skew} & aTableauSkew & \prop_item:Nn \l__aTableau_colour_theme_prop {#1_Skew} \\ |
| 244 |
\aTableauColour{Fill} & aTableauFill & \prop_item:Nn \l__aTableau_colour_theme_prop {#1_Fill}\\ |
| 245 |
\aTableauColour{Rod} & aTableauRod & \prop_item:Nn \l__aTableau_colour_theme_prop {#1_Rod}\\ |
| 246 |
\bottomrule |
| 247 |
\end{tabular} |
| 248 |
\hfill |
| 249 |
\Abacus{4}{4^3,2_a,1^2_\bullet,0}\qquad |
| 250 |
\Abacus[traditional]{4}{4^3,2_a,1^2_\bullet,0} \qquad |
| 251 |
|
| 252 |
\par\vspace*{3mm} |
| 253 |
|
| 254 |
\hspace*{-3mm} |
| 255 |
\Tableau{1239,456{10},78}\quad |
| 256 |
\Tableau{ 1*2*3*4*5, 6*789, {10}*{11}{12} }\quad |
| 257 |
\Tabloid[skew={2,1}]{19{11},29{10},6} \quad |
| 258 |
\SkewTableau[skew~boxes, skew~border, cover=4^3] {2,1^2}{123,45,67} \quad |
| 259 |
\Multitableau[tabloid]{ 123,45 | 67,89, {10}} \quad |
| 260 |
|
| 261 |
\par\vspace*{4mm} |
| 262 |
\end{samepage} |
| 263 |
} |
| 264 |
|
| 265 |
% --------------------------------------------------------------------------- |
| 266 |
% the testing framework |
| 267 |
|
| 268 |
% \ifTesting is True when we are testing the examples against previous |
| 269 |
% runs. This is used to define new versions of the example and Example |
| 270 |
% environment that save the example to a file using \SaveExample |
| 271 |
\newif\ifTesting |
| 272 |
|
| 273 |
% Enable \ifTesting for atableau-testing.tex, which is a sym-link to atableau.tex |
| 274 |
\str_if_eq:VnT \jobname {atableau-examples} {\Testingtrue} |
| 275 |
|
| 276 |
\iow_new:N \__aTableau_example_iow |
| 277 |
\cs_generate_variant:Nn \str_replace_all:Nnn { Nnx } |
| 278 |
|
| 279 |
% Usage: \SaveExample {filename} {example} |
| 280 |
% Save an example to an external file in the testing directory so that |
| 281 |
% we can check for changes in the output from the example code. |
| 282 |
\NewDocumentCommand\SaveExample{m +m} |
| 283 |
{ |
| 284 |
\refstepcounter{example} % want to save the example number |
| 285 |
\iow_open:Nn \__aTableau_example_iow { #1.tex } |
| 286 |
% the examples are controlled by a custom document class |
| 287 |
\iow_now:Nn \__aTableau_example_iow { \documentclass{atableau_example} } |
| 288 |
\iow_now:Nn \__aTableau_example_iow { \begin{document} } |
| 289 |
\iow_now:Ne \__aTableau_example_iow { \c_percent_str~Example~\theexample } |
| 290 |
\str_set:Ne \l_tmpa_str { \tl_to_str:n{#2} } |
| 291 |
\str_replace_all:Nnx \l_tmpa_str { ## } { \c_hash_str } |
| 292 |
\iow_now:Ne \__aTableau_example_iow { \l_tmpa_str } |
| 293 |
\iow_now:Nn \__aTableau_example_iow { \end{document} } |
| 294 |
\iow_close:N \__aTableau_example_iow |
| 295 |
} |
| 296 |
|
| 297 |
\ExplSyntaxOff |
| 298 |
|
| 299 |
% --------------------------------------------------------------------------- |
| 300 |
%\renewcommand\thesubsection{\thesection\Alph{subsection}} |
| 301 |
\setcounter{secnumdepth}{3} |
| 302 |
\setcounter{tocdepth}{3} |
| 303 |
\renewcommand\thesubsection{\thesection\Alph{subsection}} |
| 304 |
\renewcommand\thesubsubsection{\thesubsection.\arabic{subsubsection}} |
| 305 |
|
| 306 |
\makeatletter |
| 307 |
\def\l@subsection{\@tocline{2}{0pt}{2.5pc}{5pc}{}} |
| 308 |
\def\l@subsubsection{\@tocline{2}{0pt}{3.5pc}{3pc}{}} |
| 309 |
\makeatother |
| 310 |
|
| 311 |
% warning environment to alert the reader to tricky points |
| 312 |
\newenvironment{warning}{% |
| 313 |
\list{\raisebox{-2ex}[0pt][0pt]{\textcolor{red}{\textdbend}}}% |
| 314 |
{\leftmargin=3em}% |
| 315 |
\item% |
| 316 |
}{\endlist} |
| 317 |
|
| 318 |
% --------------------------------------------------------------------------- |
| 319 |
\usepackage[skins]{tcolorbox} |
| 320 |
\usepackage{hyperref} |
| 321 |
\hypersetup{ |
| 322 |
colorlinks=true, |
| 323 |
linkcolor=MediumBlue, |
| 324 |
citecolor=FireBrick, |
| 325 |
} |
| 326 |
|
| 327 |
% --------------------------------------------------------------------------- |
| 328 |
\tcbuselibrary{listings, breakable} |
| 329 |
|
| 330 |
\DeclareTotalTCBox\keyword{ O{} v } |
| 331 |
{ |
| 332 |
bottom=0pt, |
| 333 |
colback = Ivory, |
| 334 |
colupper = aTableauInner, |
| 335 |
fontupper= \bfseries, |
| 336 |
fontlower= \bfseries, |
| 337 |
left = 0mm, |
| 338 |
right = 0mm, |
| 339 |
size = tight, |
| 340 |
skin = tile, |
| 341 |
top = 0pt, |
| 342 |
nobeforeafter, |
| 343 |
on line, |
| 344 |
verbatim, |
| 345 |
shrink tight, |
| 346 |
size=tight, |
| 347 |
#1} |
| 348 |
{#2} |
| 349 |
|
| 350 |
\NewTColorBox{slide}{ O{} } |
| 351 |
{ |
| 352 |
enhanced, |
| 353 |
skin=bicolor, |
| 354 |
before skip=-2mm, |
| 355 |
%after skip=2mm, |
| 356 |
attach boxed title to top left={xshift=0cm,yshift*=0mm-\tcboxedtitleheight}, |
| 357 |
boxrule=0.6pt, |
| 358 |
boxed title style={ |
| 359 |
size=small, |
| 360 |
sharp corners=uphill, |
| 361 |
boxrule=0.6pt, |
| 362 |
}, |
| 363 |
arc is curved, |
| 364 |
arc = 1.5mm, |
| 365 |
height=0.25\linewidth, |
| 366 |
width=0.3\linewidth, |
| 367 |
after=\hfill, |
| 368 |
before=\hfill, |
| 369 |
fonttitle=\tiny\sffamily, |
| 370 |
colback=AliceBlue, |
| 371 |
colbacklower=OldLace, |
| 372 |
colframe=RoyalBlue!50, |
| 373 |
colbacktitle=RoyalBlue!70, |
| 374 |
#1 |
| 375 |
} |
| 376 |
|
| 377 |
% --------------------------------------------------------------------------- |
| 378 |
\newcommand\aTableau{\textcolor{aTableauMain}{\sffamily aTableau}\xspace} |
| 379 |
|
| 380 |
% hyperref links to ctan |
| 381 |
\newcommand\TeXLive{\href{https://www.tug.org/texlive/}{TeX~Live}\xspace} |
| 382 |
\newcommand\TikZ{\href{https://www.ctan.org/pkg/tikz}{Ti\textit{k}Z}\xspace} |
| 383 |
\newcommand\arXiv{\href{https://arxiv.org/}{arXiv}\xspace} |
| 384 |
\newcommand\ctan[1]{\href{https://www.ctan.org/pkg/#1}{\texttt{#1}}} |
| 385 |
|
| 386 |
\lstdefinestyle{aTableau} |
| 387 |
{ |
| 388 |
style=tcblatex, |
| 389 |
classoffset=0, |
| 390 |
texcsstyle=*\color{MediumBlue},% |
| 391 |
deletetexcs={begin, end}, |
| 392 |
commentstyle=\color{Peru}, |
| 393 |
moretexcs={,% aTableau package commands |
| 394 |
aTabset, |
| 395 |
Abacus, |
| 396 |
Diagram, |
| 397 |
Multidiagram, |
| 398 |
Multitableau, |
| 399 |
NewATableauCommand, |
| 400 |
RibbonTableau, |
| 401 |
ShiftedDiagram, |
| 402 |
ShiftedTableau, |
| 403 |
SkewTableau, |
| 404 |
SkewDiagram, |
| 405 |
Tableau, |
| 406 |
Tabloid, |
| 407 |
},% |
| 408 |
% Highlighting of multi-word keys is not possible, so we do not highlight the keys |
| 409 |
% classoffset=1, % aTableau package options |
| 410 |
% keywordstyle=\color{aTableauInner},% |
| 411 |
% morekeywords={ |
| 412 |
% Australian, |
| 413 |
% English, |
| 414 |
% French, |
| 415 |
% Ukrainian, |
| 416 |
% align, |
| 417 |
% australian, |
| 418 |
% border, |
| 419 |
% box, |
| 420 |
% boxes, |
| 421 |
% color, |
| 422 |
% colour, |
| 423 |
% cols, |
| 424 |
% conjugate, |
| 425 |
% delimiter, |
| 426 |
% delimiters, |
| 427 |
% dotted, |
| 428 |
% e, |
| 429 |
% east, |
| 430 |
% english, |
| 431 |
% entries, |
| 432 |
% finite, |
| 433 |
% font, |
| 434 |
% french, |
| 435 |
% halign, |
| 436 |
% height, |
| 437 |
% infinite, |
| 438 |
% inner, |
| 439 |
% label, |
| 440 |
% left, |
| 441 |
% math, |
| 442 |
% no, |
| 443 |
% nodes, |
| 444 |
% north, |
| 445 |
% only, |
| 446 |
% ribbon, |
| 447 |
% ribbons, |
| 448 |
% right, |
| 449 |
% rows, |
| 450 |
% scale, |
| 451 |
% separator, |
| 452 |
% separators, |
| 453 |
% shape, |
| 454 |
% shifted, |
| 455 |
% skew, |
| 456 |
% snobs, |
| 457 |
% valign, |
| 458 |
% south, |
| 459 |
%% star, |
| 460 |
%% style, |
| 461 |
% tabloid, |
| 462 |
% text, |
| 463 |
% text, |
| 464 |
% type, |
| 465 |
% ukrainian, |
| 466 |
% wall, |
| 467 |
% west, |
| 468 |
% width, |
| 469 |
% xoffset, |
| 470 |
% xscale, |
| 471 |
% yoffset, |
| 472 |
% yscale, |
| 473 |
% }, |
| 474 |
% classoffset=2, % aTableau values |
| 475 |
% keywordstyle=\color{orange},% |
| 476 |
% morekeywords={ |
| 477 |
% A, C, DD, AA, |
| 478 |
% beta, |
| 479 |
% bottom, |
| 480 |
% center, |
| 481 |
% centre, |
| 482 |
% contents, |
| 483 |
% false, |
| 484 |
% first, |
| 485 |
% hooks, |
| 486 |
% last, |
| 487 |
% left, |
| 488 |
% residues, |
| 489 |
% right, |
| 490 |
% row, |
| 491 |
% top, |
| 492 |
% true, |
| 493 |
% }, |
| 494 |
% classoffset=3, % TikZ and LaTeX commands |
| 495 |
% keywordstyle=\color{teal},% |
| 496 |
% morekeywords={ |
| 497 |
% draw, |
| 498 |
% foreach, |
| 499 |
% node, |
| 500 |
% small, |
| 501 |
% tiny, |
| 502 |
% tikz, |
| 503 |
% tikzpicture, |
| 504 |
% tikzset, |
| 505 |
% }, |
| 506 |
% classoffset=4,% TikZ keys |
| 507 |
% keywordstyle=\color{red}, |
| 508 |
% morekeywords={ |
| 509 |
% circle, |
| 510 |
% fill, |
| 511 |
% overlay, |
| 512 |
% picture, |
| 513 |
% radius, |
| 514 |
% remember, |
| 515 |
% style, |
| 516 |
% }, |
| 517 |
classoffset=5, % commands that we want to hide :) |
| 518 |
keywordstyle=\color{LightSkyBlue!10}, |
| 519 |
morekeywords={ |
| 520 |
bigskip, |
| 521 |
medskip, |
| 522 |
newline, |
| 523 |
par, |
| 524 |
qquad, |
| 525 |
quad, |
| 526 |
smallskip, |
| 527 |
space, |
| 528 |
}, |
| 529 |
} |
| 530 |
|
| 531 |
% --------------------------------------------------------------------------- |
| 532 |
\NewDocumentCommand\set{ O{} >{\SplitArgument{1}{|}}m }{#1\{\,\SetContents{#1}#2\,#1\}} |
| 533 |
\NewDocumentCommand\SetContents{mmm}{\IfNoValueTF{#3}{#2}{#2\,#1|\,\mathopen{}#3}} |
| 534 |
|
| 535 |
\newcommand\T{\mathsf{t}} |
| 536 |
\newcommand\blam{{\bm{\lambda}}} |
| 537 |
|
| 538 |
% --------------------------------------------------------------------------- |
| 539 |
% manual title |
| 540 |
\makeatletter |
| 541 |
\author{Andrew Mathas} |
| 542 |
\usepackage{tikz} |
| 543 |
\usetikzlibrary{ |
| 544 |
backgrounds, |
| 545 |
decorations.pathmorphing, |
| 546 |
matrix, |
| 547 |
patterns, |
| 548 |
shadows.blur, |
| 549 |
shapes.geometric, |
| 550 |
} |
| 551 |
\tikzset{ |
| 552 |
shadowed/.style={ |
| 553 |
blur shadow={shadow blur steps=5}, |
| 554 |
bottom color=RoyalBlue, |
| 555 |
draw=NavyBlue!70, |
| 556 |
shade, |
| 557 |
font=\normalfont\Huge\bfseries\scshape, |
| 558 |
%rounded corners=8pt, |
| 559 |
top color=LightSkyBlue!30, |
| 560 |
}, |
| 561 |
boxes/.style={draw=RoyalBlue, |
| 562 |
fill=AliceBlue, |
| 563 |
font=\sffamily\small, |
| 564 |
inner sep=5pt, |
| 565 |
rectangle, |
| 566 |
rounded corners=8pt, |
| 567 |
text=MidnightBlue, |
| 568 |
} |
| 569 |
} |
| 570 |
|
| 571 |
% define the heading as a command because it contains \aTableau@version |
| 572 |
\newcommand\aTableauHeader{% |
| 573 |
\begin{center} |
| 574 |
\begin{tikzpicture} |
| 575 |
\aTabset{border=false} |
| 576 |
\draw[shadowed, rounded corners](30mm,0) rectangle node[white]{ } (\paperwidth-30mm,22mm); |
| 577 |
\begin{scope}[shift={(2.6,-0.2)}] |
| 578 |
\aTabset{scale=0.5, ribbon style={fill=LightSkyBlue!10}, inner wall=MidnightBlue} |
| 579 |
\Diagram(4,2) [ribbons={11,12,13,21,23,31,32,33,41,43,51,53}]{} % A |
| 580 |
\Diagram(5,2) [ribbons={11,12,13,22,32,42,52}]{} % T |
| 581 |
\Diagram(6,2) [ribbons={11,12,13,21,23,31,32,33,41,43,51,53}]{} % A |
| 582 |
\Diagram(7,2) [ribbons={11,12,13,21,23,31,32,33,41,43,51,52,53}]{} % B |
| 583 |
\Diagram(8,2) [ribbons={11,21,31,41,51,52,53}]{} % L |
| 584 |
\Diagram(9,2) [ribbons={11,12,13,21,31,32,33,41,51,52,53}]{} % E |
| 585 |
\Diagram(10,2)[ribbons={11,12,13,21,23,31,32,33,41,43,51,53}]{} % A |
| 586 |
\Diagram(11,2)[ribbons={11,13,21,23,31,33,41,43,51,52,53}]{} % U |
| 587 |
\end{scope} |
| 588 |
\node[anchor=west,boxes] at (4cm,0cm) {Andrew Mathas}; |
| 589 |
\node[anchor=east,boxes] at (\paperwidth-4cm,0) {Version \aTableau@version}; |
| 590 |
\end{tikzpicture} |
| 591 |
\end{center} |
| 592 |
} |
| 593 |
|
| 594 |
% ---------------------------------------------------------------------- |
| 595 |
\hypersetup{ |
| 596 |
pdfcreator={ Generated by pdfLaTeX }, |
| 597 |
pdfinfo={ |
| 598 |
Author ={ Andrew Mathas }, |
| 599 |
Keywords={ Algebraic combinatorics, representation theory, abacus, Young diagram, tableau, symmetric groups }, |
| 600 |
License ={ LaTeX Project Public License v1.3c or later }, |
| 601 |
Subject ={ LaTeXing tableaux and friends }, |
| 602 |
Title ={ ATableau - \aTableau@version } |
| 603 |
}, |
| 604 |
colorlinks=true, |
| 605 |
linkcolor=blue, |
| 606 |
urlcolor=MediumBlue, |
| 607 |
} |
| 608 |
|
| 609 |
\makeatother |
| 610 |
|
| 611 |
% ---------------------------------------------------------------------- |
| 612 |
\numberwithin{equation}{subsection} |
| 613 |
\def\equationautorefname~#1\null{(#1)\null} |
| 614 |
\renewcommand\sectionautorefname{Chapter} |
| 615 |
\renewcommand\subsectionautorefname{Section} |
| 616 |
\def\subsubsectionautorefname~#1\null{\S#1\null} |
| 617 |
|
| 618 |
% ---------------------------------------------------------------------- |
| 619 |
\newcounter{example} |
| 620 |
\numberwithin{example}{subsection} |
| 621 |
\newcommand\exampleautorefname{Example} |
| 622 |
|
| 623 |
% Each of the example environments must have a label. In the manual, |
| 624 |
% \autoref{Ex:<label>} is used to refer to specific examples. The python |
| 625 |
% script test_atableau.py can be used to extract each example into a |
| 626 |
% separate file, with filename given by the label. This file is used to |
| 627 |
% check that the example has not changed during development. The labels |
| 628 |
% all take the form: <aTableau command><key..> to help identify the |
| 629 |
% example and make it easier to test for changes in the output for |
| 630 |
% particular commands. For example, some of the labels are: |
| 631 |
% abacusBeadPositions diagramUkrainian multiBoxFont |
| 632 |
% multiShifted ribbonEnhanced shiftedEntries |
| 633 |
% tableauConjugate tableauScaled traditionalTick |
| 634 |
% The example files are stored by label, rather than by example number, |
| 635 |
% because example numbers can change. The example number is stored in |
| 636 |
% the LaTeX file, but only as a comment. |
| 637 |
|
| 638 |
% The definitions of the example environments depend on \Testingtrue |
| 639 |
\ifTesting |
| 640 |
|
| 641 |
% Save example to an external file in the testing directory so |
| 642 |
% that we can test for changes in their output |
| 643 |
|
| 644 |
% \begin{example}[ignored tcb settings]*{label}...\end{example} |
| 645 |
% The * indicates that the example should not be saved by \SaveExample when testing |
| 646 |
\NewDocumentEnvironment{example}{ O{} s m +b} { \IfBooleanF{#2}{ \SaveExample{#3}{#4} }}{} |
| 647 |
\NewDocumentEnvironment{Example}{ O{} s m +b} { \IfBooleanF{#2}{ \SaveExample{#3}{#4} }}{} |
| 648 |
|
| 649 |
\else |
| 650 |
|
| 651 |
% compiling the manual normally with all examples intact |
| 652 |
|
| 653 |
% \begin{example}[tcb settings]*{label}...\end{example} |
| 654 |
% The * indicates that the example should not be saved by SaveExample when testing |
| 655 |
\NewTCBListing[use counter=example, number within=subsection]{example}{ O{} s m } |
| 656 |
{% |
| 657 |
label=Ex:#3, |
| 658 |
enhanced, |
| 659 |
skin=bicolor, |
| 660 |
colframe=RoyalBlue!70, |
| 661 |
colbacklower=OldLace, |
| 662 |
colback=LightSkyBlue!10, |
| 663 |
colbacktitle=RoyalBlue!70, |
| 664 |
attach boxed title to top right={xshift=0mm,yshift=-3.1mm}, |
| 665 |
boxed title style={ |
| 666 |
size=small, |
| 667 |
arc=1mm, |
| 668 |
bottom=-1mm, |
| 669 |
sharp corners=northwest, |
| 670 |
sharp corners=southeast, |
| 671 |
}, |
| 672 |
title={\tiny\thetcbcounter}, |
| 673 |
sharp corners=northeast, |
| 674 |
parbox=false, |
| 675 |
lefthand width=0.34\textwidth, |
| 676 |
listing style=aTableau, |
| 677 |
parbox=false, |
| 678 |
parskip=4mm |
| 679 |
sidebyside, |
| 680 |
sidebyside align=top seam, |
| 681 |
sidebyside gap=2mm, |
| 682 |
text and listing, |
| 683 |
text outside listing, |
| 684 |
boxsep = 0pt, |
| 685 |
left=0mm, |
| 686 |
#1 |
| 687 |
} |
| 688 |
|
| 689 |
% \begin{Example}[tcb settings]*{label}...\end{Example} |
| 690 |
% The * indicates that the example should not be saved by SaveExample when testing |
| 691 |
\DeclareTCBListing[use counter=example, number within=subsection]{Example}{ O{} s m } |
| 692 |
{% |
| 693 |
label=Ex:#3, |
| 694 |
enhanced, |
| 695 |
skin=bicolor, |
| 696 |
colframe=RoyalBlue!50, |
| 697 |
colbacklower=OldLace, |
| 698 |
colback=LightSkyBlue!20, |
| 699 |
colbacktitle=RoyalBlue!70, |
| 700 |
breakable, |
| 701 |
width=\textwidth, |
| 702 |
attach boxed title to top right={xshift=0mm,yshift=-3.1mm}, |
| 703 |
boxed title style={ |
| 704 |
size=small, |
| 705 |
arc=1mm, |
| 706 |
bottom=-1mm, |
| 707 |
sharp corners=northwest, |
| 708 |
sharp corners=southeast, |
| 709 |
}, |
| 710 |
title={\tiny\thetcbcounter}, |
| 711 |
sharp corners=northeast, |
| 712 |
parbox=false, |
| 713 |
listing style=aTableau, |
| 714 |
text and listing, |
| 715 |
listing above text, |
| 716 |
%text outside listing, |
| 717 |
center lower, |
| 718 |
#1 |
| 719 |
} |
| 720 |
|
| 721 |
\fi |
| 722 |
|
| 723 |
\begin{document} |
| 724 |
|
| 725 |
% -------------------------------------------------------------- |
| 726 |
% title page |
| 727 |
\begin{center} |
| 728 |
|
| 729 |
\aTableauHeader |
| 730 |
|
| 731 |
\kern-2mm |
| 732 |
\begin{quote} |
| 733 |
A \LaTeX\ package for symmetric group combinatorics, including |
| 734 |
abacuses, |
| 735 |
Young diagrams, |
| 736 |
tableaux, |
| 737 |
tabloids, |
| 738 |
skew tableaux, |
| 739 |
multitableaux, |
| 740 |
shifted tableaux, |
| 741 |
and |
| 742 |
ribbon tableaux. |
| 743 |
This package requires \TeXLive 2024 or later. |
| 744 |
\end{quote} |
| 745 |
|
| 746 |
\kern-2mm |
| 747 |
\aTabset{scale=0.6} |
| 748 |
\tikzset{ |
| 749 |
B/.style={fill=blue!40, text=yellow}, |
| 750 |
G/.style={fill=green!80!blue,circle,minimum size=3mm}, |
| 751 |
R/.style={fill=red,text=white, font=\tiny}, |
| 752 |
Y/.style={fill=yellow!20, text=blue}, |
| 753 |
b/.style={ball color=blue}, |
| 754 |
r/.style={ball color=red}, |
| 755 |
w/.style={ball color=white}, |
| 756 |
} |
| 757 |
\begin{tikzpicture} |
| 758 |
\Tableau(0,0){[R]1[B]2,[G]3,[Y]4} \quad |
| 759 |
\Tableau(2.25,1)[australian]{[R]1[B]2,[G]3,[Y]4} \quad |
| 760 |
\Tableau(3.5,1.75)[skew={0,2}]{[Y]4[G]3[R]1,[B]2} \quad |
| 761 |
\Tableau(6,0)[ukrainian,skew={0,1^2}]{[B]2[R]1,[G]3,[Y]4} \quad |
| 762 |
\Tableau(7.5,-1)[french,skew={0,1^2}]{[B]2[R]1,[G]3,[Y]4} \quad |
| 763 |
\Tableau(6.0,-2.25)[ukrainian]{[R]1[G]3[Y]4,[B]2} \quad |
| 764 |
\Tableau(3.5,-3.0)[french]{[R]1[G]3[Y]4,[B]2} \quad |
| 765 |
\Tableau(2,-1)[australian]{[B]2,[R]1[G]3[Y]4} \quad |
| 766 |
\Abacus(4,0.5)[abacus ends=--,scale=1.4]{3}{[b]9,[w]8,[r]8,[b]6,[b]6,[r]2,[b]1} |
| 767 |
\end{tikzpicture} |
| 768 |
|
| 769 |
\bigskip |
| 770 |
|
| 771 |
\begin{minipage}{0.75\textwidth} |
| 772 |
\tableofcontents |
| 773 |
\end{minipage} |
| 774 |
|
| 775 |
\vfill |
| 776 |
|
| 777 |
\end{center} |
| 778 |
|
| 779 |
% -------------------------------------------------------------- |
| 780 |
\section{Introduction} |
| 781 |
|
| 782 |
The \aTableau package provides commands for drawing common objects in algebraic |
| 783 |
combinatorics and representation theory, together with styling options |
| 784 |
and a key-value interface for additional customisation. Under the |
| 785 |
hood, everything is drawn using \TikZ (and \LaTeX3). \aTableau commands |
| 786 |
can be used either as standalone commands, or as part of a |
| 787 |
\keyword{tikzpicture} environment. This package started as code |
| 788 |
for drawing tableaux in my research. It is designed to be |
| 789 |
both easy to use and highly customisable, so that can produce the |
| 790 |
wide variety of pictures found in the literature.\footnote{In this |
| 791 |
manual, a ``picture'' is anything drawn by an \aTableau command, |
| 792 |
whereas a ``diagram'' means ``Young diagram''.} |
| 793 |
|
| 794 |
For the impatient, here is an example showing how to use the |
| 795 |
two main commands provided by the \aTableau package: |
| 796 |
|
| 797 |
\begin{example}*{impatient} |
| 798 |
\Abacus{4}{4^3,2,1^2,0} \qquad |
| 799 |
\Tableau{1239,456{10},78} |
| 800 |
\end{example} |
| 801 |
|
| 802 |
If you already know what tableaux and abacuses are, then you can |
| 803 |
probably work out the (basic) syntax of these two commands from this |
| 804 |
example and start using the package. If you do not know what tableaux |
| 805 |
and abacuses are, then you probably do not need this package! In any |
| 806 |
case, you will not find the precise mathematical definitions of these |
| 807 |
objects in this manual, so please consult textbooks like |
| 808 |
\cite{Fulton:Tableaux,Macdonald,Mathas:ULect} if you need them. For more advanced |
| 809 |
usage, such as adding styling, I recommend skimming through the |
| 810 |
manual and looking at the many examples. \autoref{S:keys} gives |
| 811 |
a summary of the \aTableau commands and their options. |
| 812 |
|
| 813 |
The \aTableau commands are intended to be easy to use and easy to |
| 814 |
customise. For example, partitions can be entered either as a weakly |
| 815 |
decreasing list of non-negative integers, or using exponential |
| 816 |
notation, or as a sequence of beta numbers (for the \keyword{\Abacus} |
| 817 |
command). Tableaux are entered as comma-separated words. The |
| 818 |
commands support the main conventions for drawing tableaux and |
| 819 |
diagrams. |
| 820 |
|
| 821 |
By way of example, the following table shows how to draw a |
| 822 |
tableau of shape $\lambda=(4,3^2,2)$ using the four tableau |
| 823 |
conventions supported by \aTableau: |
| 824 |
|
| 825 |
\begin{center} |
| 826 |
\aTabset{align=centre} |
| 827 |
\rowcolors{2}{}{LightSkyBlue!10} |
| 828 |
\begin{longtable}{lp{0.6\textwidth}l} \toprule % longtable allows footnotes |
| 829 |
\hiderowcolors |
| 830 |
\textcolor{aTableauMain}{Convention} &\textcolor{aTableauMain}{\aTableau command} & \textcolor{aTableauMain}{Picture} \\ \midrule |
| 831 |
\showrowcolors |
| 832 |
English & \keyword{\Tableau[english]{1234,567,89{10},{11}{12}}}\newline(the default) |
| 833 |
& \Tableau{1234,567,89{10},{11}{12}}\\[10mm] |
| 834 |
French & \keyword{\Tableau[french]{1234,567,89{10},{11}{12}}} |
| 835 |
& \Tableau[french]{1234,567,89{10},{11}{12}}\\[10mm] |
| 836 |
Ukrainian |
| 837 |
\footnote{Some authors call this the Russian convention. The \option{russian}(ukrainian) key may also be used.} |
| 838 |
& \keyword{\Tableau[ukrainian]{1234,567,89{10},{11}{12}}} |
| 839 |
& \Tableau[ukrainian]{1234,567,89{10},{11}{12}}\\[10mm] |
| 840 |
Australian |
| 841 |
\footnote{I have not seen a name for this convention in the literature. Calling it the \textit{Australian convention} seems apt.} |
| 842 |
& \keyword{\Tableau[australian]{1234,567,89{10},{11}{12}}} |
| 843 |
& \Tableau[australian]{1234,567,89{10},{11}{12}} \\[10mm] |
| 844 |
\bottomrule |
| 845 |
\end{longtable} |
| 846 |
\index{english@English} |
| 847 |
\index{french@French} |
| 848 |
\index{ukrainian@Ukrainian} |
| 849 |
\index{australian@Australian} |
| 850 |
\index{russian|see{ukrainian}} |
| 851 |
\end{center} |
| 852 |
|
| 853 |
These examples show how the commands provided by \aTableau work: there |
| 854 |
are basic commands for drawing pictures, and these pictures can be |
| 855 |
embellished with optional arguments, using a key-value interface. |
| 856 |
As described below, it is also possible to apply \TikZ-styling to the different |
| 857 |
components of an \aTableau picture. |
| 858 |
|
| 859 |
The different conventions for diagrams and tableaux are listed in |
| 860 |
order of (my perception of) their popularity in the literature. By |
| 861 |
default, the \textit{English} convention is used, so the |
| 862 |
\emph{english} key can be omitted: |
| 863 |
\begin{example}[lefthand width=0.4\textwidth]{tableauEnglish} |
| 864 |
\Tableau{1234,567,89{10},{11}{12}} |
| 865 |
\end{example} |
| 866 |
for the first tableau above. These four conventions are used |
| 867 |
in exactly the same way with the \keyword{\Diagram} command: |
| 868 |
\begin{example}[lefthand width=0.4\textwidth]{diagramUkrainians} |
| 869 |
\Diagram{4,3,3,1} \qquad |
| 870 |
\Diagram[ukrainian]{4,3^2,1} |
| 871 |
\end{example} |
| 872 |
As this example shows, partitions can either be typed as a |
| 873 |
comma-separated list of positive integers, or using exponential |
| 874 |
notation for the repeated parts, which is usually shorter and easier |
| 875 |
to proofread. |
| 876 |
|
| 877 |
To use the \aTableau package, add the following line to your document preamble: |
| 878 |
|
| 879 |
\indexcmd{usepackage} |
| 880 |
\begin{quote} |
| 881 |
\keyword{\usepackage[options]{atableau}} |
| 882 |
\end{quote} |
| 883 |
|
| 884 |
Here, the \textit{options} are an comma-separated list of |
| 885 |
\aTableau options, or keys, for the default settings. The possible |
| 886 |
options are described below. As an example, to make the tableaux and |
| 887 |
Young diagram commands use the \option{French} convention, by |
| 888 |
default, you could write: |
| 889 |
|
| 890 |
\begin{quote} |
| 891 |
\keyword{\usepackage[french]{atableau}} |
| 892 |
\end{quote} |
| 893 |
|
| 894 |
You can change the default options at any point in your document using |
| 895 |
the \keyword{\aTabset} command, and you can use custom options for any |
| 896 |
particular \aTableau picture. In addition, you can define customised |
| 897 |
\aTableau commands using \keyword{\NewATableauCommand}; see |
| 898 |
\autoref{SS:NewTableau}. |
| 899 |
\indexcmd{aTabset} |
| 900 |
|
| 901 |
Each \aTableau command is designed to be easy to use, easy to |
| 902 |
read, and easy to customise. Each command accepts an optional list of |
| 903 |
key-value options that modify and embellish the picture drawn by the |
| 904 |
command. In addition, optional styling can be applied to entries of a |
| 905 |
tableau, and the beads on an abacus. Each command can be used as a |
| 906 |
standalone object in a document, or it can be incorporated into a |
| 907 |
larger \keyword{tikzpicture} environment, making it easy to |
| 908 |
use \aTableau commands to create more complicated pictures. |
| 909 |
|
| 910 |
The general syntax of an \aTableau command is: |
| 911 |
\begin{quote} |
| 912 |
\keyword{\Command (x,y) [options] {...specifications...}} |
| 913 |
\end{quote} |
| 914 |
|
| 915 |
\index{Cartesian coordinates} |
| 916 |
The $(x,y)$-Cartesian coordinates% |
| 917 |
\footnote{Currently, only Cartesian coordinates are supported. For |
| 918 |
example, it is not possible to use polar coordinates to position |
| 919 |
\aTableau pictures.} |
| 920 |
are optional, being necessary if (and only if) the diagram is part of |
| 921 |
a~\keyword{tikzpicture} environment, as in \autoref{Ex:diagramCoordinates} below. |
| 922 |
See \autoref{SS:coordinates} and \autoref{SS:abcoordinates} for more |
| 923 |
detail about using these coordinates for tableaux and abacuses, |
| 924 |
respectively. |
| 925 |
|
| 926 |
The \aTableau package provides the following commands for drawing |
| 927 |
pictures: |
| 928 |
|
| 929 |
\begin{center} |
| 930 |
\begin{tabular}{Lll} |
| 931 |
\toprule |
| 932 |
\heading{Command} & \heading{Picture} & \heading{Section}\\ |
| 933 |
\midrule |
| 934 |
Abacus & An abacus for a partition & \autoref{S:Abacus}\\ |
| 935 |
Diagram & A Young diagram for a partition & \autoref{S:Diagram}\\ |
| 936 |
Multidiagram & An $\ell$-tuple of Young diagrams & \autoref{S:Multitableau} \\ |
| 937 |
Multitableau & An $\ell$-tuple of tableaux & \autoref{S:Multitableau} \\ |
| 938 |
RibbonTableau & A ribbon tableau & \autoref{S:RibbonTableaux} \\ |
| 939 |
ShiftedDiagram & A shifted Young diagram & \autoref{S:Shifted} \\ |
| 940 |
ShiftedTableau & A shifted tableau & \autoref{S:Shifted} \\ |
| 941 |
SkewDiagram & A skew Young diagram & \autoref{S:Skew} \\ |
| 942 |
SkewTableau & A skew tableau & \autoref{S:Skew} \\ |
| 943 |
Tableau & A tableau & \autoref{S:Tableau} \\ |
| 944 |
Tabloid & A tabloid & \autoref{S:Tabloid} \\ |
| 945 |
\bottomrule |
| 946 |
\end{tabular} |
| 947 |
\end{center} |
| 948 |
|
| 949 |
In addition to the picture commands, \aTableau provides the following |
| 950 |
non-picture commands: |
| 951 |
\begin{itemize}[nosep] |
| 952 |
\item \keyword{\aTabset} for setting default values for \aTableau keys |
| 953 |
\item \keyword{\NewATableauCommand} for defining custom \aTableau commands; |
| 954 |
see \autoref{SS:NewTableau} |
| 955 |
\item \keyword{\shortminus} for shorter minus signs, which is used |
| 956 |
by \option{entries=contents} in tableaux |
| 957 |
\end{itemize} |
| 958 |
|
| 959 |
The key-value \emph{options}, or \emph{keys}, control the style and |
| 960 |
appearance of an \aTableau picture. The keys are optional. The main |
| 961 |
function of this manual is to describe these keys, with examples. This |
| 962 |
section emphasises only some of these options. Every key can be set |
| 963 |
``globally'' (that is, inside the current \LaTeX\ group), by using |
| 964 |
\keyword{\aTabset{...options...}}, or ``locally'' as an option for |
| 965 |
the current picture. As mentioned already, the default options for the |
| 966 |
document can also be set via |
| 967 |
\keyword{\usepackage[options]{atableau}}.\indexcmd{aTabset} |
| 968 |
|
| 969 |
Many of the \aTableau options are specific to the particular pictures |
| 970 |
being drawn. A concise list of the \aTableau commands and their options is |
| 971 |
given in \autoref{S:keys}, with the following sections giving more |
| 972 |
details and examples. |
| 973 |
|
| 974 |
The following keys\footnote{Throughout the manual, each key name is a |
| 975 |
hyperlink to the (first) description of the key in the manual.} |
| 976 |
can be used with all \aTableau commands: |
| 977 |
|
| 978 |
\begin{options} |
| 979 |
\item[align]\index{align} |
| 980 |
Sets the baseline for vertically aligning diagrams. The options |
| 981 |
\keyword{align=top}, \keyword{align=center}, and |
| 982 |
\keyword{align=bottom} align the baseline of the diagram |
| 983 |
with the top, centre or bottom of the surrounding objects, |
| 984 |
respectively. By default, all \aTableau pictures are centred. |
| 985 |
|
| 986 |
\item[beamer]\index{beamer} |
| 987 |
Set the \ctan{beamer} overlay command. See \autoref{SS:Beamer} for details. |
| 988 |
|
| 989 |
\item[colour theme] |
| 990 |
The \aTableau pictures use a range of different colours for tableaux |
| 991 |
and abacuses, with the default theme using a midnight blue for the |
| 992 |
tableau border and abacus beads, and lighter shades of blue for |
| 993 |
other components. As described in \autoref{S:ColourTheme}, \aTableau |
| 994 |
provides three colour themes. It is also possible to customise |
| 995 |
the colours of \aTableau pictures using the key-value interface. |
| 996 |
|
| 997 |
\item[math boxes, text boxes]\index{math boxes}\index{text boxes} |
| 998 |
Determines whether tableaux entries, and bead labels, are typeset as |
| 999 |
mathematics or as text. |
| 1000 |
|
| 1001 |
\item[name]\index{name} |
| 1002 |
Set the prefix for the \TikZ \emph{named anchors} for the boxes and |
| 1003 |
beads in \aTableau pictures. |
| 1004 |
|
| 1005 |
\item[rotate]\index{rotate} |
| 1006 |
Rotate the coordinate axes for tableaux and abacuses through the specified number of |
| 1007 |
\textit{degrees}. |
| 1008 |
|
| 1009 |
\item[scale, xscale, yscale, script, scriptscript] |
| 1010 |
\index{scale}\index{xscale}\index{yscale}\index{script}\index{scriptscript} |
| 1011 |
Use \option{scale} to rescale all \aTableau diagrams. Use |
| 1012 |
\option{xscale} to rescale in the $x$-direction and \option{yscale} |
| 1013 |
to rescale in the $y$-direction. The \option{script} and |
| 1014 |
\option{scriptscript} keys can be used to fine-tune the size of |
| 1015 |
\aTableau commands when used as subscripts (rare) and subsubscripts |
| 1016 |
(unlikely). |
| 1017 |
|
| 1018 |
\item[styles]\index{styles} |
| 1019 |
A shorthand for defining (single-use) \TikZ-styles. |
| 1020 |
|
| 1021 |
\item[tikzpicture]\index{tikzpicture} |
| 1022 |
When used without Cartesian coordinates, all \aTableau commands are |
| 1023 |
implicitly drawn inside a \keyword{tikzpicture} environment. Use |
| 1024 |
\option{tikzpicture=keys} to set the optional argument of this |
| 1025 |
environment. This is equivalent to |
| 1026 |
\keyword{\begin{tikzpicture}[ keys ]...\end{tikzpicture}}. |
| 1027 |
|
| 1028 |
\item[tikz before, tikz after]\index{tikz before}\index{tikz after} |
| 1029 |
Use the \option{tikz before} and \option{tikz after} keys to inject |
| 1030 |
\TikZ code into the underlying \keyword{tikzpicture} environment, |
| 1031 |
\textit{before} and \textit{after} the picture drawn by \aTableau, |
| 1032 |
respectively. |
| 1033 |
|
| 1034 |
\end{options} |
| 1035 |
|
| 1036 |
With boolean options, which are set to \textcolor{orange}{true} or |
| 1037 |
\textcolor{orange}{false}, the value can typically be omitted. For |
| 1038 |
such keys, there is usually an \textit{inverse key}, which is given by |
| 1039 |
adding a \textcolor{aTableauInner}{no}-prefix. For example, the |
| 1040 |
\option{border} and \option{no border} keys are a pair of inverse |
| 1041 |
keys. Using the \option{border} key is equivalent to |
| 1042 |
\option{border=true} and \option{no border=false}. Similarly, the |
| 1043 |
\option{no border} key is equivalent to \option{no border=true}, and |
| 1044 |
\option{border=false}. |
| 1045 |
|
| 1046 |
\index{American dialect} |
| 1047 |
For all keys, American spelling variations are tolerated. For example, you |
| 1048 |
can use \emph{center} and \emph{color} instead of the correct |
| 1049 |
spellings of \emph{centre} and \emph{colour}, respectively. |
| 1050 |
\begin{warning} |
| 1051 |
Unlike the egalitarian \aTableau-keys, \TikZ-keys |
| 1052 |
\emph{do not} countenance English spelling of the English language! |
| 1053 |
\end{warning} |
| 1054 |
|
| 1055 |
The next example contrasts using the \keyword{\Diagram} command both |
| 1056 |
outside and inside a \keyword{tikzpicture} environment. More |
| 1057 |
explicitly, the second \keyword{\Diagram} command uses Cartesian |
| 1058 |
coordinates to position the picture inside a \keyword{tikzpicture} environment. |
| 1059 |
Otherwise, the two \keyword{\Diagram} commands in this example are identical, except |
| 1060 |
that the second one is embellished with labels that are drawn by |
| 1061 |
the other $\TikZ$-commands inside the \keyword{tikzpicture} |
| 1062 |
environment. |
| 1063 |
|
| 1064 |
\begin{Example}{diagramCoordinates} |
| 1065 |
% \usetikzlibrary{patterns} |
| 1066 |
\tikzset{ |
| 1067 |
B/.style={pattern=north east lines, pattern color=blue}, |
| 1068 |
G/.style={pattern=north west lines, pattern color=ForestGreen}, |
| 1069 |
} |
| 1070 |
\Diagram[ribbons={(G)16ccccrrr, (B)16crrcccr}]{6,5^2,2} % outside tikzpicture |
| 1071 |
\qquad \qquad |
| 1072 |
\begin{tikzpicture} % inside tikzpicture with labels |
| 1073 |
\Diagram(0,0)[ribbons={(G)16ccccrrr, (B)16crrcccr}]{6,5^2,2} |
| 1074 |
% add the labels |
| 1075 |
\draw[<-](A-1-2.base) to[out=90, in=180] ++(0.8, 0.8)node[right]{$\alpha=(1,2)$}; |
| 1076 |
\draw[<-](A-4-2.base) to[out=270,in=180] ++(0.8,-0.8)node[right]{$f_\alpha=(4,2)$}; |
| 1077 |
\draw[red,<->]([xshift=-1mm]A-1-1.south west) |
| 1078 |
--node[rotate=90,above]{$l_\alpha=3$}([xshift=-1mm]A-4-1.south west); |
| 1079 |
\end{tikzpicture} |
| 1080 |
\end{Example} |
| 1081 |
|
| 1082 |
From the viewpoint of \aTableau, the most important point of |
| 1083 |
\autoref{Ex:diagramCoordinates} is that the first \keyword{\Diagram} command is a |
| 1084 |
standalone diagram, whereas the second one is part of a |
| 1085 |
\keyword{tikzpicture} environment since it was given the Cartesian |
| 1086 |
coordinate $(0,0)$. Most of the right-hand picture is drawn by |
| 1087 |
the~\keyword{\Diagram} command, which is exactly the same as the |
| 1088 |
left-hand picture, even though most of the commands in the |
| 1089 |
\keyword{tikzpicture} environment are \TikZ commands. In particular, |
| 1090 |
the shading of the boxes in the \emph{$(1,2)$-hook} and the |
| 1091 |
\emph{$(1,2)$-rim hook} is done by the \option{ribbons} key. |
| 1092 |
|
| 1093 |
Inside the \keyword{tikzpicture} environment, the Young diagram is |
| 1094 |
placed at position $(0,0)$ by the \keyword{\Diagram} command. The |
| 1095 |
three \keyword{\draw} commands are used to add the three labelled |
| 1096 |
arrows to the picture. Please consult the very readable \TikZ manual |
| 1097 |
for more information about the \TikZ-commands used in this example. |
| 1098 |
(In fact, the right-hand picture could be drawn without using a |
| 1099 |
\keyword{tikzpicture} environment by using the \option{tikz after} key |
| 1100 |
to add the three \keyword{\draw}-commands.) |
| 1101 |
|
| 1102 |
\begin{warning} |
| 1103 |
Unlike \TikZ-commands, you should \emph{not} put a semicolon after |
| 1104 |
an \aTableau-command when it is used inside a \keyword{tikzpicture} |
| 1105 |
environment. If you accidentally add a semicolon, \TikZ\ will |
| 1106 |
issue a warning. In most cases, extra semicolons have no |
| 1107 |
visible effect, but they are unnecessary and are best omitted. |
| 1108 |
\end{warning} |
| 1109 |
|
| 1110 |
At the top of the \autoref{Ex:diagramCoordinates}, two \TikZ-styles, \textsf{B} |
| 1111 |
and \text{G}, are defined, which are used to add the \textsf{b}lue and |
| 1112 |
\textsf{g}reen coloured hatchings to the two hooks. As this suggests, |
| 1113 |
\TikZ-styling can be applied to most of the components of the pictures |
| 1114 |
produced by \aTableau commands. |
| 1115 |
|
| 1116 |
Another important feature of \autoref{Ex:diagramCoordinates} is that it uses four |
| 1117 |
\emph{named coordinates}: (\textsf{A-1-1}), (\textsf{A-1-2}), |
| 1118 |
(\textsf{A-4-1}), and (\textsf{A-4-2}). Whenever \aTableau draws a |
| 1119 |
tableau (diagram, or abacus), it creates \TikZ named coordinates |
| 1120 |
(\textsf{A-r-c}) for every box in the diagram, where (\textsf{A-r-c}) |
| 1121 |
refers to the box (or bead), in row~\textsf{r} and column~\textsf{c}.% |
| 1122 |
\footnote{In this manual, we normally refer to the entries of |
| 1123 |
tableaux and diagrams as \textit{boxes}, rather than \textit{nodes}. |
| 1124 |
This is to avoid any ambiguity with \TikZ-nodes. Similarly, |
| 1125 |
\aTableau commands produce \textit{pictures}, to distinguish them |
| 1126 |
from Young diagrams.} |
| 1127 |
Giving finer control, the following standard \TikZ \textit{anchors} |
| 1128 |
are available, depending on the tableau convention being used. |
| 1129 |
|
| 1130 |
\begin{equation}\label{E:NodeNames} |
| 1131 |
\begin{tikzpicture}[every node/.style={font=\tiny, text=gray}] |
| 1132 |
\Diagram(0,0)[scale=4]{1} |
| 1133 |
\node[label={above:(A-r-c)}] at (A-1-1){$\color{red}\bullet$}; |
| 1134 |
\node[label={above:(A-r-c.north)}] at (A-1-1.north){$\color{red}\bullet$}; |
| 1135 |
\node[label={below:(A-r-c.south)}] at (A-1-1.south){$\color{red}\bullet$}; |
| 1136 |
\node[label={right:(A-r-c.east)}] at (A-1-1.east){$\color{red}\bullet$}; |
| 1137 |
\node[label={left:(A-r-c.west)}] at (A-1-1.west){$\color{red}\bullet$}; |
| 1138 |
\node[label={above right:(A-r-c.north east)}] at (A-1-1.north east){$\color{red}\bullet$}; |
| 1139 |
\node[label={above left:(A-r-c.north west)}] at (A-1-1.north west){$\color{red}\bullet$}; |
| 1140 |
\node[label={below right:(A-r-c.south east)}] at (A-1-1.south east){$\color{red}\bullet$}; |
| 1141 |
\node[label={below left:(A-r-c.south west)}] at (A-1-1.south west){$\color{red}\bullet$}; |
| 1142 |
\end{tikzpicture} |
| 1143 |
\qquad |
| 1144 |
\begin{tikzpicture}[every node/.style={font=\tiny, text=gray}] |
| 1145 |
\Diagram(0,0)[ukrainian, scale=4]{1} |
| 1146 |
\node[label={above:(A-r-c)}] at (A-1-1){$\color{red}\bullet$}; |
| 1147 |
\node[label={above:(A-r-c.north)}] at (A-1-1.north){$\color{red}\bullet$}; |
| 1148 |
\node[label={below:(A-r-c.south)}] at (A-1-1.south){$\color{red}\bullet$}; |
| 1149 |
\node[label={right:(A-r-c.east)}] at (A-1-1.east){$\color{red}\bullet$}; |
| 1150 |
\node[label={left:(A-r-c.west)}] at (A-1-1.west){$\color{red}\bullet$}; |
| 1151 |
\node[label={above right:(A-r-c.north east)}] at (A-1-1.north east){$\color{red}\bullet$}; |
| 1152 |
\node[label={above left:(A-r-c.north west)}] at (A-1-1.north west){$\color{red}\bullet$}; |
| 1153 |
\node[label={below right:(A-r-c.south east)}] at (A-1-1.south east){$\color{red}\bullet$}; |
| 1154 |
\node[label={below left:(A-r-c.south west)}] at (A-1-1.south west){$\color{red}\bullet$}; |
| 1155 |
\end{tikzpicture} |
| 1156 |
\end{equation} |
| 1157 |
|
| 1158 |
Similar anchors are created for abacus beads. You can change the |
| 1159 |
prefix \textsf{A} in these anchors using the \option{name} key. Such |
| 1160 |
\textit{anchors} are a standard part of \TikZ. If you change the |
| 1161 |
shape of the node, then the available anchors may change; for more |
| 1162 |
information, see the \TikZ manual. |
| 1163 |
|
| 1164 |
In the example above, the Cartesian coordinate $(0,0)$ is necessary |
| 1165 |
because the \keyword{\Diagram} command is used inside a |
| 1166 |
\keyword{tikzpicture} environment, but the choice of coordinate is not |
| 1167 |
important in the sense that changing the coordinate will not change |
| 1168 |
the picture. Cartesian coordinates become more meaningful when the |
| 1169 |
\keyword{tikzpicture} environment has more components. In the next |
| 1170 |
example, the key \option{name=B} makes the named |
| 1171 |
coordinates for the second diagram take the form (\textsf{B-r-c}), |
| 1172 |
instead of the default node names (\textsf{A-r-c}), which are used in |
| 1173 |
the first diagram. This makes it easy to draw lines between boxes |
| 1174 |
in the two tableaux. |
| 1175 |
|
| 1176 |
\begin{example}[lefthand width=0.14\textwidth, sidebyside gap=0mm]{diagramNames} |
| 1177 |
% \usetikzlibrary{decorations.pathmorphing} |
| 1178 |
\begin{tikzpicture}[wave/.style={thick,red,->,decorate,decoration=snake}] |
| 1179 |
\aTabset{ribbon style={fill=blue!20, opacity=0.4}} |
| 1180 |
\Diagram(0,2.2)[e=2,entries=residues,ribbons={13crc}]{3,2} |
| 1181 |
\Diagram(0,0)[e=2,entries=residues,ribbons={12rcr},name=B]{2^2,1} |
| 1182 |
\draw[wave](A-2-1.south east)--(B-1-1.north east); |
| 1183 |
\end{tikzpicture} |
| 1184 |
\end{example} |
| 1185 |
|
| 1186 |
In this example, the entries in the two tableaux are added by the key |
| 1187 |
\option{entries=residues}, which adds the \option{e}-residue of each |
| 1188 |
box to these tableaux. The shading is done by the \option{ribbons} |
| 1189 |
commands. Notice that \option{ribbon style}, which sets the |
| 1190 |
\TikZ-style of the ribbons, includes \keyword{opacity=0.4}. This |
| 1191 |
is necessary because the ribbons are drawn \textit{after} the tableau |
| 1192 |
entries; see \autoref{SS:order}. Alternatively, the tableau entries |
| 1193 |
can be included in the ribbon specifications, as described in |
| 1194 |
\autoref{S:RibbonTableaux}. |
| 1195 |
|
| 1196 |
The final example in the introduction uses \keyword{\ShiftedTableau} |
| 1197 |
inside a \emph{matrix of nodes} to produce the following lattice of |
| 1198 |
shifted tableaux: |
| 1199 |
|
| 1200 |
% The picture is above the code because this avoids a bad page break |
| 1201 |
\begin{Example}[text above listing]{skewLattice} |
| 1202 |
% \usetikzlibrary{matrix} |
| 1203 |
\begin{tikzpicture}[scale=0.8, arr/.style={->,blue!50!black, thick}] |
| 1204 |
\matrix (M)[matrix of nodes,row sep=4mm,column sep=4mm]{ |
| 1205 |
& & & \ShiftedTableau{1234,567} \\ |
| 1206 |
& & \ShiftedTableau{1235,467} |
| 1207 |
& & \ShiftedTableau{1243,567}\\ |
| 1208 |
& \ShiftedTableau{1236,457} |
| 1209 |
& & \ShiftedTableau{1245,367} |
| 1210 |
& & \ShiftedTableau{1253,467}\\ |
| 1211 |
\ShiftedTableau{1237,456} |
| 1212 |
& & \ShiftedTableau{1246,357} |
| 1213 |
& & \ShiftedTableau{1254,367}\\ |
| 1214 |
& \ShiftedTableau{1247,356}\\ |
| 1215 |
}; |
| 1216 |
\draw[arr](M-1-4)--node[above]{$\sigma_4$}(M-2-3); |
| 1217 |
\draw[arr](M-1-4)--node[above]{$\sigma_3$}(M-2-5); |
| 1218 |
\draw[arr](M-2-3)--node[above]{$\sigma_5$}(M-3-2); |
| 1219 |
\draw[arr](M-2-3)--node[above]{$\sigma_3$}(M-3-4); |
| 1220 |
\draw[arr](M-2-5)--node[above]{$\sigma_4$}(M-3-6); |
| 1221 |
\draw[arr](M-3-2)--node[above]{$\sigma_6$}(M-4-1); |
| 1222 |
\draw[arr](M-3-2)--node[above]{$\sigma_3$}(M-4-3); |
| 1223 |
\draw[arr](M-3-4)--node[above]{$\sigma_5$}(M-4-3); |
| 1224 |
\draw[arr](M-3-4)--node[above]{$\sigma_4$}(M-4-5); |
| 1225 |
\draw[arr](M-3-6)--node[above]{$\sigma_3$}(M-4-5); |
| 1226 |
\draw[arr](M-4-1)--node[above]{$\sigma_3$}(M-5-2); |
| 1227 |
\draw[arr](M-4-3)--node[above]{$\sigma_6$}(M-5-2); |
| 1228 |
\end{tikzpicture} |
| 1229 |
\end{Example} |
| 1230 |
|
| 1231 |
Notice that even though the \keyword{\ShiftedTableau} commands are being |
| 1232 |
used inside a \keyword{tikzpicture} environment they do not need |
| 1233 |
coordinates because the shifted tableaux are being positioned by the \TikZ |
| 1234 |
\keyword{\matrix} command. That is, the \keyword{\ShiftedTableau} |
| 1235 |
commands are not explicit components of the \keyword{tikzpicture} |
| 1236 |
environment because they are all (implicitly) inside \TikZ-nodes. |
| 1237 |
|
| 1238 |
The following sections describe the commands defined by the \aTableau |
| 1239 |
package and how to use them. We start with the \keyword{\Tableau} |
| 1240 |
command because it is the basis for all \aTableau Young diagram and |
| 1241 |
tableau commands. |
| 1242 |
|
| 1243 |
|
| 1244 |
\begin{warning} |
| 1245 |
The \aTableau package requires an up-to-date version of \LaTeX\ |
| 1246 |
because it relies heavily on recent advances in \ctan{LaTeX3}. You |
| 1247 |
will need to update your \LaTeX\ installation if it is older than |
| 1248 |
\TeXLive 2024. Ideally, you should use the latest release of your |
| 1249 |
preferred \LaTeX\ distribution. |
| 1250 |
\end{warning} |
| 1251 |
|
| 1252 |
% -------------------------------------------------------------- |
| 1253 |
\section{Tableaux and Young diagrams} |
| 1254 |
|
| 1255 |
\emph{Partitions} are weakly decreasing sequences of non-negative |
| 1256 |
integers. They are fundamental objects in algebraic combinatorics |
| 1257 |
and representation theory.\index{partition} For example, |
| 1258 |
$\lambda=(4,3,3,2,0,0,\dots)$ is a partition of $12$, since the |
| 1259 |
entries sum to~$12$. It is customary to omit the zeros when writing |
| 1260 |
partitions and to use exponents for repeated parts, so we can write |
| 1261 |
this partition in \emph{exponential notation} as |
| 1262 |
$\lambda=(4,3^2,2)$. |
| 1263 |
|
| 1264 |
Many authors identify a partition~$\lambda=(\lambda_1,\lambda_2,\dots)$ with its |
| 1265 |
\emph{Young diagram}, which is the set |
| 1266 |
\[ |
| 1267 |
[\lambda] = \set{(r,c)|1\le c\le\lambda_r\text{ for }r\ge1}. |
| 1268 |
\] |
| 1269 |
The (Young) diagram is usually visualised as an array of |
| 1270 |
\emph{boxes}, or \emph{nodes}, in the plane. A \emph{tableau} is a |
| 1271 |
diagram where the boxes are labelled using some alphabet. |
| 1272 |
Equivalently, a diagram is a tableau with empty labels. |
| 1273 |
\index{young diagram@Young diagram|see{diagram}} |
| 1274 |
\index{diagram} |
| 1275 |
\index{tableau} |
| 1276 |
\index{box} |
| 1277 |
\index{node} |
| 1278 |
\index{node|see{box}} |
| 1279 |
\index{exponential notation} |
| 1280 |
\index{partition!exponential notation} |
| 1281 |
|
| 1282 |
When using the \emph{English convention}, the diagram of the |
| 1283 |
partition~$\lambda$ is visualised as a left justified array of boxes |
| 1284 |
in the plane, where the first row has~$4$ boxes, the next two lower |
| 1285 |
rows have~$3$ boxes and the last row has~$2$ boxes. The \emph{shape} |
| 1286 |
of a diagram is the partition that gives the number of boxes in each |
| 1287 |
row. Diagrams and tableaux drawn using the \emph{French} convention |
| 1288 |
are given by reflecting in a horizontal line above the diagrams, |
| 1289 |
whereas the \emph{Ukrainian} and \emph{Australian} conventions are |
| 1290 |
given by appropriate rotations of these diagrams. All of these |
| 1291 |
conventions are used in the literature, with some papers using more |
| 1292 |
than one convention. |
| 1293 |
|
| 1294 |
% -------------------------------------------------------------- |
| 1295 |
\subsection{Tableaux} |
| 1296 |
\indexcmd{Tableau} |
| 1297 |
\label{S:Tableau} |
| 1298 |
This section describes the \keyword{\Tableau} command, which draws |
| 1299 |
tableaux or labelled diagrams. The syntax of this command is: |
| 1300 |
|
| 1301 |
\keyword{\Tableau (x,y) [options] {tableau entries}} |
| 1302 |
|
| 1303 |
where: |
| 1304 |
|
| 1305 |
\begin{options} |
| 1306 |
\item[*$(x,y)$]\index{xy@$(x,y)$} The Cartesian coordinates $(x,y)$ |
| 1307 |
are needed if, and only if, the tableau is a component of a |
| 1308 |
\keyword{tikzpicture} environment. |
| 1309 |
\item[*options] Optional arguments, or keys, which are described below, with examples. |
| 1310 |
\item[*tableau entries]\index{tableau entries} The |
| 1311 |
\keyword{tableau entries} are given as a comma-separated list, with commas |
| 1312 |
separating rows and each \textit{token}, or braced-group of |
| 1313 |
tokens, being in a separate column. As explained below, each |
| 1314 |
tableau entry can be prefixed by (optional) \TikZ-styling |
| 1315 |
specifications to change their appearance. |
| 1316 |
\end{options} |
| 1317 |
|
| 1318 |
We show, using examples, how to use the \keyword{\Tableau} command, |
| 1319 |
starting with basic usage and finishing with style. Inside |
| 1320 |
\keyword{\Tableau}\!, the rows are separated by commas, with the |
| 1321 |
columns given by the ``letters'' in the word for each row: |
| 1322 |
|
| 1323 |
\begin{example}{tableauWords} |
| 1324 |
\Tableau{ 1234, 56, 7, 8 } \qquad |
| 1325 |
\Tableau{ \alpha\gamma\delta q, |
| 1326 |
xy\eta, |
| 1327 |
\lambda\mu, |
| 1328 |
\pi\sum } |
| 1329 |
\end{example} |
| 1330 |
|
| 1331 |
The tableau specifications can be put on a single line, without any |
| 1332 |
spaces. Alternatively, as shown here, spaces and line breaks can be |
| 1333 |
added to improve readability. The one restriction is that you cannot |
| 1334 |
have blank lines inside a \keyword{\Tableau} command. As this example |
| 1335 |
suggests, by default, the entries in a tableau are typeset in |
| 1336 |
mathematics-mode, but this can be changed using the |
| 1337 |
\option{text boxes} key, described below. |
| 1338 |
|
| 1339 |
The tableau entries can be individual characters, or they can be \TeX\ |
| 1340 |
commands. Tableaux frequently contain entries that are not single |
| 1341 |
characters, or given by commands. In true \TeX-style, such entries are |
| 1342 |
added to a tableau by enclosing them in braces: |
| 1343 |
|
| 1344 |
\begin{example}{tableauBraces} |
| 1345 |
\Tableau{ 13{10}{11}{2x}, 2{y^3}, {r_1} } |
| 1346 |
\end{example} |
| 1347 |
|
| 1348 |
% -------------------------------------------------------------- |
| 1349 |
\subsubsection{Adding style} |
| 1350 |
\index{tableau star} |
| 1351 |
\index{*|see{tableau star}} |
| 1352 |
\index{tableau entries!tableau star} |
| 1353 |
|
| 1354 |
The \aTableau package provides several different ways to add |
| 1355 |
\TikZ~style specifications to the boxes in diagrams and tableaux. |
| 1356 |
This is done by adding style prefixes to the tableau entries. To take |
| 1357 |
advantage of these styles you need to have at least rudimentary |
| 1358 |
knowledge of \TikZ-styling. The examples in this manual might be |
| 1359 |
enough to get you started, as they give a good indication of what is |
| 1360 |
possible. For anything more exotic, please consult the \TikZ manual. |
| 1361 |
|
| 1362 |
The simplest way to change the style of an entry in a tableau is to |
| 1363 |
add a $*$-prefix to the entry: |
| 1364 |
|
| 1365 |
\begin{example}{tableauStar} |
| 1366 |
\Tableau{ 1*2*3*4*5, 6*789, {10}*{11}{12}, {13} } |
| 1367 |
\end{example} |
| 1368 |
|
| 1369 |
In this tableau, there is an asterisk before each of the entries $2$, |
| 1370 |
$3$, $4$, $5$, $7$, and $11$, which gives the corresponding boxes the |
| 1371 |
\option{tableau star}. By default, boxes marked with a~$*$ are given the |
| 1372 |
\TikZ-styling \keyword{fill=}\aTableauColour{Star}. You can |
| 1373 |
change the default $*$-style using the \option{tableau star} key: |
| 1374 |
|
| 1375 |
\begin{example}{tableauStarStyle} |
| 1376 |
\Tableau[tableau star={fill=red!20,draw=red,thick}] |
| 1377 |
{ 1*2*3*4*5, 6*789, {10}*{11}{12}, {13} } |
| 1378 |
\end{example} |
| 1379 |
|
| 1380 |
Note that the $*$-styling overrides the default styling of the |
| 1381 |
surrounding boxes, such as their borders. This is because the boxes |
| 1382 |
with the default styling are placed first, in the order that they are |
| 1383 |
entered, after which the boxes that have custom styles are placed. |
| 1384 |
(This is discussed in more detail in \autoref{SS:order}.) |
| 1385 |
|
| 1386 |
The $*$-syntax is a quick shorthand for adding emphasis to some boxes |
| 1387 |
in a tableau, but all of the $*$-entries are given the same style. |
| 1388 |
It is possible to give every box in the tableau different styling by |
| 1389 |
putting \TikZ-styling specifications inside square brackets, |
| 1390 |
\keyword{[...]}, before the corresponding letter in the tableau |
| 1391 |
specification. You can mix the $*$-syntax and the |
| 1392 |
\keyword{[...]}-style syntax for different entries, although only one |
| 1393 |
of these style settings can be applied to any given box. |
| 1394 |
|
| 1395 |
\begin{example}{tableauFrench} |
| 1396 |
\Tableau[french]{ |
| 1397 |
1 [blue!20]2 [circle]3 [fill=red]4 [draw=cyan]5, |
| 1398 |
6 *7 8 9, |
| 1399 |
{10} *{11} {12}, |
| 1400 |
{13} } |
| 1401 |
\end{example} |
| 1402 |
|
| 1403 |
We emphasise that it is not necessary to add spaces between the |
| 1404 |
entries, in the way that this example does. This is done only to make |
| 1405 |
it clearer how the style specifications are applied to the different |
| 1406 |
entries in the tableau. |
| 1407 |
|
| 1408 |
Omitting some technicalities, each box in a tableau is constructed as |
| 1409 |
a \TikZ node, so any \TikZ-style specifications for a \TikZ node can be |
| 1410 |
used. This example shows that some care is needed when changing the |
| 1411 |
style because simply giving a colour changes both the colour used to |
| 1412 |
\textit{fill} the box and the \textit{text colour}, which is why some |
| 1413 |
of tableau entries in the last example appear to be blank. If you are |
| 1414 |
already familiar with \TikZ then you probably already know what to do. |
| 1415 |
If not, here is a short list of useful style specifications for |
| 1416 |
\TikZ nodes: |
| 1417 |
\begin{center}\index{fill}\index{text}\index{draw}\index{font} |
| 1418 |
\rowcolors{2}{}{LightSkyBlue!10} |
| 1419 |
\begin{tabular}{ll}\toprule |
| 1420 |
Style & Meaning \\\midrule |
| 1421 |
\keyword{draw}\textcolor{orange}{$=\langle\text{colour}\rangle$} |
| 1422 |
& Sets the boundary colour of the node\\ |
| 1423 |
\keyword{fill}\textcolor{orange}{$=\langle\text{colour}\rangle$} |
| 1424 |
& Sets the fill, or background, colour of the node\\ |
| 1425 |
\keyword{font}\textcolor{orange}{$=\langle\text{font commands}\rangle$} |
| 1426 |
& Sets the font \\ |
| 1427 |
\keyword{opacity}\textcolor{orange}{$=\langle\text{value}\rangle$} |
| 1428 |
& Sets both the drawing and filling opacity to $\langle\text{value}\rangle$\\ |
| 1429 |
\keyword{text}\textcolor{orange}{$=\langle\text{colour}\rangle$} |
| 1430 |
& Sets the text colour in the node \\ |
| 1431 |
\bottomrule |
| 1432 |
\end{tabular} |
| 1433 |
\end{center} |
| 1434 |
In the style settings, any valid \LaTeX\ colour name can be used; see, for |
| 1435 |
example, the \ctan{xcolor} manual. In addition, the style specifications |
| 1436 |
\keyword{thin}\!, |
| 1437 |
\keyword{thick}\!, |
| 1438 |
\keyword{very thick}\!, |
| 1439 |
\keyword{ultra thick}\!, |
| 1440 |
\keyword{dashed}\!, |
| 1441 |
\keyword{dotted}\!, $\dots$. |
| 1442 |
change the line thickness, and its properties. |
| 1443 |
See \autoref{SS:TableauOptions} below for more detail on using these options |
| 1444 |
to customise the tableau style. |
| 1445 |
|
| 1446 |
You can apply ``complicated'' style settings, such as |
| 1447 |
\keyword{draw=cyan,ultra thick}, which consists of a comma-separated |
| 1448 |
list of $\TikZ-$style settings, by putting the style setting |
| 1449 |
inside matching square brackets% |
| 1450 |
\footnote{In particular, even though commas are used to separate the |
| 1451 |
rows of the tableau, you do not need to enclose the style |
| 1452 |
specifications inside both square brackets and braces, [\{...\}], |
| 1453 |
because \aTableau matches the square brackets when reading style.}. |
| 1454 |
If you use a style more than once, then a better approach is to |
| 1455 |
define a \TikZ-style for ``complicated'' style definition because they are |
| 1456 |
easier to read and easier to edit. |
| 1457 |
|
| 1458 |
\begin{example}{tableauAustralian} |
| 1459 |
\Tableau[australian]{ |
| 1460 |
1 [fill=blue!20]2 3 [text=red]4 5, |
| 1461 |
[circle,fill=orange]6 *7 8 9, |
| 1462 |
[draw=cyan,ultra thick]{10} *{11} {12}, |
| 1463 |
[dashed,draw=red,ultra thick]{13} } |
| 1464 |
\end{example} |
| 1465 |
|
| 1466 |
% The last example shows that it is not necessary to double-brace |
| 1467 |
% singleton entries when they have a style specification. |
| 1468 |
|
| 1469 |
This example shows that modifying the borders of a box is problematic |
| 1470 |
because boxes placed later are likely to overwrite the new border |
| 1471 |
style (see \autoref{SS:order}). As a result, modifying the borders of |
| 1472 |
individual boxes is often not a good way to add emphasis to the boxes |
| 1473 |
in a tableau, so use this sparingly. In addition, the orange circle |
| 1474 |
in this example is too big, but it is what we asked for because the |
| 1475 |
diameter of the circle is the horizontal width of the box. The next |
| 1476 |
example shows that we get a better result using |
| 1477 |
\textit{minimum size=5mm} when using the \option{australian} and |
| 1478 |
\option{ukrainian} conventions for tableaux. |
| 1479 |
|
| 1480 |
For complex or frequently used styles, we recommend using the |
| 1481 |
\keyword{\tikzset} command to define the style outside of the |
| 1482 |
\keyword{\Tableau} command. This makes your code both easier to read |
| 1483 |
and easier to change. If you need to define a style for a single |
| 1484 |
picture, then you can also use the \option{styles} key. |
| 1485 |
|
| 1486 |
\begin{example}[lefthand width=0.3\textwidth]{tableauStyles} |
| 1487 |
\tikzset{ |
| 1488 |
B/.style={fill=blue!40, text=yellow}, |
| 1489 |
G/.style={fill=green!80!blue,circle,minimum size=5mm}, |
| 1490 |
R/.style={fill=red,text=white, font=\tiny}, |
| 1491 |
Y/.style={fill=yellow!20, text=blue} |
| 1492 |
} |
| 1493 |
\Tableau[french]{[R]1[B]2,[G]3,[Y]4} \quad |
| 1494 |
\Tableau[ukrainian]{[R]1[B]2,[G]3,[Y]4} \newline |
| 1495 |
\Tableau[english]{[R]1[B]2,[G]3,[Y]4} \quad |
| 1496 |
\Tableau[australian]{[R]1[B]2,[G]3,[Y]4} |
| 1497 |
\end{example} |
| 1498 |
|
| 1499 |
In this example, the \TikZ-styles \textsf{B}, \textsf{G} \textsf{R}, |
| 1500 |
and \textsf{Y} are applied to the tableaux entries labelled $1$, $2$, |
| 1501 |
$3$, and~$4$, respectively. Note the use of \emph{minimum size} to |
| 1502 |
control the size of the circle, which is advised when using the |
| 1503 |
\textit{Ukrainian} or \textit{Australian} conventions. The colours |
| 1504 |
used here, and throughout this manual, are for demonstration purposes |
| 1505 |
only. Such vibrant colour choices are generally not recommended for |
| 1506 |
self-respecting documents! |
| 1507 |
|
| 1508 |
% -------------------------------------------------------------- |
| 1509 |
\subsubsection{Tableau coordinates}\label{SS:coordinates} |
| 1510 |
\index{xy@$(x,y)$} |
| 1511 |
\index{Cartesian coordinates!tableau} |
| 1512 |
|
| 1513 |
The $(x,y)$-coordinates are required if, and only if, the |
| 1514 |
\keyword{\Tableau} command is used inside a \keyword{tikzpicture} |
| 1515 |
environment, in which case $(x,y)$ gives the coordinates of the |
| 1516 |
``outside corner'' of the box in row~$1$ and column~$1$ of the |
| 1517 |
tableau. The following example shows how tableaux are placed using |
| 1518 |
$(x,y)$-coordinates inside a \keyword{tikzpicture} environment. This |
| 1519 |
example also shows that, by default, the tableau boxes are square with |
| 1520 |
side lengths of half a unit. |
| 1521 |
|
| 1522 |
\tikzset{ |
| 1523 |
add grid/.code = { |
| 1524 |
% draw coordinate axes |
| 1525 |
\draw[help lines, step=0.5,thin, LightGrey](-0.5,-1.5) grid (4,2.5); |
| 1526 |
\draw[help lines, step=1,thin, Grey](-0.5,-1.5) grid (4,2.5); |
| 1527 |
\foreach \pt in {0,...,3} { |
| 1528 |
\node[below,font=\tiny] at (\pt,-1.5){$\pt$}; |
| 1529 |
} |
| 1530 |
\foreach \pt in {-1,...,2} { |
| 1531 |
\node[left, font=\tiny] at (-0.5,\pt){$\pt$}; |
| 1532 |
} |
| 1533 |
} |
| 1534 |
} |
| 1535 |
|
| 1536 |
\begin{example}{tableauLabels} |
| 1537 |
\begin{tikzpicture}[add grid] |
| 1538 |
\aTabset{label style={red, font=\tiny}} |
| 1539 |
\Tableau(0,0) [english, label=1] {123,45} |
| 1540 |
\Tableau(0,0.5) [french, label=2] {123,45} |
| 1541 |
\Tableau(2.5,0.5)[ukrainian, label=3] {123,45} |
| 1542 |
\Tableau(2.5,0) [australian, label=4]{123,45} |
| 1543 |
\end{tikzpicture} |
| 1544 |
\end{example} |
| 1545 |
|
| 1546 |
The \option{label} keys in this example are to help each tableau and |
| 1547 |
the corresponding command. |
| 1548 |
|
| 1549 |
% -------------------------------------------------------------- |
| 1550 |
\subsubsection{Tableau keys} |
| 1551 |
\label{SS:TableauOptions} |
| 1552 |
|
| 1553 |
The optional $*$-styles and $[\ldots]$-styles are the main mechanism |
| 1554 |
for styling the individual boxes in a tableau. Using a key-value |
| 1555 |
syntax, you can change the appearance of the tableau produced by the |
| 1556 |
\keyword{\Tableau} command. The rest of this section describes these |
| 1557 |
keys, their default values, and gives examples of their usage. Keys |
| 1558 |
are mostly, listed in alphabetical order except that some related keys |
| 1559 |
are discussed together. |
| 1560 |
|
| 1561 |
The options, or keys, below can be applied to the \keyword{\Tableau} |
| 1562 |
command by giving them as a comma-separated list inside square |
| 1563 |
brackets: |
| 1564 |
\begin{center} |
| 1565 |
\keyword{\Tableau [options] {tableau entries}}\quad or \quad |
| 1566 |
\keyword{\Tableau (x,y) [options] {tableau entries}}. |
| 1567 |
\end{center} |
| 1568 |
The options can appear in any order, with later options having |
| 1569 |
precedence over earlier ones. |
| 1570 |
|
| 1571 |
When used inside a \keyword{\Tableau} command, the options only affect |
| 1572 |
that particular tableau. Most of these options, or keys, can also be |
| 1573 |
used in the \keyword{\aTabset} command, to change the default settings |
| 1574 |
of all subsequent tableaux in the same \LaTeX\ group, or as optional arguments in |
| 1575 |
\keyword{\usepackage[..]{atableau}}, to change the default settings |
| 1576 |
for the entire document. For example, if you put the command |
| 1577 |
\keyword{\aTabset[ukrainian]} in the preamble of your document then, |
| 1578 |
by default, all tableaux and Young diagrams will be drawn |
| 1579 |
using the Ukrainian convention. |
| 1580 |
|
| 1581 |
\option[-]{english} |
| 1582 |
\option*[]{french} |
| 1583 |
\option*[]{ukrainian} |
| 1584 |
\option*[]{australian} |
| 1585 |
|
| 1586 |
These four (mutually exclusive) options change the convention, or |
| 1587 |
orientation, that is used when drawing tableaux. Rather than defining |
| 1588 |
these conventions precisely, we use the tried-and-true method in |
| 1589 |
combinatorics of defining by example. |
| 1590 |
|
| 1591 |
\begin{example}[lefthand width=0.3\textwidth]{tableauUkrainian} |
| 1592 |
\Tableau[ukrainian, styles={R={fill=red!20,draw=red}}] |
| 1593 |
{12[R]3,45} |
| 1594 |
\end{example} |
| 1595 |
|
| 1596 |
\begin{example}[lefthand width=0.3\textwidth]{tableauFrenchRed} |
| 1597 |
\tikzset{R/.style={fill=red!20, circle, draw=red, |
| 1598 |
ultra thick}} |
| 1599 |
\Tableau[french]{12[R]3,45} |
| 1600 |
\end{example} |
| 1601 |
|
| 1602 |
\begin{example}[lefthand width=0.3\textwidth]{tableauEnglishBlue} |
| 1603 |
\tikzset{B/.style={fill=blue!20, dashed, thick}} |
| 1604 |
\Tableau[english]{12[B]3,45} |
| 1605 |
\end{example} |
| 1606 |
|
| 1607 |
\begin{example}[lefthand width=0.3\textwidth]{tableauAustralianFill} |
| 1608 |
\Tableau[australian, styles={B={fill=brown!20, text=red}}] |
| 1609 |
{12[B]3,45} |
| 1610 |
\end{example} |
| 1611 |
|
| 1612 |
By default, the \option{english} convention is used to draw tableaux |
| 1613 |
and Young diagrams. The default convention can be changed using |
| 1614 |
\keyword{\aTabset}. Capitalised names, \keyword{Australian}\!, |
| 1615 |
\keyword{English}\!, \keyword{French}\!, and \keyword{Ukrainian}\!, are also |
| 1616 |
recognised. If, for example, your document is only going to draw |
| 1617 |
\option{french} tableaux and diagrams, then you can specify this when |
| 1618 |
you load the package using \keyword{\usepackage[french]{atableau}}\!, |
| 1619 |
or by adding \keyword{\aTabset{french}} to your document preamble. |
| 1620 |
|
| 1621 |
\option[centre]{align=value}[centre/bottom/top] |
| 1622 |
|
| 1623 |
By default, the baseline of a tableau is its centre. This can be |
| 1624 |
changed using the \option{align} key. |
| 1625 |
|
| 1626 |
\begin{example}{tableauAlignCentre} |
| 1627 |
% the default |
| 1628 |
Some \Tableau[align=centre]{124,357,68} words |
| 1629 |
\end{example} |
| 1630 |
|
| 1631 |
\begin{example}{tableauAlignTop} |
| 1632 |
Some \Tableau[align=top]{124,357,68} words |
| 1633 |
\end{example} |
| 1634 |
|
| 1635 |
\begin{example}{tableauAlignBottom} |
| 1636 |
Some \Tableau[align=bottom]{124,357,68} words |
| 1637 |
\end{example} |
| 1638 |
|
| 1639 |
Similarly, use \option{align} to control how tableaux are aligned |
| 1640 |
in displayed equations. |
| 1641 |
|
| 1642 |
\begin{example}{tableauAlignBottomEquation} |
| 1643 |
\aTabset{align=bottom} |
| 1644 |
\Tableau{124,357,68}\qquad |
| 1645 |
\Tableau{124,35} |
| 1646 |
\end{example} |
| 1647 |
|
| 1648 |
\begin{example}{tableauAlignCentreEquation} |
| 1649 |
% by default: align=centre |
| 1650 |
\Tableau{124,357,68}\qquad |
| 1651 |
\Tableau{124,35} |
| 1652 |
\end{example} |
| 1653 |
|
| 1654 |
\begin{example}{tableauAlignTopEquation} |
| 1655 |
\aTabset{align=top} |
| 1656 |
\Tableau{124,357,68}\qquad |
| 1657 |
\Tableau{124,35} |
| 1658 |
\end{example} |
| 1659 |
|
| 1660 |
\option[true]{border}[true/false] \newline |
| 1661 |
\option[false]{no border}[false/true] |
| 1662 |
|
| 1663 |
The \option{border} and \option{no border} keys enable and disable |
| 1664 |
the drawing of the (thick) border wall around a tableau. |
| 1665 |
The \option{no border} key is inverse to \option{border}, so |
| 1666 |
\option{no border} is equivalent to |
| 1667 |
\option{border=false},, and to \option{no border=true}. |
| 1668 |
|
| 1669 |
\begin{example}{tableauBorder} |
| 1670 |
\Tableau[ukrainian, border=false]{123,455,674} \qquad |
| 1671 |
\Tableau[french, no border]{123,455,674} \qquad |
| 1672 |
\end{example} |
| 1673 |
|
| 1674 |
\option[\aTableauColour{Main}]{border colour=colour}[a \LaTeX~colour] |
| 1675 |
\option*[thick, line~cap=rect]{border style=style}[\TikZ-styling] |
| 1676 |
|
| 1677 |
The \option{border colour} option sets the colour of the border wall, |
| 1678 |
whereas \option{border style} sets the \TikZ-styling of the border wall. |
| 1679 |
(So, \option{border style} can override \option{border colour}.) |
| 1680 |
|
| 1681 |
\begin{example}{tableauBorderStyle} |
| 1682 |
\Tableau[ukrainian, border colour=red]{123,455,674} \qquad |
| 1683 |
\Tableau[french, border style={dashed,orange}]{123,455} |
| 1684 |
\end{example} |
| 1685 |
|
| 1686 |
The \option{border style} key \emph{appends} any \TikZ-styles to the |
| 1687 |
current styling of the wall. |
| 1688 |
|
| 1689 |
% nodes |
| 1690 |
\option[none]{box fill=colour}[a \LaTeX~colour] |
| 1691 |
|
| 1692 |
The \option{box fill} option sets the background colour of a box in a |
| 1693 |
tableau, which is used in exactly the same way as the \textsf{fill} key for a \TikZ-node. If you use |
| 1694 |
a dark fill colour, then you will almost certainly want to change the |
| 1695 |
text colour using the \option{box text} key -- and you may also want to |
| 1696 |
change the colours of the border walls and inner walls using |
| 1697 |
\option{border colour} and \option{inner wall}, respectively. |
| 1698 |
|
| 1699 |
\begin{example}{tableauBoxFill} |
| 1700 |
\Tableau[box fill=blue, box text=yellow]{123,455,674} \qquad |
| 1701 |
\Tableau[box fill=red!10]{123,455} |
| 1702 |
\end{example} |
| 1703 |
|
| 1704 |
The \option{box fill} key cannot be used in the same picture as the |
| 1705 |
\option{colours} key. The \option{colours} key applies a list of fill |
| 1706 |
colours to the boxes in a tableau of diagram that are placed using a |
| 1707 |
residue pattern. |
| 1708 |
|
| 1709 |
\option[]{box font=font command}[\LaTeX\ font command] |
| 1710 |
|
| 1711 |
The \option{box font} key sets the font used to type the entries of a |
| 1712 |
tableau. By default, tableau entries are typeset as mathematics, so |
| 1713 |
this is mainly useful for changing the font size (because, for |
| 1714 |
example, \keyword{\bfseries $1$} does not make the $1$ bold). It is |
| 1715 |
only when you are using \option{text boxes} that font commands like |
| 1716 |
\keyword{\itshape} and \keyword{\bfseries} will have any effect. |
| 1717 |
|
| 1718 |
\begin{example}{tableauBoxFont} |
| 1719 |
\Tableau[box font=\tiny]{123,455,674} \qquad |
| 1720 |
\Tableau[text boxes, box font=\bfseries]{123,455} |
| 1721 |
\end{example} |
| 1722 |
|
| 1723 |
\option[0.5]{box height=number}[a decimal giving the height in \unit{cm}] |
| 1724 |
\option*[0.5]{box width=number}[a decimal giving the width in \unit{cm}] |
| 1725 |
|
| 1726 |
|
| 1727 |
Changing the convention also sets the \option{box height} and \option{box |
| 1728 |
width}, relative to the current \option{scale}. If you want to use a |
| 1729 |
custom box height and box width, then you need to set them |
| 1730 |
\emph{after} specifying the convention. |
| 1731 |
|
| 1732 |
The default height and width of the boxes is \qty{0.5}{cm} when using |
| 1733 |
the \option{english} and \option{french} conventions and |
| 1734 |
\qty{0.7012}{cm}, which is approximately |
| 1735 |
$\qty[parse-numbers=false]{1/\sqrt{2}}{cm}$, when using the |
| 1736 |
\option{ukrainian} and \option{australian} conventions. (In all cases, |
| 1737 |
the default side length of the boxes is \qty{0.5}{cm}.) |
| 1738 |
|
| 1739 |
\begin{example}{tableauBoxHeight} |
| 1740 |
\aTabset{align=top} |
| 1741 |
\Tableau[box height=0.8]{123,455,674} \qquad |
| 1742 |
\Tableau[box width=0.2, ukrainian]{123,455} |
| 1743 |
\end{example} |
| 1744 |
|
| 1745 |
The \option{box height} and \option{box width} keys need to be set |
| 1746 |
\emph{after} changing the tableau convention using |
| 1747 |
\option{australian}, \option{english}, \option{french}, or |
| 1748 |
\option{ukrainian} because the conventions change the height and width |
| 1749 |
of the tableau boxes (and later keys override earlier ones). In |
| 1750 |
particular, in the last example, \option{box width=0.2} has no effect |
| 1751 |
because the \option{ukrainian} key, which comes later, sets the box |
| 1752 |
width to \qty{0.7012}{cm}. |
| 1753 |
|
| 1754 |
\begin{example}{tableauBoxWidth} |
| 1755 |
\aTabset{align=top} |
| 1756 |
\Tableau[box height=0.3]{123,455,674} \qquad |
| 1757 |
\Tableau[ukrainian, box width=0.3]{123,455} |
| 1758 |
\end{example} |
| 1759 |
|
| 1760 |
See also the \option{scale}, \option{xscale}, and \option{yscale} |
| 1761 |
options. |
| 1762 |
|
| 1763 |
\option[\aTableauColour{Main}]{box text=colour}[a \LaTeX~colour] |
| 1764 |
|
| 1765 |
As for a \TikZ-nodes, use \option{box text} to set the default text |
| 1766 |
colour for the entries of the tableau boxes. |
| 1767 |
|
| 1768 |
\begin{example}{tableauBoxText} |
| 1769 |
\Tableau[box text=red]{123,45} \qquad |
| 1770 |
\Tableau[box text=blue, french]{123,45} |
| 1771 |
\end{example} |
| 1772 |
|
| 1773 |
\option[]{box style=style}[\TikZ~styling] |
| 1774 |
|
| 1775 |
Many of the preceding keys for tableau boxes can be overridden using |
| 1776 |
the \option{box style} key to set the style of the tableau boxes |
| 1777 |
directly. |
| 1778 |
|
| 1779 |
\begin{example}{tableauBoxStyle} |
| 1780 |
\Tableau[box style={text=red,draw=teal,shape=circle}] |
| 1781 |
{123,45} \qquad |
| 1782 |
\Tableau[box style={font=\small}, french]{123,45} |
| 1783 |
\end{example} |
| 1784 |
|
| 1785 |
\option[]{colours}[list of \LaTeX\ colours] |
| 1786 |
|
| 1787 |
Use the \option{colours} key to assign a cyclic list of background |
| 1788 |
fill colours to the boxes in the tableau. The colours are specified as |
| 1789 |
a comma-separated list of valid \LaTeX\ colour names. The |
| 1790 |
\option{colours} key overrides the \option{box fill} key, so these two |
| 1791 |
keys should not be used in the same picture. |
| 1792 |
|
| 1793 |
By default, the colours are applied using the type~$A$ residue pattern. |
| 1794 |
This means that, when using the \option{english} convention, colours |
| 1795 |
are assigned cyclically: |
| 1796 |
\begin{itemize}[nosep] |
| 1797 |
\item in increasing order, from left to right, along each row, and |
| 1798 |
\item in decreasing order, from top to bottom, down each column. |
| 1799 |
\end{itemize} |
| 1800 |
People working in representation theory will probably recognise this pattern as coming from residues in Type~A. |
| 1801 |
|
| 1802 |
\begin{example}{tableauColours} |
| 1803 |
\Tableau[colours={red,green!70!blue,blue!80}, |
| 1804 |
box text=white]{12345,67,9,{10}} \qquad |
| 1805 |
\Diagram[colours={black,white}]{4^4} \qquad |
| 1806 |
\end{example} |
| 1807 |
|
| 1808 |
Rather than placing the colours using the Type~A residue patterns, |
| 1809 |
other residue patterns can be used by setting the \option{cartan} |
| 1810 |
type. To use other Cartan types, set the \option{cartan} type |
| 1811 |
\textit{before} setting the \option{colours}~(or set the quantum |
| 1812 |
characteristic \option{e} manually). |
| 1813 |
|
| 1814 |
\begin{example}{tableauColourCartan} |
| 1815 |
\Diagram[cartan=C, entries=residues, |
| 1816 |
colours={yellow,white,white,yellow}, |
| 1817 |
]{8,5,4} |
| 1818 |
\end{example} |
| 1819 |
|
| 1820 |
For more information about residues see the description of |
| 1821 |
\option{entries=residues}. |
| 1822 |
|
| 1823 |
\option[false]{conjugate}[false/true] |
| 1824 |
|
| 1825 |
Draws the \emph{conjugate} tableau, where the rows and columns are |
| 1826 |
swapped. |
| 1827 |
|
| 1828 |
\begin{example}{tableauConjugate} |
| 1829 |
\Tableau{123,45,67} \qquad |
| 1830 |
\Tableau[conjugate]{123,45,67} |
| 1831 |
\end{example} |
| 1832 |
|
| 1833 |
\option[]{cover=partition}[a partition] |
| 1834 |
\option*[]{skew=partition}[a partition] |
| 1835 |
\index{partition!cover} |
| 1836 |
\index{partition!skew} |
| 1837 |
\index{tableau!cover} |
| 1838 |
\index{tableau!skew} |
| 1839 |
|
| 1840 |
If $\lambda$ and $\mu$ are partitions, then $\mu$ \emph{covers} |
| 1841 |
$\lambda$ if $\lambda\subseteq\mu$. Equivalently, $\nu$ is |
| 1842 |
\emph{contained} in $\lambda$ if $\nu\subseteq\lambda$. The |
| 1843 |
\option{cover} and \option{skew} keys provide a mechanism for drawing |
| 1844 |
tableaux and diagrams of shapes $\nu\subseteq\lambda$, |
| 1845 |
$\lambda\subseteq\mu$ and $\nu\subseteq\lambda\subseteq\mu$. For skew |
| 1846 |
shapes, the more standard notation is $\lambda/\nu$, so perhaps the |
| 1847 |
two other shapes should be written as $\mu{\setminus}\lambda$ and |
| 1848 |
$\mu{\setminus}\lambda/\nu$, respectively. Irrespective of the |
| 1849 |
notation, \aTableau can draw each of these shapes. |
| 1850 |
|
| 1851 |
\begin{example}{tableauCover} |
| 1852 |
\Tableau[cover={4^2,3}]{123,45,67} \qquad |
| 1853 |
\Tableau[skew={2,1}]{123,45,67} |
| 1854 |
\end{example} |
| 1855 |
|
| 1856 |
The covering and skew partitions can be given as a comma-separated |
| 1857 |
list of positive integers, or using exponential notation. As covering |
| 1858 |
partitions are a type of dual \emph{skew shapes}, there are similar |
| 1859 |
keys that control how these pictures are drawn. It is possible to |
| 1860 |
combine these keys to display covered skew shapes. |
| 1861 |
|
| 1862 |
\begin{example}{tableauSkew} |
| 1863 |
\Tableau[skew={2,1}, skew boxes, |
| 1864 |
cover={4^2,3},cover boxes]{123,45,67} |
| 1865 |
\end{example} |
| 1866 |
|
| 1867 |
Skew tableaux and skew diagrams are common in the literature, so |
| 1868 |
\aTableau provides dedicated commands, \keyword{\SkewDiagram} and |
| 1869 |
\keyword{\SkewTableau}, for drawing them. These commands, and the |
| 1870 |
options for covered and skew shapes, are described in |
| 1871 |
\autoref{S:Skew}. |
| 1872 |
|
| 1873 |
\option[centre]{halign=value}[centre, left, right] |
| 1874 |
\option*[centre]{valign=value}[bottom, centre, top] |
| 1875 |
|
| 1876 |
By default, the entries in tableaux are centred, both horizontally |
| 1877 |
and vertically, and it is your responsibility to ensure that the |
| 1878 |
entries fit inside the tableau boxes (you can change the box |
| 1879 |
dimensions using the \option{box height}, \option{box width}, and |
| 1880 |
\option{scale} keys). The \option{halign} and \option{valign} keys |
| 1881 |
provide a crude way to change the horizontal and vertical alignment of |
| 1882 |
the box entries. |
| 1883 |
|
| 1884 |
\begin{example}{tableauhAlign} |
| 1885 |
\Tableau[halign=left]{1{11}{11},{11}1} \quad |
| 1886 |
\Tableau[halign=centre]{1{11}{11},{11}1} \quad |
| 1887 |
\Tableau[halign=right]{1{11}{11},{11}1} |
| 1888 |
\end{example} |
| 1889 |
|
| 1890 |
\begin{example}{tableauValign} |
| 1891 |
\Tableau[valign=bottom]{qf,gpt,jb} \quad |
| 1892 |
\Tableau[valign=centre]{qf,gpt,jb} \quad |
| 1893 |
\Tableau[valign=top]{qf,gpt,jb} |
| 1894 |
\end{example} |
| 1895 |
|
| 1896 |
These keys are provided for completeness only. Their use is generally |
| 1897 |
not recommended. |
| 1898 |
|
| 1899 |
\option[\aTableauColour{Inner}]{inner wall=colour}[\LaTeX~colour] |
| 1900 |
\option*[thin, line cap=rect]{inner style=style}[\TikZ-styling] |
| 1901 |
|
| 1902 |
The \option{inner wall} option sets the colour of the inner wall, |
| 1903 |
whereas \option{inner style} sets the \TikZ-styling of the inner wall. |
| 1904 |
(In particular, \option{inner style} can override \option{inner wall}.) |
| 1905 |
|
| 1906 |
\begin{example}[label=Ex:dashed]{tableauInnerWall} |
| 1907 |
\Tableau[australian, inner wall=red]{123,455,674} \qquad |
| 1908 |
\Tableau[inner style=dashed]{123,455} |
| 1909 |
\end{example} |
| 1910 |
|
| 1911 |
|
| 1912 |
\index{dashed} |
| 1913 |
\index{style!dashed} |
| 1914 |
If you look closely at the second tableau in \autoref{Ex:dashed}, you will |
| 1915 |
notice that the dashes are not very clean. This is because, for |
| 1916 |
example, the dashes on the bottom of one box do not coincide with |
| 1917 |
the dashes on the top of the adjacent box below it. Rather than |
| 1918 |
using \option{inner style=dashed} it is better to use something like |
| 1919 |
\option{inner style=\{dash pattern=on 1pt off 2pt\}}. |
| 1920 |
|
| 1921 |
\begin{example}{tableauInnerStyle} |
| 1922 |
\Tableau[inner style={dash pattern=on 1pt off 2pt}] |
| 1923 |
{123,455} |
| 1924 |
\end{example} |
| 1925 |
|
| 1926 |
Use \option{inner wall=none} to remove the inner tableau walls. Alternatively, use |
| 1927 |
the \option{no boxes} key. |
| 1928 |
|
| 1929 |
\begin{example}{tableauInnerWallNone} |
| 1930 |
\Tableau[ukrainian, inner wall=none]{123,45,67} \qquad |
| 1931 |
\Tableau[ukrainian, no boxes]{123,45,67} |
| 1932 |
\end{example} |
| 1933 |
|
| 1934 |
\option[none]{label=text}[any character/text] |
| 1935 |
\option*[font=\textbackslash scriptsize, text=\aTableauColour{Inner}]{label style=style}[\TikZ-styling] |
| 1936 |
|
| 1937 |
The \option{label} key adds a label to a tableau next to the |
| 1938 |
$(1,1)$-box. The style of the label can |
| 1939 |
be changed using the \option{label style} key. |
| 1940 |
|
| 1941 |
\begin{example}{tableauLabel} |
| 1942 |
\Tableau[ukrainian, label={\mathtt{t}}]{13,25,4} \quad |
| 1943 |
\Tableau[french, label=0, label style={red}]{13,5} \quad |
| 1944 |
\Tableau[label style={draw=orange,circle, inner sep=0pt, |
| 1945 |
minimum size=2mm}, label=1] {12,35,5} |
| 1946 |
\end{example} |
| 1947 |
|
| 1948 |
Like tableau entries, the \option{label} is typeset in mathematics |
| 1949 |
mode. |
| 1950 |
|
| 1951 |
\option[true]{math boxes}[true/false] |
| 1952 |
\option*[false]{text boxes}[true/false] |
| 1953 |
|
| 1954 |
Use the \option{math boxes} and \option{text boxes} keys to have |
| 1955 |
the tableau entries typeset in either mathematics mode or text mode, |
| 1956 |
respectively. By default, the entries of a tableau are typeset in |
| 1957 |
mathematics mode. |
| 1958 |
|
| 1959 |
\begin{example}{tableauMathBoxes} |
| 1960 |
\Tableau[math boxes]{ABCD, efg, HI}\qquad% the default |
| 1961 |
\Tableau[text boxes]{ABCD, efg, HI} |
| 1962 |
\end{example} |
| 1963 |
|
| 1964 |
\option[A]{name=text}[string] |
| 1965 |
|
| 1966 |
By default, the boxes can be referenced using the node names |
| 1967 |
\textsf{(A-1-1)}, \textsf{(A-1-2)}, \textsf{(A-1-3)}, \dots, with |
| 1968 |
\textsf{(A-$r$-$c$)} referring to the box in row~$r$ and column~$c$. |
| 1969 |
Use \option{name} to change the \emph{prefix} \textsf{A} to anything |
| 1970 |
that you like. This feature is most useful when you have several |
| 1971 |
tableaux inside a \keyword{tikzpicture} environment because you can |
| 1972 |
refer to boxes in the different diagrams by giving each tableau a |
| 1973 |
different \option{name}. If you only have one tableau, then you do |
| 1974 |
not normally need to change the default prefix for the node names. See |
| 1975 |
\autoref{E:NodeNames} for a description of the extended anchor names. |
| 1976 |
For other examples using node names and anchors see \autoref{Ex:diagramNames}, |
| 1977 |
\autoref{Ex:tableauTikzpicture}, \autoref{Ex:tableauUpDown} and \autoref{Ex:multiKLRW}. |
| 1978 |
|
| 1979 |
\option[]{paths=ribbon specifications}[list of paths] |
| 1980 |
\option*[]{path style=style}[\TikZ-styling] |
| 1981 |
|
| 1982 |
Use the \option{paths} key to add a comma-separated list of |
| 1983 |
\emph{ribbon paths} to the tableau. This allows you to draw certain |
| 1984 |
types of paths inside your tableaux and diagrams. |
| 1985 |
|
| 1986 |
Ribbon paths are specified using the \keyword{\RibbonTableau} syntax. |
| 1987 |
You first specify the row and column indices of the \emph{head} |
| 1988 |
of the ribbon, which is the unique node of maximal content in the |
| 1989 |
ribbon, and then give a sequence of \textsf{r}'s and \textsf{c}'s |
| 1990 |
depending on whether the row index increases or the column index |
| 1991 |
decreases, respectively. As always, you have the option of adding |
| 1992 |
style --- and you can also specify the contents of each box in the |
| 1993 |
ribbon. For more details about the ribbon specifications, with |
| 1994 |
examples, see \autoref{S:RibbonTableaux}, which describes the |
| 1995 |
\keyword{\RibbonTableau} command. |
| 1996 |
|
| 1997 |
\begin{example}{tableauPaths} |
| 1998 |
\Tableau[styles={R={red,thick}, C={cyan,thick}}, |
| 1999 |
paths={(R)14ccrc,(C)23rcc}]{1234,567,89{10}} |
| 2000 |
\end{example} |
| 2001 |
|
| 2002 |
The \option{path style} key changes the default style of the path: |
| 2003 |
|
| 2004 |
\begin{example}{tableauPathsStyle} |
| 2005 |
\Tableau[styles={R={red,thick}, C={cyan,thick}}, |
| 2006 |
paths={(R)14ccrc,(C)23rcc}, |
| 2007 |
path style={rounded corners}]{1234,567,89{10}} |
| 2008 |
\end{example} |
| 2009 |
|
| 2010 |
\option[]{path box=text}[a node entry] |
| 2011 |
\option*[]{path box style=style}[\TikZ-styling] |
| 2012 |
|
| 2013 |
The \option{path box} sets the default entry for every box on a path. |
| 2014 |
The \option{path box} is only used if you have not specified a box |
| 2015 |
entry as a subscript in the path/ribbon specification. This key is |
| 2016 |
useful if you want to mark all of the boxes in every path with the |
| 2017 |
same symbol. |
| 2018 |
|
| 2019 |
\begin{example}{tableauPathBox} |
| 2020 |
% \usepackage{MnSymbol} |
| 2021 |
\aTabset{styles={R={red,text=red,thick}, |
| 2022 |
C={cyan,text=cyan,thick}}} |
| 2023 |
\Tableau[path box=\bigcircle, |
| 2024 |
paths={(R)14ccrc,(C)23rcc}, |
| 2025 |
]{1234,567,89{10}} |
| 2026 |
\end{example} |
| 2027 |
|
| 2028 |
Use \option{path box style} to change the style of the boxes in |
| 2029 |
the path. |
| 2030 |
|
| 2031 |
\begin{example}{tableauPathBoxStyle} |
| 2032 |
\Tableau[styles={R={red,thick}, C={cyan,thick}}, |
| 2033 |
paths={(R)14ccrc,(C)23rcc}, |
| 2034 |
path box style={draw,circle, minimum size=4mm} |
| 2035 |
]{1234,567,89{10}} |
| 2036 |
\end{example} |
| 2037 |
|
| 2038 |
By combining \option{path box style} and \option{path style}, you can |
| 2039 |
``decorate'' the boxes on a path. |
| 2040 |
|
| 2041 |
\begin{example}{tableauPathBoxStyleCircle} |
| 2042 |
\Tableau[styles={R={red,thick}, C={cyan,thick}}, |
| 2043 |
paths={(R)14ccrc,(C)23rcc}, |
| 2044 |
path box style={draw,circle, minimum size=4mm}, |
| 2045 |
path style={draw=none}, |
| 2046 |
]{1234,567,89{10}} |
| 2047 |
\end{example} |
| 2048 |
|
| 2049 |
Another way to do this is to change the style of the individual paths, |
| 2050 |
which gives more control because different paths can be given |
| 2051 |
different styling. |
| 2052 |
|
| 2053 |
\begin{example}{tableauPathsBoxStyle} |
| 2054 |
\Tableau[styles={R={draw=none,text=red,thick}, |
| 2055 |
C={cyan,thick}}, |
| 2056 |
paths={(R)14ccrc,(C)23rcc}, |
| 2057 |
path box style={draw,circle, minimum size=4mm}, |
| 2058 |
]{1234,567,89{10}} |
| 2059 |
\end{example} |
| 2060 |
|
| 2061 |
\option[]{ribbons=ribbon specifications}[list of ribbons] |
| 2062 |
\option*[]{ribbon box=text}[A node entry] |
| 2063 |
\option*[]{ribbon box style=style}[\TikZ-styling] |
| 2064 |
\option*[draw=\aTableauColour{Inner}, thin]{ribbon style=style}[\TikZ-styling] |
| 2065 |
|
| 2066 |
Use the \option{ribbons} key to add a comma-separated list of |
| 2067 |
\emph{ribbons} to a tableau. The ribbon specifications are identical |
| 2068 |
to those used for \option{paths}. For more details, see |
| 2069 |
\autoref{S:RibbonTableaux}, which describes the |
| 2070 |
\keyword{\RibbonTableau} command. |
| 2071 |
|
| 2072 |
The \option{ribbons} key works in almost exactly the same way |
| 2073 |
as the \option{paths} key, with the difference being that we are |
| 2074 |
adding ribbons to the tableau rather than lines. The |
| 2075 |
\option{ribbon style} key controls the default ribbon style. The |
| 2076 |
\option{ribbon box} and \option{ribbon box style} keys work in the |
| 2077 |
same way as \option{path box} and \option{path box style}, |
| 2078 |
respectively. |
| 2079 |
|
| 2080 |
\TikZ-styling can be added to ribbons using \option{ribbon style} and |
| 2081 |
\option{ribbon box style}. The \option{ribbon style} changes the |
| 2082 |
default style of the entire ribbon, whereas \option{ribbon box style} |
| 2083 |
changes the default style of the individual boxes in the ribbon. |
| 2084 |
|
| 2085 |
\begin{example}{tableauRibbons} |
| 2086 |
\Tableau[ribbon style={fill=blue!20,opacity=0.4}, |
| 2087 |
ribbons={22rc}]{123,45,67} |
| 2088 |
\end{example} |
| 2089 |
|
| 2090 |
Use \option{ribbon box style} to change the default style of the boxes |
| 2091 |
in a ribbon. For example, the following code uses ribbons of |
| 2092 |
length~$1$ (that is, boxes), to highlight the addable boxes of this |
| 2093 |
tableau. |
| 2094 |
|
| 2095 |
\begin{example}{tableauRibbonStyle} |
| 2096 |
\Tableau[tableau star={fill=green!80!blue,text=white}, |
| 2097 |
ribbon style={fill=yellow,text=red}, |
| 2098 |
ribbons={15_A,24_B,42_C,51_D}, |
| 2099 |
]{123*4,567,89*{10},*{11}} |
| 2100 |
\end{example} |
| 2101 |
|
| 2102 |
As this example indicates, ribbons are assumed to be contained inside |
| 2103 |
the diagram of the tableau, so they do not change the border of a |
| 2104 |
tableau. |
| 2105 |
|
| 2106 |
\option[]{snobs=ribbon specifications}[list snobs] |
| 2107 |
\option*[]{snob box=text}[A node entry] |
| 2108 |
\option*[]{snob box style=style}[\TikZ-styling] |
| 2109 |
\option*[draw=\aTableauColour{Inner}, thin]{snob style=style}[\TikZ-styling] |
| 2110 |
|
| 2111 |
Use \option{snobs} to add ribbons to the tableau, which are ribbons |
| 2112 |
that are placed \textit{after} the border of the diagram is drawn. |
| 2113 |
(Writing \textit{ribbons} backwards gives \textit{snob}bir.) The |
| 2114 |
\option{snob style} key controls the default style of snobs. |
| 2115 |
|
| 2116 |
\begin{example}{tableauSnobs} |
| 2117 |
\Tableau[tableau star={fill=green!80!blue, text=white}, |
| 2118 |
snob style={fill=yellow, text=red}, |
| 2119 |
snobs={15_A,24_B,42_C,51_D}, |
| 2120 |
]{123*4,567,89*{10},*{11}} |
| 2121 |
\end{example} |
| 2122 |
|
| 2123 |
The difference between this pictures and the one given above using |
| 2124 |
\option{ribbons} is that \option{snobs} are drawn \textit{after} |
| 2125 |
the tableau border, which causes the border to disappear for these |
| 2126 |
nodes. For this reason, in most cases you should normally avoid |
| 2127 |
\option{snobs} and use \option{ribbons}. This said, \option{snobs} are |
| 2128 |
exactly what are needed in \autoref{Ex:multiGarnir}. |
| 2129 |
|
| 2130 |
Since snobs are placed after the tableau is drawn, they provide a way |
| 2131 |
to add content outside of the tableau or diagram, as shown by the |
| 2132 |
following picture. |
| 2133 |
|
| 2134 |
\begin{example}{diagramSnobBox} |
| 2135 |
\Diagram[entries=contents, snob style={draw=none}, |
| 2136 |
snob box=\hspace*{3mm}\cdots, |
| 2137 |
snobs={16, 26, 36, 46, 61_\vdots, 62_\vdots} |
| 2138 |
] {5^5} |
| 2139 |
\end{example} |
| 2140 |
|
| 2141 |
The \option{snob box} and \option{snob box style} keys work in the |
| 2142 |
same way as the \option{path box} and \option{ribbon box}, and |
| 2143 |
\option{path box style} and \option{ribbon box style}, keys. |
| 2144 |
|
| 2145 |
\option[0]{rotate=angle}[angle in degrees] |
| 2146 |
|
| 2147 |
The \option{rotate} key rotates the tableau (diagram, or abacus), |
| 2148 |
through the specified number of \textit{degrees} in an anti-clockwise |
| 2149 |
direction around the outside vertex of the box in row~$1$ and |
| 2150 |
column~$1$. |
| 2151 |
|
| 2152 |
\begin{example}{tableauRotate} |
| 2153 |
\Tableau[rotate=0]{123,45} \quad |
| 2154 |
\Tableau[rotate=45]{123,45} \space |
| 2155 |
\Tableau[rotate=160]{123,45} |
| 2156 |
\end{example} |
| 2157 |
|
| 2158 |
Only the boxes in the tableau, not their entries, are rotated. Only |
| 2159 |
one \option{rotate} key should be used in any given picture. For |
| 2160 |
efficiency reasons, the tableau conventions, such as |
| 2161 |
\option{ukrainian} and \option{australian}, should be used in |
| 2162 |
preference to the \option{rotate} key. |
| 2163 |
|
| 2164 |
\option[1]{scale=number}[a decimal number] |
| 2165 |
\option*[1]{xscale=number}[a decimal number] |
| 2166 |
\option*[1]{yscale=number}[a decimal number] |
| 2167 |
|
| 2168 |
By design, boxes in tableaux do not automatically resize to fit |
| 2169 |
their contents. For example, consider: |
| 2170 |
|
| 2171 |
\begin{example}{tableauNotScaled} |
| 2172 |
\Tableau{ 13{10}{11}{1+x}, 2{1+x} } |
| 2173 |
\end{example} |
| 2174 |
|
| 2175 |
This is unlikely to be the desired output! The options \option{scale}, |
| 2176 |
\option{xscale}, and \option{yscale} can be used to rescale the boxes |
| 2177 |
in tableaux and diagrams. The names are slightly misleading because |
| 2178 |
\option{xscale} rescales in the direction of increasing column index |
| 2179 |
and \option{yscale} rescales in the direction of increasing row index. |
| 2180 |
|
| 2181 |
\begin{example}{tableauScaled} |
| 2182 |
\Tableau[scale=2]{ 13{10}{11}{1+x}, 2{1+x} } |
| 2183 |
\end{example} |
| 2184 |
|
| 2185 |
\begin{example}{tableauXScale} |
| 2186 |
\Tableau[xscale=2]{ 13{10}{11}{1+x}, 2{1+x} } |
| 2187 |
\end{example} |
| 2188 |
|
| 2189 |
When using the \textsf{australian} and \textsf{ukrainian} conventions, |
| 2190 |
\option{xscale} and \option{yscale} scale in both the \textsf{x} |
| 2191 |
direction and the \textsf{y}-direction, reflecting how these tableaux |
| 2192 |
grow with increasing column and row index, respectively. |
| 2193 |
|
| 2194 |
\begin{example}{tableauXScaleUkrainian} |
| 2195 |
\Tableau[ukrainian, xscale=2]{ 13{10}{11}{1+x}, 2{1+x} } |
| 2196 |
\end{example} |
| 2197 |
|
| 2198 |
\begin{example}{tableauXScaleFrench} |
| 2199 |
\Tableau[french, xscale=2]{ 13{10}{11}{1+x},2{1+x} } |
| 2200 |
\end{example} |
| 2201 |
|
| 2202 |
\begin{warning} |
| 2203 |
When used with \keyword{\aTabset}, \option{scale}, \option{xscale}, |
| 2204 |
and \option{yscale}, affect all \aTableau pictures, including |
| 2205 |
abacuses. For this reason, it is better to use \keyword{\aTabset} to |
| 2206 |
set the \option{box height} and \option{box width} sizes if you only |
| 2207 |
want to change the default sizes of the diagrams and tableaux in |
| 2208 |
your document. |
| 2209 |
\end{warning} |
| 2210 |
|
| 2211 |
\begin{warning} |
| 2212 |
If you use an \aTableau command inside a \keyword{tikpicture} |
| 2213 |
environment that is \textit{scaled} using |
| 2214 |
\begin{quote} |
| 2215 |
\keyword{\begin{tikzpicture}[scale=?]...\end{tikzpicture}} |
| 2216 |
\end{quote} |
| 2217 |
then you will almost certainly need to use the same \option{scale} |
| 2218 |
key with the \aTableau command because the \TikZ \keyword{scale} key |
| 2219 |
does not scale individual objects in the environment. |
| 2220 |
Alternatively, you can use \keyword{transform canvas={scale=?}} in the |
| 2221 |
\keyword{tikzpicture}. |
| 2222 |
\end{warning} |
| 2223 |
|
| 2224 |
\option[0.5]{script=value}[decimal number] |
| 2225 |
\option*[0.4]{scriptscript=value}[decimal number] |
| 2226 |
|
| 2227 |
Even though this is rarely needed, tableaux and diagrams can be used |
| 2228 |
as subscripts and superscripts. The package automatically rescales |
| 2229 |
tableau when they are used as subscripts and superscripts, with the |
| 2230 |
\option{script} and \option{scriptscript} keys giving finer control |
| 2231 |
over the sizes of subscripts and subsubscripts, respectively. The |
| 2232 |
values of the \option{scale}, \option{xscale} and \option{yscale} keys |
| 2233 |
are taken into account by these keys. |
| 2234 |
|
| 2235 |
\begin{example}{tableauSubscript} |
| 2236 |
$v_{\Tableau{123,45}}$ \qquad% the default |
| 2237 |
$v_{\Tableau[script=0.3, xscale=2]{123,45}}$ |
| 2238 |
\end{example} |
| 2239 |
|
| 2240 |
\option[false]{shifted}[true/false] |
| 2241 |
|
| 2242 |
Set to \textsf{true} for a shifted tableau or shifted diagram. Shifted |
| 2243 |
tableaux, and shifted diagrams, are discussed in more detail in |
| 2244 |
\autoref{S:Shifted}, which describes the \keyword{\ShiftedDiagram} and |
| 2245 |
\keyword{\ShiftedTableau} commands, which produce pictures like the |
| 2246 |
following: |
| 2247 |
|
| 2248 |
\begin{example}{tableauShifted} |
| 2249 |
\Tableau[shifted]{123,45} \qquad |
| 2250 |
\Diagram[shifted]{3,2^2} |
| 2251 |
\end{example} |
| 2252 |
|
| 2253 |
Equivalently, the commands \keyword{\ShiftedTableau{123,45}} and |
| 2254 |
\keyword{\ShiftedDiagram{2^2,1}{3,2^2}}, respectively, can be used for |
| 2255 |
these two pictures. See \autoref{S:Shifted} for the options specific |
| 2256 |
to shifted tableaux and shifted diagrams. |
| 2257 |
|
| 2258 |
\option[fill=\aTableauColour{Star}]{tableau star=style}[\TikZ-styling] |
| 2259 |
|
| 2260 |
Use \option{tableau star} to change the style of the starred entries |
| 2261 |
of a tableau. (In \TikZ parlance, \option{tableau star} \emph{appends} |
| 2262 |
these styles to the default \option{tableau star}.) |
| 2263 |
|
| 2264 |
\begin{example}{tableauStarStyleText} |
| 2265 |
\Tableau[tableau star={text=magenta, draw=cyan, thick}] |
| 2266 |
{1*2*3,4*5} \qquad |
| 2267 |
\Tableau[tableau star={fill=orange!50}]{1*2*3,4*5} |
| 2268 |
\end{example} |
| 2269 |
|
| 2270 |
Note that the tableau border is drawn \textit{after} the |
| 2271 |
\option{tableau star} is applied. You can use \option{snobs} to draw |
| 2272 |
over the top of the border. |
| 2273 |
|
| 2274 |
\option[]{styles=\TikZ-styles}[List of styles] |
| 2275 |
|
| 2276 |
The \option{styles} key is a shorthand for defining \TikZ-styles that |
| 2277 |
are used in the current picture. For example, instead of writing |
| 2278 |
|
| 2279 |
\begin{example}{tableauFrenchStyle} |
| 2280 |
\tikzset{ |
| 2281 |
B/.style={fill=blue!40, text=yellow}, |
| 2282 |
G/.style={fill=green!80!blue,circle,minimum size=5mm}, |
| 2283 |
R/.style={fill=red,text=white, font=\tiny}, |
| 2284 |
Y/.style={fill=yellow!20, text=blue} |
| 2285 |
} |
| 2286 |
\Tableau[french]{[R]1[B]2,[G]3,[Y]4} |
| 2287 |
\end{example} |
| 2288 |
|
| 2289 |
you can save some typing using the \option{styles} key: |
| 2290 |
|
| 2291 |
\begin{example}{tableauFrenchStyles} |
| 2292 |
\Tableau[french, styles={ |
| 2293 |
B={fill=blue!40, text=yellow}, |
| 2294 |
G={fill=green!80!blue,circle,minimum size=5mm}, |
| 2295 |
R={fill=red,text=white, font=\tiny}, |
| 2296 |
Y={fill=yellow!20, text=blue}, |
| 2297 |
}]{[R]1[B]2,[G]3,[Y]4} |
| 2298 |
\end{example} |
| 2299 |
|
| 2300 |
Styles defined this way will only be available in the current picture. |
| 2301 |
Use \keyword{\tikzset} to define styles that are likely to be used |
| 2302 |
more than once. Alternatively, you can use \keyword{\aTabset{styles={...}}}. |
| 2303 |
|
| 2304 |
\option[false]{tabloid}[true/false] |
| 2305 |
|
| 2306 |
Use the \option{tabloid} key to draw a tabloid. This key is discussed in |
| 2307 |
more detail in \autoref{S:Tabloid}, which describes the |
| 2308 |
\keyword{\Tabloid} command. |
| 2309 |
|
| 2310 |
\begin{example}{tableauTabloid} |
| 2311 |
\Tableau[tabloid]{123,45} \qquad |
| 2312 |
\Diagram[tabloid]{3,2^2} |
| 2313 |
\end{example} |
| 2314 |
|
| 2315 |
Equivalently, the command \keyword{\Tabloid{123,45}} can be used for |
| 2316 |
the first of these pictures. See \autoref{S:Tabloid} for the options |
| 2317 |
specific to tabloids. |
| 2318 |
|
| 2319 |
\option[]{tikz before=\TikZ commands}[\TikZ commands] |
| 2320 |
\option*[]{tikz after=\TikZ commands}[\TikZ commands] |
| 2321 |
|
| 2322 |
These keys inject \TikZ code into the underlying \keyword{tikzpicture} |
| 2323 |
environment, where the tableau is constructed, before and after the |
| 2324 |
\keyword{\Tableau} command, respectively. |
| 2325 |
|
| 2326 |
\begin{example}[lefthand width=0.24\textwidth]{tableauTikzBefore} |
| 2327 |
\Tableau[ |
| 2328 |
tikz before={\draw[help lines, step=0.5](-0.5,-2)grid(2,0.5);}, |
| 2329 |
tikz after={\draw[ultra thick, red] |
| 2330 |
(A-1-3.north east)--(A-1-3.south east) |
| 2331 |
--(A-2-1.north east)--(A-3-1.south east) |
| 2332 |
--(A-3-1.south west); |
| 2333 |
}]{134,567,89} |
| 2334 |
\end{example} |
| 2335 |
|
| 2336 |
Both before and after hooks are provided because the order in which |
| 2337 |
you place \TikZ commands affects the final picture because later commands |
| 2338 |
are drawn over the top of earlier ones. Note that the \emph{before} |
| 2339 |
code cannot use the named nodes \textsf{A-r-c} because this code is |
| 2340 |
executed before these nodes are constructed, which happens when the |
| 2341 |
tableau is drawn. For more examples, see \autoref{SS:order}. |
| 2342 |
|
| 2343 |
\option[]{tikzpicture=keys}[\TikZ-keys] |
| 2344 |
|
| 2345 |
This command adds an optional argument to the underlying |
| 2346 |
\keyword{tikzpicture} environment, which contains the tableau. The |
| 2347 |
\option{tikzpicture} option is ignored when the \keyword{\Tableau} |
| 2348 |
command is equipped with $(x,y)$-coordinates. |
| 2349 |
|
| 2350 |
An interesting application of the \option{tikzpicture} key is for |
| 2351 |
annotating a tableau. Consider: |
| 2352 |
|
| 2353 |
\begin{example}[lefthand width=0.3\textwidth]{tableauTikzpicture} |
| 2354 |
\Tableau[ukrainian, |
| 2355 |
tikzpicture={remember picture}] |
| 2356 |
{ 1[fill=blue!20]23[text=red]45, |
| 2357 |
6*78[draw=cyan,ultra thick]9, |
| 2358 |
[circle,fill=orange]{10}*{11}{12}, |
| 2359 |
[dashed,draw=red,ultra thick]{13} |
| 2360 |
} |
| 2361 |
\end{example} |
| 2362 |
|
| 2363 |
Recalling the \option{name} key, the nodes in this tableau are |
| 2364 |
referenced as \textsf{(A-1-1)}, \textsf{(A-1-2)}, \textsf{(A-1-3)}, |
| 2365 |
\dots. Since \autoref{Ex:tableauTikzpicture} uses \textit{remember picture}, other |
| 2366 |
\keyword{tikzpicture} environments can reference the node names in the |
| 2367 |
last tableau, which allows us to refer back to the tableau above using: |
| 2368 |
|
| 2369 |
\vspace*{3mm} |
| 2370 |
|
| 2371 |
\begin{example}[lefthand width=0.3\textwidth]*{tableauOverlay} |
| 2372 |
\tikz[remember picture, overlay] |
| 2373 |
\draw[very thick, ->, red] |
| 2374 |
(0,0) node[right,align=left] |
| 2375 |
{This circle is too big!\\Use minimum size=5mm} |
| 2376 |
to [out=135, in=225](A-3-1); |
| 2377 |
\end{example} |
| 2378 |
|
| 2379 |
(See the \ctan{tikzmark} package for extensions of this idea.) |
| 2380 |
|
| 2381 |
% -------------------------------------------------------------- |
| 2382 |
\subsubsection{Compositions} |
| 2383 |
\index{composition} |
| 2384 |
|
| 2385 |
As we have defined them, tableaux are always of \textit{partition} |
| 2386 |
shape, in the sense that the lengths of the rows form a weakly |
| 2387 |
decreasing sequence. In fact, the \keyword{\Tableau} command also |
| 2388 |
accepts tableaux of \emph{composition} shape, where the lengths of the |
| 2389 |
rows are not necessarily in decreasing order. Diagrams and tableau of |
| 2390 |
composition shape are drawn in exactly the same way as those of |
| 2391 |
partition shape. |
| 2392 |
|
| 2393 |
\begin{example}{tableauCompositions} |
| 2394 |
\Tableau{ 45,2751,31 } \qquad |
| 2395 |
\SkewTableau{1,2}{ 45,27,31 } |
| 2396 |
\end{example} |
| 2397 |
|
| 2398 |
Even though it is possible to draw compositions and tableaux of |
| 2399 |
composition shape, compositions are not supported in the sense that |
| 2400 |
many of the options/keys assume that the diagrams are of partition |
| 2401 |
shape. In addition, some options assume that tableaux and diagrams do |
| 2402 |
not contain empty rows and that the diagrams are \textit{connected}, |
| 2403 |
in the sense that their boundary can be drawn without lifting the pen |
| 2404 |
off the page. (For disconnected tableaux and diagrams, see the |
| 2405 |
\keyword{\Multidiagram} and \keyword{\Multitableau} commands in |
| 2406 |
\autoref{S:Multitableau}.) |
| 2407 |
|
| 2408 |
% -------------------------------------------------------------- |
| 2409 |
\subsubsection{Drawing order} |
| 2410 |
\label{SS:order} |
| 2411 |
\index{tableau!drawing order} |
| 2412 |
|
| 2413 |
When \TikZ constructs a picture, later objects are drawn over the top |
| 2414 |
of earlier ones, which can obscure earlier features. Consequently, |
| 2415 |
for more complicated diagrams and tableaux it helps to know the order |
| 2416 |
in which the different parts of these diagrams are drawn, which is the |
| 2417 |
following: |
| 2418 |
\begin{itemize}[nosep] |
| 2419 |
\item First, the tableau entries that use the default styling are |
| 2420 |
placed in the order that they appear in the \textit{tableau |
| 2421 |
specifications}. |
| 2422 |
\item Secondly, the styled tableau entries are placed in the order |
| 2423 |
that they appear in the \textit{tableau specifications}. |
| 2424 |
\item Next, the nodes in any \option{ribbons} and ribbon |
| 2425 |
\option{paths} are placed, again in the order that the ribbons are |
| 2426 |
listed. For each ribbon, first the border of the ribbon is drawn, |
| 2427 |
together with any styling for the ribbon, and then the boxes in the |
| 2428 |
ribbon, together with any styling, are added. |
| 2429 |
\item The border of the tableau is drawn, including the cover and |
| 2430 |
skew borders when they are enabled by \option{cover border} and |
| 2431 |
\option{skew border}, respectively. |
| 2432 |
\item The \option{dotted rows} and \option{dotted cols} keys |
| 2433 |
replace the specified rows and columns with dots. |
| 2434 |
\item Finally, any \option{snobs} are drawn in the order that they are listed. |
| 2435 |
\end{itemize} |
| 2436 |
|
| 2437 |
All of the tableau and Young diagram commands use this drawing order. |
| 2438 |
|
| 2439 |
% -------------------------------------------------------------- |
| 2440 |
\subsubsection{Special characters} |
| 2441 |
\index{tableau!special characters} |
| 2442 |
\index{tableau!comma} |
| 2443 |
\index{tableau!*} |
| 2444 |
\index{tableau![} |
| 2445 |
|
| 2446 |
The three characters\space |
| 2447 |
\keyword[width=1.5em,height=1em]{,} \space |
| 2448 |
\keyword[width=1.5em,height=1em]{*} \space |
| 2449 |
\keyword[width=1.5em,height=1em]{[} \space |
| 2450 |
each has a special meanings in the \textit{tableau specifications}. |
| 2451 |
Enclose these characters in braces if you want to use these characters as |
| 2452 |
entries in a tableau: |
| 2453 |
|
| 2454 |
\begin{example}{tableauSpecial} |
| 2455 |
\Tableau{ 13{,}5], 8{[}, {*} } |
| 2456 |
\end{example} |
| 2457 |
|
| 2458 |
There is no need to enclose~\keyword{]} in braces because it only |
| 2459 |
becomes special when there is a matching~\keyword{[}, which is |
| 2460 |
not surrounded by braces. |
| 2461 |
|
| 2462 |
% -------------------------------------------------------------- |
| 2463 |
\subsection{Young diagrams} |
| 2464 |
\label{S:Diagram} |
| 2465 |
\indexcmd{Diagram} |
| 2466 |
\index{young diagram@Young diagram|see{diagram}} |
| 2467 |
\index{diagram} |
| 2468 |
\index{diagram} |
| 2469 |
\index{partition!diagram} |
| 2470 |
|
| 2471 |
A \emph{Young diagram}, or simply a \emph{diagram}, is an unlabelled |
| 2472 |
tableau. Diagrams can be drawn using the \keyword{\Tableau} command: |
| 2473 |
|
| 2474 |
\begin{example}{tableauDiagram} |
| 2475 |
\Tableau{~~~,~~~,~~,~} |
| 2476 |
\end{example} |
| 2477 |
|
| 2478 |
This approach works, but it is cumbersome, hard to proofread, and easy |
| 2479 |
to get wrong. For this reason, \aTableau provides the |
| 2480 |
\keyword{\Diagram} command. The \keyword{\Diagram} command uses |
| 2481 |
almost the same syntax as the \keyword{\Tableau} command: |
| 2482 |
|
| 2483 |
\keyword{\Diagram (x,y) [options] {partition}} |
| 2484 |
|
| 2485 |
Like the \keyword{\Tableau} command, the $(x,y)$-coordinates are |
| 2486 |
needed if, and only if, the diagram is inside a \keyword{tikzpicture} |
| 2487 |
environment. The \keyword{\Diagram} command allows the |
| 2488 |
\emph{partition} to be specified as either a comma-separated list of |
| 2489 |
\emph{weakly decreasing positive integers}, or using \emph{exponential |
| 2490 |
notation}: |
| 2491 |
\index{exponential notation} |
| 2492 |
\index{partition!exponential notation} |
| 2493 |
\index{diagram!exponential notation} |
| 2494 |
|
| 2495 |
\begin{example}{diagram} |
| 2496 |
\Diagram{4,3^2,1^3} \qquad |
| 2497 |
\Diagram{4,3,3,1^2} |
| 2498 |
\end{example} |
| 2499 |
|
| 2500 |
Internally, \keyword{\Diagram} actually does something like the first |
| 2501 |
example in this section, so all of the options for the |
| 2502 |
\keyword{\Tableau} command can be used with \keyword{\Diagram}. Rather |
| 2503 |
than repeating all of the \keyword{\Tableau} options in this section, |
| 2504 |
we highlight the keys that are more interesting for diagrams, together with |
| 2505 |
some new, diagram-specific, keys. |
| 2506 |
|
| 2507 |
\begin{samepage} |
| 2508 |
Just like the \keyword{\Tableau} command, \keyword{\Diagram} supports the |
| 2509 |
four different conventions for diagrams, with \option{english} being |
| 2510 |
the default: |
| 2511 |
|
| 2512 |
\option[-]{english} |
| 2513 |
\option*[]{french} |
| 2514 |
\option*[]{ukrainian} |
| 2515 |
\option*[]{australian} |
| 2516 |
\end{samepage} |
| 2517 |
|
| 2518 |
\begin{example}{diagramAustralian} |
| 2519 |
\Diagram[australian]{3,2,1} \qquad |
| 2520 |
\Diagram[australian]{3,1^3} |
| 2521 |
\end{example} |
| 2522 |
|
| 2523 |
\begin{example}{diagramEnglish} |
| 2524 |
% English is the default convention |
| 2525 |
\Diagram[english]{3,2,1} \qquad |
| 2526 |
\Diagram{3,1^3} |
| 2527 |
\end{example} |
| 2528 |
|
| 2529 |
\begin{example}{diagramFrench} |
| 2530 |
\Diagram[french]{3,2,1} \qquad |
| 2531 |
\Diagram[french]{3,1^3} |
| 2532 |
\end{example} |
| 2533 |
|
| 2534 |
\begin{example}{diagramUkrainian} |
| 2535 |
\Diagram[ukrainian]{3,2,1} \qquad |
| 2536 |
\Diagram[ukrainian]{3,1^3} |
| 2537 |
\end{example} |
| 2538 |
|
| 2539 |
\option[true]{border}[true/false] |
| 2540 |
\option*[false]{no border}[false/true] |
| 2541 |
|
| 2542 |
If \option{border} is true, which it is by default, then the border of |
| 2543 |
the tableau is drawn using slightly thicker lines than the internal |
| 2544 |
walls of the diagram. If \option{border} is false, then the border of |
| 2545 |
the tableau is not drawn. Notice that the border refers only to the |
| 2546 |
outside border of the diagram and not to the internal borders of the |
| 2547 |
boxes on the diagram, which can be disabled using \option{no boxes}. |
| 2548 |
|
| 2549 |
\begin{example}{diagramNoBorder} |
| 2550 |
\Diagram[border=false]{3,2,1} \qquad |
| 2551 |
\Diagram[no border, french]{3^2,1} |
| 2552 |
\end{example} |
| 2553 |
|
| 2554 |
The \option{no border} option, and similar options, are provided only |
| 2555 |
for completeness because it is the inverse of \option{border}. That |
| 2556 |
is, \option{no border} is equivalent to \option{border=false}, and |
| 2557 |
\option{no border=false} is equivalent to \option{border=true}. |
| 2558 |
|
| 2559 |
\option[true]{boxes}[true/false] |
| 2560 |
\option*[false]{no boxes}[false/true] |
| 2561 |
|
| 2562 |
The \option{boxes} and \option{no boxes} keys control whether or not |
| 2563 |
the internal walls around the boxes are drawn, with these two keys |
| 2564 |
being inverses of each other. By default, \option{boxes} is true, so |
| 2565 |
the internal boxes are drawn. When \option{no boxes} is in force |
| 2566 |
(equivalently, \option{boxes} is false), the internal walls around |
| 2567 |
boxes are not drawn. |
| 2568 |
|
| 2569 |
\begin{example}{diagramNoBoxes} |
| 2570 |
\Diagram[no boxes]{3,2,1} \qquad |
| 2571 |
\Tableau[french, no boxes, no border]{123,45} |
| 2572 |
\end{example} |
| 2573 |
|
| 2574 |
\option[false]{conjugate}[false/true] |
| 2575 |
|
| 2576 |
Draws the conjugate diagram, which has the rows and columns |
| 2577 |
interchanged. |
| 2578 |
|
| 2579 |
\begin{example}{diagramConjugate} |
| 2580 |
\Diagram[conjugate]{3,2,2} \qquad |
| 2581 |
\Diagram[ukrainian, conjugate]{2,1^3} |
| 2582 |
\end{example} |
| 2583 |
|
| 2584 |
\option[]{dotted cols=column indices}[comma-separated list of columns] |
| 2585 |
\option*[]{dotted rows=row indices}[comma-separated list of rows] |
| 2586 |
|
| 2587 |
The \option{dotted rows} and \option{dotted cols} keys draw diagrams |
| 2588 |
where the specified rows and columns are replaced with dots. This |
| 2589 |
makes it possible to draw \emph{generic} diagrams, where the number of |
| 2590 |
rows and columns are not specified completely. |
| 2591 |
|
| 2592 |
\begin{example}{diagramDottedRows} |
| 2593 |
\aTabset{scale=0.7} |
| 2594 |
\Diagram[dotted rows={2,4,5}]{4^2,2^2,1^3} \qquad |
| 2595 |
\Diagram[dotted cols={5,3,4}, |
| 2596 |
no boxes] {6,5,4,3,2,1} |
| 2597 |
\end{example} |
| 2598 |
|
| 2599 |
As this example suggests, if the row and column indices are in increasing |
| 2600 |
\textit{consecutive} order, then the corresponding rows or columns are |
| 2601 |
replaced as a block. Non-consecutive indices are treated separately. |
| 2602 |
|
| 2603 |
\begin{example}{diagramDottedCols} |
| 2604 |
\aTabset{scale=0.7, no boxes} |
| 2605 |
\Diagram[dotted rows={4,5,3}] {6,5,5,5,2,1} \qquad |
| 2606 |
\Diagram[dotted cols={5,3,4}] {6,5,5,5,2,1} |
| 2607 |
\end{example} |
| 2608 |
|
| 2609 |
\index{tableau!dotted rows} |
| 2610 |
\index{tableau!dotted cols} |
| 2611 |
The \option{dotted rows} and \option{dotted cols} keys work by |
| 2612 |
overwriting the content on the specified rows and columns, so |
| 2613 |
anything that was drawn in these rows and columns will disappear. The |
| 2614 |
\option{dotted rows} and \option{dotted cols} keys can be used with |
| 2615 |
the \keyword{\Tableau} command, with the caveat that this will remove |
| 2616 |
all boxes, with their contents, in the specified rows and columns. |
| 2617 |
|
| 2618 |
When the \option{dotted rows} and \option{dotted cols} keys are |
| 2619 |
used together, the \option{dotted rows} are applied first. |
| 2620 |
|
| 2621 |
\begin{example}{diagramDotted} |
| 2622 |
\Diagram[scale=0.7, no boxes, |
| 2623 |
dotted rows={4,5}, |
| 2624 |
dotted cols={4,5}, |
| 2625 |
] {6,5,5,5,2,1} |
| 2626 |
\end{example} |
| 2627 |
|
| 2628 |
When using these two keys together, you need to be careful when |
| 2629 |
choosing which rows and columns to remove because, sometimes, |
| 2630 |
artefacts can remain. Ideally, the endpoints of the rows and columns |
| 2631 |
being removed should not overlap. For example, consider the two |
| 2632 |
pictures: |
| 2633 |
|
| 2634 |
\begin{example}{diagramDottedColsTikz} |
| 2635 |
\aTabset{scale=0.7, no boxes} |
| 2636 |
\Diagram[dotted cols={3}]{6,5,5,5,2,1}\qquad |
| 2637 |
\Diagram[dotted cols={4,5,3}, dotted rows={4,5,3}, |
| 2638 |
tikz after={ \draw[red](0.9,-1.4)circle(0.2); } |
| 2639 |
]{6,5,5,5,2,1} |
| 2640 |
\end{example} |
| 2641 |
|
| 2642 |
The circled horizontal dots in the right-hand diagram are a ``user |
| 2643 |
error'', not a bug. The left-hand diagram shows that these dots come |
| 2644 |
from removing column~$3$, using the $3$ in \option{dotted cols}, because |
| 2645 |
this is done \emph{after} first removing rows 4--5 with |
| 2646 |
\option{dotted rows}. |
| 2647 |
|
| 2648 |
The \option{dotted rows} and \option{dotted cols} keys are not |
| 2649 |
designed to be used with the \option{conjugate} key. |
| 2650 |
|
| 2651 |
\option[]{ribbons=ribbon specifications}[list of ribbon specifications] |
| 2652 |
\option*[]{paths=ribbon specifications}[list of ribbon specifications] |
| 2653 |
\option*[]{snobs=ribbon specifications}[list of ribbon specifications] |
| 2654 |
|
| 2655 |
Use \option{ribbons}, \option{paths} and \option{snobs} to add |
| 2656 |
ribbons, ribbon paths and snobs to a diagram, respectively. The |
| 2657 |
\option{paths} and \option{ribbons} are drawn before the border of the |
| 2658 |
diagram is drawn, whereas the \option{snobs} are drawn after the border. |
| 2659 |
|
| 2660 |
\begin{example}{diagramRibbons} |
| 2661 |
\Diagram[french, ribbons={*22*c_4*r*r}]{3,2^2,1} \qquad |
| 2662 |
\end{example} |
| 2663 |
|
| 2664 |
As described in \autoref{S:Tabloid}, there are additional keys that |
| 2665 |
control the behaviour of \option{paths}, \option{ribbons} and |
| 2666 |
\option{snobs}. For example, the keys \option{path style}, |
| 2667 |
\option{path box} and \option{path box style} are associated to |
| 2668 |
\option{paths}. |
| 2669 |
|
| 2670 |
\begin{example}{diagramPaths} |
| 2671 |
\Diagram[ukrainian, inner style=dotted, |
| 2672 |
styles={b={fill=blue!20,opacity=0.4}, |
| 2673 |
R={red,text=red,thick}, |
| 2674 |
B={blue,text=blue,thick}, |
| 2675 |
}, path style={thick}, |
| 2676 |
path box=\bullet, |
| 2677 |
paths={(R)15rccrc[b]rc,(B)43[b]rcc} |
| 2678 |
]{5^2,3^3} |
| 2679 |
\end{example} |
| 2680 |
|
| 2681 |
A description of the ribbon specifications, with examples, can be |
| 2682 |
found in \autoref{S:RibbonTableaux}, which describes the |
| 2683 |
\keyword{\RibbonTableau} command. |
| 2684 |
|
| 2685 |
% -------------------------------------------------------------- |
| 2686 |
\subsubsection{Diagrams with entries}\label{SS:entries} |
| 2687 |
\index{contents} |
| 2688 |
\index{first tableau} |
| 2689 |
\index{hooks} |
| 2690 |
\index{last tableau} |
| 2691 |
\index{residues} |
| 2692 |
\index{first tableau} |
| 2693 |
\index{tableau!contents} |
| 2694 |
\index{tableau!first} |
| 2695 |
\index{tableau!hooks} |
| 2696 |
\index{tableau!last} |
| 2697 |
\index{tableau!residues} |
| 2698 |
|
| 2699 |
The \option{entries} key provides a shortcut for drawing some common |
| 2700 |
tableaux of a specified shape, where the entries follow a common |
| 2701 |
pattern. |
| 2702 |
|
| 2703 |
\option[]{entries=value}[contents, first, hooks, last, residues] |
| 2704 |
|
| 2705 |
The possible choices are: |
| 2706 |
|
| 2707 |
\begin{itemize} |
| 2708 |
|
| 2709 |
\item\option{entries=first}: Prints the \emph{first} |
| 2710 |
\textbf{standard} tableau of this shape, with respect to the Bruhat |
| 2711 |
order. This is the tableau that has the numbers $1,2\dots,n$ entered |
| 2712 |
in order along the rows by reading left to right along each row, with the |
| 2713 |
rows read in order from top to bottom. (That is, the boxes are |
| 2714 |
labelled using the total order where $(r,c)<(r',c')$ if $r<r'$ or |
| 2715 |
$r=r'$ and $c<c'$.) |
| 2716 |
|
| 2717 |
\begin{example}{diagramEntriesFirst} |
| 2718 |
\Diagram[entries=first]{3,2,2} \qquad |
| 2719 |
\Diagram[ukrainian, entries=first]{3^2,2} |
| 2720 |
\end{example} |
| 2721 |
\index{first tableau} |
| 2722 |
\index{tableau!first} |
| 2723 |
\index{entries!first} |
| 2724 |
|
| 2725 |
\item\option{entries=last}: Prints the \emph{last} \textbf{standard} |
| 2726 |
tableau of this shape, with respect to the Bruhat order. This is the |
| 2727 |
tableau that has the numbers $1,2\dots,n$ entered in order along the |
| 2728 |
columns by reading top to bottom down each column, with the columns |
| 2729 |
read in order from left to right. (That is, the boxes are labelled |
| 2730 |
using the total order where $(r,c)<(r',c')$ if $c<c'$ or $c=c'$ and |
| 2731 |
$r<r'$.) |
| 2732 |
|
| 2733 |
\begin{example}{diagramEntrieslast} |
| 2734 |
\Diagram[entries=last]{3,2,2} \qquad |
| 2735 |
\Diagram[australian, entries=last]{2^2,1} |
| 2736 |
\end{example} |
| 2737 |
\index{last tableau} |
| 2738 |
\index{tableau!last} |
| 2739 |
\index{entries!last} |
| 2740 |
|
| 2741 |
\item\option{entries=hooks}: Prints the diagram where each box is |
| 2742 |
labelled by the corresponding \emph{hook length}. If $\lambda$ is a |
| 2743 |
partition and $\lambda'$ is its conjugate partition, then the hook |
| 2744 |
length of the box in row~$i$ and column~$j$ is |
| 2745 |
$\lambda_i-i+\lambda'_j-j+1$. |
| 2746 |
|
| 2747 |
\index{tableau!hook lengths} |
| 2748 |
\index{hook lengths} |
| 2749 |
\index{entries!hook lengths} |
| 2750 |
|
| 2751 |
\begin{example}{diagramEntriesHooks} |
| 2752 |
\Diagram[entries=hooks]{3,2,2} \qquad |
| 2753 |
\Diagram[ukrainian, entries=hooks]{2^2,1} |
| 2754 |
\end{example} |
| 2755 |
|
| 2756 |
\item\option{entries=contents}: Prints the diagram where each box is |
| 2757 |
labelled by its \emph{content}, which is the row index minus the |
| 2758 |
column index. |
| 2759 |
|
| 2760 |
\begin{example}{diagramEntriesContents} |
| 2761 |
\Diagram[entries=contents]{2^3} \qquad |
| 2762 |
\Diagram[french, entries=contents]{2^2,1}\qquad |
| 2763 |
\Tableau[french]{01,{-1}0,{-2}} |
| 2764 |
\end{example} |
| 2765 |
\AddKeyLink{contents} |
| 2766 |
\AddKeyLink{residues} |
| 2767 |
\AddKeyLink{charge} |
| 2768 |
\index{tableau!contents} |
| 2769 |
\index{contents} |
| 2770 |
\index{entries!contents} |
| 2771 |
|
| 2772 |
\smallskip\noindent As shown by the last tableau, the default minus |
| 2773 |
sign for a negative number is too long when it appears inside a |
| 2774 |
tableau. To correct for this, \aTableau uses the |
| 2775 |
\keyword{\shortminus} command for negative content |
| 2776 |
values\cprotect\footnote{The \aTableau package only defines the |
| 2777 |
\keyword{\shortminus} command if it does not already exist. In this case, |
| 2778 |
the \keyword{\shortminus} command is defined using |
| 2779 |
\verb|\DeclareMathSymbol\shortminus{\mathbin}{AMSa}{"39}|.}. |
| 2780 |
More explicitly, in the second diagram above, \aTableau |
| 2781 |
uses~\keyword{\shortminus 1} instead of~\keyword{-1}, which look |
| 2782 |
like~$\shortminus1$ and~$-1$, respectively.\indexcmd{shortminus} |
| 2783 |
|
| 2784 |
\item\option{entries=residues}: Prints the diagram where each box is |
| 2785 |
labelled by its \emph{residue}, which is the row index minus the |
| 2786 |
column index modulo an integer~$e\ge2$, which must also be supplied. |
| 2787 |
|
| 2788 |
\index{residue} |
| 2789 |
\index{tableau!residues} |
| 2790 |
\index{affine quiver} |
| 2791 |
\begin{example}{diagramEntriesResidues} |
| 2792 |
\Diagram[entries=residues, e=2]{3,2,1} \qquad |
| 2793 |
\Diagram[french, entries=residues, e=3]{3,2,1} |
| 2794 |
\end{example} |
| 2795 |
|
| 2796 |
\noindent\AddKeyLink{cartan}\AddKeyLink{e}% By default, residue |
| 2797 |
sequences for affine type $A^{(1)}_{e-1}$, which correspond to the |
| 2798 |
symmetric group and friends, are used. Residues in affine types |
| 2799 |
$C^{(1)}_e$, $A^{(2)}_{2e}$ and $D^{(2)}_e$ are available |
| 2800 |
via \option{cartan=C}, \option{cartan=AA}, and \option{cartan=DD}, |
| 2801 |
respectively, where we (almost) follow the residue conventions from |
| 2802 |
\cite{MathasTubbenhauer:BAD}. |
| 2803 |
|
| 2804 |
\smallskip |
| 2805 |
\begin{example}{diagramEntriesResiduesC} |
| 2806 |
% affine type C : C^{(1)}_{e-1} |
| 2807 |
\Diagram[french, entries=residues, |
| 2808 |
e=2, cartan=C] {8,4,2} |
| 2809 |
\end{example} |
| 2810 |
|
| 2811 |
\begin{example}{diagramEntriesResiduesAA} |
| 2812 |
% twisted affine type A : A^{(2)}_{2e} |
| 2813 |
\Diagram[ukrainian, entries=residues, |
| 2814 |
e=2, cartan=AA] {8,4,2} |
| 2815 |
\end{example} |
| 2816 |
|
| 2817 |
\begin{example}{diagramEntriesResiduesDD} |
| 2818 |
% twisted affine type D : D^{(2)}_e |
| 2819 |
\Diagram[australian, entries=residues, |
| 2820 |
e=2, cartan=DD] {8,4,2} |
| 2821 |
\end{example} |
| 2822 |
|
| 2823 |
\end{itemize} |
| 2824 |
|
| 2825 |
Use \option{charge} to add offsets to the \option{contents} and \option{residues}, and |
| 2826 |
use \option{colours} for residue-compatible shadings. |
| 2827 |
|
| 2828 |
\begin{example}{diagramEntriesResiduesColours} |
| 2829 |
\Diagram[entries=contents, charge=2]{3,2,1} \qquad |
| 2830 |
\Diagram[entries=residues, charge=1, |
| 2831 |
colours={white,yellow,brown}]{3,2,1} |
| 2832 |
\end{example} |
| 2833 |
|
| 2834 |
% -------------------------------------------------------------- |
| 2835 |
\subsection{Skew tableaux and skew diagrams} |
| 2836 |
\label{S:Skew} |
| 2837 |
\indexcmd{SkewTableau} |
| 2838 |
\indexcmd{SkewDiagram} |
| 2839 |
\index{diagram!skew} |
| 2840 |
\index{partition!skew} |
| 2841 |
\index{tableau!skew} |
| 2842 |
|
| 2843 |
A partition $\nu$ is \emph{contained} in another partition $\lambda$, |
| 2844 |
written as~$\nu\subseteq\lambda$, if $\nu_k\le\lambda_k$, for |
| 2845 |
$k\ge0$. If $\nu\subseteq\lambda$ then the \emph{skew partition} |
| 2846 |
$\lambda/\nu=\set{(r,c)\in\lambda|(r,c)\notin\nu}$ is the set of nodes |
| 2847 |
that are in~$\lambda$ and not in~$\nu$. In this manual, $\nu$ is |
| 2848 |
the \emph{inner shape} and $\lambda$ is the \emph{outer shape}. A |
| 2849 |
\emph{skew tableau} is a labelling of the nodes in the diagram of a |
| 2850 |
skew partition. Skew partitions and skew tableaux can be drawn using |
| 2851 |
the commands: |
| 2852 |
|
| 2853 |
\keyword{\SkewDiagram (x,y) [options] {inner shape} {outer shape}}\newline |
| 2854 |
\keyword{\SkewTableau (x,y) [options] {inner shape} {skew tableau specifications}} |
| 2855 |
|
| 2856 |
\index{exponential notation} |
| 2857 |
As with the previous commands, the $(x,y)$--coordinates should be |
| 2858 |
given if, and only if, the picture is inside a \keyword{tikzpicture} |
| 2859 |
environment. The partitions for the inner and outer shapes can either |
| 2860 |
be given as a comma-separated list of non-negative integers, or using |
| 2861 |
exponential notation for repeated parts. |
| 2862 |
|
| 2863 |
Skew tableau and skew diagrams should always be connected. Use |
| 2864 |
\keyword{\Multidiagram} and \keyword{\Multitableau} to draw |
| 2865 |
disconnected diagrams. |
| 2866 |
|
| 2867 |
In fact, the \keyword{\SkewTableau} is just an alias for the |
| 2868 |
\keyword{\Tableau} command used with the \option{skew} key to set the inner |
| 2869 |
shape. For this reason, almost all of the options for the \keyword{\Tableau} |
| 2870 |
command can be used with \keyword{\SkewTableau}. The entries in a |
| 2871 |
\keyword{\SkewTableau} are specified in exactly the same way as in the |
| 2872 |
\keyword{\Tableau} command. In particular, the entries of skew |
| 2873 |
tableaux can, optionally, be given style prefixes, by either using a~$*$ to |
| 2874 |
add the current \option{tableau star}, or \keyword{[...]} to add |
| 2875 |
arbitrary \TikZ-styling. |
| 2876 |
|
| 2877 |
\begin{example}{skewTableau} |
| 2878 |
\tikzset{R/.style={fill=red!20,text=red}} |
| 2879 |
\SkewTableau[french]{1^2}{13,5*7,[R]79} \qquad |
| 2880 |
\Tableau[french, skew={1^2}]{13,5*7,[R]79} |
| 2881 |
\end{example} |
| 2882 |
|
| 2883 |
Similarly, the \keyword{\SkewDiagram} command is an alias for the |
| 2884 |
\keyword{\Diagram} command, with the \option{skew} key. |
| 2885 |
|
| 2886 |
\begin{example}{skewDiagram} |
| 2887 |
\SkewDiagram[french]{1^2}{2^3} \qquad |
| 2888 |
\Diagram[french, skew={1^2}]{2^3} |
| 2889 |
\end{example} |
| 2890 |
|
| 2891 |
As the \keyword{\SkewTableau} and \keyword{\SkewDiagram} commands |
| 2892 |
are shortcuts, all of the options for the \keyword{\Tableau} and |
| 2893 |
\keyword{\Diagram} commands can be used with the |
| 2894 |
\keyword{\SkewTableau} and \keyword{\SkewDiagram} commands, |
| 2895 |
respectively. In addition, the following options are supported: |
| 2896 |
|
| 2897 |
\option[false]{skew border}[true/false] |
| 2898 |
\option*[true]{no skew border}[false/true] |
| 2899 |
|
| 2900 |
These two keys are inverse to each other. When |
| 2901 |
\option{skew border} is \textsf{true}, the border of the (inner) skew |
| 2902 |
shape is drawn. |
| 2903 |
|
| 2904 |
\begin{example}{skewBorder} |
| 2905 |
\tikzset{R/.style={fill=red!20,circle}} |
| 2906 |
\SkewTableau[skew border]{2,1^2}{12[R]3,45,67} |
| 2907 |
\SkewTableau[french, skew border]{2,1^2}{12[R]3,45,67} |
| 2908 |
\end{example} |
| 2909 |
|
| 2910 |
Note that \option{skew border} only draws the border of the skew shape |
| 2911 |
and not the boxes inside the inner skew shape. Use \option{skew boxes} |
| 2912 |
to draw the interior walls of the boxes in the skew shape. |
| 2913 |
|
| 2914 |
\option[draw=\aTableauColour{Skew}, fill=\aTableauColour{Fill}, thick]{skew border style=style}[\TikZ-styling] |
| 2915 |
|
| 2916 |
Use \option{skew border style} to change the style of the skew border. |
| 2917 |
Since the skew border is only drawn when \option{skew border} is set, |
| 2918 |
the \option{skew border style} does not have any effect unless |
| 2919 |
\option{skew border} has been set to \textsf{true}. |
| 2920 |
|
| 2921 |
\begin{example}{skewBorderStyle} |
| 2922 |
\SkewTableau[skew border style={draw=brown}, |
| 2923 |
skew border]{2,1^2}{123,45,67} \qquad |
| 2924 |
\SkewDiagram[skew border style={dashed,fill=red!10}, |
| 2925 |
skew border]{1^2}{2^3} |
| 2926 |
\end{example} |
| 2927 |
|
| 2928 |
\option[false]{skew boxes}[false/true] |
| 2929 |
\option*[true]{no skew boxes}[true/false] |
| 2930 |
\option*[thin, fill=\aTableauColour{Fill}]{skew box style=style}[\TikZ-styling] |
| 2931 |
|
| 2932 |
The \option{skew boxes} key adds walls to the boxes inside the inner |
| 2933 |
partition of a skew shape. Use \option{skew box style} to change the |
| 2934 |
default shading of these boxes. |
| 2935 |
|
| 2936 |
\begin{example}{skewBoxes} |
| 2937 |
\SkewTableau[skew boxes] {2,1^2}{123,45,67} |
| 2938 |
\SkewTableau[skew boxes, |
| 2939 |
skew box style={dash pattern=on 1pt off 2pt} |
| 2940 |
] {2,1^2}{123,45,67,89} |
| 2941 |
\end{example} |
| 2942 |
|
| 2943 |
Using the options \option{skew border} and the \option{skew boxes} |
| 2944 |
together gives the skew (inner) shape both inner and outer borders. |
| 2945 |
|
| 2946 |
\begin{example}{skewBorderBoxes} |
| 2947 |
\SkewTableau[skew border, skew boxes] {2^2,1}{123,45,67} |
| 2948 |
\end{example} |
| 2949 |
|
| 2950 |
\index{entries!skew tableaux} |
| 2951 |
The \option{entries} key can be used with skew tableaux, except that |
| 2952 |
\option{entries=hooks} produces uncertain results because hook lengths |
| 2953 |
are not defined for skew shapes. |
| 2954 |
|
| 2955 |
\begin{Example}{skewDiagam} |
| 2956 |
\SkewDiagram[entries=contents]{2,1}{3,2,1} \qquad |
| 2957 |
\SkewDiagram[entries=first]{2,1}{4,2,1} \qquad |
| 2958 |
\SkewDiagram[entries=last]{2,1}{4,2,1} \qquad |
| 2959 |
\SkewDiagram[entries=residues, e=3]{2,1}{4,2,1} |
| 2960 |
\end{Example} |
| 2961 |
|
| 2962 |
As implied in \autoref{SS:TableauOptions}, skew tableaux and skew |
| 2963 |
diagrams can also be drawn using the \keyword{\Tableau} and |
| 2964 |
\keyword{\Diagram} commands, together with the \option{skew} key: |
| 2965 |
|
| 2966 |
\begin{example}{skewEntries} |
| 2967 |
\Tableau[skew boxes, skew={2,1^2}]{12,35,6} \qquad |
| 2968 |
\Diagram[entries=first, skew={2,1}]{2^2,1} |
| 2969 |
\end{example} |
| 2970 |
|
| 2971 |
\index{cover} |
| 2972 |
\index{partition!cover} |
| 2973 |
\index{tableau!cover} |
| 2974 |
The \option{cover} key works in exactly the same way as the |
| 2975 |
\option{skew} key. In particular, as we now describe, there are |
| 2976 |
identical keys for controlling the pictures that use the |
| 2977 |
\option{cover} and \option{skew} keys. |
| 2978 |
|
| 2979 |
\option[true]{cover border}[true/false] |
| 2980 |
\option*[false]{no cover border}[false/true] |
| 2981 |
\option*[draw=\aTableauColour{Skew}, fill=\aTableauColour{Fill}, thick]{cover border style=style}[\TikZ-styling] |
| 2982 |
|
| 2983 |
These two keys are inverse to each other. When \option{cover border} |
| 2984 |
is \textsf{true}, the border of the outside covering shape is drawn. |
| 2985 |
By default, \option{cover border} is \textsf{true}, so that the |
| 2986 |
covering shape is drawn. In contrast, by default, \option{skew border} |
| 2987 |
is false. |
| 2988 |
|
| 2989 |
\begin{example}{coverTableau} |
| 2990 |
\tikzset{R/.style={fill=red!20,circle}} |
| 2991 |
\Tableau[cover={3^3}, cover border]{12[R]3,45,67} \qquad |
| 2992 |
\Tableau[cover={3^3}, french, cover border]{12[R]3,45,67} |
| 2993 |
\end{example} |
| 2994 |
|
| 2995 |
The \option{cover border style} key changes the style of the cover border. |
| 2996 |
|
| 2997 |
\begin{example}{tableauCoverBorder} |
| 2998 |
\Tableau[cover border style={draw=brown,thick}, |
| 2999 |
cover={3^2}]{123,45,67} \qquad |
| 3000 |
\Diagram[cover border style={dashed,fill=red!10}, |
| 3001 |
cover={3,2}]{2^3} |
| 3002 |
\end{example} |
| 3003 |
|
| 3004 |
\option[true]{cover boxes}[true/false] |
| 3005 |
\option*[false]{no cover boxes}[false/true] |
| 3006 |
\option*[thin, fill=\aTableauColour{Fill}]{cover box style=style}[\TikZ-styling] |
| 3007 |
|
| 3008 |
The \option{cover boxes} key adds walls to the boxes for the covering |
| 3009 |
partition. Use \option{cover box style} to change the |
| 3010 |
default shading of these boxes. |
| 3011 |
|
| 3012 |
\begin{example}{tableauCoverBoxes} |
| 3013 |
\Tableau[cover={3^4}, no cover boxes]{123,45,67} \qquad |
| 3014 |
\Tableau[cover={4^4}, cover boxes, |
| 3015 |
cover box style={dash pattern=on 1pt off 2pt} |
| 3016 |
]{123,45,67,89} |
| 3017 |
\end{example} |
| 3018 |
|
| 3019 |
By default, \option{cover border} is true, so if you want walls for |
| 3020 |
the boxes in the covering partition and border walls, you only need to |
| 3021 |
set \option{cover boxes}. |
| 3022 |
|
| 3023 |
\begin{example}{tableauCoverBorder} |
| 3024 |
\Tableau[cover={4^2,3^2}, cover border, cover boxes]{123,45,67} |
| 3025 |
\end{example} |
| 3026 |
|
| 3027 |
The \option{cover} and \option{skew} keys can be used together. |
| 3028 |
Equivalently, you can use \option{cover} with the |
| 3029 |
\keyword{\SkewDiagram} and \keyword{\SkewTableau} commands. |
| 3030 |
|
| 3031 |
\begin{example}{tableauSkewBorderCover} |
| 3032 |
\Tableau[skew={2,1}, cover={6^4}, cover boxes, |
| 3033 |
cover box style={fill=yellow!20, draw=brown}, |
| 3034 |
skew border, skew boxes ]{123,45,67} |
| 3035 |
\end{example} |
| 3036 |
|
| 3037 |
Finally, we note that the \option{cover} and \option{skew} keys do not |
| 3038 |
provide a mechanism to put entries inside the skew and cover shapes. |
| 3039 |
Use the \option{paths}, \option{ribbons} and \option{snobs} keys when |
| 3040 |
you need to do this. |
| 3041 |
|
| 3042 |
% -------------------------------------------------------------- |
| 3043 |
\subsection{Shifted tableaux and shifted diagrams} |
| 3044 |
\label{S:Shifted} |
| 3045 |
\indexcmd{ShiftedTableau} |
| 3046 |
\indexcmd{ShiftedDiagram} |
| 3047 |
\index{diagram!shifted} |
| 3048 |
\index{strict partition} |
| 3049 |
\index{partition!strict} |
| 3050 |
\index{shifted tableau} |
| 3051 |
\index{tableau!shifted } |
| 3052 |
|
| 3053 |
\emph{Strict partitions}, which have strictly decreasing parts, and |
| 3054 |
\emph{shifted tableaux}, which are of strict partition shape, appear |
| 3055 |
in several places in representation theory, such as in the study of |
| 3056 |
projective representations of the symmetric groups. These tableaux and |
| 3057 |
diagrams are drawn with row~$r$ shifted by $(r-1)$-units along the |
| 3058 |
row, so that the first box in each row has content~$0$. These diagrams |
| 3059 |
and tableaux can be drawn using the following commands: |
| 3060 |
|
| 3061 |
\keyword{\ShiftedDiagram (x,y) [options] {partition }}\newline |
| 3062 |
\keyword{\ShiftedTableau (x,y) [options] {tableau specification}} |
| 3063 |
|
| 3064 |
As usual, the $(x,y)$-coordinates are necessary if, and only if, these |
| 3065 |
commands are used inside a \keyword{tikzpicture} environment. The |
| 3066 |
partition in a~\keyword{\ShiftedDiagram} can be given using |
| 3067 |
exponential notation and the tableau specification for a |
| 3068 |
\keyword{\ShiftedTableau} can include the usual optional style |
| 3069 |
prefixes. |
| 3070 |
|
| 3071 |
\begin{example}{shiftedTableau} |
| 3072 |
\tikzset{R/.style={fill=red!20,circle}} |
| 3073 |
\ShiftedTableau{12[R]3,45,*6} \qquad |
| 3074 |
\ShiftedDiagram[french]{3,2,1} |
| 3075 |
\end{example} |
| 3076 |
|
| 3077 |
In the literature, shifted tableaux and shifted diagrams almost |
| 3078 |
always have strict partition shape, however, this is not enforced by |
| 3079 |
these commands. Under the hood, the \keyword{\ShiftedTableau} is the |
| 3080 |
\keyword{\Tableau} command with the \option{shifted} option set to |
| 3081 |
true. Similarly, \keyword{\ShiftedDiagram} is the same as using the |
| 3082 |
\keyword{\Diagram} command with the \option{shifted} option. |
| 3083 |
Consequently, all of the options for the \keyword{\Tableau} and |
| 3084 |
\keyword{\Diagram} commands can be used with \keyword{\ShiftedTableau} |
| 3085 |
and \keyword{\ShiftedDiagram}, respectively. Shifted tableaux and |
| 3086 |
shifted diagrams can also be drawn using the \keyword{\SkewTableau} and |
| 3087 |
\keyword{\SkewDiagram} commands, together with appropriate shifts. |
| 3088 |
|
| 3089 |
The \option{skew boxes} key can be used to highlight |
| 3090 |
the shifted part of a shifted tableau or diagram: |
| 3091 |
|
| 3092 |
\begin{example}{shiftedDiagram} |
| 3093 |
\ShiftedTableau[skew boxes]{1*23,4*5,6} \qquad |
| 3094 |
\ShiftedDiagram[skew border]{3,2} |
| 3095 |
\end{example} |
| 3096 |
|
| 3097 |
\index{entries!shifted tableaux} |
| 3098 |
The \option{entries} key works as expected for shifted diagrams: |
| 3099 |
|
| 3100 |
\begin{Example}{shiftedEntries} |
| 3101 |
\ShiftedDiagram[entries=contents]{3,2,1} \qquad |
| 3102 |
\ShiftedDiagram[entries=first]{4,2,1} \qquad |
| 3103 |
\ShiftedDiagram[entries=hooks]{4,2,1} \qquad |
| 3104 |
\ShiftedDiagram[entries=last]{4,2,1} \qquad |
| 3105 |
\ShiftedDiagram[entries=residues, e=3]{4,2,1} |
| 3106 |
\end{Example} |
| 3107 |
|
| 3108 |
The definition of hook lengths for shifted diagrams can be found, for |
| 3109 |
example, in \cite{Konvalinka:ShiftedHookLengths}. |
| 3110 |
|
| 3111 |
% -------------------------------------------------------------- |
| 3112 |
\subsection{Tabloids} |
| 3113 |
\label{S:Tabloid} |
| 3114 |
\indexcmd{Tabloid} |
| 3115 |
|
| 3116 |
A \emph{tabloid} is an equivalence class of tableaux, where two |
| 3117 |
tableaux are equivalent if they have the same set of entries in each |
| 3118 |
row. In the literature, tabloids are usually drawn with lines above |
| 3119 |
and below each row, and without side borders. Tabloids can be drawn |
| 3120 |
with the \keyword{\Tabloid} command. |
| 3121 |
|
| 3122 |
\keyword{\Tabloid (x,y) [options] {partition }} |
| 3123 |
|
| 3124 |
The \keyword{\Tabloid} command functions in the same way as the |
| 3125 |
\keyword{\Tableau} command, except that it draws tabloids. In fact, |
| 3126 |
the \keyword{\Tabloid} is a special case of the \keyword{\Tableau} |
| 3127 |
command with the \option{tabloid} option set. |
| 3128 |
|
| 3129 |
\begin{example}{tabloid} |
| 3130 |
\tikzset{R/.style={fill=red!20,circle,minimum size=5mm}} |
| 3131 |
\Tabloid[ukrainian]{12[R]3,45}\quad |
| 3132 |
\Tabloid[english] {1[R]2,34}\quad |
| 3133 |
\Tabloid[french] {12[R]3,45} |
| 3134 |
\end{example} |
| 3135 |
|
| 3136 |
The \aTableau package does not provide a dedicated command for tabloid |
| 3137 |
diagrams, however, they can be drawn using the \keyword{\Diagram} |
| 3138 |
command together with the \option{tabloid} option: |
| 3139 |
|
| 3140 |
\begin{example}{tabloidFrench} |
| 3141 |
\Diagram[tabloid]{3^2,1} \qquad |
| 3142 |
\Diagram[tabloid, french]{3,1^2} |
| 3143 |
\end{example} |
| 3144 |
|
| 3145 |
Some authors work with \emph{column tabloids}. Such tableaux do not |
| 3146 |
have a dedicated \aTableau command, however, they can be drawn using the |
| 3147 |
\option{conjugate} option: \index{tabloid!column} |
| 3148 |
|
| 3149 |
\begin{example}{tabloidConjugate} |
| 3150 |
\Tabloid[conjugate]{123,4} \qquad |
| 3151 |
\Diagram[conjugate, tabloid]{3,1} \qquad |
| 3152 |
\end{example} |
| 3153 |
|
| 3154 |
Similarly, skew tabloids and shifted tabloids can be drawn using the |
| 3155 |
\option{skew} and \option{shifted} options. |
| 3156 |
\label{tabloids!skew} |
| 3157 |
|
| 3158 |
\begin{example}{tabloidSkew} |
| 3159 |
\Tabloid[skew={2,1}]{19{11},29{10},6} \qquad |
| 3160 |
\Tabloid[conjugate, shifted]{19{11}7,29{10},6} |
| 3161 |
\end{example} |
| 3162 |
|
| 3163 |
|
| 3164 |
% -------------------------------------------------------------- |
| 3165 |
\subsection{Ribbon tableaux}\label{S:RibbonTableaux} |
| 3166 |
\indexcmd{RibbonTableau} |
| 3167 |
\index{ribbon!head} |
| 3168 |
\index{tableau!ribbon tableau} |
| 3169 |
|
| 3170 |
A \emph{ribbon} in a tableau, or a diagram, is a connected strip of |
| 3171 |
boxes~$R$ that are totally ordered by their contents. (Recall from |
| 3172 |
\autoref{SS:entries} that the content of the box in row~$a$ and |
| 3173 |
column~$b$ is~$b-a$.) In particular, a ribbon does not contain a |
| 3174 |
\Diagram[scale=0.3, border=false, align=bottom]{2^2}-square, and if |
| 3175 |
$(a,b)\in R$ then at most one of $(a+1,b)$ and $(a,b-1)$ belongs |
| 3176 |
to~$R$. The \emph{head} of a ribbon~$R$ is the unique node of maximal |
| 3177 |
content. A \emph{ribbon tableau} is a tableau that is tiled by |
| 3178 |
ribbons. A box is a ribbon of length~$1$, so every tableau is a ribbon |
| 3179 |
tableau. |
| 3180 |
|
| 3181 |
Ribbon tableaux can be drawn with the command: |
| 3182 |
|
| 3183 |
\keyword{\RibbonTableau (x,y) [options] {ribbon specifications}} |
| 3184 |
|
| 3185 |
Like the other \aTableau commands, the $(x,y)$-coordinates are |
| 3186 |
optional and are required if, and only if, the diagram is part of a |
| 3187 |
\keyword{tikzpicture} environment. All of the keys for the |
| 3188 |
\keyword{\Tableau} command can be used with \keyword{\RibbonTableau}, so we |
| 3189 |
refer to \autoref{S:Tableau} for a description of the available |
| 3190 |
keys. |
| 3191 |
|
| 3192 |
% -------------------------------------------------------------- |
| 3193 |
\subsubsection{Ribbon specifications} |
| 3194 |
Unlike the \keyword{\Tableau} command, the entries of a ribbon tableau |
| 3195 |
are given by ribbon specifications, rather than tableau |
| 3196 |
specifications. Ribbon specifications are also used by the three keys |
| 3197 |
\option{paths}, \option{ribbons}, and \option{snobs}, which were |
| 3198 |
introduced in \autoref{SS:TableauOptions}. |
| 3199 |
|
| 3200 |
To understand the ribbon specifications, observe that if $(a,b)$ is |
| 3201 |
the head of a ribbon, which is the unique node of maximal content, |
| 3202 |
then we can walk along the ribbon by specifying whether the |
| 3203 |
\textsf{r}ow index increases, or the \textsf{c}olumn index decreases. |
| 3204 |
That is, a ribbon is uniquely determined by specifying its head |
| 3205 |
$(a,b)$ together with a sequence of $\textsf{r}$'s and \textsf{c}'s to |
| 3206 |
indicate when the row index increases, or the column index decreases, |
| 3207 |
respectively. For example, vertical and horizontal ribbons are given |
| 3208 |
by a sequence of \textsf{r}'s and \textsf{c}'s, respectively: |
| 3209 |
|
| 3210 |
\begin{example}{ribbon} |
| 3211 |
\aTabset{align=top, no border} |
| 3212 |
\RibbonTableau{11rrrr} \qquad |
| 3213 |
\RibbonTableau{16ccccc} |
| 3214 |
\end{example} |
| 3215 |
|
| 3216 |
By default, the border of a ribbon tableau is the smallest (skew) |
| 3217 |
partition that contains all of its ribbons (it is also possible to set |
| 3218 |
the border with the \option{shape} key). In the last example, the |
| 3219 |
\option{no border} key is used to disable the ribbon tableau border to |
| 3220 |
highlight the ribbon, because in these examples the ribbon and tableaux |
| 3221 |
borders coincide. |
| 3222 |
|
| 3223 |
The following diagram shows a see-sawing ribbon with head in row~$1$ |
| 3224 |
and column~10, and tail in row~$5$ and column~$1$. |
| 3225 |
|
| 3226 |
\begin{example}{RibbonTableau} |
| 3227 |
\RibbonTableau{1{10}crcrcrcrccccc} |
| 3228 |
\end{example} |
| 3229 |
|
| 3230 |
Like tableau entries, each box in a ribbon can be preceded with a |
| 3231 |
style specification, either using \keyword{*}, for the |
| 3232 |
\option{tableau star}, or using \keyword{[...]}, for customised style |
| 3233 |
specifications. Here is a more complicated example: |
| 3234 |
|
| 3235 |
\begin{example}{ribbonStarred} |
| 3236 |
\RibbonTableau{ |
| 3237 |
*1{10}c*rc*rc*rc*rc*cc*cc, |
| 3238 |
*18c[fill=red]rc[fill=blue]rc*rc*cc[fill=teal]c, |
| 3239 |
[fill=green]16c*rc*rc*cc, |
| 3240 |
*14c[draw=purple,ultra thick]cc[fill=orange]r, |
| 3241 |
[fill=yellow,draw=red,ultra thick]23 |
| 3242 |
} |
| 3243 |
\end{example} |
| 3244 |
|
| 3245 |
This ribbon tableau is built from five ribbons, each of which is given |
| 3246 |
on a separate line inside the \keyword{\RibbonTableau} command. Except |
| 3247 |
for the last ribbon, all of these ribbons start in row one. The yellow |
| 3248 |
box is drawn by the last ribbon, which consists of a single box in row |
| 3249 |
$2$ and column~$3$. |
| 3250 |
|
| 3251 |
Often you want to style the entire ribbon, instead of styling |
| 3252 |
the individual boxes in the ribbon. The (optional) style for a |
| 3253 |
entire ribbon is given inside parentheses $(...)$ at the |
| 3254 |
\textit{beginning} of the ribbon specification. The ribbons in the last example are much |
| 3255 |
easier to see we add some \keyword{(...)}-styling: |
| 3256 |
|
| 3257 |
\begin{example}{ribbonFilled} |
| 3258 |
\RibbonTableau{ |
| 3259 |
(fill=red)1{10}crcrcrcrccc_Ccc, |
| 3260 |
(fill=orange)18crcrc*rcc_Bcc, |
| 3261 |
(fill=yellow)16crcr[fill=cyan]c_Acc, |
| 3262 |
(fill=green)14cccr, |
| 3263 |
(fill=blue)23 |
| 3264 |
} |
| 3265 |
\end{example} |
| 3266 |
|
| 3267 |
Unlike the other style specifications, the $*$-shorthand for the |
| 3268 |
\option{tableau star} cannot be applied to an entire ribbon. |
| 3269 |
|
| 3270 |
The \keyword{(...)}-style of a ribbon is applied to the region bounded |
| 3271 |
by the closed path given by the border of the ribbon and to each box |
| 3272 |
in the ribbon. The ribbon style is applied first, after which any |
| 3273 |
boxes in the ribbon are drawn. As the orange and yellow ribbons in |
| 3274 |
the example show, the style of an individual box in the ribbon takes precedence over |
| 3275 |
the \keyword{(...)}-style of the entire ribbon. |
| 3276 |
|
| 3277 |
It is often useful to label some of the boxes in a ribbon, which can |
| 3278 |
be done by specifying the content of a box as a \textit{subscript} of |
| 3279 |
the corresponding entry in the ribbon specification: |
| 3280 |
|
| 3281 |
\begin{example}{ribbonTableauFrench} |
| 3282 |
\RibbonTableau[french] { 12_1 c_2 r_3 } \quad |
| 3283 |
\RibbonTableau[ukrainian] { 12_a c_b r_c } \quad |
| 3284 |
\RibbonTableau[australian]{ 12_{1_a} c_{2_b} r_{3_c} } |
| 3285 |
\end{example} |
| 3286 |
|
| 3287 |
Here we have put spaces between the entries for the different boxes |
| 3288 |
in the ribbon for clarity. There are often many ways to draw the same |
| 3289 |
ribbon tableau: |
| 3290 |
|
| 3291 |
\begin{example}{ribbonTableauStyle} |
| 3292 |
\tikzset{Fill/.style={fill=#1!20!white}, |
| 3293 |
B/.style={Fill=blue}, R/.style={Fill=red}, Y/.style={Fill=yellow}} |
| 3294 |
\RibbonTableau{ [B]12_1 [R]c_2 [Y]r_3} \qquad |
| 3295 |
\RibbonTableau{ [B]12_1, [R]11_2, [Y]21_3 } \qquad |
| 3296 |
\Tableau{ [B]2 [R]1, [Y]3 } |
| 3297 |
\end{example} |
| 3298 |
|
| 3299 |
As shown, the easiest way to draw this particular tableau is using the \keyword{\Tableau} command. |
| 3300 |
|
| 3301 |
There is no dedicated syntax for putting a label on the boundary |
| 3302 |
between two boxes in a diagram, but this can be done using the named |
| 3303 |
anchors of~\autoref{E:NodeNames}. |
| 3304 |
|
| 3305 |
\begin{example}{ribbonTableauLabel} |
| 3306 |
\RibbonTableau[shifted, tikz after={ |
| 3307 |
\node at (A-1-2.east){$1$}; |
| 3308 |
\node at (A-2-2.east){$2$}; |
| 3309 |
}]{ 14c, 12c, 23c } |
| 3310 |
\end{example} |
| 3311 |
|
| 3312 |
Here is an example of a $3$-ribbon skew tableau, which is a skew tableau |
| 3313 |
that is tiled by ribbons of length~$3$. |
| 3314 |
|
| 3315 |
\begin{example}{ribbonTableauSkew} |
| 3316 |
\RibbonTableau[skew={2^2,1^2}, skew border]{ |
| 3317 |
14c_0r,15r_1c, 18c_7c,26r_9r, |
| 3318 |
34c_2c,35r_8r,42r_3c, 44c_4r, |
| 3319 |
54r_6c,62c_5r |
| 3320 |
} |
| 3321 |
\end{example} |
| 3322 |
|
| 3323 |
The ribbon specifications described already are sufficient for drawing |
| 3324 |
arbitrary ribbons. To allow more general regions to be drawn inside |
| 3325 |
diagrams and tableaux, the ribbon specifications also accept |
| 3326 |
\textsf{R}'s' and~\textsf{C}'s, which \textit{decrease the row index} and |
| 3327 |
\textit{increase the column index}, respectively. That is, when using |
| 3328 |
the English convention, the ribbon specifications \textsf{c}, \textsf{C}, |
| 3329 |
\textsf{r} and \textsf{R} move the (generalised) ribbon in the following directions: |
| 3330 |
|
| 3331 |
\begin{center} |
| 3332 |
\Diagram[styles={A={thick,red,->},L={text=aTableauMain}}, |
| 3333 |
scale=1.5, |
| 3334 |
tikz after={ |
| 3335 |
\draw[A](A-1-1)--+(-0.8,0)node[L,left=0.1]{$c$}; |
| 3336 |
\draw[A](A-1-1)--+(0.8,0)node[L,right=0.1]{$C$}; |
| 3337 |
\draw[A](A-1-1)--+(0,0.8)node[L,above=0.1]{$R$}; |
| 3338 |
\draw[A](A-1-1)--+(0,-0.8)node[L,below=0.1]{$r$}; |
| 3339 |
}]{1} |
| 3340 |
\end{center} |
| 3341 |
|
| 3342 |
Using this enhanced syntax, it is possible, for example, to draw fancy |
| 3343 |
pictures like the following: |
| 3344 |
|
| 3345 |
\begin{Example}{ribbonEnhanced} |
| 3346 |
\RibbonTableau[shape=5^5]{23rcCrRC} \qquad\RibbonTableau[shape=5^5]{24rrccRRCr}\qquad |
| 3347 |
\RibbonTableau[shape=5^5]{24rrccRRCC}\qquad\RibbonTableau[shape=7^5]{23crrCCCCRRccr} |
| 3348 |
\end{Example} |
| 3349 |
|
| 3350 |
Topologically, the boundary of a generalised ribbon is a union of (oriented) circles. |
| 3351 |
|
| 3352 |
We have now seen the full ribbon specifications. To summarise: |
| 3353 |
\begin{itemize}[nosep] |
| 3354 |
\item The ribbon specification starts with optional \TikZ-styling |
| 3355 |
for the ribbon (or path), enclosed in~\keyword{(...)}. |
| 3356 |
\item The first entry in the ribbon is given as |
| 3357 |
\textsf{a}\textsf{b} if the head of the ribbon is in row \textsf{a} |
| 3358 |
and column \textsf{b}. (Enclose \textsf{a} and \textsf{b} in braces, |
| 3359 |
\keyword{{a}} and \keyword{{b}}, whenever they are greater than |
| 3360 |
$9$, or less than $0$.) |
| 3361 |
\item The remaining |
| 3362 |
entries in the ribbon are specified by a sequence of \textsf{r}'s, \textsf{R}'s, |
| 3363 |
\textsf{c}'s and \textsf{C}'s, where: |
| 3364 |
\begin{itemize}[nosep] |
| 3365 |
\item\textsf{c} decreases the column index by $1$ |
| 3366 |
\item\textsf{r} increases the row index by $1$ |
| 3367 |
\item\textsf{C} increases the column index by $1$. |
| 3368 |
\item\textsf{R} decreases the row index by $1$ |
| 3369 |
\end{itemize} |
| 3370 |
\item Each box in the ribbon, including the head, can be |
| 3371 |
given \TikZ-styling by prefixing it with a $*$, which gives the |
| 3372 |
box the current \option{tableau star}, or by putting \TikZ-styling keys inside |
| 3373 |
square brackets~\keyword{[...]}. |
| 3374 |
\item Add an entry to a box in the ribbon by adding it as a |
| 3375 |
subscript, \textunderscore\texttt{\{entry\}}, to the corresponding |
| 3376 |
ribbon specification for the box. |
| 3377 |
\end{itemize} |
| 3378 |
|
| 3379 |
When drawing the tableau border, all ribbons in a |
| 3380 |
\keyword{\RibbonTableau} are assumed to be contained in the smallest |
| 3381 |
Young diagram that contains the ribbons. That said, it is up to you to |
| 3382 |
ensure that the boxes in the ribbon are contained inside a tableau. |
| 3383 |
Inside a \keyword{\Diagram} or \keyword{\Tableau} command, |
| 3384 |
any ribbons added using \option{paths}, \option{ribbons}, or |
| 3385 |
\option{snobs} do not affect the border of the diagram or tableau. You |
| 3386 |
can draw paths, ribbons, and snobs so that their boxes are either |
| 3387 |
inside or outside the border of the diagram or tableau. As shown |
| 3388 |
below, this allows you to place boxes outside of the tableau. You can |
| 3389 |
also specify the shape of the ribbon tableau using the \option{shape} |
| 3390 |
key. |
| 3391 |
|
| 3392 |
\option[]{paths=ribbon specifications}[comma-separated ribbon specifications]<ribbons> |
| 3393 |
\option*[]{ribbons=ribbon specifications}[comma-separated ribbon specifications]<ribbons> |
| 3394 |
\option*[]{snobs=ribbon specifications}[comma-separated ribbon specifications]<ribbons> |
| 3395 |
|
| 3396 |
You can add \option{ribbons}<ribbons>, \option{paths}<ribbons> and |
| 3397 |
\option{snobs}<ribbons> to a \keyword{\RibbonTableau} in exactly the |
| 3398 |
same way that you add them to \keyword{\Tableau}. At first sight, it |
| 3399 |
seems unnecessary to add \option{ribbons}<ribbons> and |
| 3400 |
\option{snobs}<ribbons> because ribbon tableaux are composed of |
| 3401 |
ribbons. The point is that any ribbons added to a tableau using |
| 3402 |
\option{ribbons}<ribbons> or \option{snobs}<ribbons> are not required |
| 3403 |
to be inside the border of the tableau --- and |
| 3404 |
\option{snobs}<ribbons> are added last. |
| 3405 |
|
| 3406 |
\begin{example}{ribbonTableaStyled} |
| 3407 |
\RibbonTableau[ |
| 3408 |
styles={A={fill=green!10, text=teal}, R={fill=yellow!10, text=red}}, |
| 3409 |
ribbons={[A]15_A,[A]24_A,[A]41_A, [R]14_R,[R]33_R} |
| 3410 |
]{11, (fill=blue!10)12rc, 14crrcc} |
| 3411 |
\end{example} |
| 3412 |
|
| 3413 |
Here is a cute use of \option{paths} to add arrows to a skew |
| 3414 |
$2$-ribbon tableau: |
| 3415 |
|
| 3416 |
\begin{example}[lefthand width=0.35\textwidth]{ribbonTableauCute} |
| 3417 |
\RibbonTableau[skew={4,3,2,1}, |
| 3418 |
styles={L={red,semithick,->}, R={red,semithick,<-}}, |
| 3419 |
paths ={ (L)15c, (L)17c, (L)24c, (L)26c, |
| 3420 |
(R)32r,(R)41r,(R)52r,(R)61r, (R)34c}, |
| 3421 |
tikz after = { % node labels: row/col/label |
| 3422 |
\foreach \r/\c/\l in {1/6/0,1/8/6,2/5/3,2/7/8} |
| 3423 |
{ \node at (A-\r-\c.west){\l};} |
| 3424 |
\foreach \r/\c/\l in {5/1/1,4/2/2,3/3/5,7/1/4,6/2/7} |
| 3425 |
{ \node at (A-\r-\c.south){\l};} |
| 3426 |
} |
| 3427 |
]{ 16c,18c, 25c, 27c, 33r, 42r, 51r, 62r,71r } |
| 3428 |
\end{example} |
| 3429 |
|
| 3430 |
The arrows are added by the \option{paths} key using the two styles |
| 3431 |
\textsf{L} and \textsf{R}, which draw ``left'' and ``right'' arrows |
| 3432 |
between the two boxes, where left and right is with respect to the |
| 3433 |
line-order of the two boxes in the corresponding draw command. The |
| 3434 |
two \keyword{\foreach}-statements might look complicated, but they are |
| 3435 |
just loops that add the entries to the tableau. These loops set |
| 3436 |
\keyword{\r}, \keyword{\c} and \keyword{\l} equal to the row index, |
| 3437 |
column index and label, respectively, using the two lists of |
| 3438 |
\keyword{\r}\!/\!\keyword{\c}\!/\!\keyword{\l} triples given above. |
| 3439 |
For any given triple (\keyword{\r},\keyword{\c},\keyword{\l}), the |
| 3440 |
label is drawn using the TikZ command |
| 3441 |
\keyword{\node at (A-\r-\c.south){\l}}, which is placed using the named |
| 3442 |
coordinate \keywords{(A-\r-\c)}. |
| 3443 |
|
| 3444 |
\option[draw=\aTableauColour{Inner}, thin]{ribbon style=style}[\TikZ-styling] |
| 3445 |
\option*[]{ribbon box style=style}[\TikZ-styling] |
| 3446 |
|
| 3447 |
Use the \option{ribbon style} and \option{ribbon box} keys to |
| 3448 |
append to the default styling of the ribbons, and the boxes in the |
| 3449 |
ribbons, respectively. By default, the full ribbon has inner wall |
| 3450 |
styling, but the boxes in ribbons have no styling. If you want inner |
| 3451 |
walls, then they can be added using the \option{ribbon box style} key. |
| 3452 |
|
| 3453 |
\begin{example}{ribbonTableauRibbon} |
| 3454 |
\RibbonTableau[ribbon style={draw=red, thick, |
| 3455 |
fill=orange!20}]{13_1r_2c_6r_7c_8} \qquad |
| 3456 |
\RibbonTableau[ribbon box style={fill=orange!20, |
| 3457 |
draw=magenta}]{13_1r_2c_6r_7c_8} |
| 3458 |
\end{example} |
| 3459 |
|
| 3460 |
Ribbons are drawn by first drawing the full ribbon, applying |
| 3461 |
\option{ribbon style}, then the empty boxes in the ribbon are drawn, |
| 3462 |
and, finally, any boxes in the ribbon that have styling or an entry |
| 3463 |
are added. In particular, if the style \option{ribbon box} draws an |
| 3464 |
outline around a box then this has precedence over any outline added |
| 3465 |
by \option{ribbon style} since \option{ribbon box} is applied last. |
| 3466 |
|
| 3467 |
\option[]{ribbon box=text}[default box contents] |
| 3468 |
|
| 3469 |
You can add content to the boxes in a ribbon using subscripts in |
| 3470 |
the ribbon specifications. Alternatively, you can use |
| 3471 |
\option{ribbon box} if you want to add the same |
| 3472 |
content to each box in the ribbon. |
| 3473 |
|
| 3474 |
\begin{example}{ribbonBox} |
| 3475 |
\RibbonTableau[ribbon box=\times]{14rccrc}\qquad |
| 3476 |
\RibbonTableau[ribbon box=\bullet]{14_1rc_2cr_3c} |
| 3477 |
\end{example} |
| 3478 |
|
| 3479 |
As shown, whenever a box entry is given as a subscript it is used |
| 3480 |
instead of the value of \option{ribbon box}. If a ribbon tableau |
| 3481 |
contains multiple ribbons, then the same value of \option{ribbon box} |
| 3482 |
is used for all ribbons. |
| 3483 |
|
| 3484 |
Similarly, there are keys \option{path style}, \option{path box}, |
| 3485 |
\option{path box style}, \option{snob style}, \option{snob box} and |
| 3486 |
\option{snob box style} that work in exactly the same way. Most of the |
| 3487 |
\keyword{\Tableau} keys work as expected for ribbon tableaux. |
| 3488 |
|
| 3489 |
|
| 3490 |
\option[]{shape=partition}[a partition] |
| 3491 |
|
| 3492 |
By default, the border of a ribbon tableau is automatically computed |
| 3493 |
to be the smallest partition that contains all of the ribbons. Use the |
| 3494 |
\option{shape} key to directly set the border of the ribbon tableau. |
| 3495 |
The partition \option{shape} can be given either as a comma |
| 3496 |
separated list of using exponential notation. |
| 3497 |
|
| 3498 |
\begin{example}{RibbonShape} |
| 3499 |
\RibbonTableau[shape={8^2,6^2}]{26crcc} |
| 3500 |
\end{example} |
| 3501 |
|
| 3502 |
This picture could also be drawn using |
| 3503 |
\keyword{\Diagram[ribbons={26crcc}]{8^2,6^2}}. |
| 3504 |
|
| 3505 |
% -------------------------------------------------------------- |
| 3506 |
\subsection{Multidiagrams and multitableaux}\label{S:Multitableau} |
| 3507 |
\indexcmd{Multidiagram} |
| 3508 |
\indexcmd{multileau} |
| 3509 |
\index{diagram!multidiagram} |
| 3510 |
\index{tableau!multitableau} |
| 3511 |
|
| 3512 |
Multitableaux and multidiagrams are $\ell$-tuples of tableaux and |
| 3513 |
diagrams, respectively. Such diagrams are ubiquitous in representation |
| 3514 |
theory, such as when considering representations of wreath products |
| 3515 |
or cyclotomic Hecke algebras. For convenience, \aTableau provides |
| 3516 |
the \keyword{\Multidiagram} and \keyword{\Multitableau} commands for |
| 3517 |
drawing these diagrams. |
| 3518 |
|
| 3519 |
\keyword{\Multidiagram (x,y) [options] {multipartition specifications} }\newline |
| 3520 |
\keyword{\Multitableau (x,y) [options] {multileau specifications} } |
| 3521 |
|
| 3522 |
\index{components} |
| 3523 |
\index{multidiagram!components} |
| 3524 |
\index{multileau!components} |
| 3525 |
Our preferred notation is to write the multipartition $\blam$ as |
| 3526 |
$\blam=(\lambda^{(1)}|\lambda^{(2)}|\dots|\lambda^{(\ell)})$, where |
| 3527 |
$\ell\ge1$ is the \emph{level} and the partitions |
| 3528 |
$\lambda^{(1)},\dots,\lambda^{(\ell)}$ are the \emph{components} |
| 3529 |
of~$\blam$. Similarly, a multitableau is written as |
| 3530 |
$\T=(\T^{(1)}|\dots|\T^{(\ell)})$, where the tableaux |
| 3531 |
$\T^{(1)},\dots,\T^{(\ell)}$ are the \emph{components} of~$\T$. |
| 3532 |
Accordingly, in the \keyword{\Multidiagram} and |
| 3533 |
\keyword{\Multitableau} commands, the pipe symbol \keyword{|} is used |
| 3534 |
to separate components: |
| 3535 |
|
| 3536 |
\begin{example}{multi} |
| 3537 |
\aTabset{scale=0.7} |
| 3538 |
\Multidiagram{3,2^2|2,1,1|1} \smallskip |
| 3539 |
\Multitableau[box font=\tiny] |
| 3540 |
{ 123,45,67 | 89,{10},{11} | {12}{13}{14} } |
| 3541 |
\end{example} |
| 3542 |
|
| 3543 |
As shown, the \keyword{\Multidiagram} command accepts exponential |
| 3544 |
notation for multipartitions. The entries in a \keyword{\Multitableau} |
| 3545 |
can be styled specifications in exactly the same way that style |
| 3546 |
is added when using the \keyword{\Tableau} command. |
| 3547 |
|
| 3548 |
\begin{example}{multiStar} |
| 3549 |
\tikzset{R/.style={fill=red!10,text=magenta}} |
| 3550 |
\Multitableau{1*24,*68 | [R]9{10},{11}} |
| 3551 |
\end{example} |
| 3552 |
|
| 3553 |
Multitableaux and multidiagrams can, in principle, have arbitrary |
| 3554 |
level. In practice, the level is constrained by the page width. |
| 3555 |
|
| 3556 |
\begin{example}{multiFrench} |
| 3557 |
\Multitableau[french]{1,2 | 3,4 | 5,6 | 7,8 | 9,{10}} |
| 3558 |
\end{example} |
| 3559 |
|
| 3560 |
Both the \keyword{\Multitableau} and \keyword{\Multidiagram} commands |
| 3561 |
accept a special component, \keyword{...}, that is used to add dots between the |
| 3562 |
separators: |
| 3563 |
|
| 3564 |
\begin{example}{multiBoxFont} |
| 3565 |
\aTabset{scale=0.7} |
| 3566 |
\Multidiagram{3,2^2|...|1} |
| 3567 |
\Multitableau[box font=\tiny] |
| 3568 |
{123,45,67 | ... | {12}{13}{14}} |
| 3569 |
\end{example} |
| 3570 |
|
| 3571 |
\bigskip |
| 3572 |
|
| 3573 |
The \keyword{\Multitableau} and \keyword{\Multidiagram} commands |
| 3574 |
accept most of the options of the \keyword{\Tableau} and |
| 3575 |
\keyword{\Diagram} commands, together with a few options that are |
| 3576 |
specific to multitableaux and multidiagrams. This section describes |
| 3577 |
the new options, and highlights how some of the other options are |
| 3578 |
used. In many cases, the key values for multitableau and |
| 3579 |
multidiagrams should be separated by the pipe symbol \keyword{|} to |
| 3580 |
give the corresponding key values for the component tableau and |
| 3581 |
diagrams. |
| 3582 |
|
| 3583 |
\option[-]{english} |
| 3584 |
\option*[]{french} |
| 3585 |
\option*[]{ukrainian} |
| 3586 |
\option*[]{australian} |
| 3587 |
|
| 3588 |
All four tableau conventions are supported for multitableaux and |
| 3589 |
multidiagrams, with the caveat that all component diagrams must use |
| 3590 |
the same convention. |
| 3591 |
|
| 3592 |
\begin{example}{multiFrenchBoxFont} |
| 3593 |
\aTabset{scale=0.7} |
| 3594 |
\Multidiagram[french]{3,2^2|...|1} |
| 3595 |
\Multitableau[ukrainian, box font=\tiny] |
| 3596 |
{123,45,67 | ... | {12}{13}{14}} |
| 3597 |
\end{example} |
| 3598 |
|
| 3599 |
\option[]{conjugate} |
| 3600 |
\index{conjugate!multidiagram} |
| 3601 |
\index{conjugate!multitableau} |
| 3602 |
\index{multidiagram!conjugate} |
| 3603 |
\index{multileau!conjugate} |
| 3604 |
|
| 3605 |
The \option{conjugate} option prints the conjugate multitableaux and |
| 3606 |
multidiagrams. Conjugation for multitableaux and multidiagrams reverses |
| 3607 |
the order of the components and then conjugates the component |
| 3608 |
diagrams. |
| 3609 |
|
| 3610 |
\begin{example}{multiConjugate} |
| 3611 |
\aTabset{scale=0.6, box font=\scriptsize} |
| 3612 |
\Multitableau[conjugate]{ 123,45 | 67,89} \quad |
| 3613 |
\Multidiagram[conjugate]{ 3,2 | 1^2 } |
| 3614 |
\end{example} |
| 3615 |
|
| 3616 |
\option[()]{delimiters}[pair of \LaTeX{} delimiters] |
| 3617 |
\option*[(]{left delimiter}[a \LaTeX{} delimiter] |
| 3618 |
\option*[)]{right delimiter}[a \LaTeX{} delimiter] |
| 3619 |
|
| 3620 |
The delimiter options control the delimiters that are put on the left |
| 3621 |
and right of multitableaux and multidiagrams. These options accept any |
| 3622 |
\LaTeX{} delimiter. |
| 3623 |
|
| 3624 |
\begin{example}{multiDelimiter} |
| 3625 |
\aTabset{scale=0.7} |
| 3626 |
\Multidiagram[left delimiter=\langle, |
| 3627 |
right delimiter={]}]{2,1|1} \quad |
| 3628 |
\Multidiagram[delimiters={\|}{\}} ]{1^2|2} |
| 3629 |
\end{example} |
| 3630 |
|
| 3631 |
To remove a delimiter, set \option{left delimiter} or |
| 3632 |
\option{right delimiter} to nothing. |
| 3633 |
|
| 3634 |
\begin{example}{multiDelimiters} |
| 3635 |
\Multitableau[left delimiter=, right delimiter=] |
| 3636 |
{123,45,67|{12}{14}} |
| 3637 |
\end{example} |
| 3638 |
|
| 3639 |
See also the \option{no separators} key. |
| 3640 |
|
| 3641 |
\option[$-$]{empty}[any \LaTeX{}] |
| 3642 |
|
| 3643 |
The \option{empty} option determines what is printed when a component |
| 3644 |
diagram is empty. By default, a minus sign~$-$ is used. |
| 3645 |
|
| 3646 |
\begin{example}{multiEmpty} |
| 3647 |
\Multitableau{ 123,45 | | 67,89} \par\bigskip |
| 3648 |
\Multidiagram[empty=\emptyset]{ 3,2 | | 2^2 } |
| 3649 |
\end{example} |
| 3650 |
|
| 3651 |
The \option{empty} key is printed in mathematics-mode (or text mode if |
| 3652 |
\option{text boxes} is true). To add a text entry use |
| 3653 |
\option{empty=\textbackslash text\{...\}}, or equivalent if you are |
| 3654 |
not using \ctan{amsmath}. |
| 3655 |
|
| 3656 |
\option[]{entries=value}[contents, first, hooks, last, residues]<multitableau> |
| 3657 |
\option*[]{charge=offsets}[$|$-separated list of charges]<multitableau> |
| 3658 |
|
| 3659 |
\index{contents} |
| 3660 |
\index{residues} |
| 3661 |
\index{contents!multitableau} |
| 3662 |
\index{first tableau!multitableau} |
| 3663 |
\index{hooks!multitableau} |
| 3664 |
\index{last tableau!multitableau} |
| 3665 |
\index{residues!multitableau} |
| 3666 |
\index{entries!multitableau} |
| 3667 |
\index{multidiagram!show} |
| 3668 |
\index{multileau!contents} |
| 3669 |
\index{multileau!first} |
| 3670 |
\index{multileau!hooks} |
| 3671 |
\index{multileau!last} |
| 3672 |
\index{multileau!residue} |
| 3673 |
|
| 3674 |
The \option{entries} key automatically adds particular types of |
| 3675 |
entries to a tableau of the specified shape. Use \option{charge} to |
| 3676 |
provide offsets in each component when using \option{entries=contents} |
| 3677 |
and \option{entries=residues} {(}the \option{charge} is ignored by other |
| 3678 |
\option{entries}). |
| 3679 |
|
| 3680 |
\nopagebreak[0] |
| 3681 |
The possible choices are: |
| 3682 |
\begin{itemize} |
| 3683 |
|
| 3684 |
\item\option{entries=first}: Prints the \emph{first} \textbf{standard} tableau of this |
| 3685 |
shape, which has the numbers $1,2\dots,n$ entered in order along the |
| 3686 |
rows, working left to right along components, and then reading the |
| 3687 |
rows top to bottom in each component, and left to right along each |
| 3688 |
row. |
| 3689 |
|
| 3690 |
\begin{example}{multiEntriesFirst} |
| 3691 |
\Multidiagram[entries=first]{3,1^2|2^2,1} |
| 3692 |
\end{example} |
| 3693 |
|
| 3694 |
\item\option{entries=last}: Prints the \emph{last} \textbf{standard} |
| 3695 |
tableau of this shape, which has the numbers $1,2\dots,n$ entered in |
| 3696 |
order down the columns, working right to left along components, and |
| 3697 |
then reading the columns left to right in each component, and top to |
| 3698 |
bottom down each column. |
| 3699 |
|
| 3700 |
\begin{example}{multiEntriesLast} |
| 3701 |
\Multidiagram[entries=last]{3,2,2|2^2} |
| 3702 |
\end{example} |
| 3703 |
|
| 3704 |
\item\option{entries=hooks}: Prints the diagram where each box in each |
| 3705 |
component is labelled by the corresponding \emph{hook length}. |
| 3706 |
|
| 3707 |
\begin{example}{multiEntriesHooks} |
| 3708 |
\Multidiagram[entries=hooks]{3,1^2|3^3} |
| 3709 |
\end{example} |
| 3710 |
|
| 3711 |
\item\option{entries=contents}: Prints the diagram where each box is |
| 3712 |
labelled by its \emph{content}, which is the row index minus the |
| 3713 |
column index. |
| 3714 |
|
| 3715 |
\begin{example}{multiEntriesContents} |
| 3716 |
\Multidiagram[entries=contents, charge={0|2}] |
| 3717 |
{3,2,1|2^2} |
| 3718 |
\end{example} |
| 3719 |
|
| 3720 |
As shown, the \option{charge} offsets the contents in each |
| 3721 |
\textit{component}. Use \keyword{|} to separate the charges for the |
| 3722 |
different components. |
| 3723 |
|
| 3724 |
\item\option{entries=residues}: Prints the diagram where each box is |
| 3725 |
labelled by its \emph{residue}, which is the row index minus the |
| 3726 |
column index modulo some integer~$e$, which must also be supplied. |
| 3727 |
|
| 3728 |
\index{residues} |
| 3729 |
\index{tableau!residues} |
| 3730 |
\begin{example}{multiEntriesResidues} |
| 3731 |
\Multidiagram[entries=residues, e=2]{3,2,1|1^3} |
| 3732 |
\end{example} |
| 3733 |
|
| 3734 |
Specifying the \option{charge} offsets the residues in each component. |
| 3735 |
|
| 3736 |
\begin{example}{multiEntriesCharge} |
| 3737 |
\Multidiagram[french, entries=residues, e=3, |
| 3738 |
charge={1|2}]{3,2,1|1^2} |
| 3739 |
\end{example} |
| 3740 |
|
| 3741 |
\medskip\noindent |
| 3742 |
As in \autoref{SS:entries}, residues for the other affine Cartan types |
| 3743 |
can be specified using \option{cartan=value}. |
| 3744 |
|
| 3745 |
\end{itemize} |
| 3746 |
|
| 3747 |
\option[]{label=labels}[a $|$-separated list of labels] |
| 3748 |
\index{multidiagram!label} |
| 3749 |
|
| 3750 |
Use \option{label} to add labels to the component diagrams. |
| 3751 |
|
| 3752 |
\begin{example}{multiLabels} |
| 3753 |
\Multitableau[label={1|2}]{123,45,67|{12}{14}} |
| 3754 |
\end{example} |
| 3755 |
|
| 3756 |
No extra space is allowed for the labels. Use the |
| 3757 |
\option{separation} key, or \option{xoffsets} and \option{yoffsets}, |
| 3758 |
to adjust for wide labels. |
| 3759 |
|
| 3760 |
\option[A]{name=text}[a character]<multi> |
| 3761 |
|
| 3762 |
The \option{name} option is used to change the default prefix for the |
| 3763 |
box node names. In a tableau, or diagram, the box names depend on the |
| 3764 |
\emph{row} and \emph{column} indices. In a multitableau, or |
| 3765 |
multidiagram, the box names depend on the \emph{component}, \emph{row} |
| 3766 |
and \emph{column} indices. Explicitly, by default, in multitableaux |
| 3767 |
and multidiagrams the box names take the form \textsf{A-k-r-c}, |
| 3768 |
where~\textsf{k} is the component index,~\textsf{r} is the row index, |
| 3769 |
and~\textsf{c} is the column index of the box% |
| 3770 |
\footnote{This follows the convention for nodes in multidiagrams |
| 3771 |
from~\cite{EvseevMathas:DeformedKLR}, rather than the somewhat misguided |
| 3772 |
convention that the author introduced in~\cite{DJM:cyc}.}. |
| 3773 |
The prefix \textsf{A} can be changed using the \option{name} key. |
| 3774 |
|
| 3775 |
\begin{example}{multiName} |
| 3776 |
\Multitableau[name=C, tikz after = { |
| 3777 |
\draw[red, thick,<->](C-1-2-2.south east) to |
| 3778 |
[out=315,in=225] (C-2-2-1.south west); |
| 3779 |
}] { 123,4*5 | 67,*89} |
| 3780 |
\end{example} |
| 3781 |
|
| 3782 |
\option[]{paths=ribbon specifications}[a $|$-separated list of ribbon specifications]<multi> |
| 3783 |
\option*[]{ribbons=ribbon specifications}[a $|$-separated list of ribbon specifications]<multi> |
| 3784 |
\option*[]{snobs=ribbon specifications}[a $|$-separated list of ribbon specifications]<multi> |
| 3785 |
|
| 3786 |
The \option{paths}<multi>, \option{ribbons}<multi>, and |
| 3787 |
\option{snobs}<multi> keys work in exactly the same way for |
| 3788 |
multitableaux and multidiagrams as they do for tableaux and diagrams, |
| 3789 |
except that the ribbons for different components are separated by the |
| 3790 |
pipe symbol~$|$. |
| 3791 |
|
| 3792 |
\begin{example}{multiRibbons} |
| 3793 |
\Multitableau[ribbons={(R)11*r | (Y)12rc}, |
| 3794 |
styles={R={fill=red!10, opacity=0.2}, |
| 3795 |
Y={fill=yellow!20, opacity=0.2} |
| 3796 |
}] { 123,45 | 67,89} |
| 3797 |
\end{example} |
| 3798 |
|
| 3799 |
\option[]{rows=number}[a decimal number] |
| 3800 |
|
| 3801 |
The \option{rows} option sets the number of rows covered by the |
| 3802 |
delimiters in multitableaux and multidiagrams. By default, the |
| 3803 |
\keyword{\Multitableau} and \keyword{\Multidiagram} set |
| 3804 |
the size of the delimiters so that they match the component diagrams, which may |
| 3805 |
not be what you want, especially when using the \option{australian} and |
| 3806 |
\option{ukrainian} conventions. The value of \option{rows} can be a |
| 3807 |
decimal number. |
| 3808 |
|
| 3809 |
\begin{example}{multiScale} |
| 3810 |
\Multidiagram[ukrainian, scale=0.5]{3,2^2|...|2,1^2} |
| 3811 |
\end{example} |
| 3812 |
|
| 3813 |
\begin{example}{multiRows} |
| 3814 |
\Multitableau[rows=3, scale=0.8, box font=\tiny] |
| 3815 |
{ {1_1}{1_1}{1_1}{2_1},{2_1}{2_1}{2_1} | |
| 3816 |
{1_2}{3_3},{2_2} | |
| 3817 |
{1_3}{1_3},{2_3} } |
| 3818 |
\end{example} |
| 3819 |
|
| 3820 |
\begin{example}{multiFrenchRows} |
| 3821 |
\Multitableau[french,rows=2.5,scale=0.8,box font=\tiny] |
| 3822 |
{ {1_1}{1_1}{1_1}{2_1},{2_1}{2_1}{2_1} | |
| 3823 |
{1_2}{3_3},{2_2} | |
| 3824 |
{1_3}{1_3},{2_3} } |
| 3825 |
\end{example} |
| 3826 |
|
| 3827 |
\option[true]{separators}[true/false] |
| 3828 |
\option*[false]{no separators}[false/true] |
| 3829 |
|
| 3830 |
When \option{separators} is true, delimiters are drawn around the |
| 3831 |
component diagrams in a multitableau and a multidiagram and |
| 3832 |
separators are drawn between the component shapes. The |
| 3833 |
\option{no separators} key is the inverse option. By default, both |
| 3834 |
separators and delimiters are drawn. |
| 3835 |
|
| 3836 |
\begin{example}{multiNoSeparators} |
| 3837 |
\Multitableau[separators, scale=0.8] |
| 3838 |
{123,45,67 | 89,{10}{11}} \par\bigskip |
| 3839 |
\Multidiagram[no separators, scale=0.7] |
| 3840 |
{3,2^2|2,1^2} \par\bigskip |
| 3841 |
\end{example} |
| 3842 |
|
| 3843 |
\option[$|$]{separator=text}[character] |
| 3844 |
|
| 3845 |
The \option{separator} determines what is printed between the |
| 3846 |
component diagrams in multitableaux and multipartition. By default, |
| 3847 |
\option{separator=$|$}, which draws a straight line between the |
| 3848 |
components, but any character can be used. |
| 3849 |
|
| 3850 |
\begin{example}{multiSeparators} |
| 3851 |
\Multitableau[separator={,}]{ 123,45 | 67,89} \par\bigskip |
| 3852 |
\Multidiagram[separator=:]{ 3,2 | 2^2 } |
| 3853 |
\end{example} |
| 3854 |
|
| 3855 |
\option[\aTableauColour{Main}]{separator colour=colour}[a \LaTeX{} colour] |
| 3856 |
|
| 3857 |
The \option{separator colour} sets the colour of the delimiters and |
| 3858 |
the separator between component diagrams. By default, the separators |
| 3859 |
are the same colour as the diagram border. |
| 3860 |
|
| 3861 |
\begin{example}{mutitabColouredSeps} |
| 3862 |
\Multitableau[separator colour=red]{123,45 | 67,89} \par\bigskip |
| 3863 |
\Multidiagram[separator color=brown, separator=:] |
| 3864 |
{3,2 | 2^2 } |
| 3865 |
\end{example} |
| 3866 |
|
| 3867 |
\option[0.3]{separation=number}[a decimal number (the distance in \unit{cm})] |
| 3868 |
|
| 3869 |
The \option{separation} key sets the distance between the separators |
| 3870 |
and the component tableaux and diagrams. |
| 3871 |
|
| 3872 |
\begin{example}{mutitabSmallSep} |
| 3873 |
\Multitableau[separation=0.1]{123,45 | 67,89} \par\bigskip |
| 3874 |
\Multidiagram[separation=0.8]{3,2 | 2^2} |
| 3875 |
\end{example} |
| 3876 |
|
| 3877 |
\option[]{shifted}[true/false] |
| 3878 |
|
| 3879 |
Use the \option{shifted} key to draw shifted multitableaux and multidiagrams. |
| 3880 |
|
| 3881 |
\begin{example}{multiShifted} |
| 3882 |
\Multitableau[shifted]{ 1236,45 | 7{10}{11},89} \par\bigskip |
| 3883 |
\Multidiagram[shifted]{ 3,2 | 3,1 } |
| 3884 |
\end{example} |
| 3885 |
|
| 3886 |
\option[]{skew=partitions}[a $|$-separated list of partitions] |
| 3887 |
|
| 3888 |
Skew multishapes can be drawn using the \option{skew} option to |
| 3889 |
specify a $|$-separated list of inner shapes. |
| 3890 |
|
| 3891 |
\begin{example}{multiSkew} |
| 3892 |
\Multitableau[skew={2,1|1}]{ 123,45 | 7{10},89} \par\bigskip |
| 3893 |
\Multidiagram[skew={1|2,1}, skew boxes]{ 3,2 | 2^2 } |
| 3894 |
\end{example} |
| 3895 |
|
| 3896 |
In the same way, use the \option{skew} key to draw multitableaux and |
| 3897 |
multidiagrams with components that are a mixture of non-skew, skew and |
| 3898 |
shifted shapes. |
| 3899 |
|
| 3900 |
\begin{example}{multiSkew2} |
| 3901 |
\Multitableau[skew={1^2|1}]{ 1236,45 | 7{10},{11}{12}} \par\bigskip |
| 3902 |
\Multidiagram[skew={|0,1}]{ 3,2 | 3,1 } |
| 3903 |
\end{example} |
| 3904 |
|
| 3905 |
\option[true]{tabloid}[true/false] |
| 3906 |
|
| 3907 |
Use the \option{tabloid} key for multitabloid diagrams and tableaux. |
| 3908 |
|
| 3909 |
\begin{example}{multiTabloid} |
| 3910 |
\Multitableau[tabloid]{ 123,45 | 67,89} \par\bigskip |
| 3911 |
\Multidiagram[tabloid]{ 4,2 | 2^2 } |
| 3912 |
\end{example} |
| 3913 |
|
| 3914 |
\option[0]{xoffsets=offsets}[$|$-separated list of $x$-offsets] |
| 3915 |
\option*[0]{yoffsets=offsets}[$|$-separated list of $y$-offsets] |
| 3916 |
|
| 3917 |
The \keyword{\Multitableau} and \keyword{\Multidiagram} commands try |
| 3918 |
to draw the diagrams as compactly as possible with their first rows |
| 3919 |
aligned, and the distance between the separators given by the value of |
| 3920 |
\option{separation}. Use \option{xoffsets} to offset the |
| 3921 |
$x$-coordinates of the component diagrams and \option{yoffsets} to |
| 3922 |
offset their $y$-coordinates. |
| 3923 |
|
| 3924 |
\begin{example}{multiOffsets} |
| 3925 |
\Multitableau[xoffsets={0.5|0.2}]{ 123,45 | 67,89} \par\bigskip |
| 3926 |
\Multidiagram[yoffsets={0|1.5}]{ 4,2 | 2^2 } |
| 3927 |
\end{example} |
| 3928 |
|
| 3929 |
When using \option{xoffsets} or \option{yoffsets}, you may want to use |
| 3930 |
\option{no separators} to disable the separators between component |
| 3931 |
shapes. For example, here is a homogeneous Garnir tableau drawn using |
| 3932 |
the style of~\cite{KMR:UniversalSpecht}, where the component tableaux |
| 3933 |
are stacked vertically and no separators are used. |
| 3934 |
|
| 3935 |
\begin{example}{multiGarnir} |
| 3936 |
\Multidiagram[entries=first, no separators, |
| 3937 |
xoffsets={0|-1.1}, yoffsets={0|-1}, |
| 3938 |
styles={O={fill=orange!50}, P={fill=purple!50}}, |
| 3939 |
snob style={draw=red,double,thick,fill=white}, |
| 3940 |
snobs={|(O)24_{15}c_{14}, (P)26_{17}c_{16}, |
| 3941 |
27_{18}, 31_{11}, (P)33_{13}c_{12}} |
| 3942 |
]{1|7^2,4,1} |
| 3943 |
\end{example} |
| 3944 |
|
| 3945 |
This is a slightly lazy way of drawing this multitableau because |
| 3946 |
\option{entries=first} is used to populate most of the tableau |
| 3947 |
entries, after which \option{snobs=...} is used to rewrite the |
| 3948 |
``bricks'' in the homogeneous Garnir belt. |
| 3949 |
|
| 3950 |
% -------------------------------------------------------------- |
| 3951 |
\section{Abacuses} \label{S:Abacus} \index{abacus} \indexcmd{Abacus} |
| 3952 |
|
| 3953 |
In the representation theory of the symmetric groups, Gordon |
| 3954 |
James~\cite{James:YoungD} introduced the abacus, with beads and |
| 3955 |
runners, as another way to represent a partition. The abacus is |
| 3956 |
particularly useful in modular representation theory, where the number |
| 3957 |
of runners is the (quantum) characteristic. Abacus combinatorics is |
| 3958 |
now used in the representation theory of many algebras, with their use |
| 3959 |
now extending far beyond the symmetric groups. |
| 3960 |
|
| 3961 |
The partition corresponding to an abacus is given by counting the |
| 3962 |
number of empty bead positions before each bead on the abacus. The |
| 3963 |
\keyword{\Abacus} command, which draws an abacus representation of a |
| 3964 |
partition, has a similar syntax to the \keyword{\Tableau} and |
| 3965 |
\keyword{\Diagram} commands: |
| 3966 |
|
| 3967 |
\keyword{\Abacus (x,y) [options] {number of runners} {bead specifications}} |
| 3968 |
|
| 3969 |
As with other \aTableau commands, the $(x,y)$-coordinates are |
| 3970 |
necessary if, and only if, the abacus is part of a |
| 3971 |
\keyword{tikzpicture} environment. The number of runners is a |
| 3972 |
positive integer that specifies the number of runners, or vertical |
| 3973 |
lines, in the abacus. |
| 3974 |
|
| 3975 |
% -------------------------------------------------------------- |
| 3976 |
\subsection{Bead specifications} |
| 3977 |
|
| 3978 |
In their simplest form, the bead specifications are given as a |
| 3979 |
partition, which can be given as a list of non-negative integers |
| 3980 |
or by using exponential notation. The full bead specifications allow |
| 3981 |
you to add styling and labels to each bead. |
| 3982 |
|
| 3983 |
Here are some examples showing basic usage of the \keyword{\Abacus} |
| 3984 |
command: |
| 3985 |
|
| 3986 |
\begin{Example}{abacus} |
| 3987 |
\aTabset{align=top} |
| 3988 |
\Abacus{1}{2,1} \qquad \Abacus{2}{2,1^2,0^3} \qquad \Abacus{3}{2,1^2,0^5} \qquad |
| 3989 |
\Abacus{4}{2,1^2,0^5} \qquad \Abacus{5}{2,1^2,0^5} \qquad \Abacus{6}{2,1^2,0^5} |
| 3990 |
\end{Example} |
| 3991 |
|
| 3992 |
The beads in an abacus correspond to the parts of the partition. Just |
| 3993 |
as with the \keyword{\Tableau} command, each of the beads can be given |
| 3994 |
optional styling, which can either be given by prepending a |
| 3995 |
\keyword{*}, which applies the \option{abacus star}, or by |
| 3996 |
giving \TikZ style-keys inside square brackets \keyword{[...]}. |
| 3997 |
When exponential notation is used, the styles are applied to all of the |
| 3998 |
associated beads. |
| 3999 |
|
| 4000 |
\begin{example}{abacusStyled} |
| 4001 |
\aTabset{align=top} |
| 4002 |
\Abacus{3}{3,*2^3,1} \qquad |
| 4003 |
\Abacus{4}{2,*1,[ball color=red]1^2, *1, |
| 4004 |
[ball color=orange]1,[bead=brown]0} |
| 4005 |
\end{example} |
| 4006 |
|
| 4007 |
In particular, in the right-hand abacus, the two beads corresponding |
| 4008 |
to \keyword{1^2} are coloured red, whereas the other three beads that |
| 4009 |
correspond to a~$1$ are either orange or an off-white colour, which is |
| 4010 |
the default \option{abacus star}. As with the tableau commands, |
| 4011 |
we recommend using \keyword{\tikzset} to define more complicated bead styles. |
| 4012 |
|
| 4013 |
In addition to applying style to the individual beads on the abacus, |
| 4014 |
\emph{labels} for any bead can (optionally) be given as a subscript in the |
| 4015 |
bead specifications. Again, the same labels are applied to all of the |
| 4016 |
corresponding beads when exponential notation is used. |
| 4017 |
|
| 4018 |
\begin{example}{abacusText} |
| 4019 |
\Abacus{2}{5_5, 4_4, 3_3, 2_2,0_0} \qquad |
| 4020 |
\Abacus[styles={R={ball color=red, text=yellow}}] |
| 4021 |
{3}{*5^2_5, [R]4^3_4, 3, 2_2,*0^2_{oo}} \qquad |
| 4022 |
\Abacus{4}{8^2_-,7_+,5_a,4^2_b,1_\times^3,1_d} |
| 4023 |
\end{example} |
| 4024 |
|
| 4025 |
The bead labels are arbitrary, however, anything wider than the bead |
| 4026 |
will spill into the abacus. Traditionally, abacus beads are not labelled, |
| 4027 |
but you can give labels to as many beads as you like. |
| 4028 |
|
| 4029 |
You can remove beads that you have placed on the abacus using the \emph{unshaded} style% |
| 4030 |
\footnote{The \emph{unshaded} style disables an existing |
| 4031 |
\TikZ-shading on a node. Out of the box, \TikZ \emph{does not} provide |
| 4032 |
a way to do this. The \emph{unshaded} style, which is based on a |
| 4033 |
\href{https://tex.stackexchange.com/a/85750/234252}{stack exchange |
| 4034 |
post}, is available whenever the \aTableau package is loaded.}. |
| 4035 |
The point of being able to remove beads in this way is that this |
| 4036 |
allows you to put something else in this bead position using the bead |
| 4037 |
label. In such cases, you probably want to change the text colour |
| 4038 |
because this is white by default. |
| 4039 |
|
| 4040 |
\begin{example}{abacusNoShade} |
| 4041 |
\Abacus[styles={C={unshaded,text=red}}] |
| 4042 |
{5}{8^2_-,7_+,5_a,4^2_b,[C]1_\bullet^3,1_d} |
| 4043 |
\end{example} |
| 4044 |
\index{unshaded} |
| 4045 |
|
| 4046 |
As with tableau boxes, the bead labels are typeset in |
| 4047 |
mathematics~mode by default. This can be changed using |
| 4048 |
\option{math boxes} and \option{text boxes}. |
| 4049 |
\index{math boxes!abacus} |
| 4050 |
\index{text boxes!abacus} |
| 4051 |
Finally, we note that a more traditional abacus display is drawn when |
| 4052 |
the \option{traditional} key is used. |
| 4053 |
|
| 4054 |
\begin{example}{abacusBall} |
| 4055 |
\Abacus[traditional] |
| 4056 |
{5}{8^2_\bullet,7_+,5_a,[ball color=red]4^2_b,1^3,1_d} |
| 4057 |
\end{example} |
| 4058 |
|
| 4059 |
See \autoref{SS:Traditional} for more details. |
| 4060 |
|
| 4061 |
% -------------------------------------------------------------- |
| 4062 |
\subsection{Abacuses and quotients}\label{SS:quotients} |
| 4063 |
\index{quotient} |
| 4064 |
\index{beta numbers!quotient} |
| 4065 |
\index{abacus!quotient} |
| 4066 |
\index{partition!quotient} |
| 4067 |
|
| 4068 |
Rather than specifying a partition, or beta numbers, for an abacus it |
| 4069 |
is also possible to give a $|$-separated list of partitions, or beta |
| 4070 |
numbers, for the corresponding (core and) quotient partition, which |
| 4071 |
corresponds to the partitions obtained by reading the beta numbers |
| 4072 |
down each runner. The quotients can be given as either partitions, or as beta |
| 4073 |
numbers with the \option{beta numbers} key. The syntax is |
| 4074 |
exactly the same as described in the previous section except that the |
| 4075 |
different components of the quotient are separated by a pipe |
| 4076 |
symbol~\keyword{|}. The number of components in the quotients must be less |
| 4077 |
than or equal to the number of runners. Any omitted components in |
| 4078 |
the quotient are assumed to be empty. |
| 4079 |
|
| 4080 |
\begin{example}{abacusBeta} |
| 4081 |
\Abacus{4}{1,0||2,1} \qquad |
| 4082 |
\Abacus[beta numbers]{4}{[ball color=red]1,0||2,1} |
| 4083 |
\end{example} |
| 4084 |
|
| 4085 |
% -------------------------------------------------------------- |
| 4086 |
\subsection{Abacus coordinates}\label{SS:abcoordinates} |
| 4087 |
\index{xy@$(x,y)$} |
| 4088 |
\index{Cartesian coordinates!abacus} |
| 4089 |
|
| 4090 |
The $(x,y)$-coordinates are required if, and only if, the |
| 4091 |
\keyword{\Abacus} command is used inside a \keyword{tikzpicture} |
| 4092 |
environment, in which case $(x,y)$ gives the coordinates of the |
| 4093 |
``outside corner'' of the bead in row~$0$ and column~$0$ of the abacus |
| 4094 |
(unlike tableaux, both the row and column indices start from~$0$). The |
| 4095 |
following example shows how abacuses are placed using |
| 4096 |
$(x,y)$-coordinates inside a \keyword{tikzpicture} environment. The |
| 4097 |
example also shows that, by default, the beads and runners in an |
| 4098 |
abacus are half a unit apart. |
| 4099 |
|
| 4100 |
\begin{example}{abacusCoords} |
| 4101 |
\begin{tikzpicture}[add grid] |
| 4102 |
\aTabset{abacus ends=_|, entries=beads} |
| 4103 |
\Abacus(0,0) [south] {3}{2,1^2} |
| 4104 |
\Abacus(0,2) [east, bead=red] {3}{2,1^2} |
| 4105 |
\Abacus(2,-1)[north, bead=orange] {3}{2,1^2} |
| 4106 |
\Abacus(3,1) [west, bead=brown] {3}{2,1^2} |
| 4107 |
\end{tikzpicture} |
| 4108 |
\end{example} |
| 4109 |
|
| 4110 |
As described below, using \option{entries=beads}<abacus> labels each bead with the corresponding |
| 4111 |
\emph{beta number}. |
| 4112 |
|
| 4113 |
% -------------------------------------------------------------- |
| 4114 |
\subsection{Abacus keys} |
| 4115 |
|
| 4116 |
The abacus keys, or options, control the general appearance of the |
| 4117 |
abacuses drawn by the \keyword{\Abacus} command. Many of the options, |
| 4118 |
or keys, for tableaux and diagrams can be applied to abacuses, and we |
| 4119 |
do not discuss all of those options here. For example, the |
| 4120 |
\keyword{\Abacus} command accepts the following keys: |
| 4121 |
\option{align}, \AddKeyLink{align-abacus}\AddKeyLink{halign-abacus}\AddKeyLink{valign-abacus} |
| 4122 |
\option{math boxes}, \AddKeyLink{math boxes-abacus} |
| 4123 |
\option{text boxes}, \AddKeyLink{text boxes-abacus} |
| 4124 |
\option{name}, \AddKeyLink{name-abacus} |
| 4125 |
\option{scale}, \AddKeyLink{scale-abacus}\AddKeyLink{xscale-abacus}\AddKeyLink{yscale-abacus} |
| 4126 |
\option{styles}, \AddKeyLink{styles-abacus} |
| 4127 |
\option{tikz after}, \AddKeyLink{tikz after-abacus} |
| 4128 |
\option{tikz before}, and \AddKeyLink{tikz before-abacus} |
| 4129 |
\option{tikzpicture}. \AddKeyLink{tikzpicture-abacus} |
| 4130 |
See \autoref{S:keys} for the complete list. |
| 4131 |
|
| 4132 |
\option[-]{south} |
| 4133 |
\option*[]{east} |
| 4134 |
\option*[]{north} |
| 4135 |
\option*[]{west} |
| 4136 |
|
| 4137 |
Just like tableaux, abacus have four different conventions. By |
| 4138 |
default, abacuses are drawn with the runners pointing to the south, |
| 4139 |
from top to bottom, and runners increasing from left to right. Similar |
| 4140 |
to tableaux, we number the rows $0,1,\dots$, and we number the |
| 4141 |
runners, or columns, $0,1,\dots,e-1$, from left to right (when using |
| 4142 |
\option{south}). If there are $e$ runners, then the bead in row~$r$ |
| 4143 |
and column~$c$ is in position $er+c$. See \autoref{Ex:abacusBeadPositions} |
| 4144 |
for an example. |
| 4145 |
|
| 4146 |
Using the keys \option{east}, \option{north} and \option{west}, |
| 4147 |
abacuses can be drawn so that the row index increases to the east, |
| 4148 |
north, and west, respectively. |
| 4149 |
|
| 4150 |
\begin{Example}{abacusConventions} |
| 4151 |
\Abacus[south,entries=beads]{2}{4^2,2,1}\qquad\Abacus[east,entries=beads]{2}{4^2,2,1}\qquad |
| 4152 |
\Abacus[north,entries=beads]{2}{4^2,2,1}\qquad\Abacus[west,entries=beads]{2}{4^2,2,1} |
| 4153 |
\end{Example} |
| 4154 |
|
| 4155 |
To make these conventions clearer, we have used |
| 4156 |
\option{entries=beads}<abacus> to label the beads in these abacuses by |
| 4157 |
their bead positions, or \emph{beta numbers}. |
| 4158 |
|
| 4159 |
\option[$-|$]{abacus ends}[any pair of: $-$, \_\!\_, ., *, $|$, \textgreater] |
| 4160 |
\option*[very thick, draw=\aTableauColour{Inner}]{abacus ends style=style}[\TikZ-styling] |
| 4161 |
|
| 4162 |
The \option{abacus ends} key sets the style used for the top and |
| 4163 |
bottom of the abacus. The meaning of these six symbols is the |
| 4164 |
following: |
| 4165 |
|
| 4166 |
\begin{quote} |
| 4167 |
\rowcolors{2}{}{LightSkyBlue!10} |
| 4168 |
\begin{tabular}{Oll} \toprule |
| 4169 |
\multicolumn1l{\textsf{Character}} & \textsf{Symbol} & \textsf{Meaning} \\ \midrule |
| 4170 |
$-$ & dash & Draw a horizontal line that extends slightly past the first and last runners\\ |
| 4171 |
\_\!\_ & underscore & Draw a horizontal line between the first and last runners\\ |
| 4172 |
. & dot & Draw dots at the end of the runners\\ |
| 4173 |
* & asterisk & Draw dots and arrows at the end of the runners\\ |
| 4174 |
$|$ & pipe & No additional decoration\\ |
| 4175 |
$>$ & greater than & Draw arrows and the end of the runners\\ |
| 4176 |
\bottomrule |
| 4177 |
\end{tabular} |
| 4178 |
\end{quote} |
| 4179 |
|
| 4180 |
Exactly two of these styling characters must be given when setting |
| 4181 |
\option{abacus ends}. There are six options for the top of the abacus, |
| 4182 |
and six options for the bottom, so there are 36 possible |
| 4183 |
configurations (most of which will never be used...). We do not list |
| 4184 |
all of them, but here are some examples. |
| 4185 |
|
| 4186 |
\begin{Example}{abacusEnds} |
| 4187 |
\aTabset{align=top} |
| 4188 |
\Abacus[abacus ends=-|]{3}{2,1^2,0^3}\quad\Abacus[abacus ends=-_]{3}{2,1^2,0^3}\quad |
| 4189 |
\Abacus[abacus ends=_.]{3}{2,1^2,0^3}\quad\Abacus[abacus ends=>>]{3}{2,1^2,0^3}\quad |
| 4190 |
\Abacus[abacus ends=>|]{3}{2,1^2,0^3}\quad\Abacus[abacus ends=_-]{3}{2,1^2,0^3}\quad |
| 4191 |
\Abacus[abacus ends=>-]{3}{2,1^2,0^3}\quad\Abacus[abacus ends=-*]{3}{2,1^2,0^3} |
| 4192 |
\end{Example} |
| 4193 |
|
| 4194 |
As one more example, \emph{beta numbers} can be displayed on a single, |
| 4195 |
horizontal, runner using: |
| 4196 |
|
| 4197 |
\begin{example}{abacusEndsEast} |
| 4198 |
\Abacus[abacus ends=**, east, rows=7]{1}{2,1^2,*0^2} |
| 4199 |
\end{example} |
| 4200 |
|
| 4201 |
The \option{abacus ends style} key changes the \TikZ-styling of the |
| 4202 |
ends of the abacus. By default, this styling is the same as the |
| 4203 |
styling for the abacus runners, which is set using |
| 4204 |
\option{runner style}. Changes to \option{runner style} also change |
| 4205 |
the style of the abacus ends, but their style is ultimately determined |
| 4206 |
by \option{abacus ends style}. |
| 4207 |
|
| 4208 |
\begin{example}{abacusEndsStyle} |
| 4209 |
\Abacus[abacus ends style={aTableauMain, |
| 4210 |
ultra thick}]{3}{2,1^2,0^3}\qquad |
| 4211 |
\Abacus[runner style=cyan]{3}{2,1^2,0^3}\qquad |
| 4212 |
\Abacus[abacus ends style=aTableauMain, |
| 4213 |
runner style=cyan] {3}{2,1^2,0^3} |
| 4214 |
\end{example} |
| 4215 |
|
| 4216 |
The \option{traditional} abacus style only supports the $-$ |
| 4217 |
and~\_\!\_ settings for \option{abacus ends}. Using the \option{framed} |
| 4218 |
key works better with the \option{traditional} style. |
| 4219 |
|
| 4220 |
\option[ball color=\aTableauColour{Star}, text=\aTableauColour{Main}]{abacus star=style} |
| 4221 |
[\TikZ-styling] |
| 4222 |
\index{tableau star!abacus star} |
| 4223 |
|
| 4224 |
The \option{abacus star} key appends \TikZ-style keys to the |
| 4225 |
abacus $*$-style: |
| 4226 |
|
| 4227 |
\begin{example}{abacusStar} |
| 4228 |
\Abacus{3}{5,*4_a,*1^2,0^4} \qquad |
| 4229 |
\Abacus[abacus star={ball color=brown,text=black}] |
| 4230 |
{3}{5,*4_b,*1^2,0^4} |
| 4231 |
\end{example} |
| 4232 |
|
| 4233 |
\option[0.4]{abacus top=number}[a decimal number] |
| 4234 |
\option*[0.1]{abacus bottom=number}[a decimal number] |
| 4235 |
|
| 4236 |
The \option{abacus top} key sets the gaps between the ``top'' of the |
| 4237 |
abacus and the first row of beads. By default, these are 0.1 units |
| 4238 |
from the top and bottom beads in the abacus. Similarly, \option{abacus bottom} |
| 4239 |
sets the distance between the last row of beads and the bottom of the |
| 4240 |
abacus runners. Both of these keys are ``fractional'' row indices.interpreted as offsets to the |
| 4241 |
row index, so decreasing \option{abacus top} raises the line at the |
| 4242 |
``top'' of abacus and increasing \option{abacus top} lowers the line |
| 4243 |
at the ``bottom'' of the abacus.\footnote{Throughout this section, the |
| 4244 |
word ``top'' and ``bottom'' are correct when using the \option{south} |
| 4245 |
convention for abacuses. For any convention, ``top'' should be |
| 4246 |
interpreted as row zero, and ``bottom'' as the row with the largest |
| 4247 |
row index. Similarly, ``left'' and ``right'' refer to the minimum and |
| 4248 |
maximum column index, respectively.} |
| 4249 |
|
| 4250 |
\begin{example}{abacusTop} |
| 4251 |
\Abacus[abacus ends=--]{3}{2,1^2,0^3}\qquad |
| 4252 |
\Abacus[abacus ends=--, abacus top=0, |
| 4253 |
abacus bottom=1]{3}{2,1^2,0^3} |
| 4254 |
\end{example} |
| 4255 |
|
| 4256 |
\option[\aTableauColour{Main}]{bead=colour}[a \LaTeX\ colour] |
| 4257 |
|
| 4258 |
The \option{bead} key sets the bead colour. |
| 4259 |
|
| 4260 |
\begin{example}{abacusBead} |
| 4261 |
\Abacus{2}{2^3,1} \qquad |
| 4262 |
\Abacus[bead=black]{3}{4^3,2,1} \qquad |
| 4263 |
\Abacus[bead=red]{4}{4^3,[ball color=blue]2,1} |
| 4264 |
\end{example} |
| 4265 |
|
| 4266 |
The \option{bead} key changes the colour of every bead on the |
| 4267 |
abacus. As shown, the colour of individual beads can be changed by |
| 4268 |
applying the \TikZ-style \keyword{ball color} to the bead. |
| 4269 |
|
| 4270 |
\option[\textbackslash small]{bead font=font command}[\LaTeX\ font command] |
| 4271 |
|
| 4272 |
The \option{bead font} key sets the font used for the bead labels. |
| 4273 |
By default, these labels are typeset as mathematics, so |
| 4274 |
this is mainly useful for changing the font size (because, for example |
| 4275 |
\keyword{\bfseries $1$} does not make the $1$ bold). It is only when |
| 4276 |
you are using \option{text boxes} that font commands like |
| 4277 |
\keyword{\itshape} and \keyword{\bfseries} will have any effect. |
| 4278 |
|
| 4279 |
\begin{example}{abacusBeadFont} |
| 4280 |
\Abacus{3}{3_1,2^2,1^3} \qquad |
| 4281 |
\Abacus[bead font=\tiny]{3}{3_2,2^2,1^3} \qquad |
| 4282 |
\Abacus[text boxes, bead font=\bfseries]{3}{3_3,2^2,1^3} |
| 4283 |
\end{example} |
| 4284 |
|
| 4285 |
\option[0.4]{bead size=number}[decimal number, distance in \unit{cm}] |
| 4286 |
\option*[0.42]{bead sep=number}[decimal number, distance in \unit{cm}] |
| 4287 |
\option*[0.42]{runner sep=number}[decimal number, distance in \unit{cm}] |
| 4288 |
|
| 4289 |
These three keys control the size of the beads and the distance |
| 4290 |
between them, so they would normally be used together. By default, the |
| 4291 |
\emph{diameter} of the abacus beads is \qty{0.4}{cm}, the distance |
| 4292 |
between adjacent beads on the same runner is \qty{.42}{cm}, and the |
| 4293 |
distance between consecutive runners is \qty{0.42}{cm}. |
| 4294 |
|
| 4295 |
\begin{example}{abacusBeadSize} |
| 4296 |
\Abacus[bead size=0.6, bead sep=0.65, runner sep=0.65] |
| 4297 |
{3}{3_3,2^2,1^3} |
| 4298 |
\end{example} |
| 4299 |
|
| 4300 |
As with tableaux, you can also change the size of the abacuses using |
| 4301 |
\option{scale}<abacus>, \option{xscale}<abacus> and |
| 4302 |
\option{yscale}<abacus>. Changing these keys globally affects both |
| 4303 |
abacuses and tableaux. |
| 4304 |
|
| 4305 |
The default values for all of these settings change when you use the |
| 4306 |
\option{traditional} abacus style. In addition, there are |
| 4307 |
\option{bead height} and \option{bead width} keys that are used with |
| 4308 |
the traditional style. |
| 4309 |
|
| 4310 |
\option[]{bead style=style}[\TikZ-styling] |
| 4311 |
|
| 4312 |
The keys above are usually sufficient for fine-tuning the style of the |
| 4313 |
abacus beads. Alternatively, the \option{bead style} key appends |
| 4314 |
\TikZ-styling to the default bead style, which has many moving parts. |
| 4315 |
|
| 4316 |
\begin{example}{abacusBeadStyle} |
| 4317 |
\Abacus[bead style={shading=axis}, bead text=red] {3}{3_3,2^2,1^3} \qquad |
| 4318 |
\Abacus[bead style={unshaded, fill=aTableauMain}] {3}{3_3,2^2,1^3} |
| 4319 |
\end{example} |
| 4320 |
|
| 4321 |
By default, the beads look like balls (they use the |
| 4322 |
\TikZ-styling \keyword{shading=ball, ball color=}\aTableauColour{Main}). |
| 4323 |
In contrast, the beads on the left look like go beads, and those |
| 4324 |
on the right are flat. The \option{traditional} provides another way |
| 4325 |
to change the abacus style. |
| 4326 |
|
| 4327 |
\option[white]{bead text=colour}[a \LaTeX~colour] |
| 4328 |
|
| 4329 |
The \option{bead text} key sets the text colour of the abacus labels. |
| 4330 |
|
| 4331 |
\begin{example}{abacusBeadText} |
| 4332 |
\Abacus[bead=blue, bead text=yellow] {3}{3_3,2^2,1^3} |
| 4333 |
\end{example} |
| 4334 |
|
| 4335 |
\option[0]{beads=number of beads}[non-negative integer] |
| 4336 |
|
| 4337 |
Set the (minimum) number of beads in the abacus. By default, the |
| 4338 |
number of beads is equal to the length of the partition, including |
| 4339 |
zeros, or the length of the sequence of beta numbers. You can |
| 4340 |
increase the number of beads by adding $0$'s to the end of the |
| 4341 |
partition, or by increasing the number of beta numbers. |
| 4342 |
Alternatively, you can set the number of beads using \option{beads}. |
| 4343 |
When the partition is entered as a quotient, \option{beads} sets the |
| 4344 |
minimum number of beads on each runner. |
| 4345 |
|
| 4346 |
\begin{example}{abacusBeads} |
| 4347 |
\Abacus[beads=15]{3}{4^2,2}\qquad |
| 4348 |
\Abacus[beads=4]{4}{3^2|1^3||2,1^2} |
| 4349 |
\end{example} |
| 4350 |
|
| 4351 |
\option[false]{beta numbers}[false/true] |
| 4352 |
|
| 4353 |
When \option{beta numbers} is set, the numbers in the bead |
| 4354 |
specifications are entered as \emph{beta numbers}. The beta numbers |
| 4355 |
give the bead positions, which are numbered $0,1,\dots$, starting from |
| 4356 |
the first row and then continuing in this way in subsequent rows. More |
| 4357 |
explicitly, if there are $e$ runners then the bead in row~$r$ and |
| 4358 |
column~$c$ is in position $er+c$. Up to shift, bead numbers are first |
| 4359 |
column hook lengths. In particular, beta numbers are pairwise |
| 4360 |
distinct. |
| 4361 |
|
| 4362 |
\begin{example}{abacusBetaNumbers} |
| 4363 |
\Abacus{3}{3,2^2} \qquad |
| 4364 |
\Abacus[beta numbers]{3}{5,3,2} \qquad |
| 4365 |
\Abacus[beta numbers]{3}{6,4,3,[ball color=red]0} |
| 4366 |
\end{example} |
| 4367 |
|
| 4368 |
There is no inverse key to \option{beta numbers}, however, |
| 4369 |
\option{beta numbers=false} will remove the requirement to use beta |
| 4370 |
numbers in the bead specifications. |
| 4371 |
|
| 4372 |
\option[]{dotted cols=column indices}[list of runner indices]<abacus> |
| 4373 |
\option*[]{dotted rows=row indices}[list of row indices]<abacus> |
| 4374 |
|
| 4375 |
The \option{dotted rows}<abacus> and \option{dotted cols}<abacus> keys |
| 4376 |
draw abacuses where the specified rows and columns are replaced with |
| 4377 |
dots. This makes it possible to draw \emph{generic} abacuses, where |
| 4378 |
the number of rows and columns is not fully specified. Note that for |
| 4379 |
abacuses, both the row and column indexing starts from~$0$. |
| 4380 |
|
| 4381 |
\begin{example}{abacusDotted} |
| 4382 |
\Abacus[dotted rows={2,4}]{4}{8,5,4,3,2,1} \qquad |
| 4383 |
\Abacus[dotted cols={1,3},abacus ends=-*] |
| 4384 |
{6}{9,8,5,4,3^3,2} |
| 4385 |
\end{example} |
| 4386 |
|
| 4387 |
As with tableaux, consecutive rows and columns are merged. |
| 4388 |
|
| 4389 |
\begin{example}{abacusDottedRows} |
| 4390 |
\Abacus[dotted rows={1,2,3}]{4}{8,5,4,3,2,1} \qquad |
| 4391 |
\Abacus[dotted cols={1,2,3},abacus ends=-*] |
| 4392 |
{6}{9,8,5,4,3^3,2} |
| 4393 |
\end{example} |
| 4394 |
|
| 4395 |
Comparing these two examples shows that the beads and runners in the |
| 4396 |
dotted rows and columns are removed by \option{dotted rows}<abacus> |
| 4397 |
and \option{dotted cols}<abacus>, respectively. Named coordinates, |
| 4398 |
for use with \option{name}<abacus>, are not created for the omitted beads and |
| 4399 |
ticks. |
| 4400 |
|
| 4401 |
The \option{dotted cols}<abacus> and \option{dotted rows}<abacus> keys |
| 4402 |
can be used together, in which case the \option{dotted rows}<abacus> |
| 4403 |
are removed first, after which the \option{dotted cols}<abacus> are |
| 4404 |
removed. The output may need to be adjusted if the dotted rows and |
| 4405 |
columns overlap. For example, consider the abacus: |
| 4406 |
|
| 4407 |
\begin{example}{abacusDottedCol} |
| 4408 |
\Abacus[dotted cols={2,3}, dotted rows={2,3}] |
| 4409 |
{6}{26,21^2,5^2,3,2^2,0^2} |
| 4410 |
\end{example} |
| 4411 |
|
| 4412 |
The cross-hatched dots in the centre of the abacus are not ideal. The |
| 4413 |
following example shows one way of addressing this: |
| 4414 |
|
| 4415 |
\begin{example}[lefthand width=0.2\textwidth]{abacusCleared} |
| 4416 |
\Abacus[dotted cols={2,3}, dotted rows={2,3}, |
| 4417 |
tikz after = { |
| 4418 |
\draw[aTableau/clearBoxes] |
| 4419 |
(A-1-1.south east)rectangle(A-4-4.north west); |
| 4420 |
\draw[aTableau/dottedLine](A-1-1.south east)--(A-4-4.north west); |
| 4421 |
}]{6}{26,21^2,5^2,3,2^2,0^2} |
| 4422 |
\end{example} |
| 4423 |
|
| 4424 |
Notice the use of the styles \keyword{aTableau/clearBoxes} and |
| 4425 |
\keyword{aTableau/dottedLine} to draw over, or erase, the |
| 4426 |
cross-hatched dots and then draw the dotted lines. (The |
| 4427 |
\aTableau styles are listed in \autoref{S:TikZStyles}.) |
| 4428 |
|
| 4429 |
\option[]{entries=value}[betas, residues, rows, shape]<abacus> |
| 4430 |
|
| 4431 |
Like the \option{entries} key for tableaux, the |
| 4432 |
\option{entries}<abacus> key for abacuses provides a shortcut for |
| 4433 |
labelling the abacus beads by some common choices. The possible |
| 4434 |
choices are: |
| 4435 |
|
| 4436 |
\begin{itemize} |
| 4437 |
|
| 4438 |
\item\option{entries=beads}:\index{entries!beta}\index{beta numbers!entries} |
| 4439 |
\label{beta numbers!abacuses} |
| 4440 |
Label each bead with the corresponding \emph{beta numbers}, or bead |
| 4441 |
positions. |
| 4442 |
\begin{example}{abacusEntriesBeads} |
| 4443 |
\Abacus[entries=beads]{3}{3,2^2,0^2} \qquad |
| 4444 |
\Abacus[entries=beads]{4}{3,2^2,1^3,0^2} |
| 4445 |
\end{example} |
| 4446 |
|
| 4447 |
\item\option{entries=residues}:\index{entries!residues} |
| 4448 |
Label each bead with its residues. |
| 4449 |
\begin{example}{abacusEntriesResidues} |
| 4450 |
\Abacus[entries=residues,]{3}{3,2^2,0^2} \qquad |
| 4451 |
\Abacus[entries=residues, cartan=C] |
| 4452 |
{4}{3,2^2,1^3,0^2} |
| 4453 |
\end{example} |
| 4454 |
|
| 4455 |
\AddKeyLink{e-abacus} |
| 4456 |
\AddKeyLink{charge-abacus} |
| 4457 |
\AddKeyLink{cartan-abacus} |
| 4458 |
\noindent |
| 4459 |
As with (multi)tableau, use the \option{charge}<abacus> key to add an |
| 4460 |
offset to the residues, and the \option{cartan} key for residues of |
| 4461 |
other affine Cartan types. Unlike for tableaux, it is not necessary |
| 4462 |
to specify the quantum characteristic \option{e}<abacus>, because this |
| 4463 |
is determined by the number of runners and the \option{cartan}<abacus> |
| 4464 |
type. You can override this by setting \option{e}<abacus> manually. |
| 4465 |
|
| 4466 |
\item\option{entries=rows}:\index{entries!rows} |
| 4467 |
Labels each bead with the row index of the corresponding part in the |
| 4468 |
partition. |
| 4469 |
\begin{example}{abacusEntriesRows} |
| 4470 |
\Abacus[entries=rows]{3}{3,2^2,0^2} \qquad |
| 4471 |
\Abacus[entries=rows]{4}{3,2^2,1^3,0^2} |
| 4472 |
\end{example} |
| 4473 |
\noindent |
| 4474 |
As shown, the beads corresponding to zero parts of the corresponding |
| 4475 |
partition are marked with a dash, since there is no corresponding row |
| 4476 |
in the partition for such beads. |
| 4477 |
|
| 4478 |
\item\option{entries=shape}:\index{entries!partition} |
| 4479 |
Label each bead with the length of the corresponding row in the |
| 4480 |
partition. That is, each bead is labelled by |
| 4481 |
the corresponding part of the partition. |
| 4482 |
\begin{example}{abacusEntriesShape} |
| 4483 |
\Abacus[entries=shape]{3}{3,2^2,0^2} \qquad |
| 4484 |
\Abacus[entries=shape]{4}{3,2^2,1^3,0^2} |
| 4485 |
\end{example} |
| 4486 |
|
| 4487 |
\end{itemize} |
| 4488 |
|
| 4489 |
\option[false]{framed}[false/true] |
| 4490 |
|
| 4491 |
The \option{framed} key adds a frame around the abacus. This key |
| 4492 |
overrides the \option{abacus ends} key. |
| 4493 |
|
| 4494 |
\begin{example}{abacusFramed} |
| 4495 |
\Abacus[framed]{3}{3,2^2,0^2} \qquad |
| 4496 |
\Abacus[framed,traditional]{3}{3,2^2,0^2} |
| 4497 |
\end{example} |
| 4498 |
|
| 4499 |
Using the \option{framed} key works better with the |
| 4500 |
\option{traditional} abacuses, not least because \option{traditional} |
| 4501 |
abacuses only support the $\mid$, $-$ and~\_\!\_ settings for |
| 4502 |
\option{abacus ends}. |
| 4503 |
|
| 4504 |
\option[A]{name=text}[text] |
| 4505 |
|
| 4506 |
Just like the tableau commands, the \keyword{abacus} command defines |
| 4507 |
named coordinates for all of the \emph{beads} and \emph{ticks} on the |
| 4508 |
abacus. The key \option{name} changes the prefix used for the \TikZ |
| 4509 |
node names. By default, the named coordinates take the form |
| 4510 |
$(\mathsf{A{-}r{-}c})$, for the bead or tick in row~$r$ and column~$c$ |
| 4511 |
of the abacus. |
| 4512 |
|
| 4513 |
\begin{warning} |
| 4514 |
After \option{name=X}, the bead and tick names take the |
| 4515 |
form~$(\mathsf{X{-}r{-}c})$, for the bead or tick in row~\keyword{r} |
| 4516 |
and column~\keyword{c}. For abacuses, both |
| 4517 |
\textit{the row and column indexing starts from~$0$}. |
| 4518 |
\end{warning} |
| 4519 |
|
| 4520 |
\begin{Example}{abacusBeadPositions} |
| 4521 |
\Abacus[name=X, |
| 4522 |
tikz after={ |
| 4523 |
\draw[orange,<-,thick] (X-0-0.west) -- ++(-1,0) |
| 4524 |
node[blue,align=left,anchor=east] {Empty bead\\ position}; |
| 4525 |
\draw[red,<-,thick] (X-2-2.east) -- ++(2,0) |
| 4526 |
node[blue,align=left,anchor=west] {First part of\\the partition}; |
| 4527 |
}]{3}{4^3,1^2} |
| 4528 |
\end{Example} |
| 4529 |
|
| 4530 |
\option[]{row labels=labels}[comma-separated list of labels for the abacus runners] |
| 4531 |
\option*[font=\textbackslash scriptsize, text=\aTableauColour{Inner}]{row label style=style}[\TikZ-styling] |
| 4532 |
|
| 4533 |
The \option{row labels} key adds labels at the start of each row, |
| 4534 |
starting from row zero. You can add as many or a few row labels as you |
| 4535 |
like. |
| 4536 |
|
| 4537 |
\begin{example}{abacusRowLabels} |
| 4538 |
\Abacus[row labels={0,1,2}, |
| 4539 |
entries=residues]{3}{3,2^2,0^2} \qquad |
| 4540 |
\Abacus[row labels={0,1,2,3}, entries=residues, |
| 4541 |
row label style={fill=red}] {4}{5,3,2^2,0^2} |
| 4542 |
\end{example} |
| 4543 |
|
| 4544 |
As with the \option{label} key for tableaux, by default, the row |
| 4545 |
labels are typeset in mathematics mode. |
| 4546 |
|
| 4547 |
\option[0]{rows=number of rows}[non-negative integer]<abacus> |
| 4548 |
|
| 4549 |
The \option{rows} key sets the (minimum) number of rows in the abacus. |
| 4550 |
By default, the \keyword{\Abacus} command uses the smallest number of |
| 4551 |
rows necessary to display all of the beads on the abacus, but this can |
| 4552 |
be increased using \option{rows}. |
| 4553 |
|
| 4554 |
\begin{example}{abacusRows} |
| 4555 |
\Abacus{3}{3,2^2,0^2} \qquad |
| 4556 |
\Abacus[rows=4]{3}{3,2^2,0^2} \qquad |
| 4557 |
\Abacus[rows=5]{3}{3,2^2,0^2} |
| 4558 |
\end{example} |
| 4559 |
|
| 4560 |
\option[\aTableauColour{Inner}]{runner=colour}[a \LaTeX\ colour] |
| 4561 |
\option*[very thick]{runner style=style}[\TikZ-styling] |
| 4562 |
|
| 4563 |
Use \option{runner} to set the colour of abacus runners. More |
| 4564 |
generally, use \option{runner style} to set the style of the abacus |
| 4565 |
runners. |
| 4566 |
|
| 4567 |
\begin{example}{abacusBallColour} |
| 4568 |
\Abacus{3}{3,2^2} \qquad |
| 4569 |
\Abacus[runner=red]{3}{5,3,2,0^2} \qquad |
| 4570 |
\Abacus[runner=brown, bead=blue] |
| 4571 |
{3}{6,4,3,[ball color=red]0^2} |
| 4572 |
\end{example} |
| 4573 |
|
| 4574 |
The \option{runner style} key appends \TikZ-styling to the abacus |
| 4575 |
runner style. |
| 4576 |
|
| 4577 |
\begin{example}{abacusRunnerStyle} |
| 4578 |
\Abacus[runner style={dotted}]{3}{3,2^2} \quad |
| 4579 |
\end{example} |
| 4580 |
|
| 4581 |
\option[]{runner labels=labels}[list of labels for the abacus runners] |
| 4582 |
\option*[font=\textbackslash scriptsize, text=\aTableauColour{Inner}]{runner label style=style}[\TikZ-styling] |
| 4583 |
|
| 4584 |
The \option{runner labels} key adds labels to the each runner. An |
| 4585 |
error if given if the number of labels does not match the number of |
| 4586 |
runners. Use \option{runner label style} to change the style of the |
| 4587 |
label. |
| 4588 |
|
| 4589 |
\begin{example}{abacusRunnerLabels} |
| 4590 |
\Abacus[runner labels={1,2,0}, |
| 4591 |
entries=residues]{3}{3,2^2,0^2} \qquad |
| 4592 |
\Abacus[runner labels={2,3,0,1}, entries=residues, |
| 4593 |
runner label style={circle, draw=cyan, inner sep=0pt, |
| 4594 |
minimum size=2.4mm, yshift=0.2mm}] {4}{5,3,2^2,0^2} |
| 4595 |
\end{example} |
| 4596 |
|
| 4597 |
As with the \option{label} key for tableaux, by default, the runner |
| 4598 |
labels are typeset in mathematics mode. |
| 4599 |
|
| 4600 |
\option[\aTableauColour{Inner}]{tick=colour}[a \LaTeX\ colour] |
| 4601 |
\option*[semithick]{tick style=style}[\TikZ-styling] |
| 4602 |
\option*[0.2]{tick length=number}[decimal] |
| 4603 |
|
| 4604 |
These three keys control the ticks on the abacus runners, which mark |
| 4605 |
the empty bead positions. Use \option{tick} to colour the ticks |
| 4606 |
on the abacus runners. The \option{tick style} key sets the style of |
| 4607 |
the abacus ticks and \option{tick length} sets the length \textit{as a |
| 4608 |
fraction of the bead width}. |
| 4609 |
|
| 4610 |
\begin{example}{abacusTick} |
| 4611 |
\Abacus[tick=red]{3}{6,4,3,1,0} \qquad |
| 4612 |
\Abacus[tick length=0.3]{3}{6,4,3,1,0} \qquad |
| 4613 |
\Abacus[tick style={ultra thick,orange}]{3}{6,4,3,1,0} |
| 4614 |
\end{example} |
| 4615 |
|
| 4616 |
\option[]{unshaded} |
| 4617 |
|
| 4618 |
The abacus balls are drawn with the \TikZ style |
| 4619 |
\keyword{shading=ball}. As noted in \autoref{Ex:abacusNoShade}, you can |
| 4620 |
disable the \TikZ-ball shading for individual beads using the \TikZ-style \keyword{unshaded}. The |
| 4621 |
\option{unshaded} key disables the ball shading for \emph{all} beads, |
| 4622 |
making it possible to fully customise how the abacus beads are |
| 4623 |
displayed. |
| 4624 |
|
| 4625 |
\begin{example}{abacusUnshaded} |
| 4626 |
\Abacus[unshaded, bead text=red]{3}{3_1,2_2,2_3} \qquad |
| 4627 |
\Abacus[bead style={unshaded, shape=diamond, |
| 4628 |
fill=brown, text=yellow}]{3}{3_1,2_2,2_3,0^2} |
| 4629 |
\end{example} |
| 4630 |
|
| 4631 |
As the first example shows, if you use the \option{unshaded} key then |
| 4632 |
you need to define a new style for the abacus beads. As the second |
| 4633 |
example shows, rather than using \option{unshaded} as an |
| 4634 |
\keyword{\Abacus} key, you can use it inside \option{bead style} as a |
| 4635 |
\TikZ-style. |
| 4636 |
|
| 4637 |
\subsection{Traditional abacuses}\label{SS:Traditional} |
| 4638 |
\index{traditional} |
| 4639 |
\index{abacus!traditional} |
| 4640 |
|
| 4641 |
By default, the \keyword{\Abacus} command produces a ball-and-stick |
| 4642 |
abacus, which is commonly used in the literature for algebraic |
| 4643 |
combinatorics and representation theory. When the \option{traditional} |
| 4644 |
key is used the \keyword{\Abacus} commands draws a more traditional |
| 4645 |
abacus, where the runners look like rods, and the beads look like |
| 4646 |
discs. The result is more visually appealing, except possibly for the |
| 4647 |
choice of colours! |
| 4648 |
|
| 4649 |
This section explains how to use the \option{traditional} key, along |
| 4650 |
with additional options specific to traditional abacus diagrams. |
| 4651 |
|
| 4652 |
\option[false]{traditional}[true/false] |
| 4653 |
|
| 4654 |
When the \option{traditional} option is used, the \keyword{\Abacus} |
| 4655 |
command draws an abacus that looks more like a traditional Chinese |
| 4656 |
abacus, where the runners are drawn as rods and the beads as discs. |
| 4657 |
|
| 4658 |
\begin{example}{traditional} |
| 4659 |
\Abacus[traditional]{3}{6,4,3,1,0} \qquad |
| 4660 |
\Abacus[traditional, colour theme=natural] |
| 4661 |
{3}{6,4,3,[ball color=red]0^2} |
| 4662 |
\end{example} |
| 4663 |
|
| 4664 |
Traditional abacuses occupy more space, but they are more visually |
| 4665 |
appealing. Traditional abacuses were added as an afterthought and not |
| 4666 |
all of the abacus options have been tested on traditional abacuses. |
| 4667 |
Please |
| 4668 |
\href{https://github.com/AndrewMathas/aTableau/issues}{report any problems}. |
| 4669 |
|
| 4670 |
\option[0.285]{bead height }[height in \unit{cm}] |
| 4671 |
\option*[0.665]{bead width }[width in \unit{cm}] |
| 4672 |
|
| 4673 |
The \option{bead height} and \option{bead width} keys set the height |
| 4674 |
and width of the abacus beads, or disks. |
| 4675 |
|
| 4676 |
\begin{example}{traditionBeadHeight} |
| 4677 |
\Abacus[traditional, bead height=0.3]{3}{6,4,3,1,0} \qquad |
| 4678 |
\Abacus[traditional, bead width=0.8]{3}{6,4,3,1,0} \qquad |
| 4679 |
\end{example} |
| 4680 |
|
| 4681 |
If you change these keys, then you may also need to adjust |
| 4682 |
\option{bead sep} and \option{runner sep}. |
| 4683 |
|
| 4684 |
\option[0.13]{beam height}[height in \unit{cm}] |
| 4685 |
|
| 4686 |
Sets the height of the beam at the top and bottom of the abacus (see |
| 4687 |
\option{abacus ends}). |
| 4688 |
|
| 4689 |
\begin{example}{traditionBeamHeight} |
| 4690 |
\Abacus[traditional, beam height=0.26, |
| 4691 |
abacus ends=--]{3}{6,4,3,1,0} \qquad |
| 4692 |
\end{example} |
| 4693 |
|
| 4694 |
\option[false]{framed}[false/true] |
| 4695 |
|
| 4696 |
The \option{framed} key adds a frame around the abacus. This key |
| 4697 |
overrides the \option{abacus ends} key. |
| 4698 |
|
| 4699 |
\begin{example}{traditionalFramed} |
| 4700 |
\Abacus[framed, traditional]{4}{3,2^2,1^3,0^2} |
| 4701 |
\end{example} |
| 4702 |
|
| 4703 |
\option[0.2]{tick length}[decimal number, length \unit{cm}] |
| 4704 |
|
| 4705 |
For traditional abacuses, the \option{tick length} sets the width of |
| 4706 |
the rods in the abacus. |
| 4707 |
\begin{example}{traditionalTick} |
| 4708 |
\Abacus[traditional, tick length=0.3]{3}{6,4,3,1,0} \qquad |
| 4709 |
\end{example} |
| 4710 |
|
| 4711 |
% -------------------------------------------------------------- |
| 4712 |
\section{Customising \aTableau}\label{S:keys} |
| 4713 |
|
| 4714 |
This section describes how to further customise \aTableau by defining |
| 4715 |
your own \aTableau commands, using \option{colour theme}s, and |
| 4716 |
using \aTableau with \ctan{beamer}. This section also contains a |
| 4717 |
compact listing, and brief description, of the many \aTableau keys |
| 4718 |
that were described in earlier sections. |
| 4719 |
|
| 4720 |
% -------------------------------------------------------------- |
| 4721 |
\subsection{Custom \aTableau commands}\label{SS:NewTableau} |
| 4722 |
\indexcmd{NewATableauCommand} |
| 4723 |
|
| 4724 |
Sometimes, it is necessary to use multiple tableau styles within a |
| 4725 |
single document. While it is possible to apply the required key-value |
| 4726 |
settings manually to each picture using the commands and keys |
| 4727 |
described above, a better approach is to define custom commands for |
| 4728 |
these pictures using: |
| 4729 |
|
| 4730 |
\begin{quote} |
| 4731 |
\keyword{\NewATableauCommand \Command {<tableau command name>} {keys}} |
| 4732 |
\end{quote} |
| 4733 |
|
| 4734 |
Of course, you should replace $\langle$\keyword{\Command}$\rangle$ |
| 4735 |
with whatever name you want to call your command. The $\langle$tableau |
| 4736 |
command name$\rangle$ can be any of the \aTableau picture commands: |
| 4737 |
\begin{center} |
| 4738 |
\rowcolors{1}{LightSkyBlue!10}{} |
| 4739 |
\begin{tabular}{*4l} |
| 4740 |
Abacus& Diagram& Multidiagram& Multitableau\\ |
| 4741 |
RibbonTableau&ShiftedDiagram&ShiftedTableau& SkewDiagram\\ |
| 4742 |
SkewTableau& Tableau& Tabloid & |
| 4743 |
\end{tabular} |
| 4744 |
\end{center} |
| 4745 |
The $\langle$keys$\rangle$ are a comma-separated list of \aTableau |
| 4746 |
keys that define your custom command. Defining custom commands helps |
| 4747 |
to ensure consistency throughout your document, and it also makes it |
| 4748 |
easier to modify the ``design specifications'' of your custom |
| 4749 |
\aTableau picture because these specifications appear only in the |
| 4750 |
definition of your custom command, rather than at different places in |
| 4751 |
your document. |
| 4752 |
|
| 4753 |
Use the \keyword{\NewATableauCommand} command to create custom |
| 4754 |
\aTableau commands. These commands are used in exactly the same way |
| 4755 |
as the \aTableau picture commands that they emulate. In particular, |
| 4756 |
they can be used inside and outside \keyword{tikzpicture} |
| 4757 |
environments, they accept \aTableau key-value settings as an optional |
| 4758 |
argument, and the elements of the picture can be styled in the usual |
| 4759 |
way. |
| 4760 |
|
| 4761 |
\begin{example}{newTableau} |
| 4762 |
\NewATableauCommand\MyTableau{Tableau} |
| 4763 |
{french,border colour=orange, |
| 4764 |
box style={draw=orange,circle, |
| 4765 |
text=white, fill=red!40!white}} |
| 4766 |
\MyTableau{123,45} \quad |
| 4767 |
\MyTableau[border colour=red]{123,[fill=red]45} |
| 4768 |
\end{example} |
| 4769 |
|
| 4770 |
Similarly, we can use these commands inside \keyword{tikzpicture} |
| 4771 |
environments: |
| 4772 |
|
| 4773 |
\begin{example}{newDiagram} |
| 4774 |
\NewATableauCommand\MyDiagram{Diagram} |
| 4775 |
{ukrainian, box fill=yellow!40,shifted} |
| 4776 |
\begin{tikzpicture} |
| 4777 |
\MyDiagram(0,0){3,2} |
| 4778 |
\MyDiagram(3,0)[shifted]{3,2,1} |
| 4779 |
\end{tikzpicture} |
| 4780 |
\end{example} |
| 4781 |
|
| 4782 |
These commands are mainly provided for convenience, because it is |
| 4783 |
possible to define such commands ``by hand'' using |
| 4784 |
\keyword{\NewDocumentCommand}. |
| 4785 |
|
| 4786 |
% -------------------------------------------------------------- |
| 4787 |
\subsection{Beamer}\label{SS:Beamer} |
| 4788 |
\index{beamer} |
| 4789 |
\index{overlay specifications} |
| 4790 |
|
| 4791 |
When the \ctan{beamer} document class is used, all of the |
| 4792 |
\aTableau commands support the following extended syntax for use with |
| 4793 |
\ctan{beamer} overlay commands. |
| 4794 |
|
| 4795 |
\begin{quote} |
| 4796 |
\keyword{\Command <overlay specifications> (x,y) [options] {...specifications...}} |
| 4797 |
\end{quote} |
| 4798 |
|
| 4799 |
This enhanced syntax is automatically available whenever the \ctan{beamer} |
| 4800 |
document class is used, and it is not available otherwise. |
| 4801 |
|
| 4802 |
The \ctan{beamer} \textit{overlay specifications} are described in |
| 4803 |
Section~3.10 of the \ctan{beamer} manual. The basic idea is that they |
| 4804 |
allow you to specify those slides of a \ctan{beamer} presentation |
| 4805 |
where particular content appears, or does not appear. |
| 4806 |
|
| 4807 |
\begin{Example}[text only, listing style=LaTeX]*{beamer} |
| 4808 |
\lstinputlisting{atableau_beamer.tex} |
| 4809 |
\begin{slide}[title=Slide 1] |
| 4810 |
\includegraphics[width=1.0\textwidth,page=1]{atableau_beamer.pdf} |
| 4811 |
\end{slide} |
| 4812 |
\begin{slide}[title=Slide 2] |
| 4813 |
\includegraphics[width=1.0\textwidth,page=2]{atableau_beamer.pdf} |
| 4814 |
\end{slide} |
| 4815 |
\begin{slide}[title=Slide 3] |
| 4816 |
\includegraphics[width=1.0\textwidth,page=3]{atableau_beamer.pdf} |
| 4817 |
\end{slide} |
| 4818 |
\end{Example} |
| 4819 |
|
| 4820 |
See the \ctan{beamer} manual for a description of overlay |
| 4821 |
specifications and how to use them. |
| 4822 |
|
| 4823 |
In practice, the \aTableau overlay specifications are just a wrapper |
| 4824 |
around the corresponding \ctan{beamer} commands. More precisely, the |
| 4825 |
following pairs of commands are equivalent: |
| 4826 |
|
| 4827 |
\begin{Example}[listing only]*{beamerOverlaySpecsOnly} |
| 4828 |
\Multidiagram<1->{3,2|1^2} \Tabloid<2-4>{3,1^2}{12345,789,{10}{11}} |
| 4829 |
\only<1->{\Multidiagram{3,2|1^2}} \only<2-4>{\Tabloid<2->{3,1^2}{12345,789,{10}{11}}} |
| 4830 |
\end{Example} |
| 4831 |
|
| 4832 |
The only advantage of using the \aTableau overlay specification, |
| 4833 |
rather than the \ctan{beamer} commands, is that the \aTableau code is |
| 4834 |
easier to read and easier to type. |
| 4835 |
|
| 4836 |
\option[only]{beamer}[invisible,only,onslide,uncover,visible] |
| 4837 |
|
| 4838 |
The \ctan{beamer} document class provides the following five commands |
| 4839 |
for working with overlay specifications: |
| 4840 |
\begin{quote} |
| 4841 |
\keyword{\invisible}\qquad |
| 4842 |
\keyword{\only}\qquad |
| 4843 |
\keyword{\onslide}\qquad |
| 4844 |
\keyword{\uncover}\qquad |
| 4845 |
\keyword{\visible} |
| 4846 |
\end{quote} |
| 4847 |
|
| 4848 |
By default, the \aTableau commands use \keyword{\only}, but this can |
| 4849 |
be changed using the \option{beamer} key. Of course, you can also use |
| 4850 |
\keyword{\aTabset{beamer=uncover}}. As an example, the following |
| 4851 |
pairs of commands are equivalent. |
| 4852 |
|
| 4853 |
\begin{Example}[listing only]*{beamerOverlaySpecsUncover} |
| 4854 |
\Abacus<4,5>[beamer=uncover]{3,2} \Tableau<2-4>[beamer=invisible]{12345,789} |
| 4855 |
\uncover<4,5>{\Multidiagram{3,2|1^2}} \invisible<2-4>{\Tabloid<2->{12345,789}} |
| 4856 |
\end{Example} |
| 4857 |
|
| 4858 |
% -------------------------------------------------------------- |
| 4859 |
\subsection{\aTableau colour themes}\label{S:Colours} |
| 4860 |
\label{S:ColourTheme} |
| 4861 |
\index{colour theme} |
| 4862 |
\index{colours} |
| 4863 |
|
| 4864 |
The colours in \aTableau pictures are controlled by the six base colours: |
| 4865 |
\begin{center} |
| 4866 |
\rowcolors{2}{}{LightSkyBlue!10} |
| 4867 |
\begin{tabular}{*3l} |
| 4868 |
aTableauMain & |
| 4869 |
aTableauInner & |
| 4870 |
aTableauStar \\ |
| 4871 |
aTableauSkew & |
| 4872 |
aTableauFill & |
| 4873 |
aTableauRod |
| 4874 |
\end{tabular} |
| 4875 |
\end{center} |
| 4876 |
|
| 4877 |
Creating a good colour scheme is difficult, and it is partly |
| 4878 |
subjective. \aTableau provides three different colour themes in the |
| 4879 |
hope that one of these themes will appeal. The \option{colour theme} |
| 4880 |
key sets the colour theme. |
| 4881 |
|
| 4882 |
It is sometimes useful to use the \aTableau colour names directly in |
| 4883 |
style specifications, and with \LaTeX\ colour commands. For example, |
| 4884 |
you can write \keyword{\textcolor{aTableauMain}{text}}. The \aTableau |
| 4885 |
colours are defined as HTML colours using the \keyword{\definecolor} |
| 4886 |
command provided by \ctan{xcolor}. In addition to changing the colour |
| 4887 |
theme, the key-value interface allows you to set the colours of |
| 4888 |
individual components in the pictures produced by \aTableau. |
| 4889 |
|
| 4890 |
%\newpage[4] |
| 4891 |
{\samepage |
| 4892 |
|
| 4893 |
\option[default]{colour theme}{default,classic,natural} |
| 4894 |
} |
| 4895 |
|
| 4896 |
\begin{itemize} |
| 4897 |
\item \ColourTheme{default} |
| 4898 |
\item \ColourTheme{classic} |
| 4899 |
\item \ColourTheme{natural} |
| 4900 |
\end{itemize} |
| 4901 |
|
| 4902 |
% -------------------------------------------------------------- |
| 4903 |
\subsection{\aTableau keys} |
| 4904 |
This section gives the list of \aTableau keys, together with a quick |
| 4905 |
explanation of what they do. The last two columns indicate whether the |
| 4906 |
options apply to tableau (and diagrams), or to abacuses~--- or both! |
| 4907 |
Options starting with \keyword{(no)} are pairs of boolean options and |
| 4908 |
their inverses. If not given a true or false value then they are |
| 4909 |
implicitly set to true. Although not explicitly listed, spelling |
| 4910 |
variations of keys from the American dialect of English are condoned. |
| 4911 |
|
| 4912 |
Here, and throughout the manual, the key names (and the green ticks |
| 4913 |
below) are hyperlinks to the relevant sections of the manual. |
| 4914 |
|
| 4915 |
\rowcolors{2}{}{LightSkyBlue!10} |
| 4916 |
\begin{xltabular}{0.9\textwidth}{l>{\raggedright}Xcc}\toprule |
| 4917 |
\hiderowcolors |
| 4918 |
\heading{Key} & \heading{Meaning} & \heading{Tableau} & \heading{Abacus} \\ |
| 4919 |
\midrule |
| 4920 |
\endhead |
| 4921 |
\showrowcolors |
| 4922 |
\option{abacus ends} & Set the top and bottom of the abacus & \No & \Yes \\ |
| 4923 |
\option{abacus ends style} & Set the style of the top and bottom of the abacus & \No & \Yes \\ |
| 4924 |
\option{abacus bottom} & Set the offset for the bottom of the abacus & \No & \Yes \\ |
| 4925 |
\option{abacus star} & Set the abacus star & \No & \Yes \\ |
| 4926 |
\option{abacus top} & Set the offset for the top of the abacus & \No & \Yes \\ |
| 4927 |
\option{align} & Set baseline alignment of \aTableau diagram & \Yes & \Yes[abacus]\\ |
| 4928 |
\option{australian} & Use the Australian convention for tableaux & \Yes & \No \\ |
| 4929 |
\option{bead} & Set the colour of the abacus beads & \No & \Yes \\ |
| 4930 |
\option{bead font} & Set the font used for the abacus bead labels & \No & \Yes \\ |
| 4931 |
\option{bead sep} & The distance between adjacent beads on a runner & \No & \Yes \\ |
| 4932 |
\option{bead size} & The diameter of the abacus beads & \No & \Yes \\ |
| 4933 |
\option{bead style} & Set the style of the abacus beads & \No & \Yes \\ |
| 4934 |
\option{bead text} & Set the colour of the abacus bead labels & \No & \Yes \\ |
| 4935 |
\option{beads} & Set the number of beads on the abacus & \No & \Yes \\ |
| 4936 |
\option{beamer} & Sets the beamer overlay specifications command & \Yes & \Yes \\ |
| 4937 |
\option{beta numbers} & Abacus bead specifications entered as beta numbers & \No & \Yes \\ |
| 4938 |
\option*{border} & Draw the tableau border & \Yes & \No \\ |
| 4939 |
\option{border colour} & Set tableau border colour & \Yes & \No \\ |
| 4940 |
\option{border style} & Set tableau border style & \Yes & \No \\ |
| 4941 |
\option{box height} & Set tableau box height & \Yes & \No \\ |
| 4942 |
\option{box style} & Set tableau box style & \Yes & \No \\ |
| 4943 |
\option{box width} & Set tableau box width & \Yes & \No \\ |
| 4944 |
\option*{boxes} & Draw inner walls around tableau boxes & \Yes & \No \\ |
| 4945 |
\option{cartan} & Set Cartan type for residues & \Yes & \Yes[abacus] \\ |
| 4946 |
\option{charge} & Set charge for contents and residues & \Yes & \Yes[abacus] \\ |
| 4947 |
\option{colour theme} & Set the \aTableau colour theme & \Yes & \Yes \\ |
| 4948 |
\option{colours} & Set a cyclic list of box fill colours & \Yes & \Yes \\ |
| 4949 |
\option{conjugate} & Draw the conjugate tableau/diagram & \Yes & \No \\ |
| 4950 |
\option{cover} & Draw a covering partition & \Yes & \No \\ |
| 4951 |
\option*{cover border} & Draw border of covering tableau & \Yes & \No \\ |
| 4952 |
\option{cover border style}& Set \TikZ-style of the cover border & \Yes & \No \\ |
| 4953 |
\option*{cover boxes} & Enable drawing of cover boxes & \Yes & \No \\ |
| 4954 |
\option{cover box style} & Set \TikZ-style of the cover boxes & \Yes & \No \\ |
| 4955 |
\option{e} & Set the quantum characteristic for residues & \Yes & \Yes[abacus] \\ |
| 4956 |
\option{east} & Make abacus grow towards the east & \Yes & \No \\ |
| 4957 |
\option{delimiters} & Set delimiters for multitableaux and multidiagrams & \Yes & \No \\ |
| 4958 |
\option{empty} & Symbol for empty tableau in a multitableau & \Yes & \No \\ |
| 4959 |
\option{dotted cols} & Specify columns to replace with dots & \Yes & \Yes[abacus] \\ |
| 4960 |
\option{dotted rows} & Specify rows to replace with dots & \Yes & \Yes[abacus] \\ |
| 4961 |
\option{english} & Use the English convention for tableaux & \Yes & \No \\ |
| 4962 |
\option{entries} & Add entries to tableaux and abacuses & \Yes & \Yes[abacus] \\ |
| 4963 |
\option{framed} & Draw a frame around the abacus & \No & \Yes \\ |
| 4964 |
\option{french} & Use the French convention for tableaux & \Yes & \No \\ |
| 4965 |
\option{halign} & Horizontal alignment of box entries and bead labels & \Yes & \Yes[abacus] \\ |
| 4966 |
\option{inner style} & Set style of inner tableau wall & \Yes & \No \\ |
| 4967 |
\option{inner wall} & Set colour of inner tableau wall & \Yes & \No \\ |
| 4968 |
\option{label} & Set tableau label & \Yes & \No \\ |
| 4969 |
\option{label style} & Set style of tableau labels & \Yes & \No \\ |
| 4970 |
\option{left delimiter} & Set left delimiter for a multitableau & \Yes & \No \\ |
| 4971 |
\option{math boxes} & Typeset box and label entries in math-mode & \Yes & \Yes[abacus] \\ |
| 4972 |
\option{name} & Prefix of named nodes & \Yes & \Yes[abacus] \\ |
| 4973 |
\option{north} & Make abacus grow towards the north & \No & \Yes\\ |
| 4974 |
\option{paths} & Add paths to a diagram or tableau & \Yes & \No \\ |
| 4975 |
\option{path box} & Adds default box entry for each path & \Yes & \No \\ |
| 4976 |
\option{path box style} & Sets style of boxes on each path & \Yes & \No \\ |
| 4977 |
\option{path style} & Sets style of a path & \Yes & \No \\ |
| 4978 |
\option{ribbons} & Add ribbons to tableau & \Yes & \No \\ |
| 4979 |
\option{ribbon box} & Adds default box entry for each ribbon & \Yes & \No \\ |
| 4980 |
\option{ribbon box style} & Sets style of boxes on each ribbon & \Yes & \No \\ |
| 4981 |
\option{ribbon style} & Set the ribbon style & \Yes & \No \\ |
| 4982 |
\option{right delimiter} & Set right delimiter for a multitableau & \No & \Yes \\ |
| 4983 |
\option{rotate} & Rotate the picture anti-clockwise & \Yes & \Yes \\ |
| 4984 |
\option{row label style} & Set the style for e abacus labels & \No & \Yes \\ |
| 4985 |
\option{row labels} & List of labels for the abacus rows & \No & \Yes \\ |
| 4986 |
\option{rows} & Set number of rows in a multitableau or abacus & \Yes & \Yes[abacus] \\ |
| 4987 |
\option{runner label style}& Set the style for e abacus labels & \No & \Yes \\ |
| 4988 |
\option{runner labels} & List of labels for the abacus rows & \No & \Yes \\ |
| 4989 |
\option{runner sep} & Set distance between consecutive abacus runners & \No & \Yes \\ |
| 4990 |
\option{runner style} & Set the style of the abacus runners & \No & \Yes \\ |
| 4991 |
\option{runner} & Set the colour of the abacus runners & \No & \Yes \\ |
| 4992 |
\option{scale} & Sets the \aTableau scale & \Yes & \Yes[abacus] \\ |
| 4993 |
\option{script} & Sets the \aTableau scale for subscripts & \Yes & \Yes(scale-abacus) \\ |
| 4994 |
\option{scriptscript} & Sets the \aTableau scale for subsubscripts & \Yes & \Yes(scale-abacus) \\ |
| 4995 |
\option{separation} & Set distance between components in a multitableau & \Yes & \No \\ |
| 4996 |
\option{separator colour} & Set separator colour for a multitableau & \Yes & \No \\ |
| 4997 |
\option{separator} & Set separator colour in a multitableau & \Yes & \No \\ |
| 4998 |
\option*{separators} & Enable separators in a multitableau & \Yes & \No \\ |
| 4999 |
\option{shape} & Set the shape of a ribbon tableau & \Yes & \No \\ |
| 5000 |
\option{shifted} & True for a shifted tableau & \Yes & \No \\ |
| 5001 |
\option{skew} & Set inner skew shape & \Yes & \No \\ |
| 5002 |
\option*{skew border} & Set skew border colour & \Yes & \No \\ |
| 5003 |
\option{skew border style} & Set the \TikZ-style of the skew border & \Yes & \No \\ |
| 5004 |
\option*{skew boxes} & Enable drawing of skew boxes & \Yes & \No \\ |
| 5005 |
\option{skew box style} & Set the \TikZ-style of the skew boxes & \Yes & \No \\ |
| 5006 |
\option{snobs} & add snobs to tableau & \Yes & \No \\ |
| 5007 |
\option{snob box} & Adds default box entry for each snob & \Yes & \No \\ |
| 5008 |
\option{snob box style} & Sets style of boxes on each snob & \Yes & \No \\ |
| 5009 |
\option{snob style} & Sets style of a snob & \Yes & \No \\ |
| 5010 |
\option{south} & Make abacus grow towards the south & \Yes & \No \\ |
| 5011 |
\option{tableau star} & Set \TikZ-style of tableau $*$-nodes & \Yes & \No \\ |
| 5012 |
\option{styles} & Shorthand for defining single use \TikZ-styles & \Yes & \Yes[abacus] \\ |
| 5013 |
\option{tabloid} & True for a tabloids & \Yes & \No \\ |
| 5014 |
\option{text boxes} & Typeset box and label entries in text mode & \Yes & \Yes[abacus] \\ |
| 5015 |
\option{tick} & Set the colour of the ticks on the abacus runner & \No & \Yes \\ |
| 5016 |
\option{tick length} & Set the length of the ticks on the abacus runners & \No & \Yes \\ |
| 5017 |
\option{tick style} & Set the style of the ticks on the abacus runners & \No & \Yes \\ |
| 5018 |
\option{tikz after} & \TikZ-code injected after \aTableau picture & \Yes & \Yes[abacus] \\ |
| 5019 |
\option{tikz before} & \TikZ-code injected before \aTableau picture & \Yes & \Yes[abacus] \\ |
| 5020 |
\option{tikzpicture} & Sets \texttt{tikzpicture} environment keys & \Yes & \No \\ |
| 5021 |
\option{traditional} & Use the traditional abacus style & \No & \Yes \\ |
| 5022 |
\option{ukrainian} & Use the Ukrainian convention for tableaux & \Yes & \No \\ |
| 5023 |
\option{unshaded} & Removes shading from the abacus beads & \No & \Yes \\ |
| 5024 |
\option{valign} & Set vertical alignment & \Yes & \Yes[abacus] \\ |
| 5025 |
\option{west} & Make abacus grow towards the west & \Yes & \No \\ |
| 5026 |
\option{xoffsets} & Set the $x$-offsets for components in a multitableau& \Yes & \No \\ |
| 5027 |
\option{xscale} & Set the \aTableau $x$-scale & \Yes & \Yes(scale-abacus) \\ |
| 5028 |
\option{yoffsets} & Set the $y$-offsets for components in a multitableau& \Yes & \No \\ |
| 5029 |
\option{yscale} & Set the \aTableau $y$-scale & \Yes & \Yes(scale-abacus) \\ |
| 5030 |
\bottomrule |
| 5031 |
\end{xltabular} |
| 5032 |
|
| 5033 |
All keys can be used with all \aTableau pictures. In most cases, keys |
| 5034 |
that are not intended to be applied to a given picture are silently |
| 5035 |
ignored. |
| 5036 |
|
| 5037 |
% -------------------------------------------------------------- |
| 5038 |
\subsection{\aTableau styles}\label{S:TikZStyles} |
| 5039 |
|
| 5040 |
This package is little more than a glorified interface to some \TikZ |
| 5041 |
commands. Under the hood there are many custom \TikZ styles that |
| 5042 |
control the pictures drawn by the \aTableau package. The key-value |
| 5043 |
interface to the \aTableau commands is the recommended way of changing |
| 5044 |
these styles, however, it is sometimes useful (see, for example, |
| 5045 |
\autoref{Ex:abacusCleared}), to use these styles in your own pictures. |
| 5046 |
You can, if you want, change these styles directly using |
| 5047 |
\keyword{\tikzset}, but we recommend against doing this because such |
| 5048 |
changes can dramatically modify, and even break, the corresponding |
| 5049 |
\aTableau commands. If you do change these styles directly, we |
| 5050 |
strongly recommend that you \emph{append} to these styles, rather than |
| 5051 |
setting them directly. |
| 5052 |
|
| 5053 |
\begin{center} |
| 5054 |
\rowcolors{2}{}{LightSkyBlue!10} |
| 5055 |
\begin{xltabular}{0.9\textwidth}{ll}\toprule |
| 5056 |
\hiderowcolors |
| 5057 |
\heading{Style name} & \heading{Adds \TikZ-styling to...}\\ |
| 5058 |
\midrule |
| 5059 |
\showrowcolors |
| 5060 |
aTableau/abacusBead & Standard abacus beads\\ |
| 5061 |
aTableau/abacusEnds & Tops and bottoms of abacuses\\ |
| 5062 |
aTableau/abacusRunner & Abacus runners\\ |
| 5063 |
aTableau/abacusStar & Abacus stars \\ |
| 5064 |
aTableau/abacusTick & Abacus ticks \\ |
| 5065 |
aTableau/aTableauBox & Base tableau box style\\ |
| 5066 |
aTableau/border & Tableau borders \\ |
| 5067 |
aTableau/clearBoxes & Erases material. Used by \option{dotted rows} and \option{dotted cols}\\ |
| 5068 |
aTableau/coverBorder & Borders for covering partitions\\ |
| 5069 |
aTableau/coverBox & Boxes for covering partitions\\ |
| 5070 |
aTableau/delimiter & Base delimiter style in multitableaux\\ |
| 5071 |
aTableau/dottedLine & Adds dotted lines. Used by \option{dotted rows} and \option{dotted cols}\\ |
| 5072 |
aTableau/innerWall & Inner tableau walls\\ |
| 5073 |
aTableau/label & Tableau labels \\ |
| 5074 |
aTableau/labels & Base abacus label style\\ |
| 5075 |
aTableau/leftDelimiter & Left delimiter in a multitableau\\ |
| 5076 |
aTableau/namedTick & Named nodes for abacus ticks\\ |
| 5077 |
aTableau/path & Paths \\ |
| 5078 |
aTableau/pathBox & Boxes in paths \\ |
| 5079 |
aTableau/ribbon & Ribbons \\ |
| 5080 |
aTableau/ribbonBox & Boxes in ribbons \\ |
| 5081 |
aTableau/rightDelimiter & Right delimiter in a multitableau\\ |
| 5082 |
aTableau/rowLabel & Style of abacus row labels\\ |
| 5083 |
aTableau/runnerLabel & Style of abacus runner labels\\ |
| 5084 |
aTableau/separatorLine & Separator lines in multitableau\\ |
| 5085 |
aTableau/separatorSymbol & Separators in multitableau\\ |
| 5086 |
aTableau/skewBorder & Skew tableau borders \\ |
| 5087 |
aTableau/skewBox & Skew tableau boxes \\ |
| 5088 |
aTableau/snob & Snobs \\ |
| 5089 |
aTableau/snobBox & Boxes in snobs \\ |
| 5090 |
aTableau/tableauBox & Tableau boxes\\ |
| 5091 |
aTableau/tableauStar & Star style for tableaux \\ |
| 5092 |
\bottomrule |
| 5093 |
\end{xltabular} |
| 5094 |
\end{center} |
| 5095 |
|
| 5096 |
Most of these styles are quite basic, however, some are more involved |
| 5097 |
or are used in non-obvious ways. In some cases, such as the tableau |
| 5098 |
boxes, the \TikZ-styling does not fully control the style of these |
| 5099 |
features. Most of these styles can be changed using the \aTableau |
| 5100 |
key-value interface, which is a better approach than changing them by |
| 5101 |
hand. Changes made to these styles are not guaranteed to be |
| 5102 |
compatible with future releases of \aTableau. |
| 5103 |
|
| 5104 |
% -------------------------------------------------------------- |
| 5105 |
\subsection{\aTableau and the \arXiv} |
| 5106 |
|
| 5107 |
The \arXiv now plans to update its \TeXLive distribution every year. |
| 5108 |
As of writing, it is using \TeXLive2025 by default, so papers |
| 5109 |
using \aTableau should compile on the \arXiv. Unfortunately, \TeXLive |
| 5110 |
2025 only has version 2.1.0 of \aTableau installed, as this version |
| 5111 |
of the package was part of the initial release of \TeXLive 2025. |
| 5112 |
(This should change in 2026, when the \arXiv moves to \TeXLive 2026.) |
| 5113 |
If your document does not compile on the \arXiv because of \aTableau, |
| 5114 |
you almost certainly need to upload the latest \aTableau style file, |
| 5115 |
\href{https://mirrors.ctan.org/graphics/pgf/contrib/atableau/atableau.sty}{atableau.sty}, |
| 5116 |
as part of your \arXiv submission. |
| 5117 |
|
| 5118 |
% ---------------------------------------------------------- |
| 5119 |
\section{Examples from the literature} |
| 5120 |
|
| 5121 |
This section shows how to draw tableaux that appear in the literature |
| 5122 |
using the \aTableau package, with the aim being to show how to use the |
| 5123 |
package to construct some non-trivial and interesting real-world |
| 5124 |
examples. |
| 5125 |
|
| 5126 |
The first example, from \cite{Muniz}, is notable mainly for the |
| 5127 |
right-hand tableau, which is not of skew shape. |
| 5128 |
\begin{Example}{skewLiterature} |
| 5129 |
\aTabset{no border, styles={R={fill=red!75}, B={fill=blue!55}, P={fill=magenta!70}} } |
| 5130 |
\SkewTableau{4,1}{[B]1,[R]1[P]112,[R]2[B]2[P]23,[R]3[B]34,[B]4} \qquad$\mapsto$\qquad |
| 5131 |
\SkewTableau[snobs={(draw=none)11}]{4,1}{,1112,2[B]123,3[B]24,[B]3}\qquad |
| 5132 |
\SkewTableau{4,2}{1,112,[R]1223,[R]234,4}\qquad |
| 5133 |
\SkewTableau[snobs={22_1}]{4,3}{1,12,22[P]3,334,4} |
| 5134 |
\end{Example} |
| 5135 |
Notice the use of \option{snobs} to draw a phantom box in the |
| 5136 |
$(1,1)$-position of the second tableau, with the result that this |
| 5137 |
tableau aligns correctly with the other tableaux. |
| 5138 |
|
| 5139 |
Diagrams like the following are common. Again, \option{ribbons} is |
| 5140 |
used to add the $\alpha$ in row~$4$ and column~$8$. |
| 5141 |
|
| 5142 |
\begin{example}{diagramAddableNode} |
| 5143 |
\Diagram[french, no boxes, ribbons={*48_\alpha}] |
| 5144 |
{12,9,8^2,5,3} |
| 5145 |
\end{example} |
| 5146 |
|
| 5147 |
Mendes~\cite{Mendes:hooks} uses tableaux like the two below to give a new |
| 5148 |
proof of the Murnaghan-Nakayama rule. |
| 5149 |
|
| 5150 |
\begin{example}{diagramMendes} |
| 5151 |
\tikzset{C/.style={circle,draw=blue, |
| 5152 |
minimum size=3.5mm, fill=white,thick}} |
| 5153 |
\Diagram[paths={ |
| 5154 |
[C]13_1cc_\bullet, [C]21_2r_\bullet, |
| 5155 |
[C]23_3c_\bullet, [C]14_4 |
| 5156 |
}]{4,3,1} \qquad |
| 5157 |
\Diagram[path style={rounded corners}, |
| 5158 |
paths={[C]12_1cr_\bullet, [C]14_2c_\bullet, |
| 5159 |
[C]23_3c_\bullet, [C]31_4}]{4,3,1} |
| 5160 |
\end{example} |
| 5161 |
|
| 5162 |
The following ribbon tableau comes from a nice paper by |
| 5163 |
Fayers~\cite{Fayers:DyckTilings}, which uses Dyck tilings to |
| 5164 |
understand homogeneous Garnir relations for KLR algebras of type~$A$. |
| 5165 |
(This paper was one of the motivations for implementing ribbon |
| 5166 |
tableaux.) |
| 5167 |
|
| 5168 |
\begin{example}{ribbonFayers} |
| 5169 |
\RibbonTableau[skew={1^2}, ukrainian, scale=0.7, |
| 5170 |
ribbons={(draw=none)21_m} |
| 5171 |
]{ |
| 5172 |
12,16c_\circ c_\circ c_\circ r_\circ r_\circ *r, |
| 5173 |
18crcccrr*r,19,1{10},1{11},1{12}, |
| 5174 |
22,29crcccrr*rccrcrr, |
| 5175 |
2{12}ccrcrcccrr*r_lccrcrrr, |
| 5176 |
31,*32,41,42,51,52,53, |
| 5177 |
62cr,81,91,{10}1,{10}2,{11}1,{11}2 |
| 5178 |
} |
| 5179 |
\end{example} |
| 5180 |
|
| 5181 |
The entries of a tableau are usually single characters, or numbers, |
| 5182 |
but they can be more complicated. The paper |
| 5183 |
\cite{bowman2023quiverpresentationsisomorphismshecke} contains |
| 5184 |
tableaux with entries that are \emph{symbols}, produced by |
| 5185 |
the \keyword{\Symb} command below. |
| 5186 |
|
| 5187 |
\begin{example}{tableauSymbols} |
| 5188 |
\newcommand\Symb[2]{\genfrac{}{}{0pt}{}{#1}{#2}} |
| 5189 |
\Tableau[ukrainian, box font=\scriptsize, |
| 5190 |
ribbons={(ultra thick,red)23crC} |
| 5191 |
]{ |
| 5192 |
{\Symb11}{\Symb11}{\Symb11}{\Symb0s}, |
| 5193 |
{\Symb11}{\Symb11}{\Symb11}{\Symb0s}, |
| 5194 |
{\Symb11}{\Symb11}{\Symb{s^*}s}{\Symb0f}, |
| 5195 |
{\Symb11}{\Symb11}{\Symb11}, |
| 5196 |
{\Symb11}{\Symb11} |
| 5197 |
} |
| 5198 |
\end{example} |
| 5199 |
|
| 5200 |
From the \aTableau perspective, the most interesting feature of the |
| 5201 |
next two pictures is that they show how to use named nodes for the |
| 5202 |
tableaux boxes; see \autoref{E:NodeNames}. |
| 5203 |
|
| 5204 |
The first of these examples, which is also from |
| 5205 |
\cite{bowman2023quiverpresentationsisomorphismshecke}, is a little |
| 5206 |
more involved. Most of the diagram is drawn using \emph{pics} from |
| 5207 |
\TikZ, which are a good way to add repeating features to a |
| 5208 |
\keyword{tikzpicture}. To draw the up and down strings in this picture |
| 5209 |
we define two very similar pics \textit{ustring} and \textit{dstring}, |
| 5210 |
which take as input the string colour, the starting box, the list of |
| 5211 |
the boxes that the string goes through, and the final box. |
| 5212 |
|
| 5213 |
\begin{Example}{tableauUpDown} |
| 5214 |
\tikzset{ % reusable keys for drawing the strings in the diagram using named nodes |
| 5215 |
Cap/.style={out=45, in=135}, % caps are drawn with to[Cap] |
| 5216 |
Cup/.style={out=315,in=225}, % cups are drawn with to[Cup] |
| 5217 |
% define pics for drawing the curvy up and down strings using coords O and T |
| 5218 |
pics/ustring/.style n args = {4}{% {colour}{first coord}{wave coords}{last coord} |
| 5219 |
code = { |
| 5220 |
\def\last{#2} % should not be necessary |
| 5221 |
\draw[thick,#1](T-|#2.north west)node[above=-3.5]{$\vee$}--(#2.north west) |
| 5222 |
foreach [remember=\pt as \last (initially #2)] \pt in {#3} |
| 5223 |
{to[Cup](\last.north east) to[Cap] (\pt.north west)} |
| 5224 |
to[Cup] (#4.north east) -- (#4.north east|-T)node[below=-3.5]{$\wedge$}; |
| 5225 |
} |
| 5226 |
}, |
| 5227 |
pics/dstring/.style n args = {4}{% {colour}{first coord}{wave coords}{last coord} |
| 5228 |
code = { |
| 5229 |
\def\last{#2} % should not be necessary |
| 5230 |
\draw[thick,#1](O-|#2.south west)node[below=-3.5]{$\wedge$}--(#2.south west) |
| 5231 |
foreach [remember=\pt as \last (initially #2)] \pt in {#3} |
| 5232 |
{to[Cap](\last.south east) to[Cup] (\pt.south west)} |
| 5233 |
to[Cap] (#4.south east) -- (#4.south east|-O)node[above=-3.5]{$\vee$}; |
| 5234 |
} |
| 5235 |
}, |
| 5236 |
} |
| 5237 |
\begin{tikzpicture}[red ribbon/.style={fill=red!40,opacity=0.4}] |
| 5238 |
\coordinate (O) at (0,0); \coordinate (T) at (0,3.2); % needed by the strings |
| 5239 |
\draw(-2,0)--(2.5,0) (-2,3.2)--(2.5,3.2); % top and bottom lines |
| 5240 |
\Diagram(0,0)[ukrainian, inner style=dotted, ribbons={(red ribbon)24rcrcrc}]{5,4^3,3} |
| 5241 |
\pic at (T) {ustring={gray}{A-1-5}{}{A-1-5}}; % up strings |
| 5242 |
\pic at (T) {ustring={gray}{A-4-4}{}{A-4-4}}; |
| 5243 |
\pic at (T) {ustring={gray}{A-5-2}{A-4-3,A-3-4}{A-3-4}}; |
| 5244 |
\pic at (T) {ustring={gray}{A-5-3}{}{A-5-3}}; |
| 5245 |
\pic at (T) {ustring={red}{A-5-1}{A-4-2,A-3-3,A-2-4}{A-2-4}}; |
| 5246 |
\pic at (O) {dstring={gray}{A-1-1}{}{A-1-1}}; % down strings |
| 5247 |
\pic at (O) {dstring={gray}{A-2-1}{A-1-2}{A-1-2}}; |
| 5248 |
\pic at (O) {dstring={gray}{A-3-1}{A-2-2,A-1-3}{A-1-3}}; |
| 5249 |
\pic at (O) {dstring={gray}{A-4-1}{A-3-2,A-2-3,A-1-4}{A-1-4}}; |
| 5250 |
\pic at (O) {dstring={gray}{A-5-1}{A-4-2,A-3-3,A-2-4,A-1-5}{A-1-5}}; |
| 5251 |
\end{tikzpicture} |
| 5252 |
\end{Example} |
| 5253 |
|
| 5254 |
The final example shows how to draw a multipartition and its associated |
| 5255 |
KLRW diagram~\cite{Bowman:ManyCellular}. Once again, the issue is that |
| 5256 |
we need to draw a tableau and connect it with other combinatorial data |
| 5257 |
in the picture. |
| 5258 |
|
| 5259 |
\begin{Example}{multiKLRW} |
| 5260 |
\begin{tikzpicture}[red string/.style={red, ultra thick}, |
| 5261 |
solid/.style={blue, thick}, |
| 5262 |
ghost/.style={gray}] |
| 5263 |
\Multidiagram(0,1.3) % the multipartition, filled with residues |
| 5264 |
[ukrainian, entries=residues, e=3, rotate=4, no separators]{2^2,1|3,2,1} |
| 5265 |
% the red strings, projected from the (1,1)-boxes |
| 5266 |
\draw[red string]([shift={(0.1,0)}]A-1-1-1 |- 0,0)node[below]{$\kappa_1$} --++(0,1); |
| 5267 |
\draw[red string]([shift={(0.1,0)}]A-2-1-1 |- 0,0)node[below]{$\kappa_2$} --++(0,1); |
| 5268 |
\foreach \k/\r/\c in |
| 5269 |
{1/1/1,1/1/2,1/2/1,1/2/2,1/3/1,2/1/1,2/1/2,2/1/3,2/2/1,2/2/2,2/3/1} |
| 5270 |
{ % add solids, ghosts and lines from the tableau to the KLRW idempotent |
| 5271 |
\draw[thin, brown](A-\k-\r-\c.south) -- (A-\k-\r-\c |- 0,0); |
| 5272 |
\draw[solid](A-\k-\r-\c.south |- 0,0)--++(0,1); |
| 5273 |
\draw[ghost]([xshift=2.8mm]A-\k-\r-\c |- 0,0)--++(0,1); |
| 5274 |
} |
| 5275 |
\end{tikzpicture} |
| 5276 |
\end{Example} |
| 5277 |
|
| 5278 |
|
| 5279 |
% -------------------------------------------------------------- |
| 5280 |
\section{Feature requests and bug reports} |
| 5281 |
|
| 5282 |
Please make any feature requests and bug reports on the \aTableau github |
| 5283 |
page: |
| 5284 |
\begin{center} |
| 5285 |
\href{https://github.com/AndrewMathas/aTableau/issues}{github.com/AndrewMathas/aTableau/issues}. |
| 5286 |
\end{center} |
| 5287 |
Please give as much detail as possible when making such requests. |
| 5288 |
|
| 5289 |
Bug reports must be accompanied by a \textit{minimal working |
| 5290 |
example}, which is the smallest possible amount of \LaTeX\ code that |
| 5291 |
demonstrates the problem and compiles---unless you are reporting a |
| 5292 |
problem that gives a compilation error, in which case your code example |
| 5293 |
should produce the error. This is necessary because it is very difficult |
| 5294 |
to fix a problem if you cannot reproduce it. |
| 5295 |
|
| 5296 |
% -------------------------------------------------------------- |
| 5297 |
\subsection*{Acknowledgements} |
| 5298 |
|
| 5299 |
Several features in \aTableau have benefited from posts on |
| 5300 |
\href{https://tex.stackexchange.com}{tex.stackexchange.com}. Although |
| 5301 |
it may surprise them, I thank |
| 5302 |
Max Chernoff, |
| 5303 |
Enrico Gregorio, |
| 5304 |
Lars Madsen, |
| 5305 |
Clea Rees, |
| 5306 |
and |
| 5307 |
Jonathan Spratte. |
| 5308 |
|
| 5309 |
% ---------------------------------------------------------------------- |
| 5310 |
% bibliography |
| 5311 |
% \bibliography{papers} |
| 5312 |
% \bibliographystyle{andrew} |
| 5313 |
|
| 5314 |
\begin{thebibliography}{10} |
| 5315 |
|
| 5316 |
\bibitem{Bowman:ManyCellular} |
| 5317 |
\textsc{C.~Bowman}, \href{http://dx.doi.org/10.1353/ajm.2022.0008}{\textit{The |
| 5318 |
many integral graded cellular bases of {H}ecke algebras of complex reflection |
| 5319 |
groups}}, Amer. J. Math., \textbf{144} (2022), 437--504. |
| 5320 |
\newblock \href{http://arxiv.org/abs/1702.06579}{arXiv:1702.06579}. |
| 5321 |
|
| 5322 |
\bibitem{bowman2023quiverpresentationsisomorphismshecke} |
| 5323 |
\textsc{C.~Bowman, M.~D. Visscher, A.~Hazi, and C.~Stroppel}, |
| 5324 |
\href{https://arxiv.org/abs/2309.13695}{\textit{Quiver presentations and |
| 5325 |
isomorphisms of Hecke categories and Khovanov arc algebras}}, 2023. |
| 5326 |
\newblock \href{http://arxiv.org/abs/2309.13695}{arXiv:2309.13695}. |
| 5327 |
|
| 5328 |
\bibitem{DJM:cyc} |
| 5329 |
\textsc{R.~Dipper, G.~James, and A.~Mathas}, |
| 5330 |
\href{http://dx.doi.org/10.1007/PL00004665}{\textit{Cyclotomic {$q$}-{S}chur |
| 5331 |
algebras}}, Math. Z., \textbf{229} (1998), 385--416. |
| 5332 |
|
| 5333 |
\bibitem{EvseevMathas:DeformedKLR} |
| 5334 |
\textsc{A.~Evseev and A.~Mathas}, |
| 5335 |
\href{http://dx.doi.org/10.5802/art.8}{\textit{Content systems and |
| 5336 |
deformations of cyclotomic {KLR} algebras of type~$A$ and~$C$}}, Annals of |
| 5337 |
Representation Theory, \textbf{1} (2024), 193--297. |
| 5338 |
\newblock \href{http://arxiv.org/abs/2209.00134}{arXiv:2209.00134}. |
| 5339 |
|
| 5340 |
\bibitem{Fayers:DyckTilings} |
| 5341 |
\textsc{M.~Fayers}, |
| 5342 |
\href{http://dx.doi.org/10.1007/s10801-016-0734-2}{\textit{Dyck tilings and |
| 5343 |
the homogeneous {G}arnir relations for graded {S}pecht modules}}, J. |
| 5344 |
Algebraic Combin., \textbf{45} (2017), 1041--1082. |
| 5345 |
\newblock \href{http://arxiv.org/abs/1309.6467}{arXiv:1309.6467}. |
| 5346 |
|
| 5347 |
\bibitem{Fulton:Tableaux} |
| 5348 |
\textsc{W.~Fulton}, \textit{Young tableaux}, London Mathematical Society |
| 5349 |
Student Texts, \textbf{35}, Cambridge University Press, Cambridge, 1997. |
| 5350 |
\newblock With applications to representation theory and geometry. |
| 5351 |
|
| 5352 |
\bibitem{James:YoungD} |
| 5353 |
\textsc{G.~James}, \textit{Some combinatorial results involving {Y}oung |
| 5354 |
diagrams}, Math. Proc. Cambridge Philos. Soc., \textbf{83} (1978), 1--10. |
| 5355 |
|
| 5356 |
\bibitem{KMR:UniversalSpecht} |
| 5357 |
\textsc{A.~Kleshchev, A.~Mathas, and A.~Ram}, |
| 5358 |
\href{http://dx.doi.org/10.1112/plms/pds019}{\textit{Universal graded |
| 5359 |
{S}pecht modules for cyclotomic {H}ecke algebras}}, Proc. Lond. Math. Soc. |
| 5360 |
(3), \textbf{105} (2012), 1245--1289. |
| 5361 |
\newblock \href{http://arxiv.org/abs/1102.3519}{arXiv:1102.3519}. |
| 5362 |
|
| 5363 |
\bibitem{Konvalinka:ShiftedHookLengths} |
| 5364 |
\textsc{M.~z. Konvalinka}, \href{http://dx.doi.org/10.37236/588}{\textit{The |
| 5365 |
weighted hook length formula {III}: {S}hifted tableaux}}, Electron. J. |
| 5366 |
Combin., \textbf{18} (2011), Paper 101, 29. |
| 5367 |
|
| 5368 |
\bibitem{Macdonald} |
| 5369 |
\textsc{I.~G. Macdonald}, \textit{Symmetric functions and {H}all polynomials}, |
| 5370 |
Oxford Mathematical Monographs, The Clarendon Press Oxford University Press, |
| 5371 |
New York, second~ed., 1995. |
| 5372 |
\newblock With contributions by A. Zelevinsky, Oxford Science Publications. |
| 5373 |
|
| 5374 |
\bibitem{Mathas:ULect} |
| 5375 |
\textsc{A.~Mathas}, |
| 5376 |
\href{http://dx.doi.org/10.1090/ulect/015}{\textit{Iwahori-{H}ecke algebras |
| 5377 |
and {S}chur algebras of the symmetric group}}, University Lecture Series, |
| 5378 |
\textbf{15}, American Mathematical Society, Providence, RI, 1999. |
| 5379 |
|
| 5380 |
\bibitem{MathasTubbenhauer:BAD} |
| 5381 |
\textsc{A.~Mathas and D.~Tubbenhauer}, |
| 5382 |
\href{http://dx.doi.org/https://doi.org/10.1112/jlms.12706}{\textit{Cellularity |
| 5383 |
for weighted KLRW algebras of types $B$, $A^{(2)}$, $D^{(2)}$}}, Journal of |
| 5384 |
the London Mathematical Society, \textbf{107} (2023), 1002--1044. |
| 5385 |
\newblock \href{http://arxiv.org/abs/2201.01998}{arXiv:2201.01998}. |
| 5386 |
|
| 5387 |
\bibitem{Mendes:hooks} |
| 5388 |
\textsc{A.~Mendes}, \textit{The combinatorics of rim hook tableaux}, Australas. |
| 5389 |
J. Combin., \textbf{73} (2019), 132--148. |
| 5390 |
|
| 5391 |
\bibitem{Muniz} |
| 5392 |
\textsc{B.~Muniz}, \href{https://arxiv.org/abs/2505.21738}{\textit{Symplectic |
| 5393 |
Branching through Crystals}}, 2025. |
| 5394 |
\newblock \href{http://arxiv.org/abs/2505.21738}{arXiv:2505.21738}. |
| 5395 |
|
| 5396 |
\end{thebibliography} |
| 5397 |
|
| 5398 |
% ---------------------------------------------------------------------- |
| 5399 |
% indices |
| 5400 |
\printindex |
| 5401 |
|
| 5402 |
\end{document} |