-
Notifications
You must be signed in to change notification settings - Fork 20
/
tikz-feynman.sty
52 lines (45 loc) · 1.51 KB
/
tikz-feynman.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% TikZ-Feynman
% Feynman Diagrams with TikZ
% Copyright (C) 2015 Joshua Ellis
%
%
% This work may be distributed and/or modified under the terms of the GNU General
% Public License as published by the Free Software Foundation, either version 3
% of the License, or (at your option) any later version.
%
% This program is distributed in the hope that it will be useful, but WITHOUT
% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
% FOR A PARTICULAR PURPOSE. See the LaTeX Project Public License for more
% details.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\tikzfeynman@date{2016/02/05}
\def\tikzfeynman@version@major{1}
\def\tikzfeynman@version@minor{1}
\def\tikzfeynman@version@patch{0}
\edef\tikzfeynman@version{\tikzfeynman@version@major.\tikzfeynman@version@minor.\tikzfeynman@version@patch}
\ProvidesPackage{tikz-feynman}[\tikzfeynman@date v\tikzfeynman@version Feynman diagrams with TikZ]
\RequirePackage{tikz}[2013/12/13] % v3.0.0
\RequirePackage{ifluatex}
\RequirePackage{ifpdf}
\RequirePackage{pgfopts}
\usetikzlibrary{feynman}
\ifpdf
\ifcsname pdfinfo\endcsname%
\pdfinfo{
/FeynmanDiagrams (TikZ-Feynman \tikzfeynman@version)
}
\else
\ifcsname pdfextension\endcsname%
\pdfextension info{
/FeynmanDiagrams (TikZ-Feynman \tikzfeynman@version)
}
\fi
\fi
\fi
\endinput
% Local Variables:
% TeX-master: "tikz-feynman"
% End: