# Gluon emission

> A quark radiates a gluon, drawn with the curly gluon line. A tikz-feynman example with its complete LaTeX source, ready to copy or open in TeXeR.

A tikz-feynman example in the TeXeR TikZ library: https://texer.org/library/tikz-feynman/gluon-emission

Package: [tikz-feynman](https://texer.org/library/tikz-feynman.md), on CTAN at https://ctan.org/pkg/tikz-feynman.

Tags: QCD, gluon, quark

## Source

```latex
\usepackage[compat=1.1.0]{tikz-feynman}

\begin{tikzpicture}
  \begin{feynman}
    \vertex (a) at (0,0);
    \vertex (i) at (-1.8,0) {$q$};
    \vertex (f) at (1.8,-1.2) {$q$};
    \vertex (g) at (1.8,1.3) {$g$};
    \diagram* {
      (i) -- [fermion] (a) -- [fermion] (f),
      (a) -- [gluon] (g),
    };
  \end{feynman}
\end{tikzpicture}
```

## As a complete document

The same example in a document that compiles on its own with pdfLaTeX:

```latex
\documentclass[margin=3mm]{standalone}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[compat=1.1.0]{tikz-feynman}

\begin{document}

\begin{tikzpicture}
  \begin{feynman}
    \vertex (a) at (0,0);
    \vertex (i) at (-1.8,0) {$q$};
    \vertex (f) at (1.8,-1.2) {$q$};
    \vertex (g) at (1.8,1.3) {$g$};
    \diagram* {
      (i) -- [fermion] (a) -- [fermion] (f),
      (a) -- [gluon] (g),
    };
  \end{feynman}
\end{tikzpicture}
\end{document}
```
