git clone https://github.com/martinfoell/feynman-colorflow.git
\documentclass{article}
\begin{document}
\usepackage{feynman-colorflow}
\begin{tikzpicture}
\firstvertex{V1}{f,B,F}{-180,-90,0}
\vertex{V2}{V1}{2}{f,F}{-180,0}
\end{tikzpicture}
\end{document}
The particles that are included in the package are given in the table below.
Particle | Variable | Picture |
---|---|---|
Fermion (incomming) | f | ![]() |
Fermion (outgoing) | F | ![]() |
Boson (plus) | b | ![]() |
Boson (minus) | B | ![]() |
Gluon (plus) | g | ![]() |
Gluon (minus) | G | ![]() |
Higgs | H | ![]() |