summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-06-13 20:53:21 +0000
committerKarl Berry <karl@freefriends.org>2021-06-13 20:53:21 +0000
commit774cd5dac6a847beded848fd8d2c47d97675ff76 (patch)
tree7305dbb13d1ae25027bb33c5ca1544c75124093d /Master
parentb7e5ac45c380741bed7e201ab7a99d213a36e4b7 (diff)
ytableau (13jun21)
git-svn-id: svn://tug.org/texlive/trunk@59580 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/ytableau/README4
-rw-r--r--Master/texmf-dist/doc/latex/ytableau/ytableau.pdfbin362582 -> 390543 bytes
-rw-r--r--Master/texmf-dist/source/latex/ytableau/ytableau.dtx53
-rw-r--r--Master/texmf-dist/tex/latex/ytableau/ytableau.sty16
4 files changed, 56 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/latex/ytableau/README b/Master/texmf-dist/doc/latex/ytableau/README
index 681a2b2012b..435387adc5f 100644
--- a/Master/texmf-dist/doc/latex/ytableau/README
+++ b/Master/texmf-dist/doc/latex/ytableau/README
@@ -1,4 +1,4 @@
-Copyright (C) 2010 by Ryan Reich <ryan.reich@gmail.com>
+Copyright (C) 2010-2021 by Ryan Reich <ryan.reich@gmail.com>
-------------------------------------------------------
This file may be distributed and/or modified under the
@@ -42,4 +42,4 @@ commands, you should do:
> makeindex -s gglo.ist -o ytableau.gls ytableau.glo
and then compile ytableau.dtx again (possibly several times to get the
-cross-references correct). \ No newline at end of file
+cross-references correct).
diff --git a/Master/texmf-dist/doc/latex/ytableau/ytableau.pdf b/Master/texmf-dist/doc/latex/ytableau/ytableau.pdf
index d113064e402..861ca45f9f1 100644
--- a/Master/texmf-dist/doc/latex/ytableau/ytableau.pdf
+++ b/Master/texmf-dist/doc/latex/ytableau/ytableau.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/ytableau/ytableau.dtx b/Master/texmf-dist/source/latex/ytableau/ytableau.dtx
index 25fb4ca5e6f..d9d29be8b24 100644
--- a/Master/texmf-dist/source/latex/ytableau/ytableau.dtx
+++ b/Master/texmf-dist/source/latex/ytableau/ytableau.dtx
@@ -18,7 +18,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{ytableau}
-%<package> [2012/08/14 v1.3 Many-featured Young tableaux and Young diagrams]
+%<package> [2021/06/12 v1.4 Many-featured Young tableaux and Young diagrams]
%
%<*driver>
\documentclass{ltxdoc}
@@ -98,7 +98,7 @@
%</driver>
% \fi
%
-% \CheckSum{580}
+% \CheckSum{594}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -147,7 +147,7 @@
% \title{The \textsf{ytableau} package\thanks{This document describes
% \textsf{ytableau}~\fileversion, dated~\filedate.}}
% \author{Ryan Reich\\\texttt{ryan.reich@gmail.com}}
-% \date{August 14th, 2012}
+% \date{June 12th, 2021}
% \maketitle
%
% \tableofcontents
@@ -156,10 +156,10 @@
%
% \section{Y tableau?}
%
-% At present there exist two packages with which one can draw Young tableaux: \textsf{young} and
-% \textsf{youngtab}. As the latter is explicitly an alternative to the former, they do not overlap
-% very much except in what they eventually produce. Between them, they define the following three
-% basic constructions of Young tableaux:
+% At the time this package was first written, there there existed two packages with which one can
+% draw Young tableaux: \textsf{young} and \textsf{youngtab}. As the latter is explicitly an
+% alternative to the former, they do not overlap very much except in what they eventually produce.
+% Between them, they define the following three basic constructions of Young tableaux:
%
% \begin{itemize}
% \item An environment with array-style syntax;
@@ -338,6 +338,11 @@
% |boxsize|=\meta{dimension}. This manually sets the height (and width, which is the same)
% of boxes in all tableaux to \meta{dimension}. If you change the size and want to get back to
% the default (1.5em), just say |boxsize = normal|.
+%
+% \item \DescribeOption{boxframe}
+% |boxframe|=\meta{dimension}. Like |boxsize|, but sets the width of the lines of the frame around
+% the boxes of the tableau to \meta{dimension}. If you change the size and want to get back to the
+% default (0.04em) just say |boxframe = normal|.
%
% \item \DescribeOption{smalltableaux} \DescribeOption{nosmalltableaux}
% |smalltableaux|/|nosmalltableaux|. The first option makes the box size quite small;
@@ -402,7 +407,7 @@
% \end{center}
%
% \begin{center}
-% \ytableausetup{textmode}
+% \ytableausetup{textmode, boxframe=0.1em}
% \begin{ytableau}
% a & d & f \\
% b & e & g \\
@@ -411,7 +416,7 @@
% \hfill
% \begin{minipage}{0.5\textwidth}
% \begin{verbatim}
-% \ytableausetup{textmode}
+% \ytableausetup{textmode, boxframe=0.1em}
% \begin{ytableau}
% a & d & f \\
% b & e & g \\
@@ -423,7 +428,7 @@
%
% \begin{center}
% \ytableausetup
-% {mathmode, boxsize=2em}
+% {mathmode, boxframe=normal, boxsize=2em}
% \begin{ytableau}
% 1 & 2 & 3 & \none[\dots] & \scriptstyle 2n-1 & 2n \\
% 2 & 3 & 4 & \none[\dots] & 2n \\
@@ -435,7 +440,7 @@
% \begin{minipage}{0.5\textwidth}
% \begin{verbatim}
% \ytableausetup
-% {mathmode, boxsize=2em}
+% {mathmode, boxframe=normal, boxsize=2em}
% \begin{ytableau}
% 1 & 2 & 3 & \none[\dots]
% & \scriptstyle 2n - 1 & 2n \\
@@ -655,6 +660,7 @@
% \changes{v1.2}{2012/06/17}{Removed a lot of pointless endline-comments after control sequences and added spaces after numbers.}
% \changes{v1.2}{2012/06/17}{Fixed a bug where the prevailing font size was ignored or imperfectly obeyed.}
% \changes{v1.3}{2012/08/14}{Require sufficiently new \textsf{pgfopts} since v.1 breaks.}
+% \changes{v1.4}{2021/06/12}{Added option |boxframe|.}
%
% \subsection{Global defintions}
%
@@ -772,11 +778,15 @@
%
% \begin{macro}{\boxframe@YT}
% \changes{v1.2}{2012/06/17}{Made a macro.}
-% The font-independent width of the frame in a tableau. Used in |\ytableau| and |\none@YT|.
+% \begin{macro}{\boxframe@normal@YT}
+% \changes{v1.4}{2021/06/12}{Added.}
+% The font-independent "normal" width of the frame in a tableau. Used in option |boxframe|.
% \begin{macrocode}
-\def\boxframe@YT{0.04em}
+\def\boxframe@normal@YT{0.04em}
+\edef\boxframe@YT{\boxframe@normal@YT}
% \end{macrocode}
% \end{macro}
+% \end{macro}
%
% \begin{macro}{\boxdim@normal@YT}
% \changes{v1.2}{2012/06/17}{Made a macro.}
@@ -968,6 +978,23 @@
}
\pgfkeys{/ytableau/options,
% \end{macrocode}
+% \begin{option}{boxframe}
+% \changes{v1.4}{2021/06/12}{Added.}
+% Box frame width. Takes a dimension or |normal|.
+% \end{option}
+% \begin{macrocode}
+ 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,
+% \end{macrocode}
% \begin{option}{aligntableaux}
% Most general alignment option, can be any of |top|, |center|, or |bottom|.
% \end{option}
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}},