diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikz-feynhand/tikzfeynhand.keys.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tikz-feynhand/tikzfeynhand.keys.code.tex | 52 |
1 files changed, 50 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/tikz-feynhand/tikzfeynhand.keys.code.tex b/Master/texmf-dist/tex/latex/tikz-feynhand/tikzfeynhand.keys.code.tex index 4e78722938b..50b6de23f21 100644 --- a/Master/texmf-dist/tex/latex/tikz-feynhand/tikzfeynhand.keys.code.tex +++ b/Master/texmf-dist/tex/latex/tikz-feynhand/tikzfeynhand.keys.code.tex @@ -1,9 +1,9 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % -% TikZ-FeynHand, Version 1.0.0 of 2018/01/31 +% TikZ-FeynHand, Version 1.1.0 of 2019/08/19 % Feynhand Diagrams with TikZ (LaTex manual version) -% Copyright (C) 2018 Max Dohse +% Copyright (C) 2019 Max Dohse % Copyright (C) 2016 Joshua Ellis % % @@ -625,6 +625,54 @@ }, }, insertion@@/.default={[]0.5}, + %% + %% Slashes + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + slash/.search also={/tikzfeynhand,/tikz}, + %% Parameters + slash/size/.store in=\tikzfeynhand@slash@size, + slash/size=5\feynhandlinesize, + slash/style/.store in=\tikzfeynhand@slash@style, + slash/style={}, + %% Styles + slash@@/.style args={[#1]#2}{ + /tikz/line width = \feynhandlinesize, + /tikz/decoration={ + markings, + mark=at position #2 with { + \tikzfeynhandset{slash/.cd,#1} + \draw [\tikzfeynhand@slash@style] (-\tikzfeynhand@slash@size, -2*\tikzfeynhand@slash@size) -- (\tikzfeynhand@slash@size, 2*\tikzfeynhand@slash@size); + }, + }, + /tikz/postaction={ + /tikz/decorate=true, + }, + }, + slash@@/.default={[]0.5}, + %% + %% Backslashes + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + backslash/.search also={/tikzfeynhand,/tikz}, + %% Parameters + backslash/size/.store in=\tikzfeynhand@backslash@size, + backslash/size=5\feynhandlinesize, + backslash/style/.store in=\tikzfeynhand@backslash@style, + backslash/style={}, + %% Styles + backslash@@/.style args={[#1]#2}{ + /tikz/line width = \feynhandlinesize, + /tikz/decoration={ + markings, + mark=at position #2 with { + \tikzfeynhandset{backslash/.cd,#1} + \draw [\tikzfeynhand@backslash@style] (-\tikzfeynhand@backslash@size, 2*\tikzfeynhand@backslash@size) -- (\tikzfeynhand@backslash@size, -2*\tikzfeynhand@backslash@size); + }, + }, + /tikz/postaction={ + /tikz/decorate=true, + }, + }, + backslash@@/.default={[]0.5}, %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Momentum arrows %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |