From 774cd5dac6a847beded848fd8d2c47d97675ff76 Mon Sep 17 00:00:00 2001 From: Karl Berry 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/doc/latex/ytableau/README | 4 +- Master/texmf-dist/doc/latex/ytableau/ytableau.pdf | Bin 362582 -> 390543 bytes .../texmf-dist/source/latex/ytableau/ytableau.dtx | 53 ++++++++++++++++----- Master/texmf-dist/tex/latex/ytableau/ytableau.sty | 16 ++++++- 4 files changed, 56 insertions(+), 17 deletions(-) (limited to 'Master/texmf-dist') 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 +Copyright (C) 2010-2021 by Ryan Reich ------------------------------------------------------- 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 Binary files a/Master/texmf-dist/doc/latex/ytableau/ytableau.pdf and b/Master/texmf-dist/doc/latex/ytableau/ytableau.pdf 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 %\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] % %<*driver> \documentclass{ltxdoc} @@ -98,7 +98,7 @@ % % \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} @@ -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