less..
#!/bin/sh for f in *.tex; do latex $f; done for f in *.mp; do mpost $f; done for f in *.tex; do latex $f; done for f in *.dvi; do dvips -E $f -o $f.eps ; done
less.. less..
\documentclass{article} \usepackage{feynmp} \pagestyle{empty} \begin{document} \unitlength = 1.5mm \begin{fmffile}{em_mpfile} \fmfcmd{% style_def proton expr p = save mp, sp; pair mp; path sp; mp = point length(p)/2 of p; sp = p shifted -mp scaled 1.1 shifted mp; cdraw sp shifted (thick*( 2.2,0)); cdraw sp shifted (thick*(-2.2,0)); draw_fermion p enddef; } \begin{fmfchar*}(40,25) \fmfleft{ei,ef} \fmflabel{$e^- (k_1)$}{ei} \fmflabel{$e^-(k_2)$}{ef} \fmfright{pi,pf} \fmflabel{$N(p_1)$}{pi} \fmflabel{$N(p_2)$}{pf} \fmf{photon,label=$\gamma$}{ve,vp} \fmf{fermion}{ei,ve,ef} \fmflabel{$ie\gamma^\mu$}{ve} \fmf{proton}{pi,vp,pf} \fmfblob{.1w}{vp} \fmfv{l=$ie\Gamma^\nu$, l.a=0, l.d=.1w}{vp} \end{fmfchar*} \end{fmffile} \end{document}
less.. less..
\documentclass{article} \usepackage{feynmp} \pagestyle{empty} \begin{document} \unitlength = 1.5mm \begin{fmffile}{weak_mpfile} \fmfcmd{% style_def proton expr p = save mp, sp; pair mp; path sp; mp = point length(p)/2 of p; sp = p shifted -mp scaled 1.1 shifted mp; cdraw sp shifted (thick*( 2.2,0)); cdraw sp shifted (thick*(-2.2,0)); draw_fermion p enddef; } \def\particlelabel#1#2#3{% \fmfv{label=#1, label.angle=#2, label.distance=0}{#3}} \begin{fmfgraph*}(42,26) \fmfleft{ei,ef} \fmf{fermion}{ei,ve,ef} \fmf{dashes, label=$Z^0$}{ve,vp} \fmf{proton}{pi,vp,pf} \fmfright{pi,pf} % \fmflabel{$e^-(k_2,s_2)$}{ef} % \fmfv{l=$e^-(k_2,s_2)$}{ef} % \fmfv{label=$P(p_1,S_1)$}{pi} % \fmfv{label=$P(p_2,S_2)$}{pf} \fmfv{decor.shape=circle, decor.filled=50, decor.size=.1w}{vp} \particlelabel{$e^-(k_1,, s_1)$}{-90}{ei} \particlelabel{$e^-(k_2,, s_2)$}{ 90}{ef} \particlelabel{$P(p_1,, S_1)$}{-90}{pi} \particlelabel{$P(p_2,, S_2)$}{ 90}{pf} % \fmflabel{$- i \frac{g_z}{2} \tilde \gamma^\mu$}{ve} \end{fmfgraph*} \end{fmffile} \end{document}
less..