summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-drawFeyn.html
blob: e51e84cde3a487d743d1f7293070ebee42ef84f4 (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
<head>
<title>UK TeX FAQ -- question label drawFeyn</title>
</head><body>
<h3>Drawing Feynman diagrams in LaTeX</h3>
<p/>Michael Levine&rsquo;s <i>feynman</i> bundle for drawing the diagrams in
LaTeX 2.09 is still available.
<p/>Thorsten Ohl&rsquo;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&rsquo;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&rsquo;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="http://www.tex.ac.uk/tex-archive/graphics/axodraw.zip">graphics/axodraw</a> (or <a href="http://www.tex.ac.uk/tex-archive/graphics/axodraw/">browse the directory</a>)
<dt><tt><i>feyn font bundle</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/fonts/feyn.zip">fonts/feyn</a> (or <a href="http://www.tex.ac.uk/tex-archive/fonts/feyn/">browse the directory</a>)
<dt><tt><i>feynman bundle</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex209/contrib/feynman.zip">macros/latex209/contrib/feynman</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex209/contrib/feynman/">browse the directory</a>)
<dt><tt><i>feynmf/feynmp bundle</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/feynmf.zip">macros/latex/contrib/feynmf</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/feynmf/">browse the directory</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>