Particle decay (TikZ)

Feynman diagrams have a specific visual grammar, and tikz-feynman is the tool that gets it right. This is beta decay.


#What this example shows

  • tikz-feynman, with its own diagram environment.

  • Fermion, boson and anti-fermion lines drawn differently.

  • Vertex labels in maths mode.


#A worked example

Open it, edit it, or copy the source below.

Particle decay (TikZ)

The source, which you can paste into a new diagram and edit:

\documentclass[border=6pt]{standalone}
\usepackage{tikz-feynman}
\begin{document}
\feynmandiagram [horizontal=a to b] {
  i1 [particle=\(d\)] -- [fermion] a -- [fermion] f1 [particle=\(u\)],
  a -- [boson, edge label=\(W^{-}\)] b,
  b -- [anti fermion] f2 [particle=\(\bar{\nu}_e\)],
  b -- [fermion] f3 [particle=\(e^{-}\)],
};
\end{document}

#Making it your own

  • Line style carries meaning: fermion, anti fermion, boson and scalar are not interchangeable.

  • Rendering TikZ is slower than every other language here.

  • Compilation errors come from TeX and often point one line further on than the mistake.



Exact, or not worth drawing.