diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty | 75 |
1 files changed, 73 insertions, 2 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 df3bc2ef693..baebba3f354 100644 --- a/Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty +++ b/Master/texmf-dist/tex/latex/dynkin-diagrams/dynkin-diagrams.sty @@ -1,6 +1,6 @@ % The Dynkin Diagrams package. % -% Version 3.141592653589793 +% Version 3.141 592 653 589 793 2 % % This package draws Dynkin diagrams in LaTeX % documents, using the TikZ package. @@ -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}[2021/03/31 Dynkin diagrams] +\ProvidesPackage{dynkin-diagrams}[2021/04/04 Dynkin diagrams] \RequirePackage{tikz} \RequirePackage{xstring} \RequirePackage{xparse} @@ -2067,6 +2067,18 @@ at/.default = {(0,0)}, backwards/.is if = dynkin@is@backwards, backwards = false, + bird-arrow/.style = { + arrow shape/.style={-{bird[length=1.25*\dynkin@root@radius]}}, + }, + bird arrow/.style = { + arrow shape/.style={-{bird[length=1.25*\dynkin@root@radius]}}, + }, + Bourbaki-arrow/.style={ + arrow shape/.style={-{Bourbaki[length=2*\dynkin@root@radius]}}, + }, + Bourbaki arrow/.style = { + arrow shape/.style={-{Bourbaki[length=2*\dynkin@root@radius]}}, + }, Coxeter/.is if = dynkin@Coxeter, Coxeter=false, double edges/.style = { @@ -5561,5 +5573,64 @@ [\dynkin@error@series]% }% +%% An arrow type for drawing arrows in G2 and F4 diagrams: +\pgfdeclarearrow{ +name = Bourbaki, +parameters = { \the\pgfarrowlength }, +setup code = {}, +drawing code = { + \pgfsetdash{}{0pt} % do not dash + \pgfsetroundjoin % fix join + \pgfsetroundcap % fix cap + \pgfsetlinewidth{4\pgflinewidth} + \pgfsetstrokecolor{white} + \pgfpathmoveto{\pgfpoint{-.75\pgfarrowlength}{.75\pgfarrowlength}} + \pgfpathlineto{\pgfpoint{0}{0}} + \pgfpathlineto{\pgfpoint{-.75\pgfarrowlength}{-.75\pgfarrowlength}} + \pgfusepathqstroke + \pgfsetlinewidth{.25\pgflinewidth} + \pgfsetstrokecolor{black} + \pgfpathmoveto{\pgfpoint{-.75\pgfarrowlength}{.75\pgfarrowlength}} + \pgfpathlineto{\pgfpoint{0}{0}} + \pgfpathlineto{\pgfpoint{-.75\pgfarrowlength}{-.75\pgfarrowlength}} + \pgfusepathqstroke +}, +defaults = { length = 2*\dynkin@root@radius } +} + +%% An arrow type for drawing arrows in G2 and F4 diagrams: +\pgfdeclarearrow{ +name = bird, +parameters = { \the\pgfarrowlength }, +setup code = {}, +drawing code = { + \pgfsetdash{}{0pt} % do not dash + \pgfsetroundjoin % fix join + \pgfsetroundcap % fix cap +\begin{pgfscope} + \pgfpathmoveto{\pgfpoint{-1.25\pgfarrowlength}{-2.5\pgfarrowlength}} + \pgfpathlineto{\pgfpoint{0}{-2.5\pgfarrowlength}} + \pgfpathlineto{\pgfpoint{0}{2.5\pgfarrowlength}} + \pgfpathlineto{\pgfpoint{-1.25\pgfarrowlength}{2.5\pgfarrowlength}} + \pgfpathlineto{\pgfpoint{-1.25\pgfarrowlength}{-2.5\pgfarrowlength}} +\pgfusepathqclip + \pgfsetlinewidth{4\pgflinewidth} + \pgfsetstrokecolor{white} +% \pgfsetstrokeopacity{.75} + \pgfpathmoveto{\pgfpoint{0}{0}} + \pgfpatharc{250}{190}{1.4\pgfarrowlength} + \pgfpathmoveto{\pgfpoint{0}{0}} + \pgfpatharc{110}{170}{1.4\pgfarrowlength} + \pgfusepathqstroke +\end{pgfscope} + \pgfsetstrokecolor{black} + \pgfpathmoveto{\pgfpoint{0}{0}} + \pgfpatharc{250}{190}{1.4\pgfarrowlength} + \pgfpathmoveto{\pgfpoint{0}{0}} + \pgfpatharc{110}{170}{1.4\pgfarrowlength} + \pgfusepathqstroke +}, +defaults = { length = 1.25*\dynkin@root@radius } +} \endinput |