summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/dynkin-diagrams
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-18 23:32:00 +0000
committerKarl Berry <karl@freefriends.org>2018-12-18 23:32:00 +0000
commite1ae07091fc0b9760631140847865cfe6b864129 (patch)
treee9e6d31e29f2223b8d5cd55ce43e03c28606bcc0 /Master/texmf-dist/tex/latex/dynkin-diagrams
parentd9b2d2530b4ac09813cfba6d98bce38bde3b51dd (diff)
dynkin-diagrams 18dec18
git-svn-id: svn://tug.org/texlive/trunk@49447 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/dynkin-diagrams')
-rw-r--r--Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty57
1 files changed, 42 insertions, 15 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 1335db12cc6..64319fb3a37 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.141
+% Version 3.1415
%
%
% This package draws Dynkin diagrams in LaTeX documents, using the TikZ package.
@@ -18,7 +18,7 @@
%
%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
-\ProvidesPackage{dynkin-diagrams}[2018/11/29 Dynkin diagrams]
+\ProvidesPackage{dynkin-diagrams}[2018/12/18 Dynkin diagrams]
\RequirePackage{tikz}
\RequirePackage{xstring}
\RequirePackage{xparse}
@@ -143,7 +143,7 @@
{%
\node[inner sep=\dynkin@root@radius,%
label={%
- [/Dynkin diagram/text]%
+ [/Dynkin diagram/text style]%
\dynkin@label@direction:%
\(\pgfkeys{/Dynkin diagram/label macro*=#3}\)%
}%
@@ -153,7 +153,7 @@
{%
\node[inner sep=\dynkin@root@radius,%
label={%
- [/Dynkin diagram/text]%
+ [/Dynkin diagram/text style]%
\dynkin@label@direction:%
\(\pgfkeys{/Dynkin diagram/label macro=#3}\)%
}%
@@ -222,7 +222,8 @@ decoration=
pos=0.5,
anchor=\IfBooleanTF{#1}{south}{north},
yshift=\IfBooleanTF{#1}{1mm}{-1mm},
- /Dynkin diagram/text]
+ /Dynkin diagram/text style
+]
{\IfValueT{#2}{\(#2\)}};%
}
@@ -1689,27 +1690,38 @@ decoration=
mark/.estore in = \dynkin@root@mark,
mark = *,
affine mark/.estore in = \dynkin@affine@root@mark,
- affine mark = o,
+ affine-mark/.forward to = /Dynkin diagram/affine mark,
+ affine-mark = o,
edge length/.estore in = \dynkin@edge@length,
+ edge-length/.forward to=/Dynkin diagram/edge length,
edge length = .35cm,
edge/.style={draw=black,fill=white,thin},
make indefinite edge/.code={\dynkin@set@edge@indefinite@pair{#1}},
+ make-indefinite-edge/.forward to=/Dynkin diagram/make indefinite edge,
indefinite edge ratio/.estore in = \dynkin@indefinite@edge@ratio,
+ indefinite-edge-ratio/.forward to = /Dynkin diagram/indefinite edge ratio,
indefinite edge ratio = 1.6,
indefinite edge/.style={draw=black,fill=white,thin,densely dotted},
+ indefinite-edge/.forward to=/Dynkin diagram/indefinite edge/.style,
backwards/.is if = dynkin@is@backwards,
backwards = false,
upside down/.is if = dynkin@is@upsidedown,
upside down = false,
+ upside-down/.forward to = /Dynkin diagram/upside down,
arrows/.is if = dynkin@arrows,
arrows = true,
reverse arrows/.is if = dynkin@reverse@arrows,
reverse arrows = false,
+ reverse-arrows/.forward to = /Dynkin diagram/reverse arrows,
fold style/.style = {draw=black!40,fill=none,line width=\dynkin@root@radius},
+ fold-style/.forward to=/Dynkin diagram/fold style/.style,
fold left style/.style = {},
+ fold-left-style/.forward to=/Dynkin diagram/fold left style/.style,
fold right style/.style = {},
+ fold-right-style/.forward to=/Dynkin diagram/fold right style/.style,
arrow color/.estore in = \dynkin@arrow@color,
arrow color = black,
+ arrow-color/.forward to=/Dynkin diagram/arrow color,
double edges/.style = {
fold style/.style = {
draw=black,
@@ -1718,6 +1730,7 @@ decoration=
double distance=\dynkin@root@radius,
line width=\defaultpgflinewidth}
},
+ double-edges/.forward to=/Dynkin diagram/double edges/.style,
double fold/.style = {
fold style/.style = {
draw=black,
@@ -1726,6 +1739,7 @@ decoration=
double distance=\dynkin@root@radius,
line width=\defaultpgflinewidth}
},
+ double-fold/.forward to=/Dynkin diagram/double fold/.style,
double left/.style = {
fold left style/.style = {
draw=black,
@@ -1734,6 +1748,7 @@ decoration=
double distance=\dynkin@root@radius,
line width=\defaultpgflinewidth}
},
+ double-left/.forward to=/Dynkin diagram/double left/.style,
double fold left/.style = {
fold left style/.style = {
draw=black,
@@ -1742,6 +1757,7 @@ decoration=
double distance=\dynkin@root@radius,
line width=\defaultpgflinewidth}
},
+ double-fold/.forward to=/Dynkin diagram/double fold/.style,
double right/.style = {
fold right style/.style = {
draw=black,
@@ -1750,6 +1766,7 @@ decoration=
double distance=\dynkin@root@radius,
line width=\defaultpgflinewidth}
},
+ double-right/.forward to=/Dynkin diagram/double right/.style,
double fold right/.style = {
fold right style/.style = {
draw=black,
@@ -1758,9 +1775,12 @@ decoration=
double distance=\dynkin@root@radius,
line width=\defaultpgflinewidth}
},
+ double-fold-right/.forward to=/Dynkin diagram/double fold right/.style,
root radius/.estore in = \dynkin@root@radius,
+ root-radius/.forward to=/Dynkin diagram/root radius,
root radius=.05cm,
fold radius/.estore in = \dynkin@fold@radius,
+ fold-radius/.forward to=/Dynkin diagram/fold radius,
fold radius=.3cm,
*/.style = {
draw=black,
@@ -1792,14 +1812,18 @@ decoration=
Coxeter=false,
ordering/.store in = \dynkin@ordering,
ordering = Bourbaki,
- text/.style={scale=.7},
+ text style/.style={scale=.7},
+ text-style/.forward to=/Dynkin diagram/text style/.style,
label macro/.code = {\regurgitate{#1}},
+ label-macro/.forward to=/Dynkin diagram/label macro,
label macro*/.code = {\regurgitate{#1}},
+ label-macro*/.forward to=/Dynkin diagram/label macro*,
labels/.store in = \dynkin@label@list,
labels*/.store in = \dynkin@label@list@star,
odd/.is if = dynkin@odd,
odd=false,
Kac arrows/.is if = dynkin@Kac@arrows,
+ Kac-arrows/.forward to = /Dynkin diagram/Kac arrows,
Kac arrows=false,
Kac/.style={
Kac arrows=true,
@@ -1828,13 +1852,16 @@ decoration=
twisted/.is if = dynkin@is@twisted,
twisted = false,
twisted series/.estore in = \dynkin@twisted@series,
+ twisted-series/.forward to = /Dynkin diagram/twisted series,
twisted series = 0,
ply/.estore in = \dynkin@ply@value,
ply = 1,
fold/.style = {ply=2},
fold left/.is if = dynkin@left@fold,
+ fold-left/.forward to = /Dynkin diagram/fold left,
fold left = false,
fold right/.is if = dynkin@right@fold,
+ fold-right/.forward to = /Dynkin diagram/fold right,
fold right = false,
},
.search also={/tikz},
@@ -3136,7 +3163,7 @@ decoration=
\ifdynkin@Coxeter
\Adynkin
\convertRootPair{\the\drmo}{\the\dynkin@rank}
- \node[/Dynkin diagram/text,above]
+ \node[/Dynkin diagram/text style,above]
at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
{\(4\)};
\else
@@ -3619,7 +3646,7 @@ decoration=
\dynkinEdge*{SingleEdge}{2}{3}
\dynkinEdge*{SingleEdge}{3}{4}
\convertRootPair{2}{3}
- \node[/Dynkin diagram/text,above]
+ \node[/Dynkin diagram/text style,above]
at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
{\(4\)};
\else
@@ -3658,7 +3685,7 @@ decoration=
{%
\Adynkin%
\convertRootPair{1}{2}%
- \node[/Dynkin diagram/text,above] at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$) {\(5\)};%
+ \node[/Dynkin diagram/text style,above] at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$) {\(5\)};%
}%
%% \Idynkin
@@ -3670,7 +3697,7 @@ decoration=
\dynkin@rank=2%
\Adynkin%
\convertRootPair{1}{2}%
- \node[/Dynkin diagram/text,above] at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$) {\(\dynkin@gonality\)};%
+ \node[/Dynkin diagram/text style,above] at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$) {\(\dynkin@gonality\)};%
}%
%% \extendedAdynkin
@@ -3793,7 +3820,7 @@ decoration=
\ifdynkin@Coxeter%
\dynkinEdge*{SingleEdge}{\the\drmo}{\the\dynkin@rank}%
\convertRootPair{\the\drmo}{\the\dynkin@rank}
- \node[/Dynkin diagram/text,above] at
+ \node[/Dynkin diagram/text style,above] at
($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$) {\(4\)};
\else%
\ifnum\dynkin@ply<3%
@@ -3817,7 +3844,7 @@ decoration=
\ifdynkin@Coxeter%
\dynkinEdge*{SingleEdge}{0}{1}%
\convertRootPair{0}{1}
- \node[/Dynkin diagram/text,above] at
+ \node[/Dynkin diagram/text style,above] at
($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$) {\(4\)};
\else%
\dynkinEdge*{DoubleEdge}{0}{1}%
@@ -4010,7 +4037,7 @@ decoration=
\else%
\convertRootPair{0}{1}%
\fi%
- \node[/Dynkin diagram/text,above]
+ \node[/Dynkin diagram/text style,above]
at
($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
{\(5\)};%
@@ -4027,7 +4054,7 @@ decoration=
\Adynkin%
\dynkinEdge*{SingleEdge}{0}{1}%
\convertRootPair{0}{1}%
- \node[/Dynkin diagram/text,above]
+ \node[/Dynkin diagram/text style,above]
at
($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
{\(\infty\)};%