From 774cd5dac6a847beded848fd8d2c47d97675ff76 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 13 Jun 2021 20:53:21 +0000
Subject: ytableau (13jun21)

git-svn-id: svn://tug.org/texlive/trunk@59580 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/ytableau/ytableau.sty | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/ytableau/ytableau.sty')

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}
@@ -104,6 +105,17 @@
   \fi
  }
 }
+\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,
-- 
cgit v1.2.3

