texlive[49447] Master/texmf-dist: dynkin-diagrams 18dec18
commits+karl at tug.org
commits+karl at tug.org
Wed Dec 19 00:32:00 CET 2018
Revision: 49447
http://tug.org/svn/texlive?view=revision&revision=49447
Author: karl
Date: 2018-12-19 00:32:00 +0100 (Wed, 19 Dec 2018)
Log Message:
-----------
dynkin-diagrams 18dec18
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/dynkin-diagrams/README
trunk/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.pdf
trunk/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.tex
trunk/Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty
Modified: trunk/Master/texmf-dist/doc/latex/dynkin-diagrams/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dynkin-diagrams/README 2018-12-18 01:40:49 UTC (rev 49446)
+++ trunk/Master/texmf-dist/doc/latex/dynkin-diagrams/README 2018-12-18 23:32:00 UTC (rev 49447)
@@ -2,9 +2,9 @@
Dynkin diagrams
- v3.141
+ v3.1415
- 11 December 2018
+ 18 December 2018
___________________________________
Authors : Ben McKay
@@ -16,5 +16,5 @@
----------------------------------------------------------------------
Draws Dynkin diagrams in LaTeX documents, using the TikZ package.
-Version 3.141 allows lists of labels and lists of alternate labels (using TikZ for loop notation), improves the vertical alignment when Dynkin diagrams appear in text, provides backwards and upside down options, improves the alignment of text labels around the roots of a Dynkin diagram, and makes the Kac style look more like the style in Kac's book.
+Version 3.1415 allows use of hyphens in option names, so that they can be used as global options to the package.
Modified: trunk/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.tex 2018-12-18 01:40:49 UTC (rev 49446)
+++ trunk/Master/texmf-dist/doc/latex/dynkin-diagrams/dynkin-diagrams.tex 2018-12-18 23:32:00 UTC (rev 49447)
@@ -1,6 +1,6 @@
\documentclass{amsart}
-\title{The Dynkin diagrams package \\ Version 3.141}
+\title{The Dynkin diagrams package \\ Version 3.1415}
\makeatletter
\DeclareRobustCommand{\scotsMc}{\scotsMcx{c}}
@@ -20,7 +20,7 @@
\author{Ben \scotsMc{}Kay}
\address{School of Mathematical Sciences, University College Cork, Cork, Ireland}
\email{b.mckay at ucc.ie}
-\date{11 December 2018}
+\date{18 December 2018}
\usepackage{etex}
\usepackage[T1]{fontenc}
@@ -162,7 +162,6 @@
\setlength{\arrayrulewidth}{1.5pt}
\section{Quick introduction}
-See section~\ref{section:changes} for the latest changes to earlier versions.
\begin{tcolorbox}[title={Load the Dynkin diagram package (see options below)}]
\begin{verbatim}
\documentclass{amsart}
@@ -213,21 +212,28 @@
\begin{tcolorbox}[title={Most options set globally \dots}]
\begin{verbatim}
-\pgfkeys{/Dynkin diagram,edge length=.5cm,fold radius=.5cm}
+\pgfkeys{/Dynkin diagram,edge length=.5cm,fold radius=.5cm,
+indefinite edge/.style={
+ draw=black,fill=white,thin,densely dashed}}
\end{verbatim}
\end{tcolorbox}
+You can also pass options to the package in \verb!\usepackage!.
+\emph{Danger:} spaces in option names are replaced with hyphens: \texttt{edge length=1cm} is \texttt{edge-length=1cm} as a global option; moreover you should drop the extension \verb!/.style! on any option with spaces in its name (but not otherwise). For example,
\begin{tcolorbox}[title={\dots or pass global options to the package}]
\begin{verbatim}
\usepackage[
ordering=Kac,
edge/.style=blue,
+ indefinite-edge={draw=green,fill=white,densely dashed},
+ indefinite-edge-ratio=5,
mark=o,
- root radius=.06cm]
+ root-radius=.06cm]
{dynkin-diagrams}
\end{verbatim}
\end{tcolorbox}
+
\section{Coxeter diagrams}
\begin{tcblisting}{title={Coxeter diagram option}}
@@ -1699,29 +1705,29 @@
\section{Changes in the latest version}\label{section:changes}
\begin{center}
-\begin{tabular}{@{}>{\ttfamily}r>{\ttfamily}l@{}}
-\textrm{was} & \textrm{is} \\ \midrule
-edgeLength&edge length\\
-radius&root radius\\
-affineMark&affine mark\\
-labelMacro&label macro\\
-makeIndefiniteEdge&make indefinite edge\\
-indefiniteEdgeRatio&indefinite edge ratio\\
-indefiniteEdge&indefinite edge\\
-reverseArrows&reverse arrows\\
-foldLeft&fold left\\
-foldRight&fold right\\
-foldradius&fold radius\\
-foldStyle&fold style\\
-leftFoldStyle&fold left style\\
-rightFoldStyle&fold right style\\
-doubleEdges&double edges\\
-doubleFold&double fold\\
-doubleLeft&double left\\
-doubleLeftFold&double fold left\\
-doubleRight&double right\\
-doubleRightFold&double fold right\\
-arrowColor&arrow color\\\
+\begin{tabular}{@{}>{\ttfamily}r>{\ttfamily}l>{\ttfamily}l@{}}
+\textrm{was} & \textrm{is} & \textrm{or as a global option} \\ \midrule
+edgeLength&edge length&edge-length\\
+radius&root radius&root-radius\\
+affineMark&affine mark&affine-mark\\
+labelMacro&label macro&label-macro\\
+makeIndefiniteEdge&make indefinite edge&make-indefinite-edge\\
+indefiniteEdgeRatio&indefinite edge ratio&indefinite-edge-ratio\\
+indefiniteEdge&indefinite edge&indefinite-edge\\
+reverseArrows&reverse arrows&reverse-arrows\\
+foldLeft&fold left&fold-left\\
+foldRight&fold right&fold-right\\
+foldradius&fold radius&fold-radius\\
+foldStyle&fold style&fold-style\\
+leftFoldStyle&fold left style&fold-left-style\\
+rightFoldStyle&fold right style&fold-right-style\\
+doubleEdges&double edges&double-edges\\
+doubleFold&double fold&double-fold\\
+doubleLeft&double left&double-left\\
+doubleLeftFold&double fold left&double-fold-left\\
+doubleRight&double right&double-right\\
+doubleRightFold&double fold right&double-fold-right\\
+arrowColor&arrow color&arrow-color\\
\end{tabular}
\end{center}
Modified: trunk/Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty 2018-12-18 01:40:49 UTC (rev 49446)
+++ trunk/Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty 2018-12-18 23:32:00 UTC (rev 49447)
@@ -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 at root@radius,%
label={%
- [/Dynkin diagram/text]%
+ [/Dynkin diagram/text style]%
\dynkin at label@direction:%
\(\pgfkeys{/Dynkin diagram/label macro*=#3}\)%
}%
@@ -153,7 +153,7 @@
{%
\node[inner sep=\dynkin at root@radius,%
label={%
- [/Dynkin diagram/text]%
+ [/Dynkin diagram/text style]%
\dynkin at label@direction:%
\(\pgfkeys{/Dynkin diagram/label macro=#3}\)%
}%
@@ -222,7 +222,8 @@
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 @@
mark/.estore in = \dynkin at root@mark,
mark = *,
affine mark/.estore in = \dynkin at affine@root at mark,
- affine mark = o,
+ affine-mark/.forward to = /Dynkin diagram/affine mark,
+ affine-mark = o,
edge length/.estore in = \dynkin at 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 at set@edge at indefinite@pair{#1}},
+ make-indefinite-edge/.forward to=/Dynkin diagram/make indefinite edge,
indefinite edge ratio/.estore in = \dynkin at indefinite@edge at 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 at is@backwards,
backwards = false,
upside down/.is if = dynkin at is@upsidedown,
upside down = false,
+ upside-down/.forward to = /Dynkin diagram/upside down,
arrows/.is if = dynkin at arrows,
arrows = true,
reverse arrows/.is if = dynkin at reverse@arrows,
reverse arrows = false,
+ reverse-arrows/.forward to = /Dynkin diagram/reverse arrows,
fold style/.style = {draw=black!40,fill=none,line width=\dynkin at 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 at 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 @@
double distance=\dynkin at 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 @@
double distance=\dynkin at 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 @@
double distance=\dynkin at 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 @@
double distance=\dynkin at 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 @@
double distance=\dynkin at 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 @@
double distance=\dynkin at root@radius,
line width=\defaultpgflinewidth}
},
+ double-fold-right/.forward to=/Dynkin diagram/double fold right/.style,
root radius/.estore in = \dynkin at root@radius,
+ root-radius/.forward to=/Dynkin diagram/root radius,
root radius=.05cm,
fold radius/.estore in = \dynkin at fold@radius,
+ fold-radius/.forward to=/Dynkin diagram/fold radius,
fold radius=.3cm,
*/.style = {
draw=black,
@@ -1792,14 +1812,18 @@
Coxeter=false,
ordering/.store in = \dynkin at 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 at label@list,
labels*/.store in = \dynkin at label@list at star,
odd/.is if = dynkin at odd,
odd=false,
Kac arrows/.is if = dynkin at Kac@arrows,
+ Kac-arrows/.forward to = /Dynkin diagram/Kac arrows,
Kac arrows=false,
Kac/.style={
Kac arrows=true,
@@ -1828,13 +1852,16 @@
twisted/.is if = dynkin at is@twisted,
twisted = false,
twisted series/.estore in = \dynkin at twisted@series,
+ twisted-series/.forward to = /Dynkin diagram/twisted series,
twisted series = 0,
ply/.estore in = \dynkin at ply@value,
ply = 1,
fold/.style = {ply=2},
fold left/.is if = dynkin at left@fold,
+ fold-left/.forward to = /Dynkin diagram/fold left,
fold left = false,
fold right/.is if = dynkin at right@fold,
+ fold-right/.forward to = /Dynkin diagram/fold right,
fold right = false,
},
.search also={/tikz},
@@ -3136,7 +3163,7 @@
\ifdynkin at Coxeter
\Adynkin
\convertRootPair{\the\drmo}{\the\dynkin at rank}
- \node[/Dynkin diagram/text,above]
+ \node[/Dynkin diagram/text style,above]
at ($.5*(\dynkin at root@name \the\@fromRoot)+.5*(\dynkin at root@name \the\@toRoot)$)
{\(4\)};
\else
@@ -3619,7 +3646,7 @@
\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 at root@name \the\@fromRoot)+.5*(\dynkin at root@name \the\@toRoot)$)
{\(4\)};
\else
@@ -3658,7 +3685,7 @@
{%
\Adynkin%
\convertRootPair{1}{2}%
- \node[/Dynkin diagram/text,above] at ($.5*(\dynkin at root@name \the\@fromRoot)+.5*(\dynkin at root@name \the\@toRoot)$) {\(5\)};%
+ \node[/Dynkin diagram/text style,above] at ($.5*(\dynkin at root@name \the\@fromRoot)+.5*(\dynkin at root@name \the\@toRoot)$) {\(5\)};%
}%
%% \Idynkin
@@ -3670,7 +3697,7 @@
\dynkin at rank=2%
\Adynkin%
\convertRootPair{1}{2}%
- \node[/Dynkin diagram/text,above] at ($.5*(\dynkin at root@name \the\@fromRoot)+.5*(\dynkin at root@name \the\@toRoot)$) {\(\dynkin at gonality\)};%
+ \node[/Dynkin diagram/text style,above] at ($.5*(\dynkin at root@name \the\@fromRoot)+.5*(\dynkin at root@name \the\@toRoot)$) {\(\dynkin at gonality\)};%
}%
%% \extendedAdynkin
@@ -3793,7 +3820,7 @@
\ifdynkin at Coxeter%
\dynkinEdge*{SingleEdge}{\the\drmo}{\the\dynkin at rank}%
\convertRootPair{\the\drmo}{\the\dynkin at rank}
- \node[/Dynkin diagram/text,above] at
+ \node[/Dynkin diagram/text style,above] at
($.5*(\dynkin at root@name \the\@fromRoot)+.5*(\dynkin at root@name \the\@toRoot)$) {\(4\)};
\else%
\ifnum\dynkin at ply<3%
@@ -3817,7 +3844,7 @@
\ifdynkin at Coxeter%
\dynkinEdge*{SingleEdge}{0}{1}%
\convertRootPair{0}{1}
- \node[/Dynkin diagram/text,above] at
+ \node[/Dynkin diagram/text style,above] at
($.5*(\dynkin at root@name \the\@fromRoot)+.5*(\dynkin at root@name \the\@toRoot)$) {\(4\)};
\else%
\dynkinEdge*{DoubleEdge}{0}{1}%
@@ -4010,7 +4037,7 @@
\else%
\convertRootPair{0}{1}%
\fi%
- \node[/Dynkin diagram/text,above]
+ \node[/Dynkin diagram/text style,above]
at
($.5*(\dynkin at root@name \the\@fromRoot)+.5*(\dynkin at root@name \the\@toRoot)$)
{\(5\)};%
@@ -4027,7 +4054,7 @@
\Adynkin%
\dynkinEdge*{SingleEdge}{0}{1}%
\convertRootPair{0}{1}%
- \node[/Dynkin diagram/text,above]
+ \node[/Dynkin diagram/text style,above]
at
($.5*(\dynkin at root@name \the\@fromRoot)+.5*(\dynkin at root@name \the\@toRoot)$)
{\(\infty\)};%
More information about the tex-live-commits
mailing list