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
|
<head>
<title>UK TeX FAQ -- question label drawFeyn</title>
</head><body>
<h3>Drawing Feynman diagrams in LaTeX</h3>
<p>Michael Levine’s <i>feynman</i> bundle for drawing the diagrams in
LaTeX 2.09 is still available.
<p>Thorsten Ohl’s <i>feynmf</i> is designed for use with current
LaTeX, and works in
combination with Metafont (or, in its <i>feynmp</i> incarnation, with
MetaPost). The <i>feynmf</i> or
<i>feynmp</i> package reads a description of the diagram written
in TeX, and writes out code. Metafont (or MetaPost) can then produce a
font (or PostScript file) for use in a subsequent LaTeX run. For
new users, who have access to MetaPost, the PostScript version is
probably the better route, for document portability and other reasons.
<p>Jos Vermaseren’s <i>axodraw</i> is mentioned as an alternative in
the documentation of <i>feynmf</i>, but it is written entirely in
terms of <i>dvips</i> <code>\</code><code>special</code> commands, and is thus rather
imperfectly portable.
<p>An alternative approach is implemented by Norman Gray’s <i>feyn</i>
package. Rather than creating complete diagrams as postscript images,
<i>feyn</i> provides a font (in a variety of sizes) containing
fragments, which you can compose to produce complete diagrams. It
offers fairly simple diagrams which look good in equations, rather
than complicated ones more suitable for display in figures.
<dl>
<dt><tt><i>axodraw</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/graphics/axodraw.zip">graphics/axodraw</a> (<a href="ftp://cam.ctan.org/tex-archive/graphics/axodraw.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/graphics/axodraw/">browse</a>)
<dt><tt><i>feyn font bundle</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/fonts/feyn.zip">fonts/feyn</a> (<a href="ftp://cam.ctan.org/tex-archive/fonts/feyn.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/fonts/feyn/">browse</a>)
<dt><tt><i>feynman bundle</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex209/contrib/feynman.zip">macros/latex209/contrib/feynman</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex209/contrib/feynman.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex209/contrib/feynman/">browse</a>)
<dt><tt><i>feynmf/feynmp bundle</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/feynmf.zip">macros/latex/contrib/feynmf</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/feynmf.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/feynmf/">browse</a>)
</dl>
<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=drawFeyn">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=drawFeyn</a>
</body>
|