From d6efc824d4f17b7fb97dc91f2b41dd1bf8e24b5f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 4 Dec 2024 21:12:37 +0000 Subject: dynkin-diagrams (4dec24) git-svn-id: svn://tug.org/texlive/trunk@73036 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/dynkin-diagrams/README | 4 +-- .../doc/latex/dynkin-diagrams/dynkin-diagrams.pdf | Bin 908783 -> 909020 bytes .../doc/latex/dynkin-diagrams/dynkin-diagrams.tex | 13 +++++++--- .../tex/latex/dynkin-diagrams/dynkin-diagrams.sty | 27 ++++++++++++++++----- 4 files changed, 33 insertions(+), 11 deletions(-) diff --git a/Master/texmf-dist/doc/latex/dynkin-diagrams/README b/Master/texmf-dist/doc/latex/dynkin-diagrams/README index 5abe74143c4..105afe57df0 100644 --- a/Master/texmf-dist/doc/latex/dynkin-diagrams/README +++ b/Master/texmf-dist/doc/latex/dynkin-diagrams/README @@ -1,6 +1,6 @@ Dynkin diagrams -v3.14159265358979323846 -6 July 2024 +v3.141592653589793238462 +4 December 2024 Authors: Ben McKay diff --git a/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.pdf b/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.pdf index dceef359361..4f440b3170c 100644 Binary files a/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.pdf and b/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.pdf differ diff --git a/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.tex b/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.tex index b3f0be43412..e97a5d2f2c8 100644 --- a/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.tex +++ b/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.tex @@ -1,7 +1,7 @@ \documentclass{amsart} \title[The Dynkin diagrams package]% {The Dynkin diagrams package \\ -Version 3.141\,592\,653\,589\,793\,238\,46} +Version 3.141\,592\,653\,589\,793\,238\,462} %% My name: \makeatletter \DeclareRobustCommand{\scotsMc}{\scotsMcx{c}} @@ -20,7 +20,7 @@ Version 3.141\,592\,653\,589\,793\,238\,46} \author{Ben \scotsMc{}Kay} \address{School of Mathematical Sciences, University College Cork, Cork, Ireland} \email{b.mckay@ucc.ie} -\date{6 July 2024} +\date{4 December 2024} \thanks{Thanks to Jeffrey Adams, Paul Aspinwall, Mikhail Borovoi, Fran Burstall, Michiel Van Couwenberghe, Xu Gao, Skip Garibaldi, Enrico Gregorio, Mamuka Jibladze, Tasho Kaletha, Jordan Lambert, Sriotchilism O'Zaic, Gopal Prasad, Anthony Pulido, Andres Sambarino, Paul Schwahn, Felix Weinstein, Niels Wen and Gordon Williams.} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenx} @@ -210,6 +210,9 @@ The Dynkin diagram of \(B_3\) is \draw[very thick,red] (root 1) to [out=-45, in=-135] (root 3); \end{dynkinDiagram} \end{tcblisting} + +\newpage + \section{Interaction with \TikZ} Inside a \TikZ environment, default behaviour is to draw from the origin, so you can draw around the diagram: \begin{tcblisting}{title={Inside a \TikZ environment}} @@ -235,6 +238,8 @@ The Dynkin diagram of \(B_3\) is \end{tikzpicture} \end{tcblisting} +\newpage + \section{Set options globally} \begin{tcolorbox}[title={Most options set globally \dots}] @@ -510,6 +515,8 @@ Optionally, you can add label directions to say where to put each label relative \end{tcblisting} Many options to the package admit an \verb!expand! in front of them to get more expansion. +\newpage + \section{Label subscripts} Note the slight improvement that \verb!\drlap! makes: the labels are centered on the middle of the letter \(\alpha\), ignoring the space taken up by the subscripts, using the \verb!mathtools! command \verb!\mathrlap!, but only for labels which are \emph{not} placed to the left or right of a root. \begin{tcblisting}{title={Label subscript spacing}} @@ -1001,7 +1008,7 @@ D_4 & \dynkin[label,ordering=Kac]E6 \end{tcblisting} Default is Bourbaki. -Sources are Adams \cite{Adams:1996} p. 56--57, Bourbaki \cite{Bourbaki:2002} p. 265--290 plates I-IX, Carter \cite{Carter:2005} p. 540--609, Dynkin \cite{Dynkin:1952} (reprinted, translated into English, in Dynkin \cite{Dynkin:2000} p. 180), Kac \cite{Kac:1990} p. 43. +Sources are Adams \cite{Adams:1996} p. 11, pp. 56--57, Bourbaki \cite{Bourbaki:2002} pp. 265--290 plates I-IX, Carter \cite{Carter:2005} pp. 540--609, Dynkin \cite{Dynkin:1952} (reprinted, translated into English, in Dynkin \cite{Dynkin:2000} p. 180), Kac \cite{Kac:1990} p. 53. \NewDocumentCommand\tablerow{mm}% {% diff --git a/Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty b/Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty index 7a92e22048e..b2af571c4c6 100644 --- a/Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty +++ b/Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty @@ -1,6 +1,6 @@ % The Dynkin Diagrams package. % -% Version 3.141 592 653 589 793 238 46 +% Version 3.141 592 653 589 793 238 462 % % This package draws Dynkin diagrams in LaTeX % documents, using the TikZ package. @@ -13,7 +13,7 @@ % Released under the LaTeX Project Public License v1.3c or later, see % http://www.latex-project.org/lppl.txt \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesPackage{dynkin-diagrams}[2024/07/05 Dynkin diagrams] +\ProvidesPackage{dynkin-diagrams}[2024/12/04 Dynkin diagrams] \RequirePackage{tikz} \RequirePackage{xstring} \RequirePackage{etoolbox} @@ -3460,7 +3460,8 @@ {% \global#5=% \stringCharacterInPosition% - {13456782}{#4}% + {87654312}{#4}% + %% {13456782}{#4}% <-- Old error! \relax% }% {Kac}% @@ -3623,7 +3624,8 @@ {% \global#5=% \stringCharacterInPosition% - {18234567}{#3}% + {78654321}{#3}% +% {18234567}{#3}% <<--- Old error. \relax% }% {Kac}% @@ -3753,7 +3755,8 @@ {% {Adams}{\global\dynkin@Root@Number=\stringCharacterInPosition{13245678}{#1}\relax}% {Carter}{\global\dynkin@Root@Number=\stringCharacterInPosition{86754321}{#1}\relax}% - {Dynkin}{\global\dynkin@Root@Number=\stringCharacterInPosition{18234567}{#1}\relax}% + {Dynkin}{\global\dynkin@Root@Number=\stringCharacterInPosition{78654321%%18234567 +}{#1}\relax}% {Kac}{\global\dynkin@Root@Number=\stringCharacterInPosition{78654321}{#1}\relax}% }% [\global\dynkin@Root@Number=#1\relax]% @@ -5044,6 +5047,12 @@ \else% \global\dynkin@reverse@arrowstrue\relax% \fi\relax}% +% {Carter}{% +% \ifdynkin@reverse@arrows% +% \global\dynkin@reverse@arrowsfalse\relax% +% \else% +% \global\dynkin@reverse@arrowstrue\relax% +% \fi\relax}% {Carter}{\relax}% {Dynkin}{\relax}% {Kac}{\relax}% @@ -5080,7 +5089,13 @@ \else% \global\dynkin@reverse@arrowstrue\relax% \fi\relax}% - {Carter}{\relax}% +% {Carter}{% +% \ifdynkin@reverse@arrows% +% \global\dynkin@reverse@arrowsfalse\relax% +% \else% +% \global\dynkin@reverse@arrowstrue\relax% +% \fi\relax}% + {Carter}{\relax}% <<--- This was wrong for a long time! {Dynkin}{\relax}% {Kac}{\relax}% }% -- cgit v1.2.3