% !TEX program = pdflatexmk
% !TEX parameter = -shell-escape
% Author: Izaak Neutelings (October 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{colqqH}{rgb}{.8,.1,.9} % Higgs with associated quarks (magenta)
\definecolor{colkappaf}{rgb}{1,0,0} % kappa_q (red)
\begin{document}
\begin{fmffile}{feyngraph}
  \fmfframe(4,12)(14,12){ % padding (L,T)(R,B)
  %\color{colqqH} % magenta text color
  %\fmfcmd{foreground:=(.9,.1,.9);} % magenta line color
  \begin{fmfgraph*}(130,120) % dimensions (WH)
    % line style
    \fmfset{wiggly_len}{12} % boson wavelength
    \fmfset{wiggly_slope}{65} % boson slope of waves
    % external vertices
    \fmfleft{d,i2,i1,d} % add dummies 'd' for spacing
    \fmfright{o4,o3,o2,o1}
    \fmfshift{2 up}{i1,o2}
    \fmfshift{2 down}{i2,o3}
    \fmfshift{2 right}{o2,o3}
    % skeleton
    \fmf{gluon}{v1,i1}
    \fmf{gluon}{i2,v2}
    \fmf{phantom,tension=0.5}{v1,o2,o3,v2} % pull Vqq vertices to left
    \fmffreeze
    % gg -> tt
    \fmf{fermion}{v1,o1}
    \fmf{fermion}{o4,v2}
    % VV -> H -> tautau
    \fmf{fermion}{v2,v,v1}
    \fmf{dashes,l.s=left,label=h}{v,h} % Higgs
    \fmf{fermion}{o3,h,o2} % H -> tautau
    % Higss coupling
    \fmfv{decor.shape=circle,decor.filled=full,decor.size=4,f=(1,,0,,0),
          l.d=5,l.a=-60,l=\hspace{-2pt}\color{colkappaf}$\kappa_\mathrm{t}$}{v}
    \fmfv{decor.shape=circle,decor.filled=full,decor.size=4,f=(1,,0,,0),
          l.d=5,l.a=-120,l=\color{colkappaf}$\kappa_\tau$\hspace{-4pt}}{h}
    % labels
    \fmfv{l.a=158,l.d=6,l=$g$}{i1}
    \fmfv{l.a=-158,l.d=6,l=$g$}{i2}
    \fmfv{l.a=22,l.d=6,l=\strut t}{o1}
    \fmfv{l.a=25,l.d=4,l=$\tau^-$}{o2}
    \fmfv{l.a=-20,l.d=4,l=$\tau^+$}{o3}
    \fmfv{l.a=-22,l.d=6,l=\strut$\overline{\mathrm{t}}$}{o4}
  \end{fmfgraph*}
  } % close \fmfframe
\end{fmffile}
\end{document}