summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ytableau/ytableau.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ytableau/ytableau.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ytableau/ytableau.sty16
1 files changed, 14 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/ytableau/ytableau.sty b/Master/texmf-dist/tex/latex/ytableau/ytableau.sty
index af03c28f3cf..8dbf9c6ec55 100644
--- a/Master/texmf-dist/tex/latex/ytableau/ytableau.sty
+++ b/Master/texmf-dist/tex/latex/ytableau/ytableau.sty
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ytableau}
- [2012/08/14 v1.3 Many-featured Young tableaux and Young diagrams]
+ [2021/06/12 v1.4 Many-featured Young tableaux and Young diagrams]
\newbox\tableaux@YT
@@ -40,7 +40,8 @@
\expandafter\unexpanded\expandafter{#1}%
}
\def\nil@YT{\nil@YT}
-\def\boxframe@YT{0.04em}
+\def\boxframe@normal@YT{0.04em}
+\edef\boxframe@YT{\boxframe@normal@YT}
\def\boxdim@normal@YT{1.5em}
\let\boxdim@save@YT = \boxdim@normal@YT
\edef\macro@boxdim@YT{\boxdim@normal@YT}
@@ -105,6 +106,17 @@
}
}
\pgfkeys{/ytableau/options,
+ boxframe/.value required,
+ boxframe/.code = {%
+ \compare@YT{#1}{normal}%
+ \ifeq@YT
+ \xdef\boxframe@YT{\expandonce@YT\boxframe@normal@YT}%
+ \else
+ \xdef\boxframe@YT{#1}%
+ \fi
+ }
+}
+\pgfkeys{/ytableau/options,
aligntableaux/.value required,
aligntableaux/.is choice,
aligntableaux/top/.code = {\gdef\centering@YT{top}},