summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/dynkin-diagrams
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/contrib/dynkin-diagrams')
-rw-r--r--graphics/pgf/contrib/dynkin-diagrams/README4
-rw-r--r--graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.pdfbin895333 -> 894840 bytes
-rw-r--r--graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.sty13
-rw-r--r--graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.tex53
4 files changed, 60 insertions, 10 deletions
diff --git a/graphics/pgf/contrib/dynkin-diagrams/README b/graphics/pgf/contrib/dynkin-diagrams/README
index 4ff5cb21d4..e43f31e0b8 100644
--- a/graphics/pgf/contrib/dynkin-diagrams/README
+++ b/graphics/pgf/contrib/dynkin-diagrams/README
@@ -1,6 +1,6 @@
Dynkin diagrams
-v3.14159265358979323
-18 May 2023
+v3.1415926535897932384
+2 June 2023
Authors:
Ben McKay
diff --git a/graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.pdf b/graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.pdf
index 6a0b9acda0..2109c1ba1c 100644
--- a/graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.pdf
+++ b/graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.pdf
Binary files differ
diff --git a/graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.sty b/graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.sty
index 20d2e09eb0..e45f21ee18 100644
--- a/graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.sty
+++ b/graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.sty
@@ -1,10 +1,10 @@
% The Dynkin Diagrams package.
%
-% Version 3.141 592 653 589 793 238
+% Version 3.141 592 653 589 793 238 4
%
% This package draws Dynkin diagrams in LaTeX
% documents, using the TikZ package.
-% Please see the file dynkin-diagrams.tex
+% Please see the file dynkin-diagrams.tex
% for examples of use of this package.
%
% Benjamin McKay
@@ -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}[2023/05/25 Dynkin diagrams]
+\ProvidesPackage{dynkin-diagrams}[2023/06/02 Dynkin diagrams]
\RequirePackage{tikz}
\RequirePackage{xstring}
\RequirePackage{etoolbox}
@@ -2221,6 +2221,7 @@
involution/.style={latex-latex,black},
involutions/.default = {},
involutions/.store in = \dynkin@involution@list,
+ expand involutions/.estore in = \dynkin@involution@list,
Kac arrows/.is if = dynkin@Kac@arrows,
Kac-arrows/.forward to = /Dynkin diagram/Kac arrows,
Kacarrows/.forward to = /Dynkin diagram/Kac arrows,
@@ -2271,8 +2272,10 @@
labeldepth/.forward to = /Dynkin diagram/label depth,
label directions/.default = {},
label directions/.store in = \dynkin@label@directions@override,
+ expand label directions/.estore in = \dynkin@label@directions@override,
label* directions/.default = {},
label* directions/.store in = \dynkin@label@star@directions@override,
+ expand label* directions/.estore in = \dynkin@label@star@directions@override,
label height/.style={/tikz/every label/.append style={text height={height("#1"}}},
label height/.default=b,
label height,
@@ -2286,8 +2289,12 @@
labelmacro*/.forward to=/Dynkin diagram/label macro*,
labels/.default = {},
labels/.store in = \dynkin@label@list,
+ expand labels/.default = {},
+ expand labels/.estore in = \dynkin@label@list,
labels*/.default = {},
labels*/.store in = \dynkin@label@list@star,
+ expand labels*/.default = {},
+ expand labels*/.estore in = \dynkin@label@list,
make indefinite edge/.code={\dynkin@set@edge@indefinite@pair{#1}},
make-indefinite-edge/.forward to=/Dynkin diagram/make indefinite edge,
makeindefiniteedge/.forward to=/Dynkin diagram/make indefinite edge,
diff --git a/graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.tex b/graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.tex
index 9523f43845..5f4bb33e41 100644
--- a/graphics/pgf/contrib/dynkin-diagrams/dynkin-diagrams.tex
+++ b/graphics/pgf/contrib/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}
+Version 3.141\,592\,653\,589\,793\,238\,4}
%% My name:
\makeatletter
\DeclareRobustCommand{\scotsMc}{\scotsMcx{c}}
@@ -20,7 +20,7 @@ Version 3.141\,592\,653\,589\,793\,238}
\author{Ben \scotsMc{}Kay}
\address{School of Mathematical Sciences, University College Cork, Cork, Ireland}
\email{b.mckay@ucc.ie}
-\date{25 May 2023}
+\date{2 June 2023}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenx}
\usepackage{etoolbox}
@@ -463,6 +463,20 @@ Optionally, you can add label directions to say where to put each label relative
labels*={1,3,4,5,6}]A7
\end{tcblisting}
+\section{Label expansion}
+\begin{tcblisting}{title={Best not to have too much expansion}}
+\dynkin[labels={\mathbb{K}}] A1
+\end{tcblisting}
+\begin{tcblisting}{title={Sometimes we don't have enough expansion}}
+\def\rs{1,2,3,2,2,1}
+\dynkin[labels=\rs,ordering=Carter]{E}{6}
+\end{tcblisting}
+\begin{tcblisting}{title={Ask for more expansion}}
+\def\rs{1,2,3,2,2,1}
+\dynkin[expand labels=\rs,ordering=Carter]{E}{6}
+\end{tcblisting}
+Many options to the package admit an \verb!expand! in front of them to get more expansion.
+
\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}}
@@ -1311,6 +1325,8 @@ G_2 & \dynk G2
\end{dynkinTable}
\endgroup
+\newpage
+
\section{Typesetting mathematical names of Dynkin diagrams}
The \verb!\dynkinName! command, with the same syntax as \verb!\dynkin!, typesets a default name of your diagram in \LaTeX.
It is perhaps only useful when automatically generating a large collection of Dynkin diagrams in a computer program.
@@ -1322,8 +1338,6 @@ It is perhaps only useful when automatically generating a large collection of Dy
\dynkinName D[3]4
\end{tcblisting}
-\newpage
-
\section{Connecting Dynkin diagrams}\label{section:name}
We can make some sophisticated folded diagrams by drawing multiple diagrams, each with a name:
\begin{tcblisting}{title={Name a diagram}}
@@ -1384,7 +1398,6 @@ We can then connect the two with folding edges:
\end{tabular}
\end{tcolorbox}
\end{tcblisting}
-\newpage
The following diagrams arise in the Satake diagrams of the pseudo-Riemannian symmetric spaces \cite{Baba:2009}.
\begin{tcblisting}{}
\pgfkeys{/Dynkin diagram,edge length=.5cm,fold radius=.5cm}
@@ -2077,6 +2090,36 @@ is computed as \(n=\sum 2^{i-1} a_i\), \(a_i=0\) or \(1\), to say that root \(i\
& amount to shift up the Dynkin diagram, from the origin of \TikZ coordinates.\\
\end{longtable}
\par\noindent{}All other options are passed to TikZ.
+To force addition expansion, you can add the word \verb!expand! in front of
+\par\noindent
+{
+\centering
+\begin{tabular}{>{\ttfamily}l}
+affine mark\\
+arrow color\\
+arrow style\\
+arrow width\\
+at\\
+edge length\\
+fold radius\\
+gonality\\
+involutions\\
+label directions\\
+label* directions\\
+labels\\
+labels*\\
+mark\\
+name\\
+ordering\\
+parabolic\\
+ply\\
+root radius\\
+separator length\\
+twisted series\\
+vertical shift
+\end{tabular}
+
+}
\nocite{*}