summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty475
1 files changed, 291 insertions, 184 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 805b8257608..e7c4af6022d 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.14159265
+% Version 3.141592653
%
%
% This package draws Dynkin diagrams in LaTeX documents, using the TikZ package.
@@ -18,7 +18,7 @@
%
%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
-\ProvidesPackage{dynkin-diagrams}[2019/11/25 Dynkin diagrams]
+\ProvidesPackage{dynkin-diagrams}[2019/12/04 Dynkin diagrams]
\RequirePackage{tikz}
\RequirePackage{xstring}
\RequirePackage{xparse}
@@ -44,24 +44,98 @@
%%% See dynkin-diagrams.tex file for examples of use.
%%%
-\NewDocumentCommand\dynkin{O{}mO{0}m}%
+\newif\ifold@dynkin@is@backwards
+\newif\ifold@dynkin@is@upsidedown
+\newif\ifold@dynkin@is@extended
+\newif\ifold@dynkin@label@the@roots
+
+\NewDocumentCommand\dynkin@save{}%
{%
- \ifdefined\filldraw%
- \@dynkin[#1]{#2}[#3]{#4}%
- \else%
- \tikz[baseline=(origin.base)]{\@dynkin[#1]{#2}[#3]{#4}}%
- \fi%
+\xdef\dynkin@ply@value{1}%
+\ifdynkin@is@backwards\global\old@dynkin@is@backwardstrue\else\global\old@dynkin@is@backwardsfalse\fi%
+\ifdynkin@is@upsidedown\global\old@dynkin@is@upsidedowntrue\else\global\old@dynkin@is@upsidedownfalse\fi%
+\ifdynkin@is@extended\global\old@dynkin@is@extendedtrue\else\global\old@dynkin@is@extendedfalse\fi%
+{\global\dynkin@is@twistedfalse}%
+\ifdynkin@label@the@roots\global\old@dynkin@label@the@rootstrue\else\global\old@dynkin@label@the@rootsfalse\fi%
+}%
+
+\NewDocumentCommand\dynkin@restore{}%
+{%
+\ifold@dynkin@is@backwards\global\dynkin@is@backwardstrue\else\global\dynkin@is@backwardsfalse\fi%
+\ifold@dynkin@is@upsidedown\global\dynkin@is@upsidedowntrue\else\global\dynkin@is@upsidedownfalse\fi%
+\ifold@dynkin@is@extended\global\dynkin@is@extendedtrue\else\global\dynkin@is@extendedfalse\fi%
+\ifold@dynkin@label@the@roots\global\dynkin@label@the@rootstrue\else\global\dynkin@label@the@rootsfalse\fi%
}%
\NewDocumentEnvironment{dynkinDiagram}{O{}mO{0}m}%
{%
-\begin{tikzpicture}[baseline=(origin.base)]%
-\dynkin[#1]{#2}[#3]{#4}%
+\dynkin@save{}%
+\begin{tikzpicture}%
+\@dynkin[#1]{#2}[#3]{#4}%
}%
{%
\end{tikzpicture}%
+\dynkin@restore{}%
+}%
+
+\NewDocumentCommand\dynkin{O{}mO{0}m}%
+{%
+\dynkin@save{}%
+\ifdefined\filldraw%
+\@dynkin[#1]{#2}[#3]{#4}%
+\else%
+\tikz[baseline=(origin.base)]{\@dynkin[#1]{#2}[#3]{#4}}%
+\fi%
+\dynkin@restore{}%
+}%
+
+
+%% Names for Dynkin diagrams.
+\xdef\dynkin@indefinite@number@symbol{n}
+\NewDocumentCommand\dynkinIndefiniteSymbol{m}%
+{%
+\xdef\dynkin@indefinite@number@symbol{#1}%
+}%
+\NewDocumentCommand\dynkinName{O{}mO{0}m}%
+{%
+\dynkin@save{}%
+\xdef\dynkin@ply@value{1}%
+\xdef\dynkin@label@directions{}%
+\xdef\dynkin@label@directions@star{}%
+ \setcounter{dynkinRootNo}{0}%
+ \dynkin@clear@indefinite@edge@list%
+ \xdef\dynkin@parabolic{0}%
+ \pgfkeys{/Dynkin diagram, #1}%
+ \xdef\dynkin@user@series{#2}%
+ \xdef\dynkin@twisted@series{#3}%
+ \xdef\dynkin@user@string{#4}%
+ \xdef\dynkin@series{#2}%
+ \dynkin@grok@series%
+ \IfSubStr{ABCDEFGHI}{\dynkin@series}{}{\dynkin@error@series}%
+ \ensuremath{%
+ \dynkin@series^{%
+ \ifdynkin@is@extended{1}%
+ \else{%
+ \IfStrEq{\dynkin@twisted@series}{0}%
+ {}%
+ {\dynkin@twisted@series}%
+ }%
+ \fi%
+ }%
+ _%
+ {%
+ \IfStrEq{\dynkin@user@string}{}%
+ {\dynkin@indefinite@number@symbol}%
+ {\dynkin@user@string}%
+ \IfStrEq{\dynkin@parabolic}{0}%
+ {}%
+ {,\dynkin@parabolic}
+ }%
+ }%
+\dynkin@restore{}%
}%
+
\NewDocumentCommand\dynkinRefreshRoots{}%
{%
\ifdefined\filldraw\else\dynkin@error@not@in@tikz\fi%
@@ -116,6 +190,24 @@
\newcount\rpo%
+\NewDocumentCommand\drlap{m}%
+{%
+\IfStrEq{\dynkin@label@direction}{left}%
+{%
+ #1%
+}%
+{%
+ \IfStrEq{\dynkin@label@direction}{right}%
+ {%
+ #1%
+ }%
+ {%
+ \mathrlap{#1}%
+ }%
+}%
+}%
+
+
%% \dynkinLabelRoot{<r>}{<s>} or \dynkinLabelRoot*{<r>}{<s>}
%% Prints the label string <s> on the Dynkin diagram at root number <r>, in the current ordering convention.
%% Starred form uses the alternate label location.
@@ -275,6 +367,25 @@ decoration=
}%
}%
+%% \dynkinEdgeLabel{<n1>}{<n2>}{<s>}
+%% Prints <s> between root <n1> and <n2> on the current Dynkin diagram in the current root ordering.
+\NewDocumentCommand\dynkinEdgeLabel{mmm}%
+{%
+ \convertRootPair{#1}{#2}%
+ \node[inner sep=\dynkin@root@radius,%
+ label={%
+ [/Dynkin diagram/text style,/Dynkin diagram/edge label]%
+ above:
+ \(\pgfkeys{/Dynkin diagram/label macro*=#3}\)%
+ }%
+ ]
+ at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
+ {};
+}%
+
+
+
+
%% \dynkinCrossRootMark{<n>}
%% Prints a cross at root <n> on the current Dynkin diagram.
%% The starred form accepts <n> in the Bourbaki ordering.
@@ -1685,43 +1796,19 @@ decoration=
\pgfkeys{
/Dynkin diagram/.is family,
/Dynkin diagram,
- name/.estore in = \dynkin@diagram@name,
- name = anonymous,
- mark/.estore in = \dynkin@root@mark,
- mark = *,
affine mark/.estore in = \dynkin@affine@root@mark,
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={solid,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={solid,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 = {solid,draw=black!40,fill=none,line width=\dynkin@root@radius,{Triangle Cap[]}-{Triangle Cap[]}},
- 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,
+ arrows/.is if = dynkin@arrows,
+ arrows = true,
+ at/.estore in = \dynkin@current@location,
+ backwards/.is if = dynkin@is@backwards,
+ backwards = false,
+ Coxeter/.is if = dynkin@Coxeter,
+ Coxeter=false,
+ edge label/.style={text height=0,text depth=0,label distance=-4pt},
double edges/.style = {
fold style/.style = {
draw=black,
@@ -1730,7 +1817,7 @@ decoration=
double distance=\dynkin@root@radius,
line width=\defaultpgflinewidth}
},
- double-edges/.forward to=/Dynkin diagram/double edges/.style,
+ double-edges/.forward to=/Dynkin diagram/double edges/.style,
double fold/.style = {
fold style/.style = {
draw=black,
@@ -1739,7 +1826,7 @@ decoration=
double distance=\dynkin@root@radius,
line width=\defaultpgflinewidth}
},
- double-fold/.forward to=/Dynkin diagram/double fold/.style,
+ double-fold/.forward to=/Dynkin diagram/double fold/.style,
double left/.style = {
fold left style/.style = {
draw=black,
@@ -1748,7 +1835,7 @@ decoration=
double distance=\dynkin@root@radius,
line width=\defaultpgflinewidth}
},
- double-left/.forward to=/Dynkin diagram/double left/.style,
+ double-left/.forward to=/Dynkin diagram/double left/.style,
double fold left/.style = {
fold left style/.style = {
draw=black,
@@ -1757,7 +1844,7 @@ decoration=
double distance=\dynkin@root@radius,
line width=\defaultpgflinewidth}
},
- double-fold/.forward to=/Dynkin diagram/double fold/.style,
+ double-fold/.forward to=/Dynkin diagram/double fold/.style,
double right/.style = {
fold right style/.style = {
draw=black,
@@ -1766,7 +1853,7 @@ decoration=
double distance=\dynkin@root@radius,
line width=\defaultpgflinewidth}
},
- double-right/.forward to=/Dynkin diagram/double right/.style,
+ double-right/.forward to=/Dynkin diagram/double right/.style,
double fold right/.style = {
fold right style/.style = {
draw=black,
@@ -1775,13 +1862,93 @@ 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,
+ double-fold-right/.forward to=/Dynkin diagram/double fold right/.style,
+ edge length/.estore in = \dynkin@edge@length,
+ edge-length/.forward to=/Dynkin diagram/edge length,
+ edge length = .35cm,
+ edge/.style={solid,draw=black,fill=white,thin},
+ extended/.is if = dynkin@is@extended,
+ extended = false,
+ fold left/.is if = dynkin@left@fold,
+ ply/.estore in = \dynkin@ply@value,
+ ply/.default = 1,
+ fold/.style={/Dynkin diagram/ply=2,fold style},
+ fold style/.style = {/Dynkin diagram/ply=2,solid,draw=black!40,fill=none,line width=\dynkin@root@radius,{Triangle Cap[]}-{Triangle Cap[]}},
+ 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 radius/.estore in = \dynkin@fold@radius,
- fold-radius/.forward to=/Dynkin diagram/fold radius,
+ fold-radius/.forward to=/Dynkin diagram/fold radius,
fold radius=.3cm,
+ fold right/.is if = dynkin@right@fold,
+ fold right style/.style = {},
+ fold-right-style/.forward to=/Dynkin diagram/fold right style/.style,
+ gonality/.estore in = \dynkin@gonality,
+ 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={solid,draw=black,fill=white,thin,densely dotted},
+ indefinite-edge/.forward to=/Dynkin diagram/indefinite edge/.style,
+ Kac arrows/.is if = dynkin@Kac@arrows,
+ Kac-arrows/.forward to = /Dynkin diagram/Kac arrows,
+ Kac arrows=false,
+ Kac/.style={
+ Kac arrows=true,
+ ordering=Kac,
+ root radius=.05cm,
+ edge length=.66cm,
+ indefinite edge ratio = 3,
+ edge/.style={solid,draw=black,fill=white,thin,shorten <=1mm,shorten >=1mm},
+ fold style/.style = {solid,draw=black!40,fill=none,line width=\dynkin@root@radius,shorten <=1mm,shorten >=1mm},
+ mark=o,
+ indefinite edge/.style={solid,draw=black,fill=none,thin,loosely dotted},
+ },
+ label/.is if = dynkin@label@the@roots,
+ label = false,
+ label depth/.style={/tikz/every label/.append style={text depth={depth("#1"}}},
+ label depth/.default=g,
+ label depth,
+ label-depth/.forward to = /Dynkin diagram/label depth,
+ label height/.style={/tikz/every label/.append style={text height={height("#1"}}},
+ label height/.default=b,
+ label height,
+ label-height/.forward to = /Dynkin diagram/label height,
+ labels/.default = {},
+ labels*/.default = {},
+ 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,
+ make indefinite edge/.code={\dynkin@set@edge@indefinite@pair{#1}},
+ make-indefinite-edge/.forward to=/Dynkin diagram/make indefinite edge,
+ mark/.estore in = \dynkin@root@mark,
+ mark = *,
+ name/.estore in = \dynkin@diagram@name,
+ name = anonymous,
+ odd/.is if = dynkin@odd,
+ odd=false,
+ ordering/.store in = \dynkin@ordering,
+ ordering = Bourbaki,
+ parabolic/.estore in = \dynkin@parabolic,
+ reverse arrows/.is if = dynkin@reverse@arrows,
+ reverse arrows = false,
+ reverse-arrows/.forward to = /Dynkin diagram/reverse arrows,
+ upside down/.is if = dynkin@is@upsidedown,
+ upside down = false,
+ upside-down/.forward to = /Dynkin diagram/upside down,
+ root radius/.estore in = \dynkin@root@radius,
+ root-radius/.forward to=/Dynkin diagram/root radius,
+ root radius=.05cm,
+ text style/.style={#1},
+ text style/.default={scale=.7},
+ text-style/.forward to=/Dynkin diagram/text style/.style,
+ twisted/.is if = dynkin@is@twisted,
+ twisted/.default = false,
+ twisted series/.estore in = \dynkin@twisted@series,
+ twisted-series/.forward to = /Dynkin diagram/twisted series,
+ twisted series/.default = 0,
*/.style = {
solid,
draw=black,
@@ -1814,33 +1981,6 @@ decoration=
draw=black,
line cap=round
},
- Coxeter/.is if = dynkin@Coxeter,
- Coxeter=false,
- ordering/.store in = \dynkin@ordering,
- ordering = Bourbaki,
- 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,
- ordering=Kac,
- root radius=.05cm,
- edge length=.66cm,
- indefinite edge ratio = 3,
- edge/.style={solid,draw=black,fill=white,thin,shorten <=1mm,shorten >=1mm},
- fold style/.style = {solid,draw=black!40,fill=none,line width=\dynkin@root@radius,shorten <=1mm,shorten >=1mm},
- mark=o,
- indefinite edge/.style={solid,draw=black,fill=none,thin,loosely dotted},
- },
ceref/.style={
edge length=.48cm,
indefinite edge/.style={
@@ -1857,7 +1997,7 @@ decoration=
draw=black,
fill=white,
thin,
- double copy shadow={draw=black!90,fill=white,thin,shadow xshift=.1pt, shadow yshift=-.15pt},
+ double copy shadow={draw=black!90,fill=none,thin,shadow xshift=.1pt, shadow yshift=-.15pt},
},
*/.style={
yscale=1.2,
@@ -1887,44 +2027,13 @@ decoration=
fill=white,
},
},
- label height/.style={/tikz/every label/.append style={text height={height("#1"}}},
- label depth/.style={/tikz/every label/.append style={text depth={depth("#1"}}},
- text style/.style={/tikz/every label/.append style={#1}},
- default/.style = {
- text style={scale=.7},
- label/.is if = dynkin@label@the@roots,
- label = false,
- label height/.default=b,
- label depth/.default=g,
- label height,
- label depth,
- label-height/.forward to = /Dynkin diagram/label height,
- label-depth/.forward to = /Dynkin diagram/label depth,
- labels = {},
- labels* = {},
- at/.estore in = \dynkin@current@location,
- at = {(0,0)},
- parabolic/.estore in = \dynkin@parabolic,
- parabolic = 0,
- gonality/.estore in = \dynkin@gonality,
- gonality = 0,
- extended/.is if = dynkin@is@extended,
- extended = false,
- 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,
- },
+ at/.default = {(0,0)},
+ parabolic/.default = 0,
+ gonality/.default = 0,
+ fold-left/.forward to = /Dynkin diagram/fold left,
+ fold left/.default = false,
+ fold-right/.forward to = /Dynkin diagram/fold right,
+ fold right/.default = false,
.search also={/tikz},
}
@@ -2198,7 +2307,7 @@ decoration=
\global\defaultpgflinewidth=\defaultpgflinewidth\relax%
\dynkin@clear@indefinite@edge@list%
\xdef\dynkin@parabolic{0}%
- \pgfkeys{/Dynkin diagram, default, #1}%
+ \pgfkeys{/Dynkin diagram, #1}%
\ifdynkin@is@backwards%
\tikzset{xscale=-1}%
\fi%
@@ -3220,6 +3329,7 @@ decoration=
\fi%
}%
+
%% \Bdynkin
%% Draw a B series Dynkin diagram.
\NewDocumentCommand\Bdynkin{}%
@@ -3232,16 +3342,7 @@ decoration=
\advance\drmo by -1
\ifdynkin@Coxeter
\Adynkin
- \convertRootPair{\the\drmo}{\the\dynkin@rank}
- \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)$)
- {};
+ \dynkinEdgeLabel{\the\drmo}{\the\dynkin@rank}{4}%
\else
% Create the roots.
\ifnum\dynkin@ply>1%
@@ -3714,16 +3815,17 @@ decoration=
\dynkinEdge*{SingleEdge}{1}{2}
\dynkinEdge*{SingleEdge}{2}{3}
\dynkinEdge*{SingleEdge}{3}{4}
- \convertRootPair{2}{3}
- \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)$)
- {};
+ \dynkinEdgeLabel{2}{3}{4}%
+% \convertRootPair{2}{3}
+% \node[inner sep=\dynkin@root@radius,%
+% label={%
+% [/Dynkin diagram/text style,/Dynkin diagram/edge label]%
+% above:
+% \(\pgfkeys{/Dynkin diagram/label macro*=4}\)%
+% }%
+% ]
+% at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
+% {};
\else
\dynkinEdge*{SingleEdge}{1}{2}
\dynkinEdge*{SingleEdge}{3}{4}
@@ -3759,16 +3861,17 @@ decoration=
\newcommand*{\Hdynkin}%
{%
\Adynkin%
- \convertRootPair{1}{2}%
- \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)$)
- {};
+ \dynkinEdgeLabel{1}{2}{5}%
+% \convertRootPair{1}{2}%
+% \node[inner sep=\dynkin@root@radius,%
+% label={%
+% [/Dynkin diagram/text style,/Dynkin diagram/edge label]%
+% above:
+% \(\pgfkeys{/Dynkin diagram/label macro*=5}\)%
+% }%
+% ]
+% at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
+% {};
}%
%% \Idynkin
@@ -3779,16 +3882,17 @@ decoration=
\In=\dynkin@rank%
\dynkin@rank=2%
\Adynkin%
- \convertRootPair{1}{2}%
- \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)$)
- {};
+ \dynkinEdgeLabel{1}{2}{\dynkin@gonality}%
+% \convertRootPair{1}{2}%
+% \node[inner sep=\dynkin@root@radius,%
+% label={%
+% [/Dynkin diagram/text style,/Dynkin diagram/edge label]%
+% above:
+% \(\pgfkeys{/Dynkin diagram/label macro*=\dynkin@gonality}\)%
+% }%
+% ]
+% at ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
+% {};
}%
%% \extendedAdynkin
@@ -3910,16 +4014,17 @@ decoration=
\fi%
\ifdynkin@Coxeter%
\dynkinEdge*{SingleEdge}{\the\drmo}{\the\dynkin@rank}%
- \convertRootPair{\the\drmo}{\the\dynkin@rank}
- \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)$)
- {};
+ \dynkinEdgeLabel{\the\drmo}{\the\dynkin@rank}{4}%
+% \convertRootPair{\the\drmo}{\the\dynkin@rank}
+% \node[inner sep=\dynkin@root@radius,%
+% label={%
+% [/Dynkin diagram/text style,/Dynkin diagram/edge label]%
+% 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}%
@@ -3941,16 +4046,17 @@ decoration=
\Cdynkin{}%
\ifdynkin@Coxeter%
\dynkinEdge*{SingleEdge}{0}{1}%
- \convertRootPair{0}{1}
- \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)$)
- {};
+ \dynkinEdgeLabel{0}{1}{4}%
+% \convertRootPair{0}{1}
+% \node[inner sep=\dynkin@root@radius,%
+% label={%
+% [/Dynkin diagram/text style,/Dynkin diagram/edge label]%
+% 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%
@@ -4151,11 +4257,12 @@ decoration=
\dynkin@rank=1%
\Adynkin%
\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)$)
- {\(\infty\)};%
+ \dynkinEdgeLabel{0}{1}{\infty}%
+% \convertRootPair{0}{1}%
+% \node[/Dynkin diagram/text style,/Dynkin diagram/edge label,above]
+% at
+% ($.5*(\dynkin@root@name \the\@fromRoot)+.5*(\dynkin@root@name \the\@toRoot)$)
+% {\(\infty\)};%
}