% !TEX program = pdflatexmk
% !TEX parameter = -shell-escape
% Author: Izaak Neutelings (September 24)
% Instructions: To compile via command line, run the following twice
%   pdflatex -shell-escape extract/higgs_pp$TAG.tex
\documentclass[11pt,border=4pt]{standalone}
\usepackage{feynmp-auto}
\usepackage{xcolor}
\definecolor{colggH}{rgb}{0,0,1} % gluon fusion (blue)
\definecolor{colkappaf}{rgb}{1,0,0} % kappa_q (red)
\begin{document}
\begin{fmffile}{feyngraph}
  \fmfframe(4,12)(12,12){ % padding (L,T)(R,B)
  %\color{colggH} % blue text color
  %\fmfcmd{foreground:=(0,0,1);} % blue line color
  \begin{fmfgraph*}(160,50) % dimensions (WH)
    % line style
    \fmfset{wiggly_len}{12} % boson wavelength
    \fmfset{wiggly_slope}{65} % boson slope of waves
    % external vertices
    \fmfstraight
    \fmfleft{i2,i1}
    \fmfright{o2,m,o1}
    % gluons
    \fmf{gluon}{i2,t2}
    \fmf{gluon}{t1,i1}
    \fmf{phantom,t=0.4}{t1,o1,o2,t2} % pull gluons right
    \fmffreeze
    % top triangle loop
    \fmf{fermion}{t1,t3,t2}
    \fmf{fermion,l.s=left,label=t}{t2,t1}
    \fmf{phantom,t=1.2}{t3,m} % pull triangle right
    \fmffreeze % fix triangle
    % Higgs boson
    \fmf{dashes,l.s=left,label=h}{t3,h}
    \fmf{fermion,t=0.8}{o2,h,o1}
    % Higss coupling
    \fmfv{decor.shape=circle,decor.filled=full,decor.size=4,f=(1,,0,,0),
          l.d=5,l.a=-60,l=\color{colkappaf}$\kappa_\mathrm{t}$}{t3}
    \fmfv{decor.shape=circle,decor.filled=full,decor.size=4,f=(1,,0,,0),
          l.d=5,l.a=-112,l=\color{colkappaf}$\kappa_{\tau}$}{h}
    % labels
    \fmflabel{$g$}{i1}
    \fmflabel{$g$}{i2}
    \fmfv{l.a=24,l.d=5,l=$\tau^-$}{o1}
    \fmfv{l.a=-22,l.d=5,l=$\tau^+$}{o2}
  \end{fmfgraph*}
  } % close \fmfframe
\end{fmffile}
\end{document}