summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-graphics-companion/6-4-3.ltx
blob: 885a511e3082331824c76de3f1bdac85cf40e446 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
\documentclass{ppex}
\nonstopmode
\AtEndDocument {\end {fmffile}} \AtBeginDocument {\begin {fmffile}{ftmp}}
\usepackage {feynmp}
\pagestyle{empty}

\begin{document}
\ResetPreambleCommands
\ReadyForTheFray
\usepackage {feynmp}
\fbox{\begin{fmfgraph}(100,40)
 \fmfleft{w}\fmfright{e}
 \fmf{boson}{w,vw}\fmf{boson}{ve,e}
 \fmf{fermion,tension=.5}{vw,vn,ve,vs,vw}
 \fmf{gluon}{vn,vs}
 \fmffixed{(0,h)}{vn,vs}
 \fmfdot{vw,vn,ve,vs}
\end{fmfgraph}}
\fbox{\begin{fmfgraph}(100,40)
 \fmfleft{w}\fmfright{e}
 \fmf{boson}{w,vw}\fmf{boson}{ve,e}
 \fmf{phantom,left,tension=.4}{vw,ve,vw}
 \fmfdot{vw,ve}
 \fmffreeze
 \fmfipath{pn,ps}\fmfipair{vn,vs}
 \fmfiequ{pn}{vpath (__vw, __ve)}
 \fmfiequ{ps}{vpath (__ve, __vw)}
 \fmfiequ{vn}{point .5length(pn) of pn}
 \fmfiequ{vs}{point .5length(ps) of ps}
 \fmfi{fermion}{subpath (0,.5)*length(pn) of pn}
 \fmfi{fermion}{subpath (.5,1)*length(pn) of pn}
 \fmfi{fermion}{subpath (0,.5)*length(ps) of ps}
 \fmfi{fermion}{subpath (.5,1)*length(ps) of ps}
 \fmfi{gluon}{vn--vs}
 \fmfiv{dec.sh=circle,dec.siz=2thick}{vn}
 \fmfiv{dec.sh=circle,dec.siz=2thick}{vs}
\end{fmfgraph}}
\end{document}