summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-27 22:03:57 +0000
committerKarl Berry <karl@freefriends.org>2019-11-27 22:03:57 +0000
commit6013290e476411dc798be8556cad840e6dbe2334 (patch)
tree12c6e84e6ff02de92e203c9c1924b31ef0f5e7e3 /Master/texmf-dist/tex
parentf039c2f2aca2bc74492e236124e24870749a8bc2 (diff)
dynkin-diagrams (27nov19)
git-svn-id: svn://tug.org/texlive/trunk@52943 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty69
1 files changed, 53 insertions, 16 deletions
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 e644e6251ec..805b8257608 100644
--- a/Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty
+++ b/Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty
@@ -2,7 +2,7 @@
%
% The Dynkin Diagrams package.
%
-% Version 3.1415926
+% Version 3.14159265
%
%
% This package draws Dynkin diagrams in LaTeX documents, using the TikZ package.
@@ -2376,14 +2376,11 @@ decoration=
\global\dynkin@Satake@diagramfalse%
\ifdynkin@Coxeter%
\gdef\dynkin@string{ddd.ddd}%
-% \gdef\dynkin@string{***.***}%
\else%
\ifdynkin@is@extended%
\gdef\dynkin@string{ddd.ddd}%
-% \gdef\dynkin@string{***.***}%
\else%
\gdef\dynkin@string{dd.ddd}%
-% \gdef\dynkin@string{**.***}%
\fi%
\fi%
}%
@@ -2400,10 +2397,8 @@ decoration=
\global\dynkin@Satake@diagramfalse%
\ifdynkin@Coxeter%
\gdef\dynkin@string{ddd.ddd}%
-% \gdef\dynkin@string{***.***}%
\else%
\gdef\dynkin@string{dd.ddd}%
-% \gdef\dynkin@string{**.***}%
\fi%
}%
{I}{\gdef\dynkin@string{oo.oo}}%
@@ -3238,9 +3233,15 @@ decoration=
\ifdynkin@Coxeter
\Adynkin
\convertRootPair{\the\drmo}{\the\dynkin@rank}
- \node[/Dynkin diagram/text style,above]
+ \node[inner sep=\dynkin@root@radius,%
+ label={%
+ [/Dynkin diagram/text style]%
+ above:
+ \(\pgfkeys{/Dynkin diagram/label macro*=4}\)%
+ }%
+ ]
at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
- {\(4\)};
+ {};
\else
% Create the roots.
\ifnum\dynkin@ply>1%
@@ -3714,9 +3715,15 @@ decoration=
\dynkinEdge*{SingleEdge}{2}{3}
\dynkinEdge*{SingleEdge}{3}{4}
\convertRootPair{2}{3}
- \node[/Dynkin diagram/text style,above]
+ \node[inner sep=\dynkin@root@radius,%
+ label={%
+ [/Dynkin diagram/text style]%
+ above:
+ \(\pgfkeys{/Dynkin diagram/label macro*=4}\)%
+ }%
+ ]
at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
- {\(4\)};
+ {};
\else
\dynkinEdge*{SingleEdge}{1}{2}
\dynkinEdge*{SingleEdge}{3}{4}
@@ -3753,7 +3760,15 @@ decoration=
{%
\Adynkin%
\convertRootPair{1}{2}%
- \node[/Dynkin diagram/text style,above] at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$) {\(5\)};%
+ \node[inner sep=\dynkin@root@radius,%
+ label={%
+ [/Dynkin diagram/text style]%
+ above:
+ \(\pgfkeys{/Dynkin diagram/label macro*=5}\)%
+ }%
+ ]
+ at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
+ {};
}%
%% \Idynkin
@@ -3765,7 +3780,15 @@ decoration=
\dynkin@rank=2%
\Adynkin%
\convertRootPair{1}{2}%
- \node[/Dynkin diagram/text style,above] at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$) {\(\dynkin@gonality\)};%
+ \node[inner sep=\dynkin@root@radius,%
+ label={%
+ [/Dynkin diagram/text style]%
+ above:
+ \(\pgfkeys{/Dynkin diagram/label macro*=\dynkin@gonality}\)%
+ }%
+ ]
+ at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
+ {};
}%
%% \extendedAdynkin
@@ -3888,8 +3911,15 @@ decoration=
\ifdynkin@Coxeter%
\dynkinEdge*{SingleEdge}{\the\drmo}{\the\dynkin@rank}%
\convertRootPair{\the\drmo}{\the\dynkin@rank}
- \node[/Dynkin diagram/text style,above] at
- ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$) {\(4\)};
+ \node[inner sep=\dynkin@root@radius,%
+ label={%
+ [/Dynkin diagram/text style]%
+ above:
+ \(\pgfkeys{/Dynkin diagram/label macro*=4}\)%
+ }%
+ ]
+ at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
+ {};
\else%
\ifnum\dynkin@ply<3%
\dynkinEdge*{DoubleEdge}{\the\drmo}{\the\dynkin@rank}%
@@ -3912,8 +3942,15 @@ decoration=
\ifdynkin@Coxeter%
\dynkinEdge*{SingleEdge}{0}{1}%
\convertRootPair{0}{1}
- \node[/Dynkin diagram/text style,above] at
- ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$) {\(4\)};
+ \node[inner sep=\dynkin@root@radius,%
+ label={%
+ [/Dynkin diagram/text style]%
+ above:
+ \(\pgfkeys{/Dynkin diagram/label macro*=4}\)%
+ }%
+ ]
+ at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
+ {};
\else%
\dynkinEdge*{DoubleEdge}{0}{1}%
\fi%